diff --git a/.env.development b/.env.development index d3ff634..4d68e4c 100644 --- a/.env.development +++ b/.env.development @@ -1,3 +1,3 @@ NODE_ENV=development VITE_APP_TITLE='肝胆相照临床病例库' -VITE_APP_API_URL='http://127.0.0.1:5480' \ No newline at end of file +VITE_APP_API_URL='https://dev-casedata.igandan.com/admin/api' \ No newline at end of file diff --git a/.env.localhost b/.env.localhost index 8c14ddf..b57611a 100644 --- a/.env.localhost +++ b/.env.localhost @@ -1,3 +1,3 @@ NODE_ENV=development VITE_APP_TITLE='肝胆相照临床病例库' -VITE_APP_API_URL='http://127.0.0.1:5480' +VITE_APP_API_URL='https://dev-casedata.igandan.com/admin/api' diff --git a/index.html b/index.html index c88dce4..29b9dff 100644 --- a/index.html +++ b/index.html @@ -17,6 +17,11 @@ %VITE_APP_TITLE% +
diff --git a/src/App.vue b/src/App.vue index cb5c981..ab9b3c1 100644 --- a/src/App.vue +++ b/src/App.vue @@ -96,4 +96,5 @@ :deep(.ant-table-column-sorters) { align-items: flex-start !important; } + diff --git a/src/api/business/case-clinical-article/case-clinical-article-api.js b/src/api/business/case-clinical-article/case-clinical-article-api.js index 87322a8..c7ec9e5 100644 --- a/src/api/business/case-clinical-article/case-clinical-article-api.js +++ b/src/api/business/case-clinical-article/case-clinical-article-api.js @@ -5,7 +5,7 @@ * @Date: 2025-08-04 10:17:15 * @Copyright gdxz */ -import { postRequest, getRequest } from '/@/lib/axios'; +import { postRequest, getRequest,uploadRequest} from '/@/lib/axios'; export const caseClinicalArticleApi = { @@ -22,7 +22,12 @@ export const caseClinicalArticleApi = { add: (param) => { return postRequest('/caseClinicalArticle/add', param); }, - + getOssSign:(type)=>{ //获取上传文件 Policy + return getRequest('/file/getOSSPolicy/'+type) + }, + ossUpload:(url,data)=>{ + return uploadRequest(url,data); + }, /** * 修改 @author xing */ diff --git a/src/components/framework/wangeditor/index.vue b/src/components/framework/wangeditor/index.vue index dc3c31c..e95acfe 100644 --- a/src/components/framework/wangeditor/index.vue +++ b/src/components/framework/wangeditor/index.vue @@ -1,16 +1,16 @@ -