zdl 1 سال پیش
والد
کامیت
f40f4c5014
2فایلهای تغییر یافته به همراه36 افزوده شده و 4 حذف شده
  1. 3 3
      src/views/rule/config/components/TableBox.vue
  2. 33 1
      src/views/rule/config/index.vue

+ 3 - 3
src/views/rule/config/components/TableBox.vue

@@ -110,9 +110,9 @@
         width="120"
       >
         <template slot-scope="scope">
-          <el-tag v-if="scope.row.status === 1" type="info">低风险</el-tag>
-          <el-tag v-if="scope.row.status === 2" type="primary">中风险</el-tag>
-          <el-tag v-if="scope.row.status === 3" type="danger">高风险</el-tag>
+          <el-tag v-if="scope.row.error_level === 1" type="info">低风险</el-tag>
+          <el-tag v-if="scope.row.error_level === 2" type="primary">中风险</el-tag>
+          <el-tag v-if="scope.row.error_level === 3" type="danger">高风险</el-tag>
         </template>
       </el-table-column>
       <el-table-column

+ 33 - 1
src/views/rule/config/index.vue

@@ -36,7 +36,39 @@ export default {
         error_level: '',
         status: ''
       },
-      tableData: [],
+      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'
+        }],
       paginationData: {
         total: 0,
         page: 1,