浏览代码

显示问题

luolei 4 年之前
父节点
当前提交
26bf3f59b9

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

@@ -3,8 +3,8 @@
     <crumbs
       :title="
         type === 'success'
-          ? `${titleName}-通用规则测试-成功条数`
-          : `${titleName}-通用规则测试-失败条数`
+          ? `${titleName}-成功条数`
+          : `${titleName}-失败条数`
       "
       class="topBack"
       :param="$route.params"
@@ -261,7 +261,7 @@ export default {
             if(list[i].ruleBaseType == params[j].val){
               // if(params[j].name){
                 str += `<p style="padding:0 10px;border-bottom:${i == list.length-1?'0':'1px solid #EBEEF5'};overflow: hidden;text-overflow: ellipsis;white-space: nowrap;" class="collTxt">
-                      ${params[j].name||'-'}
+                      ${params[j].name||'&nbsp;'}
                   </p>`
               // }
             }
@@ -271,7 +271,7 @@ export default {
         for(let i = 0;i < list.length;i++){
           // if(list[i][name]){
             str += `<p style="padding:0 10px;border-bottom:${i == list.length-1?'0':'1px solid #EBEEF5'};overflow: hidden;text-overflow: ellipsis;white-space: nowrap;" class="collTxt">
-                  ${list[i][name]||'-'}
+                  ${list[i][name]||'&nbsp;'}
               </p>`
           // }
         }
@@ -299,7 +299,7 @@ export default {
       const localAuto = JSON.parse(localStorage.getItem('localAuto'));
       const { data, type,hospitalName } = this.$route.params;
       this.type = type||localAuto.type;
-      this.titleName = localAuto.caseName||data.caseName.split('_')[0]
+      this.titleName = localAuto.caseName||data.caseName.replace(/\_/,'-')
       return {
         current: this.inCurrentPage || this.currentPage,
         size: this.pageSize,

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

@@ -13,7 +13,7 @@
           </el-select>
         </el-form-item>
         <el-form-item style="marginbottom: 0px">
-          <el-button size="mini" @click="exportData">导出图谱中规则未涉及到的医院术语</el-button>
+          <el-button size="mini" @click="exportData">导出规则未涉及到的医院术语</el-button>
         </el-form-item>
         <el-form-item style="marginbottom: 0px">
           <el-button size="mini" @click="handleAllTest" :disabled="!runningStatus">所有规则测试</el-button>
@@ -57,7 +57,7 @@
             >
               {{
               runningStatusArr[scope.$index] === 1
-              ? '执行测试中...'
+              ? '执行测试中'
               : '执行测试'
               }}
             </el-button>
@@ -270,7 +270,7 @@ export default {
         resultId:row.resultId,
         type,
         hospitalName,
-        caseName:row.caseName.split('_')[0]
+        caseName:row.caseName.replace(/\_/,'-')
       }
       localStorage.setItem('localAuto',JSON.stringify(localAuto))
       this.$router.push({