xiezhiming 3 年之前
父節點
當前提交
5c47ba11dd
共有 2 個文件被更改,包括 17 次插入15 次删除
  1. 2 2
      src/components/knowledgeExtra/AddNewRuleTable.vue
  2. 15 13
      src/components/knowledgeExtra/DiagCheckRule.vue

+ 2 - 2
src/components/knowledgeExtra/AddNewRuleTable.vue

@@ -554,7 +554,7 @@
             <!-- v-if="klRuleByIdSub[scope.$index].subType !== 6 && klRuleByIdSub[scope.$index].dataType === '2'" -->
             <div
               style="flex: 2"
-              v-if="scope.row.subType != 6 && scope.row.dataType == '2'"
+              v-if="scope.row.subType != 6 && scope.row.dataType == '2'&& scope.row.subType != 9"
             >
               <el-form-item
                 class="type_content_item"
@@ -587,7 +587,7 @@
             </div>
 
             <!-- v-if="groupData.subType === 6" -->
-            <div style="flex: 2" v-if="scope.row.subType == 6">
+            <div style="flex: 2" v-if="scope.row.subType == 6 || scope.row.subType == 9">
               <el-form-item
                 class="type_content_item"
                 label="正则表达式:"

+ 15 - 13
src/components/knowledgeExtra/DiagCheckRule.vue

@@ -48,8 +48,8 @@
           :title="'组(共' + total + '组)'"
           width="120"
         ></ux-table-column>
-        <ux-table-column field="description" title="规则名称"></ux-table-column>
-        <ux-table-column field="hasSubCond" title="子条件">
+        <ux-table-column field="description" title="规则名称" minWidth='100'></ux-table-column>
+        <ux-table-column field="hasSubCond" title="子条件" minWidth='100'>
           <template slot-scope="scope">
             {{ scope.row.hasSubCond ? "有" : "无" }}
           </template>
@@ -57,19 +57,20 @@
         <ux-table-column
           field="msg"
           title="附加信息"
+		  minWidth='100'
           show-overflow-tooltip
         ></ux-table-column>
-		<ux-table-column field="names" title="关联静态信息"  width="170" show-overflow-tooltip>
+		<ux-table-column field="names" title="关联静态信息"  minWidth='100' show-overflow-tooltip>
 		  <template slot-scope="scope">
 		    {{ transDataString(scope.row) }}
 		  </template>
 		</ux-table-column>
-        <ux-table-column field="baseType" title="基础规则类型">
+        <ux-table-column field="baseType" title="基础规则类型" minWidth='100'>
           <template slot-scope="scope">
             {{ transDataMap(baseTypeList)[scope.row.baseType] }}
           </template>
         </ux-table-column>
-        <ux-table-column prop="baseLibType" title="基础规则术语类型">
+        <ux-table-column prop="baseLibType" title="基础规则术语类型" minWidth='100'>
           <template slot-scope="scope">
             {{ transDataMap(baseTermTypeList)[scope.row.baseLibType] }}
           </template>
@@ -77,46 +78,47 @@
         <ux-table-column
           field="baseLibName"
           title="基础医学标准术语"
+		  minWidth='100'
         ></ux-table-column>
         <ux-table-column
           field="baseMinOperator"
           title="最小域比较符"
-          width="80"
+          minWidth='80'
         ></ux-table-column>
         <ux-table-column
           field="baseMinValue"
           title="最小域值"
-          width="80"
+           minWidth='80'
         ></ux-table-column>
         <ux-table-column
           field="baseMinUnit"
           title="最小域单位"
-          width="80"
+           minWidth='80'
         ></ux-table-column>
         <ux-table-column
           field="baseMaxOperator"
           title="最大域比较符"
-          width="80"
+           minWidth='80'
         ></ux-table-column>
         <ux-table-column
           field="baseMaxValue"
           title="最大域值"
-          width="80"
+          minWidth='80'
         ></ux-table-column>
         <ux-table-column
           field="baseMaxUnit"
           title="最大域单位"
-          width="80"
+          minWidth='80'
         ></ux-table-column>
         <ux-table-column
           field="baseEqValue"
           title="等于阈值"
-          width="80"
+          minWidth='80'
         ></ux-table-column>
         <ux-table-column
           field="baseEqUnit"
           title="等于域单位"
-          width="80"
+          minWidth='80'
         ></ux-table-column>
       </ux-grid>
     </el-main>