|
|
|
@ -624,15 +624,19 @@ |
|
|
|
<div style="font-size: 16px;">{{ qrCode.barcodeNo + ' ' + qrCode.patientName }}</div> |
|
|
|
</el-dialog> |
|
|
|
<!----> |
|
|
|
<el-dialog title="扫/输入条码回收体检表(指引单)" :visible.sync="dialogRecover" width="400px" :append-to-body="true" |
|
|
|
<el-dialog title="扫/输入条码回收体检表(指引单)" :visible.sync="recover.dialog" width="400px" :append-to-body="true" |
|
|
|
:close-on-click-modal="false"> |
|
|
|
<div class="query"> |
|
|
|
<span class="spanClass">条码号</span> <!-- @change="signByPatientRegisterNo" --> |
|
|
|
<el-input ref="tmh" v-model="patientRegisterNo" @keyup.native.enter="signByPatientRegisterNo"></el-input> |
|
|
|
<div style="margin-left: 10px;"> |
|
|
|
<template> |
|
|
|
<el-radio v-model="recover.recoverType" label="0">条码号</el-radio> |
|
|
|
<el-radio v-model="recover.recoverType" label="1">档案号</el-radio> |
|
|
|
</template> |
|
|
|
<el-input style="margin: 10px 0;" ref="tmh" v-model="recover.barcode" |
|
|
|
@keyup.native.enter="signByPatientRegisterNo"></el-input> |
|
|
|
</div> |
|
|
|
<div slot="footer" class="dialog-footer"> |
|
|
|
<el-button type="primary" @click="signByPatientRegisterNo" class="commonbutton">确定</el-button> |
|
|
|
<el-button @click="dialogRecover = false" class="commonbutton">关闭</el-button> |
|
|
|
<el-button @click="recover.dialog = false" class="commonbutton">关闭</el-button> |
|
|
|
</div> |
|
|
|
</el-dialog> |
|
|
|
</div> |
|
|
|
@ -833,7 +837,7 @@ export default { |
|
|
|
{ label: "职害", prop: "qztlIsWh", minWidth: 50, align: "center" }, |
|
|
|
{ label: "复检", prop: "qztlIsFj", minWidth: 50, align: "center" }, |
|
|
|
{ label: "标准金额", prop: "standardAmount", minWidth: 80, align: "center" }, |
|
|
|
{ label: "应收金额", prop: "receivableAmount", minWidth: 80, align: "center" }, |
|
|
|
{ label: "应收金额", prop: "receivableAmount", minWidth: 80, align: "center" }, |
|
|
|
{ label: "实收金额", prop: "chargeAmount", minWidth: 80, align: "center" }, |
|
|
|
{ label: "支付方式", prop: "chargePayMode", minWidth: 80, align: "center" }, |
|
|
|
], |
|
|
|
@ -947,8 +951,13 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
// 体检表回收 |
|
|
|
dialogRecover: false, |
|
|
|
patientRegisterNo: '', |
|
|
|
recover: { |
|
|
|
dialog: false, |
|
|
|
recoverType: '0', //回收类型 0-条码号 1-档案号 |
|
|
|
barcode: '', // 条码号或档案号 |
|
|
|
barcodes: [], // 条码号或档案号集合 |
|
|
|
isRecoverGuide: 'Y', //状态 Y-回收,N-取消回收 |
|
|
|
}, |
|
|
|
|
|
|
|
// 避免单击事件与双击事件冲突 |
|
|
|
clickTime1: 0, |
|
|
|
@ -2151,8 +2160,6 @@ export default { |
|
|
|
}, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (checkPagePriv(this.pagePriv.privs, "修改体检日期")) |
|
|
|
items.push({ |
|
|
|
label: "修改体检日期", |
|
|
|
@ -2161,6 +2168,20 @@ export default { |
|
|
|
}, |
|
|
|
}); |
|
|
|
|
|
|
|
if (checkPagePriv(this.pagePriv.privs, "删除照片")) |
|
|
|
items.push({ |
|
|
|
label: "删除照片", |
|
|
|
onClick: () => { |
|
|
|
postapi(`/api/app/patient-register/update-photo`, { |
|
|
|
patientRegisterId: row.id, |
|
|
|
photo: '' |
|
|
|
}) |
|
|
|
.then(res => { |
|
|
|
if (res.code > -1) this.$message.success({ showClose: true, message: '操作成功!' }) |
|
|
|
}) |
|
|
|
}, |
|
|
|
}); |
|
|
|
|
|
|
|
if ( |
|
|
|
checkPagePriv(this.pagePriv.privs, "分诊排队") && |
|
|
|
row.completeFlag != "0" |
|
|
|
@ -2815,7 +2836,7 @@ export default { |
|
|
|
// 点击扫码回收体检表按钮 |
|
|
|
btnScanRecover() { |
|
|
|
this.patientRegisterNo = '' |
|
|
|
this.dialogRecover = true |
|
|
|
this.recover.dialog = true |
|
|
|
this.$nextTick(() => { |
|
|
|
this.$refs['tmh'].focus(); //打开光标定位到条码栏里 |
|
|
|
}); |
|
|
|
@ -2824,18 +2845,27 @@ export default { |
|
|
|
//按条码号查个人数据 |
|
|
|
signByPatientRegisterNo() { |
|
|
|
|
|
|
|
let patientRegisterNos = [this.patientRegisterNo] |
|
|
|
let body = { |
|
|
|
patientRegisterNos |
|
|
|
} |
|
|
|
//console.log(`/api/app/patientregister/getpatientregisterorpatient`, body) |
|
|
|
postapi('/api/app/PatientRegister/BatchRecoverGuideByPatientRegisterNo', body) |
|
|
|
// let patientRegisterNos = [this.patientRegisterNo] |
|
|
|
// let body = { |
|
|
|
// patientRegisterNos |
|
|
|
// } |
|
|
|
// //console.log(`/api/app/patientregister/getpatientregisterorpatient`, body) |
|
|
|
// postapi('/api/app/PatientRegister/BatchRecoverGuideByPatientRegisterNo', body) |
|
|
|
// .then((res) => { |
|
|
|
// if (res.code > -1) { |
|
|
|
// this.patientRegisterNo = '' |
|
|
|
// this.$message.success({ showClose: true, message: '操作成功!' }) |
|
|
|
// } |
|
|
|
// }); |
|
|
|
this.recover.barcodes = [this.recover.barcode] |
|
|
|
postapi('/api/app/PatientRegister/BatchRecoverGuide', this.recover) |
|
|
|
.then((res) => { |
|
|
|
if (res.code > -1) { |
|
|
|
this.patientRegisterNo = '' |
|
|
|
this.recover.barcode = '' |
|
|
|
this.$message.success({ showClose: true, message: '操作成功!' }) |
|
|
|
} |
|
|
|
}); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
@ -2871,16 +2901,16 @@ export default { |
|
|
|
|
|
|
|
//合计 |
|
|
|
getSummaries(param) { |
|
|
|
console.log('getSummaries param',param) |
|
|
|
console.log('getSummaries param', param) |
|
|
|
// if(!param){ |
|
|
|
// param = { |
|
|
|
// columns:[{}, {}, {}, {}, {}, {}, {property: 'asbitemMoney'},{property: 'customerOrgGroupDetailMoney'}], |
|
|
|
// data:this.customerOrgGroupAsbitems |
|
|
|
// } |
|
|
|
// } |
|
|
|
|
|
|
|
|
|
|
|
const { columns, data } = param; |
|
|
|
const sumCol = [2,3,4, 7,8] //需合计的列 |
|
|
|
const sumCol = [2, 3, 4, 7, 8] //需合计的列 |
|
|
|
const sums = []; |
|
|
|
columns.forEach((column, index) => { |
|
|
|
//console.log('column, index,data',column, index,data) |
|
|
|
@ -2902,7 +2932,7 @@ export default { |
|
|
|
}) |
|
|
|
sums[index] = sums[index].toFixed(2) //+ ' 元'; |
|
|
|
|
|
|
|
}); |
|
|
|
}); |
|
|
|
return sums; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|