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 }" >