|
@@ -1,5 +1,9 @@
|
|
|
<template>
|
|
|
<div id="MyDiv" :class="{ nocopy: $route.query.status }">
|
|
|
+ <div style="display: flex;justify-content: flex-end;">
|
|
|
+ <el-button v-if="review_status == 2" disabled>审核通过</el-button>
|
|
|
+ <el-button type="primary" @click="toExamine" v-else>审核通过</el-button>
|
|
|
+ </div>
|
|
|
<div class="cont_container">
|
|
|
<!-- 左侧点击列表部分 -->
|
|
|
<div class="cont-left-tiem">
|
|
@@ -175,7 +179,7 @@ import OutHospitalRecord from './components/OutHospitalRecord.vue'
|
|
|
import CaseQualityBox from './components/CaseQualityBox2.vue'
|
|
|
import DeathText from './components/DeathText.vue'
|
|
|
import CreateControlResultDialogVue from './components/CreateControlResultDialog.vue'
|
|
|
-import { getTreeList,getBlMenuList,getCaseQuality, getCasePlatform, getAllCase, getLong, getTemporary, getPacsData, getBcData, getHomeData, getSurgeryData, getBlInfo } from '@/api/qc'
|
|
|
+import { getTreeList,getBlMenuList,getCaseQuality, getCasePlatform, getAllCase, getLong, getTemporary, getPacsData, getBcData, getHomeData, getSurgeryData, getBlInfo, applyForReview } from '@/api/qc'
|
|
|
import { getCaseExamineAppeal } from '@/api/admin'
|
|
|
import { getToken, removeToken } from '@/utils/auth'
|
|
|
|
|
@@ -263,7 +267,8 @@ export default {
|
|
|
|
|
|
dialogVisible: false,
|
|
|
alertForm: {},
|
|
|
- appealInfo: {}
|
|
|
+ appealInfo: {},
|
|
|
+ review_status: 0
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
@@ -325,7 +330,8 @@ export default {
|
|
|
this.funQuery()
|
|
|
this.getCaseQualityResults()
|
|
|
}
|
|
|
- this.getTree()
|
|
|
+ this.getTree();
|
|
|
+ this.getDataExamine();
|
|
|
},
|
|
|
|
|
|
methods: {
|
|
@@ -340,7 +346,7 @@ export default {
|
|
|
case_docter_mobile: that.alertForm.case_docter_mobile,
|
|
|
}
|
|
|
let index = that.appealInfo.index;
|
|
|
-
|
|
|
+
|
|
|
getCaseExamineAppeal(params).then(res => {
|
|
|
const { c } = res
|
|
|
if(c == 0){
|
|
@@ -368,7 +374,7 @@ export default {
|
|
|
that.dialogVisible = true;
|
|
|
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
// 刷新质控结果
|
|
|
handelRefreshResults() {
|
|
@@ -383,7 +389,7 @@ export default {
|
|
|
//top,left是右键菜单得坐标值,可以通过运算调整
|
|
|
this.top = y - 80;
|
|
|
this.left = x - 200;
|
|
|
-
|
|
|
+
|
|
|
if (this.dialogData.text) {
|
|
|
this.gridCustomizeVisible = true;
|
|
|
}
|
|
@@ -407,7 +413,7 @@ export default {
|
|
|
getCaseQualityResults() {
|
|
|
let that = this;
|
|
|
const params = {
|
|
|
- id: Number(that.valData)
|
|
|
+ id: that.valData
|
|
|
}
|
|
|
getCaseQuality(params).then(res => {
|
|
|
console.log(res)
|
|
@@ -616,6 +622,29 @@ export default {
|
|
|
})
|
|
|
}
|
|
|
}
|
|
|
+ },
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 批量审核
|
|
|
+ */
|
|
|
+ toExamine() {
|
|
|
+ var ZYH = [this.valData];
|
|
|
+ applyForReview({ ZYH: ZYH, status: 2 } ).then(res => {
|
|
|
+ this.$message.success(res.msg || '申请成功');
|
|
|
+ this.getDataExamine();
|
|
|
+ }).catch(error => {
|
|
|
+ console.log(error);
|
|
|
+ })
|
|
|
+ },
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 获取审核状态
|
|
|
+ */
|
|
|
+ getDataExamine() {
|
|
|
+ var ZYH = this.valData;
|
|
|
+ this.$axios.post('/getDataExamine', { ZYH: ZYH }).then(res => {
|
|
|
+ this.review_status = res.data.review_status ?? 0;
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -806,13 +835,13 @@ export default {
|
|
|
color: #333;
|
|
|
box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, 0.3);
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.contextmenu li {
|
|
|
margin: 0;
|
|
|
padding: 7px 16px;
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.contextmenu li:hover {
|
|
|
background: #eee;
|
|
|
}
|