|
|
|
@ -29,16 +29,30 @@ |
|
|
|
<el-table-column prop="sexName" label="性别" width="50" align="center" /> |
|
|
|
<el-table-column prop="birthDate" label="出生日期" width="90" align="center" /> |
|
|
|
<el-table-column prop="age" label="年龄" width="50" align="center" /> |
|
|
|
<el-table-column prop="isSmsComplete" label="短信随访创建完成" width="200"> |
|
|
|
<el-table-column prop="abnormalAsbitemDetail" label="组合项目异常" width="200"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-checkbox v-model="scope.row.isSmsComplete" disabled true-label="Y" false-label="N"></el-checkbox> |
|
|
|
<div v-for="(item,index) in scope.row.abnormalAsbitemDetail" :key="index"> |
|
|
|
{{item.asbitemName+' '+item.isCriticalValue+' '+item.isReview}} |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="isPhoneComplete" label="电话随访创建完成" width="200"> |
|
|
|
<el-table-column prop="abnormalItemDetail" label="项目异常" width="200"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-checkbox v-model="scope.row.isPhoneComplete" disabled true-label="Y" false-label="N"></el-checkbox> |
|
|
|
<div v-for="(item,index) in scope.row.abnormalItemDetail" :key="index"> |
|
|
|
{{item.itemName+' '+item.isCriticalValue+' '+item.isReview}} |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="isSmsComplete" label="短信随访创建完成" width="200"> |
|
|
|
<!-- <template slot-scope="scope"> |
|
|
|
<el-checkbox v-model="scope.row.isSmsComplete" disabled true-label="Y" false-label="N"></el-checkbox> |
|
|
|
</template> --> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="isPhoneComplete" label="电话随访创建完成" width="200"> |
|
|
|
<!-- <template slot-scope="scope"> |
|
|
|
<el-checkbox v-model="scope.row.isPhoneComplete" disabled true-label="Y" false-label="N"></el-checkbox> |
|
|
|
</template> --> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="jobCardNo" label="工卡号" width="90" align="center" /> |
|
|
|
<el-table-column prop="medicalCardNo" label="体检卡号" width="90" align="center" /> |
|
|
|
<el-table-column prop="maritalStatusName" label="婚姻状况" width="90" align="center" /> |
|
|
|
@ -47,9 +61,9 @@ |
|
|
|
<el-table-column prop="jobPost" label="职务" width="90" align="center" /> |
|
|
|
<el-table-column prop="jobTitle" label="职称" width="90" align="center" /> |
|
|
|
<el-table-column prop="isUpload" label="上传WEB" width="90" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<!-- <template slot-scope="scope"> |
|
|
|
<el-checkbox v-model="scope.row.isUpload" disabled true-label="Y" false-label="N"></el-checkbox> |
|
|
|
</template> |
|
|
|
</template> --> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="completeFlag" label="状态" width="90" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
@ -57,9 +71,9 @@ |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="isMedicalStart" label="开始标志" width="90" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<!-- <template slot-scope="scope"> |
|
|
|
<el-checkbox v-model="scope.row.isMedicalStart" disabled true-label="Y" false-label="N"></el-checkbox> |
|
|
|
</template> |
|
|
|
</template> --> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="medicalStartDate" label="开始日期" width="90" align="center" /> |
|
|
|
<el-table-column prop="patientNo" label="档案号" width="90" align="center" /> |
|
|
|
@ -67,6 +81,14 @@ |
|
|
|
<el-table-column prop="mobileTelephone" label="手机号" /> |
|
|
|
<el-table-column prop="customerOrgName" label="单位" /> |
|
|
|
<el-table-column prop="customerOrgParentName" label="父级单位" /> |
|
|
|
<el-table-column |
|
|
|
v-for="(item, index) in columnData" |
|
|
|
:key="index" |
|
|
|
:prop="item" |
|
|
|
:label="item" |
|
|
|
align="left" |
|
|
|
> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
<div style="display: flex; justify-content: space-between"> |
|
|
|
<div></div> |
|
|
|
@ -285,6 +307,7 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
LocalConfigInit: {}, |
|
|
|
columnData:[] |
|
|
|
}; |
|
|
|
}, |
|
|
|
|
|
|
|
@ -715,12 +738,13 @@ export default { |
|
|
|
async Query() { |
|
|
|
// 查询时,清掉明细数据 (滚动时不清) |
|
|
|
this.dataTransOpts.tableS.patient_register.followUpId = ""; |
|
|
|
this.dataTransOpts.tableS.patient_register.patientRegisterId="" |
|
|
|
this.tableDataCurrentRow = {}; // 清除选择 |
|
|
|
this.tableData = []; |
|
|
|
|
|
|
|
// setTimeout(() => { |
|
|
|
// this.dataTransOpts.refresh.register_check_asbitem.M++; //触发所选组合项目刷新 |
|
|
|
// }, 10); |
|
|
|
setTimeout(() => { |
|
|
|
this.dataTransOpts.refresh.register_check_asbitem.M++; //触发所选组合项目刷新 |
|
|
|
}, 10); |
|
|
|
|
|
|
|
this.loadOpts = Object.assign(this.loadOpts, this.loadOptsInit); |
|
|
|
await this.getPrList(); |
|
|
|
@ -827,31 +851,21 @@ export default { |
|
|
|
body |
|
|
|
).then((res) => { |
|
|
|
if (res.code > -1) { |
|
|
|
let curLoad = res.data; |
|
|
|
// let oldCount = 0 |
|
|
|
// 处理分组/套餐 排序混乱的问题 |
|
|
|
// curLoad.forEach((e) => { |
|
|
|
// if (e.customerOrgId == this.dict.personOrgId) { |
|
|
|
// e.groupPack = e.medicalPackageId; |
|
|
|
// } else { |
|
|
|
// e.groupPack = e.customerOrgGroupId; |
|
|
|
// } |
|
|
|
// }); |
|
|
|
|
|
|
|
if (body.skipCount == 0) { |
|
|
|
//查询 |
|
|
|
this.tableData = []; |
|
|
|
let that = this; |
|
|
|
for(let i=0;i<res.data.length;i++){ |
|
|
|
for(let k = 0; k <res.data[i].phoneFollowUpDetail.length;k++){ |
|
|
|
that.columnData.push("第"+[k+1]+"次"+"随访内容") |
|
|
|
that.columnData.push("第"+[k+1]+"次"+"回复内容") |
|
|
|
that.columnData.push("第"+[k+1]+"次"+"随访日期") |
|
|
|
that.columnData.push("第"+[k+1]+"次"+"随访完成") |
|
|
|
this.$set(res.data[i],"第"+[k+1]+"次"+"随访内容",res.data[i].phoneFollowUpDetail[k].followUpContent) |
|
|
|
this.$set(res.data[i],"第"+[k+1]+"次"+"回复内容",res.data[i].phoneFollowUpDetail[k].replyContent) |
|
|
|
this.$set(res.data[i],"第"+[k+1]+"次"+"随访日期",res.data[i].phoneFollowUpDetail[k].planFollowDate) |
|
|
|
this.$set(res.data[i],"第"+[k+1]+"次"+"随访完成",res.data[i].phoneFollowUpDetail[k].isComplete) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
this.tableData = this.tableData.concat(curLoad); |
|
|
|
// else { |
|
|
|
// // 懒加载 ,原数据集不用清空 |
|
|
|
// oldCount = this.tableData.length |
|
|
|
// } |
|
|
|
// curLoad.forEach((e, index) => { |
|
|
|
// this.tableData.push(Object.assign({ index: Number(oldCount) + Number(index), choosed: false }, e)) |
|
|
|
// }) |
|
|
|
|
|
|
|
that.columnData = Array.from(new Set(that.columnData)); |
|
|
|
this.tableData=res.data |
|
|
|
//如果 有选中 记录,则刷新其对应的组合项目 |
|
|
|
if (this.dataTransOpts.tableS.patient_register.id) { |
|
|
|
this.dataTransOpts.refresh.register_check_asbitem.M++; |
|
|
|
|