|
|
|
@ -3,7 +3,7 @@ |
|
|
|
<div style="display: flex"> |
|
|
|
<div :style="'width:' + (window.pageWidth - 110 - 20) + 'px;'"> |
|
|
|
<!--查询条件--> |
|
|
|
<div style="position: absolute;top:30px;left:180px;display: flex; flex-wrap: wrap; height:60px;"> |
|
|
|
<div style="position: absolute;top:28px;left:180px;display: flex; flex-wrap: wrap; height:32px;border: 1px solid #DCDFE6;border-radius:5px;background-color: #F5F7FA;"> |
|
|
|
<div class="query"> |
|
|
|
<span class="querySpan">查找: 条码号</span> |
|
|
|
<el-input placeholder="条码号" v-model="query.patientRegisterNo" size="small" |
|
|
|
@ -465,7 +465,7 @@ |
|
|
|
<el-dialog title="体检人员列表" :visible.sync="registerVisible" width="800px" :show-close="false" :close-on-click-modal="false" |
|
|
|
:append-to-body="true"> |
|
|
|
<el-table :data="patientRegisters" border width="800" height="480" highlight-current-row |
|
|
|
@row-click="registerRowClick" size="small"> |
|
|
|
@row-click="registerRowClick" @row-dblclick="registerRowDblclick" size="small"> |
|
|
|
<el-table-column prop="completeFlag" label="体检进度"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div>{{ dddw(dict.completeFlag, "id", scope.row.completeFlag, "displayName") }}</div> |
|
|
|
@ -927,8 +927,14 @@ export default { |
|
|
|
|
|
|
|
// 获取登记信息 初始form表单数据 |
|
|
|
async initFormData(patientRegisterId){ |
|
|
|
// 清空查询条件 |
|
|
|
this.query.patientRegisterNo = '' |
|
|
|
this.query.patientNo = '' |
|
|
|
this.query.patientName = '' |
|
|
|
this.query.tel = '' |
|
|
|
|
|
|
|
this.peisid = window.sessionStorage.getItem('peisid'); |
|
|
|
|
|
|
|
if (!patientRegisterId) { |
|
|
|
objCopy(this.formInit, this.form); |
|
|
|
this.form.organizationUnitId = this.peisid; |
|
|
|
@ -1047,9 +1053,13 @@ export default { |
|
|
|
console.log('getpatientregisterorpatient', res) |
|
|
|
if (res.code == 1) { |
|
|
|
objCopy(res.data, this.form) |
|
|
|
this.patientRegister.patientRegisterId = res.data.id |
|
|
|
this.patientRegister.photo = res.data.photo |
|
|
|
this.getPatientRegisterAbs(res.data.id) |
|
|
|
this.dataTransOpts.tableS.patient_register.id = res.data.id |
|
|
|
setTimeout(() => { |
|
|
|
this.dataTransOpts.refresh.register_asbitem.M++ |
|
|
|
}, 20); |
|
|
|
// this.patientRegister.patientRegisterId = res.data.id |
|
|
|
// this.patientRegister.photo = res.data.photo |
|
|
|
// this.getPatientRegisterAbs(res.data.id) |
|
|
|
}else if(res.code == 0){ |
|
|
|
this.$message.info("未找到相关信息") |
|
|
|
} |
|
|
|
@ -1058,6 +1068,7 @@ export default { |
|
|
|
|
|
|
|
//按手机号或姓名查找客户信息 |
|
|
|
getlistinfilter(url,body){ |
|
|
|
// url = '/api/app/patientregister/getlistinfilter' |
|
|
|
postapi(url, body) |
|
|
|
.then((res) => { |
|
|
|
if (res.code != -1) { |
|
|
|
@ -1065,10 +1076,14 @@ export default { |
|
|
|
this.$message.info("未找到相关信息") |
|
|
|
}else if(res.data.items.length == 1){ |
|
|
|
objCopy(res.data.items[0], this.form) |
|
|
|
objCopy(res.data.items[0], this.patientRegister.patientRegisterRd) |
|
|
|
this.patientRegister.patientRegisterId = res.data.items[0].id |
|
|
|
this.patientRegister.photo = res.data.items[0].photo |
|
|
|
this.getPatientRegisterAbs(res.data.items[0].id) |
|
|
|
this.dataTransOpts.tableS.patient_register.id = res.data.items[0].id |
|
|
|
setTimeout(() => { |
|
|
|
this.dataTransOpts.refresh.register_asbitem.M++ |
|
|
|
}, 20); |
|
|
|
// objCopy(res.data.items[0], this.patientRegister.patientRegisterRd) |
|
|
|
// this.patientRegister.patientRegisterId = res.data.items[0].id |
|
|
|
// this.patientRegister.photo = res.data.items[0].photo |
|
|
|
// this.getPatientRegisterAbs(res.data.items[0].id) |
|
|
|
}else{ |
|
|
|
//显示列表,供选择 |
|
|
|
this.patientRegisters = res.data.items |
|
|
|
@ -1330,18 +1345,28 @@ export default { |
|
|
|
registerRowClick(row){ |
|
|
|
this.registerChoosed = row; |
|
|
|
}, |
|
|
|
registerRowDblclick(row){ |
|
|
|
this.registerChoosed = row; |
|
|
|
this.chooseRegister() |
|
|
|
}, |
|
|
|
|
|
|
|
chooseRegister(){ |
|
|
|
if (!this.registerChoosed) { |
|
|
|
alert("请选中人员档案信息"); |
|
|
|
alert("请选中人员登记信息"); |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
objCopy(this.registerChoosed, this.form) |
|
|
|
this.patientRegister.patientRegisterId = this.registerChoosed.id |
|
|
|
this.patientRegister.photo = this.registerChoosed.photo |
|
|
|
// this.patientRegister.patientRegisterId = this.registerChoosed.id |
|
|
|
// this.patientRegister.photo = this.registerChoosed.photo |
|
|
|
// this.getPatientRegisterAbs(this.registerChoosed.id) |
|
|
|
this.dataTransOpts.tableS.patient_register.id = this.registerChoosed.id |
|
|
|
setTimeout(() => { |
|
|
|
this.dataTransOpts.refresh.register_asbitem.M++ |
|
|
|
}, 20); |
|
|
|
|
|
|
|
this.registerVisible = false |
|
|
|
this.getPatientRegisterAbs(this.registerChoosed.id) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
changeBox(type) { |
|
|
|
@ -1485,7 +1510,7 @@ export default { |
|
|
|
// 稍作延时,否则 this.prAsbOpraOpts.formId 尚未更新 |
|
|
|
setTimeout(() =>{ |
|
|
|
this.prAsbOpraOpts.prAsbSave++ |
|
|
|
},100) |
|
|
|
},20) |
|
|
|
|
|
|
|
// 用于刷新登记的列表 |
|
|
|
this.refreshRegister(Object.assign({},res.data)) |
|
|
|
@ -1527,7 +1552,7 @@ export default { |
|
|
|
// 触发明细项目复制 |
|
|
|
setTimeout(() => { |
|
|
|
this.prAsbOpraOpts.copyNew++ |
|
|
|
}, 100); |
|
|
|
}, 20); |
|
|
|
|
|
|
|
// console.log('this.patientRegister.patientRegisterAbs',this.patientRegister.patientRegisterAbs) |
|
|
|
this.$message.info("操作成功,请记得点保存"); |
|
|
|
@ -1825,8 +1850,8 @@ export default { |
|
|
|
|
|
|
|
//关闭收费窗口时,刷新收费状态信息 |
|
|
|
closeDialogCharge(){ |
|
|
|
// this.getPatientRegisterAbs(this.form.id) |
|
|
|
this.prAsbOpraOpts.prAsbQuery++ |
|
|
|
// this.prAsbOpraOpts.prAsbQuery++ |
|
|
|
this.dataTransOpts.refresh.register_asbitem.M++ |
|
|
|
}, |
|
|
|
|
|
|
|
//触发人员信息保存(更新) |
|
|
|
|