|
@@ -2,12 +2,13 @@
|
|
|
<div>
|
|
|
<div class="btn-box">
|
|
|
<el-button type="primary" icon="el-icon-plus" @click="onCreate">新增</el-button>
|
|
|
- <el-button type="primary" icon="el-icon-download" @click="onExport">导出</el-button>
|
|
|
+ <el-button type="primary" icon="el-icon-download" @click="onExport">配置</el-button>
|
|
|
</div>
|
|
|
<el-table
|
|
|
v-loading="loading"
|
|
|
:data="data"
|
|
|
border
|
|
|
+ :max-height="630"
|
|
|
style="width: 100%"
|
|
|
>
|
|
|
<el-table-column
|
|
@@ -19,32 +20,86 @@
|
|
|
/>
|
|
|
<el-table-column
|
|
|
prop="SSBM"
|
|
|
- label="手术操作代码"
|
|
|
+ label="病历类型"
|
|
|
+ fixed="left"
|
|
|
align="center"
|
|
|
+ width="120"
|
|
|
/>
|
|
|
<el-table-column
|
|
|
- prop="SSMC"
|
|
|
- label="手术操作名称"
|
|
|
+ prop="SSLB"
|
|
|
+ label="质控项目"
|
|
|
align="center"
|
|
|
+ width="240"
|
|
|
/>
|
|
|
<el-table-column
|
|
|
prop="SSLB"
|
|
|
- label="操作类型"
|
|
|
+ label="错误描述"
|
|
|
+ align="center"
|
|
|
+ width="240"
|
|
|
+ />
|
|
|
+ <el-table-column
|
|
|
+ prop="LRXX"
|
|
|
+ label="质控科室"
|
|
|
+ align="center"
|
|
|
+ width="240"
|
|
|
+ />
|
|
|
+ <el-table-column
|
|
|
+ prop="LRXX"
|
|
|
+ label="单项否决"
|
|
|
+ align="center"
|
|
|
+ width="120"
|
|
|
+ />
|
|
|
+ <el-table-column
|
|
|
+ prop="LRXX"
|
|
|
+ label="质控状态"
|
|
|
+ align="center"
|
|
|
+ width="120"
|
|
|
+ />
|
|
|
+ <el-table-column
|
|
|
+ prop="LRXX"
|
|
|
+ label="质控类型"
|
|
|
align="center"
|
|
|
+ width="120"
|
|
|
/>
|
|
|
<el-table-column
|
|
|
prop="LRXX"
|
|
|
- label="录入选项"
|
|
|
+ label="质控场景"
|
|
|
align="center"
|
|
|
+ width="120"
|
|
|
/>
|
|
|
+ <el-table-column
|
|
|
+ prop="LRXX"
|
|
|
+ label="风险等级"
|
|
|
+ align="center"
|
|
|
+ width="120"
|
|
|
+ />
|
|
|
+ <el-table-column
|
|
|
+ prop="LRXX"
|
|
|
+ label="扣分"
|
|
|
+ align="center"
|
|
|
+ width="120"
|
|
|
+ />
|
|
|
+ <el-table-column
|
|
|
+ prop="LRXX"
|
|
|
+ label="质控规则"
|
|
|
+ align="center"
|
|
|
+ width="120"
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-button type="primary" size="mini" @click="onRuleDetail(scope.row)">查看详情</el-button>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column
|
|
|
prop=""
|
|
|
label="操作"
|
|
|
align="center"
|
|
|
fixed="right"
|
|
|
+ width="140"
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
<el-button type="text" @click="onEdit(scope.row)">修改</el-button>
|
|
|
+ <el-button type="text" style="color: #F56C6C;" @click="onDel(scope.row)">删除</el-button>
|
|
|
+ <el-button type="text">测试</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -55,6 +110,7 @@
|
|
|
|
|
|
<script>
|
|
|
import CreateDialog from './CreateDialog.vue'
|
|
|
+import { del_word_map } from '@/api/dict'
|
|
|
|
|
|
export default {
|
|
|
components: {
|
|
@@ -94,6 +150,23 @@ export default {
|
|
|
handleRefresh() {
|
|
|
this.$emit('refresh')
|
|
|
},
|
|
|
+ // 删除规则
|
|
|
+ onDel(row) {
|
|
|
+ this.$confirm('是否确认删除该数据?', '提示', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type: 'warning'
|
|
|
+ }).then(() => {
|
|
|
+ del_word_map({ id: row.id }).then((res) => {
|
|
|
+ this.$message.success(res.m || '操作成功')
|
|
|
+ this.$emit('refresh')
|
|
|
+ })
|
|
|
+ })
|
|
|
+ },
|
|
|
+ // 查看规则
|
|
|
+ onRuleDetail() {
|
|
|
+ alert('todo')
|
|
|
+ },
|
|
|
onExport() {
|
|
|
this.$emit('export')
|
|
|
}
|