赵殿龙 1 ano atrás
pai
commit
709f1252e0

+ 2 - 3
src/views/dict/qc/components/CreateDialog.vue

@@ -10,7 +10,7 @@
       <el-form-item label="字典名称" prop="name">
         <el-input v-model="ruleForm.name" placeholder="请输入" />
       </el-form-item>
-      <el-form-item label="映射名称" prop="keywords">
+      <el-form-item label="映射名称">
         <el-tag
           v-for="tag in ruleForm.keywords"
           :key="tag"
@@ -72,8 +72,7 @@ export default {
         keywords: []
       },
       rules: {
-        name: [{ required: true, message: '请输入', trigger: 'blur' }],
-        keywords: [{ required: true, message: '请输入', trigger: 'blur' }]
+        name: [{ required: true, message: '请输入', trigger: 'blur' }]
       }
     }
   },

+ 1 - 1
src/views/rule/config/components/RuleDialog.vue

@@ -31,7 +31,7 @@
                     <el-radio v-model="item.condition_type" :label="1" disabled class="ml40">过滤</el-radio>
                     <el-radio v-model="item.condition_type" :label="2" disabled>免审</el-radio>
                   </span>
-                  <i class="el-icon-delete" style="float: right; margin-top: 13px; cursor: pointer;" @click="onDeleteQZTJ(index)" />
+                  <!-- <i class="el-icon-delete" style="float: right; margin-top: 13px; cursor: pointer;" @click="onDeleteQZTJ(index)" /> -->
                 </div>
                 <div>
                   <el-row v-for="(sItem, sIndex) of item.condition_content" :key="'tj'+sIndex" :gutter="12" class="mb12">

+ 2 - 34
src/views/rule/config/index.vue

@@ -36,39 +36,7 @@ export default {
         error_level: '',
         status: ''
       },
-      tableData: [
-        {
-          'id': 23,
-          'case_type': '手术类',
-          'changjing': '医生端,卫统',
-          'department': '狂犬疫苗专用药房',
-          'object': '病案首页-基本信息,出院时间',
-          'type': '时效性',
-          'rule_type': '普通规则',
-          'is_not': 1,
-          'description': '123123123',
-          'score': 2,
-          'error_level': 2,
-          'status': 2,
-          'created_at': '2023-12-08 06:44:19',
-          'updated_at': '2023-12-08 15:23:09'
-        },
-        {
-          'id': 24,
-          'case_type': '入院记录',
-          'changjing': '质控员,卫统',
-          'department': '眩晕门诊,心内心脏超声室',
-          'object': '无纸化信息,住院次数',
-          'type': '逻辑性',
-          'rule_type': '普通规则',
-          'is_not': 1,
-          'description': '归贼描述',
-          'score': 1,
-          'error_level': 2,
-          'status': 1,
-          'created_at': '2023-12-09 08:34:22',
-          'updated_at': '2023-12-09 08:34:22'
-        }],
+      tableData: [],
       paginationData: {
         total: 0,
         page: 1,
@@ -104,7 +72,7 @@ export default {
     async getList() {
       const { page, limit } = this.paginationData
       const params = {
-        ...this.seachData,
+        ...this.searchData,
         page,
         page_size: limit
       }