wyq 4 rokov pred
rodič
commit
1cdf385d60

+ 1 - 1
src/components/cdssManage/dept/DeptManage.vue

@@ -408,7 +408,7 @@ export default {
 
     // 导入模板
     exportModule() {
-      api.exportDeptModule().then(res => {
+      api.exportDeptModule({type:7}).then(res => {
         if (res.status === 200) {
           setTimeout(() => {
             utils.downloadExportedData(res.data, '科室导入模板.xls');

+ 1 - 1
src/components/cdssManage/disease/Disease.vue

@@ -400,7 +400,7 @@ export default {
 
     // 导入模板
     exportModule() {
-      api.exportDiseaseModule().then(res => {
+      api.exportDiseaseModule({type:4}).then(res => {
         if (res.status === 200) {
           setTimeout(() => {
             utils.downloadExportedData(res.data, '诊断导入模板.xls');

+ 1 - 1
src/components/cdssManage/drug/DrugManage.vue

@@ -415,7 +415,7 @@ export default {
 
     // 导入模板
     exportModule() {
-      api.exportDrugModule().then(res => {
+      api.exportDrugModule({type:5}).then(res => {
         if (res.status === 200) {
           setTimeout(() => {
             utils.downloadExportedData(res.data, '药品导入模板.xls');

+ 1 - 1
src/components/cdssManage/pacs/Pacs.vue

@@ -412,7 +412,7 @@ export default {
     },
     // 导入模板
     exportModule() {
-      api.exportPacsModule().then(res => {
+      api.exportPacsModule({type:3}).then(res => {
         if (res.status === 200) {
           setTimeout(() => {
             utils.downloadExportedData(res.data, '检查导入模板.xls');

+ 1 - 1
src/components/cdssManage/scale/ScaleManage.vue

@@ -395,7 +395,7 @@ export default {
 
     // 导入模板
     exportModule() {
-      api.exportScaleModule().then(res => {
+      api.exportScaleModule({type:10}).then(res => {
         if (res.status === 200) {
           setTimeout(() => {
             utils.downloadExportedData(res.data, '量表导入模板.xls');

+ 1 - 1
src/components/cdssManage/tcmdisease/tcmdisease.vue

@@ -414,7 +414,7 @@ export default {
     },
     // 导入模板
     exportModule() {
-      api.exportTcmModule().then(res => {
+      api.exportTcmModule({type:12}).then(res => {
         if (res.status === 200) {
           setTimeout(() => {
             utils.downloadExportedData(res.data, '中医疾病导入模板.xls');

+ 2 - 1
src/components/cdssManage/tcmdrome/tcmdrome.vue

@@ -164,6 +164,7 @@ export default {
       let formData = new FormData();
       formData.append('file', fileInfo);
       formData.append('type', 13);
+      formData.append('uesrId', localStorage.getItem('uesrId'));
       const header = {
         headers: {
           'Content-Type': 'multipart/form-data'
@@ -414,7 +415,7 @@ export default {
     },
     // 导入模板
     exportModule() {
-      api.exportTcmdromeModule().then(res => {
+      api.exportTcmdromeModule({type:13}).then(res => {
         if (res.status === 200) {
           setTimeout(() => {
             utils.downloadExportedData(res.data, '中医证候导入模板.xls');