luolei 4 gadi atpakaļ
vecāks
revīzija
4448f77a6e

+ 1 - 2
src/api/config.js

@@ -558,8 +558,7 @@ export default {
     'staticKnowledgeBaseInfo':'/api/cdssman/kl/conceptInfo/staticKnowledgeIndexWithoutInfo',
     //规则测试相关
     'allRuleTest':'/api/cdssman/test/rule/allRuleTest',
-    // 'autoExportExcel':'/api/cdssman/test/rule/exportExcel',
-    'autoExportExcel':'http://192.168.2.121:88/api/cdssman/test/rule/exportExcel',
+    'autoExportExcel':'/api/cdssman/test/rule/exportExcel',
     'autoGetCaseResultList':'/api/cdssman/test/rule/getCaseResultList',
     'getDroplistData':'/api/cdssman/test/rule/getDroplistData',
     'getResultRulePage':'/api/cdssman/test/rule/getResultRulePage',

+ 1 - 1
src/api/index.js

@@ -3,7 +3,7 @@ import config from './config.js';
 
 axios.default.timeout = 500000;
 axios.defaults.headers.post['Content-Type'] = "application/json;charset=utf-8";
-axios.defaults.baseURL = 'http://192.168.2.236';
+axios.defaults.baseURL = 'http://192.168.2.236:5050';
 // axios.defaults.baseURL = 'http://192.168.2.241';
 // axios.defaults.baseURL = 'http://192.168.3.117:5050';
 

+ 3 - 1
src/api/utils.js

@@ -132,7 +132,9 @@ export default {
   },
   //导出接口返回流下载
   downloadExportedData(data, fileName) {
-    var blob = new Blob([data], {type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=utf-8'}); //application/vnd.openxmlformats-officedocument.spreadsheetml.sheet这里表示xlsx类型
+    var blob = new Blob([data], 
+      {type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=utf-8'}
+    ); //application/vnd.openxmlformats-officedocument.spreadsheetml.sheet这里表示xlsx类型
     var downloadElement = document.createElement('a');
     var href = window.URL.createObjectURL(blob); //创建下载的链接
     downloadElement.href = href;

+ 4 - 4
src/components/autoTest/AutoBillCommonTest.vue

@@ -3,12 +3,12 @@
     <crumbs
       :title="
         type === 'success'
-          ? '开单合理性提醒-通用规则测试-成功条数'
-          : '开单合理性提醒-通用规则测试-失败条数'
+          ? '开单合理性提醒s-通用规则测试-成功条数'
+          : '开单合理性提醒s-通用规则测试-失败条数'
       "
       class="topBack"
       :param="$route.params"
-      linkTo="KnowledgeMapRuleTest"
+      linkTo="AutoKnowledgeMapRuleTest"
     >
       <el-form :inline="true" class="demo-form-inline">
         <el-form-item style="marginbottom: 0px">
@@ -190,7 +190,7 @@ export default {
         spinner: 'el-icon-loading',
         background: 'rgba(0, 0, 0, 0.7)',
       });
-      api.getResultBillPage(params).then((res) => {
+      api.getResultRulePage(params).then((res) => {
         loading.close();
         if (res.data.code === '0') {
           this.list = res.data.data && res.data.data.records;

+ 1 - 1
src/components/autoTest/AutoKnowledgeMapRuleTest.vue

@@ -257,7 +257,7 @@ export default {
       );
       let hospitalName = hospital.name;
       this.$router.push({
-        name: page,
+        name: 'AutoBillCommonTest',
         params: {
           data: { ...row },
           type,

+ 10 - 10
src/routes.js

@@ -526,11 +526,11 @@ export default [
                 component: StaticKnowledgeMapTest,
                 name: 'StaticKnowledgeMapTest',
             }, //静态知识映射测试
-            {
-                path: 'LT-YYSYZDHCS-ZSTPGZCS-TYGZCS',
-                component: BillCommonTest,
-                name: 'BillCommonTest',
-            },
+            // {
+            //     path: 'LT-YYSYZDHCS-ZSTPGZCS-TYGZCS',
+            //     component: BillCommonTest,
+            //     name: 'BillCommonTest',
+            // },
             {
                 path: 'LT-YYSYZDHCS-ZSTPGZCS-SXGZCS',
                 component: BillFusionTest,
@@ -645,11 +645,11 @@ export default [
         component: StaticKnowledgeMapTest,
         name: 'StaticKnowledgeMapTest',
     }, //静态知识映射测试
-    {
-        path: 'LT-YYSYZDHCS-ZSTPGZCS-TYGZCS',
-        component: BillCommonTest,
-        name: 'BillCommonTest',
-    },
+    // {
+    //     path: 'LT-YYSYZDHCS-ZSTPGZCS-TYGZCS',
+    //     component: BillCommonTest,
+    //     name: 'BillCommonTest',
+    // },
     {
         path: 'LT-YYSYZDHCS-ZSTPGZCS-SXGZCS',
         component: BillFusionTest,