From 8f0a66338be2208dde9eb0b90954471b95923262 Mon Sep 17 00:00:00 2001 From: wucongxing8150 <815046773@qq.com> Date: Tue, 12 Aug 2025 11:17:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E5=8C=BB=E9=99=A2?= =?UTF-8?q?=E5=A4=84=E7=90=86=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../user-comment-clinical-article-api.js | 48 +++ .../user-comment-clinical-video-api.js | 48 +++ .../user-comment-exchange-api.js | 48 +++ .../user-comment-clinical-article-const.js | 11 + .../user-comment-clinical-video-const.js | 11 + .../user-comment-exchange-const.js | 11 + .../case-exchange/case-exchange-list.vue | 10 +- .../user-comment-clinical-article-form.vue | 121 +++++++ .../user-comment-clinical-article-list.vue | 321 ++++++++++++++++++ .../user-comment-clinical-video-form.vue | 121 +++++++ .../user-comment-clinical-video-list.vue | 321 ++++++++++++++++++ .../user-comment-exchange-form.vue | 121 +++++++ .../user-comment-exchange-list.vue | 321 ++++++++++++++++++ 13 files changed, 1511 insertions(+), 2 deletions(-) create mode 100644 src/api/business/user-comment-clinical-article/user-comment-clinical-article-api.js create mode 100644 src/api/business/user-comment-clinical-video/user-comment-clinical-video-api.js create mode 100644 src/api/business/user-comment-exchange/user-comment-exchange-api.js create mode 100644 src/constants/business/user-comment-clinical-article/user-comment-clinical-article-const.js create mode 100644 src/constants/business/user-comment-clinical-video/user-comment-clinical-video-const.js create mode 100644 src/constants/business/user-comment-exchange/user-comment-exchange-const.js create mode 100644 src/views/business/user-comment-clinical-article/user-comment-clinical-article-form.vue create mode 100644 src/views/business/user-comment-clinical-article/user-comment-clinical-article-list.vue create mode 100644 src/views/business/user-comment-clinical-video/user-comment-clinical-video-form.vue create mode 100644 src/views/business/user-comment-clinical-video/user-comment-clinical-video-list.vue create mode 100644 src/views/business/user-comment-exchange/user-comment-exchange-form.vue create mode 100644 src/views/business/user-comment-exchange/user-comment-exchange-list.vue diff --git a/src/api/business/user-comment-clinical-article/user-comment-clinical-article-api.js b/src/api/business/user-comment-clinical-article/user-comment-clinical-article-api.js new file mode 100644 index 0000000..a980eb5 --- /dev/null +++ b/src/api/business/user-comment-clinical-article/user-comment-clinical-article-api.js @@ -0,0 +1,48 @@ +/** + * 用户评论-临床病例-文章 api 封装 + * + * @Author: xing + * @Date: 2025-08-12 09:11:31 + * @Copyright gdxz + */ +import { postRequest, getRequest } from '/@/lib/axios'; + +export const userCommentClinicalArticleApi = { + + /** + * 分页查询 @author xing + */ + queryPage : (param) => { + return postRequest('/userCommentClinicalArticle/queryPage', param); + }, + + /** + * 增加 @author xing + */ + add: (param) => { + return postRequest('/userCommentClinicalArticle/add', param); + }, + + /** + * 修改 @author xing + */ + update: (param) => { + return postRequest('/userCommentClinicalArticle/update', param); + }, + + + /** + * 删除 @author xing + */ + delete: (id) => { + return getRequest(`/userCommentClinicalArticle/delete/${id}`); + }, + + /** + * 批量删除 @author xing + */ + batchDelete: (idList) => { + return postRequest('/userCommentClinicalArticle/batchDelete', idList); + }, + +}; diff --git a/src/api/business/user-comment-clinical-video/user-comment-clinical-video-api.js b/src/api/business/user-comment-clinical-video/user-comment-clinical-video-api.js new file mode 100644 index 0000000..d1e5992 --- /dev/null +++ b/src/api/business/user-comment-clinical-video/user-comment-clinical-video-api.js @@ -0,0 +1,48 @@ +/** + * 用户评论-临床病例-视频 api 封装 + * + * @Author: xing + * @Date: 2025-08-12 09:12:42 + * @Copyright gdxz + */ +import { postRequest, getRequest } from '/@/lib/axios'; + +export const userCommentClinicalVideoApi = { + + /** + * 分页查询 @author xing + */ + queryPage : (param) => { + return postRequest('/userCommentClinicalVideo/queryPage', param); + }, + + /** + * 增加 @author xing + */ + add: (param) => { + return postRequest('/userCommentClinicalVideo/add', param); + }, + + /** + * 修改 @author xing + */ + update: (param) => { + return postRequest('/userCommentClinicalVideo/update', param); + }, + + + /** + * 删除 @author xing + */ + delete: (id) => { + return getRequest(`/userCommentClinicalVideo/delete/${id}`); + }, + + /** + * 批量删除 @author xing + */ + batchDelete: (idList) => { + return postRequest('/userCommentClinicalVideo/batchDelete', idList); + }, + +}; diff --git a/src/api/business/user-comment-exchange/user-comment-exchange-api.js b/src/api/business/user-comment-exchange/user-comment-exchange-api.js new file mode 100644 index 0000000..882471b --- /dev/null +++ b/src/api/business/user-comment-exchange/user-comment-exchange-api.js @@ -0,0 +1,48 @@ +/** + * 用户评论-病例交流 api 封装 + * + * @Author: xing + * @Date: 2025-08-12 09:13:30 + * @Copyright gdxz + */ +import { postRequest, getRequest } from '/@/lib/axios'; + +export const userCommentExchangeApi = { + + /** + * 分页查询 @author xing + */ + queryPage : (param) => { + return postRequest('/userCommentExchange/queryPage', param); + }, + + /** + * 增加 @author xing + */ + add: (param) => { + return postRequest('/userCommentExchange/add', param); + }, + + /** + * 修改 @author xing + */ + update: (param) => { + return postRequest('/userCommentExchange/update', param); + }, + + + /** + * 删除 @author xing + */ + delete: (id) => { + return getRequest(`/userCommentExchange/delete/${id}`); + }, + + /** + * 批量删除 @author xing + */ + batchDelete: (idList) => { + return postRequest('/userCommentExchange/batchDelete', idList); + }, + +}; diff --git a/src/constants/business/user-comment-clinical-article/user-comment-clinical-article-const.js b/src/constants/business/user-comment-clinical-article/user-comment-clinical-article-const.js new file mode 100644 index 0000000..d62ce56 --- /dev/null +++ b/src/constants/business/user-comment-clinical-article/user-comment-clinical-article-const.js @@ -0,0 +1,11 @@ +/** + * 用户评论-临床病例-文章 枚举 + * + * @Author: xing + * @Date: 2025-08-12 09:11:31 + * @Copyright gdxz + */ + + +export default { +}; \ No newline at end of file diff --git a/src/constants/business/user-comment-clinical-video/user-comment-clinical-video-const.js b/src/constants/business/user-comment-clinical-video/user-comment-clinical-video-const.js new file mode 100644 index 0000000..d23f65e --- /dev/null +++ b/src/constants/business/user-comment-clinical-video/user-comment-clinical-video-const.js @@ -0,0 +1,11 @@ +/** + * 用户评论-临床病例-视频 枚举 + * + * @Author: xing + * @Date: 2025-08-12 09:12:42 + * @Copyright gdxz + */ + + +export default { +}; \ No newline at end of file diff --git a/src/constants/business/user-comment-exchange/user-comment-exchange-const.js b/src/constants/business/user-comment-exchange/user-comment-exchange-const.js new file mode 100644 index 0000000..352e2d6 --- /dev/null +++ b/src/constants/business/user-comment-exchange/user-comment-exchange-const.js @@ -0,0 +1,11 @@ +/** + * 用户评论-病例交流 枚举 + * + * @Author: xing + * @Date: 2025-08-12 09:13:30 + * @Copyright gdxz + */ + + +export default { +}; \ No newline at end of file diff --git a/src/views/business/case-exchange/case-exchange-list.vue b/src/views/business/case-exchange/case-exchange-list.vue index 49cbcb7..ceb36dd 100644 --- a/src/views/business/case-exchange/case-exchange-list.vue +++ b/src/views/business/case-exchange/case-exchange-list.vue @@ -69,7 +69,13 @@ :row-selection="{ selectedRowKeys: selectedRowKeyList, onChange: onSelectChange }" >