|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <el-button @click="setAuditClick" v-if="permissions()">发送</el-button>
|
|
|
+ <el-button @click="auditDialog.dialog = true" v-if="permissions()">发送</el-button>
|
|
|
<el-divider direction="vertical"/>
|
|
|
<emr-audit-dialog :emr-id="emrInfo.id"
|
|
|
:final-control="patientInfo.finalControl"
|
|
@@ -96,12 +96,21 @@
|
|
|
</el-table>
|
|
|
<right-click-menu v-if="!permissions()" :config="opt" :mouse-position="mousePosition"/>
|
|
|
|
|
|
+ <el-dialog v-model="auditDialog.dialog" title="发送到" @opened="auditDialog.handleOpen">
|
|
|
+ 发送给:
|
|
|
+ <XcPersonnel v-model="auditDialog" :options="auditDialog.personnelAll" code="doctor"/>
|
|
|
+ <template #footer>
|
|
|
+ <el-button @click="setAuditClick" type="primary">
|
|
|
+ 确认
|
|
|
+ </el-button>
|
|
|
+ </template>
|
|
|
+ </el-dialog>
|
|
|
+
|
|
|
<xc-dialog-v2 title="系统自动评级" v-model="scoreDialog"
|
|
|
@confirm="confirmTheQuality"
|
|
|
show-button
|
|
|
@cancel="scoreDialog = false"
|
|
|
- manual-shutdown
|
|
|
- >
|
|
|
+ manual-shutdown>
|
|
|
<span style="color: red">
|
|
|
注:此功能会直接修改病案首页中
|
|
|
病案质量、质控医师、质控日期
|
|
@@ -149,6 +158,8 @@ import {selectControlByPatNo} from "@/api/emr-control/emr-control";
|
|
|
import XcElOption from "@/components/xiao-chan/xc-el-option/XcElOption.vue";
|
|
|
import {userInfoStore} from "@/utils/store-public";
|
|
|
import XcDialogV2 from "@/components/xiao-chan/dialog/XcDialogV2.vue";
|
|
|
+import {getPersonnelAll} from "@/api/public-api";
|
|
|
+import XcPersonnel from "@/components/xiao-chan/xc-personnel/XcPersonnel.vue";
|
|
|
|
|
|
const elTableRef = ref(null)
|
|
|
|
|
@@ -170,10 +181,24 @@ const permissions = () => {
|
|
|
return needRule(56);
|
|
|
}
|
|
|
|
|
|
+const auditDialog = ref({
|
|
|
+ dialog: false,
|
|
|
+ doctor: '',
|
|
|
+ personnelAll: [],
|
|
|
+ handleOpen: () => {
|
|
|
+ auditDialog.value.doctor = emrInfo.value.code === 'shoucibingchengjilu' ? emrInfo.value.referPhysician : emrInfo.value.createId;
|
|
|
+ if (auditDialog.value.personnelAll.length === 0) {
|
|
|
+ getPersonnelAll().then((res) => {
|
|
|
+ auditDialog.value.personnelAll = res
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }
|
|
|
+})
|
|
|
+
|
|
|
const setAuditClick = () => {
|
|
|
let temp = {
|
|
|
id: emrInfo.value.id,
|
|
|
- doctor: emrInfo.value.code === 'shoucibingchengjilu' ? emrInfo.value.referPhysician : emrInfo.value.createId,
|
|
|
+ doctor: auditDialog.value.doctor,
|
|
|
patNo: emrInfo.value.patNo,
|
|
|
times: emrInfo.value.times,
|
|
|
list: elTableRef.value.getSelectionRows(),
|