|
|
|
@ -1,18 +1,10 @@ |
|
|
|
<template> |
|
|
|
<div style="display: flex"> |
|
|
|
<div :style="'display: flex;width:' + (window.pageWidth - 110-10) + 'px;'"> |
|
|
|
<div :style="'display: flex;width:' + (window.pageWidth - 110 - 10) + 'px;'"> |
|
|
|
<div |
|
|
|
:style="'padding: 15px;background-color: #fff;border-radius: 8px;width:' + Math.floor((window.pageWidth - 110 - 50) / 2) + 'px;'" |
|
|
|
> |
|
|
|
<el-table |
|
|
|
:data="dataList" |
|
|
|
:height="window.pageHeight < 600 ? 350 : window.pageHeight - 245" |
|
|
|
row-key="id" |
|
|
|
size="small" |
|
|
|
highlight-current-row |
|
|
|
ref="dataList" |
|
|
|
@row-click="rowClick" |
|
|
|
> |
|
|
|
:style="'padding: 15px;background-color: #fff;border-radius: 8px;width:' + Math.floor((window.pageWidth - 110 - 50) / 2) + 'px;'"> |
|
|
|
<el-table :data="dataList" :height="window.pageHeight < 600 ? 350 : window.pageHeight - 245" row-key="id" |
|
|
|
size="small" highlight-current-row ref="dataList" @row-click="rowClick"> |
|
|
|
<el-table-column type="index" width="50" label="序号" /> |
|
|
|
<el-table-column prop="completeFlag" label="体检进度"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
@ -38,8 +30,8 @@ |
|
|
|
<div> |
|
|
|
{{ |
|
|
|
scope.row.customerOrgParentName |
|
|
|
? scope.row.customerOrgParentName |
|
|
|
: scope.row.customerOrgName |
|
|
|
? scope.row.customerOrgParentName |
|
|
|
: scope.row.customerOrgName |
|
|
|
}} |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
@ -67,12 +59,9 @@ |
|
|
|
<el-table-column prop="medicalTimes" label="体检次数"></el-table-column> |
|
|
|
<el-table-column label="分组/套餐" width="150"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div |
|
|
|
v-if=" |
|
|
|
scope.row.medicalPackageId !== dict.personOrgId && |
|
|
|
scope.row.customerOrgId === dict.personOrgId |
|
|
|
" |
|
|
|
> |
|
|
|
<div v-if="scope.row.medicalPackageId !== dict.personOrgId && |
|
|
|
scope.row.customerOrgId === dict.personOrgId |
|
|
|
"> |
|
|
|
{{ |
|
|
|
ldddw( |
|
|
|
dict.medicalPackage, |
|
|
|
@ -82,12 +71,9 @@ |
|
|
|
) |
|
|
|
}} |
|
|
|
</div> |
|
|
|
<div |
|
|
|
v-if=" |
|
|
|
scope.row.medicalPackageId !== dict.personOrgId && |
|
|
|
<div v-if="scope.row.medicalPackageId !== dict.personOrgId && |
|
|
|
scope.row.customerOrgId !== dict.personOrgId |
|
|
|
" |
|
|
|
> |
|
|
|
"> |
|
|
|
{{ |
|
|
|
ldddw( |
|
|
|
dict.customerOrgGroupAll, |
|
|
|
@ -183,91 +169,58 @@ |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
:style=" |
|
|
|
'margin-left: 15px;width:' + |
|
|
|
Math.floor((window.pageWidth) / 2) + |
|
|
|
'px;' |
|
|
|
" |
|
|
|
> |
|
|
|
<div :style="'margin-left: 15px;width:' + |
|
|
|
Math.floor((window.pageWidth) / 2) + |
|
|
|
'px;' |
|
|
|
"> |
|
|
|
<div style="display: flex; flex-wrap: wrap; height: 40px; width: 100%;background-color: #fff; |
|
|
|
border-radius: 8px;margin-bottom: 5px;align-items: center;"> |
|
|
|
<div class="query"> |
|
|
|
<span>条码号</span> |
|
|
|
<el-input |
|
|
|
placeholder="条码号" |
|
|
|
v-model="quick.patientRegisterNo" |
|
|
|
size="small" |
|
|
|
style="width: 140px" |
|
|
|
clearable |
|
|
|
@input="onQueryByPatientRegisterNo" |
|
|
|
/> |
|
|
|
<el-input placeholder="条码号" v-model="quick.patientRegisterNo" size="small" style="width: 140px" clearable |
|
|
|
@input="onQueryByPatientRegisterNo" /> |
|
|
|
</div> |
|
|
|
<div class="query"> |
|
|
|
<span>档案号</span> |
|
|
|
<el-input |
|
|
|
placeholder="档案号" |
|
|
|
v-model="quick.patientNo" |
|
|
|
size="small" |
|
|
|
style="width: 100px" |
|
|
|
clearable |
|
|
|
@input="onQueryByPatientNo" |
|
|
|
/> |
|
|
|
<el-input placeholder="档案号" v-model="quick.patientNo" size="small" style="width: 100px" clearable |
|
|
|
@input="onQueryByPatientNo" /> |
|
|
|
</div> |
|
|
|
<div class="query"> |
|
|
|
<span>姓名</span> |
|
|
|
<el-input |
|
|
|
placeholder="姓名" |
|
|
|
v-model="quick.patientName" |
|
|
|
size="small" |
|
|
|
style="width: 100px" |
|
|
|
disabled |
|
|
|
/> |
|
|
|
<el-input placeholder="姓名" v-model="quick.patientName" size="small" style="width: 100px" disabled /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div style="padding: 15px;background-color: #fff;border-radius: 8px;"> |
|
|
|
<el-table |
|
|
|
:data="doctorCheck.RegisterCheckList" |
|
|
|
:height="window.pageHeight < 600 ? 310 : window.pageHeight - 291" |
|
|
|
highlight-current-row |
|
|
|
size="small" |
|
|
|
@selection-change="handleSelectionChange" |
|
|
|
> |
|
|
|
<el-table-column type="selection" width="40" /> |
|
|
|
<el-table-column prop="asbitemName" label="组合项目" width="180" /> |
|
|
|
<el-table-column label="弃检" width="80"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-checkbox :value="scope.row.completeFlag == '2'"></el-checkbox> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="lastModifierName" label="操作员" width="100" /> |
|
|
|
<el-table-column |
|
|
|
prop="lastModificationTime" |
|
|
|
label="操作时间" |
|
|
|
width="180" |
|
|
|
> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div> |
|
|
|
{{ |
|
|
|
lmoment(scope.row.lastModificationTime, "yyyy-MM-DD HH:mm:ss") |
|
|
|
}} |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
<el-table :data="doctorCheck.RegisterCheckList" |
|
|
|
:height="window.pageHeight < 600 ? 310 : window.pageHeight - 291" highlight-current-row size="small" |
|
|
|
@selection-change="handleSelectionChange"> |
|
|
|
<el-table-column type="selection" width="40" /> |
|
|
|
<el-table-column prop="asbitemName" label="组合项目" width="180" /> |
|
|
|
<el-table-column label="弃检" width="80"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-checkbox :value="scope.row.completeFlag == '2'"></el-checkbox> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="lastModifierName" label="操作员" width="100" /> |
|
|
|
<el-table-column prop="lastModificationTime" label="操作时间" width="180"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div> |
|
|
|
{{ |
|
|
|
lmoment(scope.row.lastModificationTime, "yyyy-MM-DD HH:mm:ss") |
|
|
|
}} |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div style="margin-left: 10px;margin-top: 60px; width: 100px"> |
|
|
|
<div class="listBtn"> |
|
|
|
<el-button type="success" class="commonbutton" @click="resuse('2')" |
|
|
|
>登记弃检</el-button |
|
|
|
> |
|
|
|
<el-button type="success" class="commonbutton" @click="resuse('2')">登记弃检</el-button> |
|
|
|
</div> |
|
|
|
<div class="listBtn"> |
|
|
|
<el-button type="primary" class="commonbutton" @click="resuse('0')" |
|
|
|
>取消弃检</el-button |
|
|
|
> |
|
|
|
<el-button type="primary" class="commonbutton" @click="resuse('0')">取消弃检</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -299,10 +252,10 @@ export default { |
|
|
|
}; |
|
|
|
}, |
|
|
|
|
|
|
|
created() {}, |
|
|
|
created() { }, |
|
|
|
|
|
|
|
//挂载完成 |
|
|
|
mounted() {}, |
|
|
|
mounted() { }, |
|
|
|
computed: { |
|
|
|
...mapState([ |
|
|
|
"window", |
|
|
|
@ -324,11 +277,11 @@ export default { |
|
|
|
onQueryByPatientRegisterNo() { |
|
|
|
let patientRegisterNo = this.quick.patientRegisterNo; |
|
|
|
let body = { |
|
|
|
sType:1, |
|
|
|
sType: 1, |
|
|
|
patientRegisterNo |
|
|
|
} |
|
|
|
console.log('/api/app/patientregister/getpatientregisterorpatient',body) |
|
|
|
postapi('/api/app/patientregister/getpatientregisterorpatient',body).then((res) => { |
|
|
|
} |
|
|
|
console.log('/api/app/patientregister/getpatientregisterorpatient', body) |
|
|
|
postapi('/api/app/patientregister/getpatientregisterorpatient', body).then((res) => { |
|
|
|
if (res.code != -1) { |
|
|
|
if (res.data) { |
|
|
|
objCopy(res.data, this.quick); |
|
|
|
@ -345,11 +298,11 @@ export default { |
|
|
|
onQueryByPatientNo() { |
|
|
|
let patientNo = this.quick.patientNo; |
|
|
|
let body = { |
|
|
|
sType:2, |
|
|
|
sType: 2, |
|
|
|
patientNo |
|
|
|
} |
|
|
|
console.log(`/api/app/patientregister/getpatientregisterorpatient`,body) |
|
|
|
postapi('/api/app/patientregister/getpatientregisterorpatient',body).then((res) => { |
|
|
|
} |
|
|
|
console.log(`/api/app/patientregister/getpatientregisterorpatient`, body) |
|
|
|
postapi('/api/app/patientregister/getpatientregisterorpatient', body).then((res) => { |
|
|
|
if (res.code != -1) { |
|
|
|
if (res.data) { |
|
|
|
objCopy(res.data, this.quick); |
|
|
|
@ -364,12 +317,7 @@ export default { |
|
|
|
|
|
|
|
//获取检查组合项目 |
|
|
|
registerCheckList(patientRegisterId) { |
|
|
|
console.log( |
|
|
|
`/api/app/register-check/register-check-or-asbitem/${patientRegisterId}` |
|
|
|
); |
|
|
|
getapi( |
|
|
|
`/api/app/register-check/register-check-or-asbitem/${patientRegisterId}` |
|
|
|
) |
|
|
|
postapi('/api/app/RegisterCheck/GetRegisterCheckAsbitemsByPatientRegisterId', { patientRegisterId }) |
|
|
|
.then((res) => { |
|
|
|
console.log("registerCheckList", res.data); |
|
|
|
if (res.code != -1) { |
|
|
|
@ -377,7 +325,7 @@ export default { |
|
|
|
} |
|
|
|
}) |
|
|
|
.catch((err) => { |
|
|
|
this.$message.error({ showClose: true, message: `操作失败,原因:${err}` }); |
|
|
|
this.$message.error({ showClose: true, message: `操作失败,原因:${err}` }); |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
@ -400,7 +348,7 @@ export default { |
|
|
|
} |
|
|
|
}) |
|
|
|
.catch(() => { |
|
|
|
this.$message.info({ showClose: true, message: "已取消删除" }); |
|
|
|
this.$message.info({ showClose: true, message: "已取消删除" }); |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
@ -458,8 +406,7 @@ export default { |
|
|
|
msg += |
|
|
|
"\r\n组合项目:【" + |
|
|
|
resuseAsb.substring(1, resuseAsb.length) + |
|
|
|
`】${ |
|
|
|
completeFlag == "2" ? "已登记弃检" : "未登记弃检" |
|
|
|
`】${completeFlag == "2" ? "已登记弃检" : "未登记弃检" |
|
|
|
}无需再执行此操作`; |
|
|
|
} |
|
|
|
ret.msg = msg; |
|
|
|
@ -472,9 +419,9 @@ export default { |
|
|
|
resuse(completeFlag) { |
|
|
|
let ret = this.resuseCheck(completeFlag); |
|
|
|
if (ret.allowable) { |
|
|
|
if (ret.msg) this.$message.warning({ showClose: true, message: ret.msg}); |
|
|
|
if (ret.msg) this.$message.warning({ showClose: true, message: ret.msg }); |
|
|
|
} else { |
|
|
|
this.$message.warning({ showClose: true, message: ret.msg}); |
|
|
|
this.$message.warning({ showClose: true, message: ret.msg }); |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
@ -532,7 +479,7 @@ export default { |
|
|
|
"yyyy-MM-DD" |
|
|
|
); |
|
|
|
if (body.startDate > body.endDate) { |
|
|
|
this.$message.warning({ showClose: true, message: "起始日期不能大于截止日期,数据校验不通过!"}); |
|
|
|
this.$message.warning({ showClose: true, message: "起始日期不能大于截止日期,数据校验不通过!" }); |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
@ -549,12 +496,12 @@ export default { |
|
|
|
}; |
|
|
|
|
|
|
|
console.log("/api/app/patientregister/getlistinfilter", body); |
|
|
|
|
|
|
|
|
|
|
|
postapi("/api/app/patientregister/getlistinfilter", body) |
|
|
|
.then((res) => { |
|
|
|
if (res.code > -1) { |
|
|
|
this.dataList = res.data.items; |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
@ -584,6 +531,7 @@ export default { |
|
|
|
margin-top: 10px; |
|
|
|
text-align: center; |
|
|
|
} |
|
|
|
|
|
|
|
.btnClass { |
|
|
|
width: 100px; |
|
|
|
} |
|
|
|
|