|
@@ -5,6 +5,7 @@
|
|
|
<template #extra>
|
|
|
<!-- <el-button :disabled="shenHeSendFlag" size="small" type="primary" @click="fqsendAudit">申请审核</el-button>-->
|
|
|
<el-button size="small" type="primary" @click="bingAnShouYe">病案首页</el-button>
|
|
|
+ <el-button size="small" v-if="auditQuanXian()" type="primary" @click="shenQingCheHui">撤销审核</el-button>
|
|
|
<el-button size="small" type="primary" @click="showChargeListClick">费用清单</el-button>
|
|
|
<el-button size="small" type="primary" @click="querylistSetlAuditLog">审核历史记录</el-button>
|
|
|
<el-button size="small" type="primary" @click="queryDianZiBingLi">电子病历</el-button>
|
|
@@ -356,7 +357,9 @@ import {
|
|
|
sendAudit,
|
|
|
listSetlAuditLog,
|
|
|
drgQualityTest,
|
|
|
- isInHospital
|
|
|
+ isInHospital,
|
|
|
+sendShenQingCheHui,
|
|
|
+ querySetlModifyReq
|
|
|
} from '@/api/medical-insurance/si-setl-upload'
|
|
|
import {formatDatetime} from '@/utils/date'
|
|
|
import {listIsBlank, stringIsBlank, stringNotBlank} from '@/utils/blank-utils'
|
|
@@ -372,11 +375,12 @@ import ShuXueXinXi from '@/components/si-sheet-upload/ShuXueXinXi.vue'
|
|
|
import XcSelect from "@/components/xiao-chan/select/XcSelect.vue";
|
|
|
import {getEmrUrl,getInEmrUrl} from '@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-init';
|
|
|
import router from "@/router";
|
|
|
+import sleep from "@/utils/sleep";
|
|
|
const props = defineProps({
|
|
|
data: {},
|
|
|
})
|
|
|
|
|
|
-const emit = defineEmits(['close','shuaXin'])
|
|
|
+const emit = defineEmits(['close','queryCurrentPage'])
|
|
|
|
|
|
// 基本信息
|
|
|
const setlinfo = ref({})
|
|
@@ -598,7 +602,7 @@ const beiZhuRef = ref(false)
|
|
|
const baoCunHouGuanBi = () => {
|
|
|
huanZheXinXiDialog.value = false
|
|
|
// ctx.emit('shua-xin')
|
|
|
- emit('shuaXin')
|
|
|
+ emit('queryCurrentPage')
|
|
|
}
|
|
|
|
|
|
const baoCunXiuGai = () => {
|
|
@@ -769,7 +773,7 @@ const shenHeBoHuiClick = () => {
|
|
|
function guanBi() {
|
|
|
huanZheXinXiDialog.value = false
|
|
|
// ctx.emit('shua-xin')
|
|
|
- emit('shuaXin')
|
|
|
+ emit('queryCurrentPage')
|
|
|
}
|
|
|
|
|
|
/* 审核操作 */
|
|
@@ -852,7 +856,22 @@ const querylistSetlAuditLog = () => {
|
|
|
return ElMessage.error('您还没有进行审核申请。')
|
|
|
}
|
|
|
refreshAuditLog()
|
|
|
+ setlAuditLogFlag.value=true
|
|
|
}
|
|
|
+//申请撤回
|
|
|
+const shenQingCheHui=()=>{
|
|
|
+ElMessageBox.confirm('是否撤销审核', '提示', {
|
|
|
+ type: 'warning',
|
|
|
+ }).then(() => {
|
|
|
+ sendShenQingCheHui(props.data.inpatientNo,props.data.admissTimes).then((res) =>{
|
|
|
+ // 刷新审核信息 刷新审核记录 审核通过或审核驳回的 权限刷新下 保存申请的权限
|
|
|
+ refreshAuditLog()
|
|
|
+
|
|
|
+ refresShenHeXinXin()
|
|
|
+ })
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
//病案首页
|
|
|
const bingAnShouYe=() =>{
|
|
|
|
|
@@ -879,12 +898,28 @@ const queryDianZiBingLi = () => {
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
+//刷新最新的审核信息
|
|
|
+function refresShenHeXinXin() {
|
|
|
+ querySetlModifyReq(props.data.inpatientNo,props.data.admissTimes).then((res) => {
|
|
|
+ props.data.shenHeXinXi.id =res.id
|
|
|
+ props.data.shenHeXinXi.reqOpId= res.reqOpId,
|
|
|
+ props.data.shenHeXinXi.reqOpName= res.reqOpName,
|
|
|
+ props.data.shenHeXinXi.reqOpDate= res.reqOpDate,
|
|
|
+ props.data.shenHeXinXi.reqRemark= res.reqRemark,
|
|
|
+ props.data.shenHeXinXi.auditStaff= res.auditStaff,
|
|
|
+ props.data.shenHeXinXi.auditName= res.auditName,
|
|
|
+ props.data.shenHeXinXi.auditDate= res.auditDate,
|
|
|
+ props.data.shenHeXinXi.auditRemark= res.auditRemark,
|
|
|
+ props.data.shenHeXinXi.auditFlag= res.auditFlag
|
|
|
+ initQuanXian()
|
|
|
+ }
|
|
|
+ )
|
|
|
+}
|
|
|
|
|
|
//刷新审核信息
|
|
|
function refreshAuditLog() {
|
|
|
listSetlAuditLog(props.data.inpatientNo,props.data.admissTimes).then((res) => {
|
|
|
if(res.length > 0){
|
|
|
- setlAuditLogFlag.value=true
|
|
|
setlAuditLogData.value = []
|
|
|
for (let item of res){
|
|
|
let setAuditLog = {
|
|
@@ -1062,17 +1097,21 @@ const clickRemoveBloodTransfusion = (index, id) => {
|
|
|
|
|
|
onMounted(() => {
|
|
|
init()
|
|
|
- keFouShenHe.value = !(stringNotBlank(props.data.shenHeXinXi.id) && props.data.shenHeXinXi.auditFlag === 0)
|
|
|
- if(auditBmzzQuanXian() && props.data.shenHeXinXi.auditFlag == 2 && !keFouShenHe.value){
|
|
|
- //审核驳回才有审核通过按钮
|
|
|
- shenHeTongGuoFlag.value = false
|
|
|
- }else {
|
|
|
- shenHeTongGuoFlag.value = keFouShenHe.value
|
|
|
- }
|
|
|
- if(!stringNotBlank(props.data.shenHeXinXi.id) || props.data.shenHeXinXi.auditFlag == 2){
|
|
|
- shenHeSendFlag.value = false
|
|
|
- }
|
|
|
+ initQuanXian()
|
|
|
})
|
|
|
+//初始化权限
|
|
|
+function initQuanXian() {
|
|
|
+ keFouShenHe.value = !(stringNotBlank(props.data.shenHeXinXi.id) && props.data.shenHeXinXi.auditFlag === 0)
|
|
|
+ if(auditBmzzQuanXian() && props.data.shenHeXinXi.auditFlag == 2 && !keFouShenHe.value){
|
|
|
+ //审核驳回才有审核通过按钮
|
|
|
+ shenHeTongGuoFlag.value = false
|
|
|
+ }else {
|
|
|
+ shenHeTongGuoFlag.value = keFouShenHe.value
|
|
|
+ }
|
|
|
+ if(!stringNotBlank(props.data.shenHeXinXi.id) || props.data.shenHeXinXi.auditFlag == 2){
|
|
|
+ shenHeSendFlag.value = false
|
|
|
+ }
|
|
|
+}
|
|
|
|
|
|
const methods = [
|
|
|
{code: 'alpha', name: '拼音'},
|