Browse Source

导出样式修改

morphone1995 4 years ago
parent
commit
5d872e990a

+ 3 - 2
src/components/icss/dept/DeptManage.vue

@@ -337,12 +337,13 @@ export default {
       api.importDeptRecord(formData, header).then(res => {
         // console.log('导入文件结果', '===================', res);
         if (res.data === '' && res.status === 200) {
-          this.$confirm(`导入成功`, '', {
+          this.$confirm(`导入成功`, '提示', {
             confirmButtonText: '确定',
             // cancelButtonText: '取消',
             cancelButtonClass: 'cancelSure',
             confirmButtonClass: 'sure',
-            customClass: 'exportConfirm'
+            customClass: 'exportConfirm',
+            type: 'warning'
           })
             .then(() => {})
             .catch(() => {});

+ 3 - 2
src/components/icss/disease/ChemicalAndCommonMapping.vue

@@ -334,12 +334,13 @@ export default {
       this.uploadInfo = '导入中...';
       api.importDiseaseRecord(formData, header).then(res => {
         if (res.data === '' && res.status === 200) {
-          this.$confirm(`导入成功`, '', {
+          this.$confirm(`导入成功`, '提示', {
             confirmButtonText: '确定',
             // cancelButtonText: '取消',
             cancelButtonClass: 'cancelSure',
             confirmButtonClass: 'sure',
-            customClass: 'exportConfirm'
+            customClass: 'exportConfirm',
+            type: 'warning'
           })
             .then(() => {})
             .catch(() => {});

+ 4 - 3
src/components/icss/drug/DrugManage.vue

@@ -332,14 +332,15 @@ export default {
       };
       this.uploadInfo = '导入中...';
       api.importDrugRecord(formData, header).then(res => {
-        console.log(res, '======================res导入结果');
+        // console.log(res, '======================res导入结果');
         if (res.data === '' && res.status === 200) {
-          this.$confirm(`导入成功`, '', {
+          this.$confirm(`导入成功`, '提示', {
             confirmButtonText: '确定',
             // cancelButtonText: '取消',
             cancelButtonClass: 'cancelSure',
             confirmButtonClass: 'sure',
-            customClass: 'exportConfirm'
+            customClass: 'exportConfirm',
+            type: 'warning'
           })
             .then(() => {})
             .catch(() => {});

+ 3 - 2
src/components/icss/fusion/Fusion.vue

@@ -331,12 +331,13 @@ export default {
       this.uploadInfo = '导入中...';
       api.importFusionRecord(formData, header).then(res => {
         if (res.data === '' && res.status === 200) {
-          this.$confirm(`导入成功`, '', {
+          this.$confirm(`导入成功`, '提示', {
             confirmButtonText: '确定',
             // cancelButtonText: '取消',
             cancelButtonClass: 'cancelSure',
             confirmButtonClass: 'sure',
-            customClass: 'exportConfirm'
+            customClass: 'exportConfirm',
+            type: 'warning'
           })
             .then(() => {})
             .catch(() => {});

+ 3 - 2
src/components/icss/lis/Lis.vue

@@ -339,12 +339,13 @@ export default {
       this.uploadInfo = '导入中...';
       api.importLisRecord(formData, header).then(res => {
         if (res.data === '' && res.status === 200) {
-          this.$confirm(`导入成功`, '', {
+          this.$confirm(`导入成功`, '提示', {
             confirmButtonText: '确定',
             // cancelButtonText: '取消',
             cancelButtonClass: 'cancelSure',
             confirmButtonClass: 'sure',
-            customClass: 'exportConfirm'
+            customClass: 'exportConfirm',
+            type: 'warning'
           })
             .then(() => {})
             .catch(() => {});

+ 3 - 2
src/components/icss/operation/Operation.vue

@@ -339,12 +339,13 @@ export default {
       this.uploadInfo = '导入中...';
       api.importOperationRecord(formData, header).then(res => {
         if (res.data === '' && res.status === 200) {
-          this.$confirm(`导入成功`, '', {
+          this.$confirm(`导入成功`, '提示', {
             confirmButtonText: '确定',
             // cancelButtonText: '取消',
             cancelButtonClass: 'cancelSure',
             confirmButtonClass: 'sure',
-            customClass: 'exportConfirm'
+            customClass: 'exportConfirm',
+            type: 'warning'
           })
             .then(() => {})
             .catch(() => {});

+ 3 - 2
src/components/icss/pacs/Pacs.vue

@@ -333,12 +333,13 @@ export default {
       this.uploadInfo = '导入中...';
       api.importPacsRecord(formData, header).then(res => {
         if (res.data === '' && res.status === 200) {
-          this.$confirm(`导入成功`, '', {
+          this.$confirm(`导入成功`, '提示', {
             confirmButtonText: '确定',
             // cancelButtonText: '取消',
             cancelButtonClass: 'cancelSure',
             confirmButtonClass: 'sure',
-            customClass: 'exportConfirm'
+            customClass: 'exportConfirm',
+            type: 'warning'
           })
             .then(() => {})
             .catch(() => {});