瀏覽代碼

提交规则维护相关

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

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

@@ -206,6 +206,7 @@
             :class="scope.row.subMsg?'form-texarea':''"
             class="texarea-form"
           >
+		 
             <el-input
               type="textarea"
               :autosize="{minRows: 1,maxRows: 2}"
@@ -549,7 +550,7 @@
               </el-row>
             </el-form-item>
             <!-- 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'">
+            <div style="flex: 2" v-if="scope.row.subType != 6 && scope.row.dataType == '2'&& scope.row.subType != 9">
               <el-form-item
                 class="type_content_item"
                 style="width: 100%"
@@ -581,7 +582,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="正则表达式:"

+ 14 - 12
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,16 +78,17 @@
         <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"
@@ -96,27 +98,27 @@
         <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>