|
|
|
@ -211,12 +211,28 @@ export default { |
|
|
|
//挂载完成 |
|
|
|
mounted() { }, |
|
|
|
computed: { |
|
|
|
...mapState(["window", "dict", "patientRegister", "customerOrg", "doctorCheck", "sumDoctorCheck","report"]), |
|
|
|
...mapState(["window","dataTransOpts", "dict", "patientRegister", "customerOrg", "doctorCheck", "sumDoctorCheck","report"]), |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
...mapMutations(['doctorCheckPrBaseInit', 'sumPREditInit']), |
|
|
|
|
|
|
|
dictInit(){ |
|
|
|
// 默认 当天 体检日期 |
|
|
|
let today = moment(new Date()).format('yyyy-MM-DD'); |
|
|
|
this.report.dataCusOrgOCX = [{ |
|
|
|
id: Date.now(), |
|
|
|
customerOrgId: "", |
|
|
|
customerOrgName: "", |
|
|
|
customerOrgRegister: {}, |
|
|
|
customerOrgRegisterList: [], |
|
|
|
dateType: "medicalStartDate", |
|
|
|
startDate: today, |
|
|
|
endDate: today, |
|
|
|
customerOrgGroupIds: [], |
|
|
|
customerOrgGroupList: [] |
|
|
|
}] |
|
|
|
this.patientRegister.query.cusOrgOCX = `(体检${today}~${today})` |
|
|
|
|
|
|
|
// 获取组合项目 |
|
|
|
postapi('/api/app/asbitem/getasbitemlist',{isFilterActive:'Y'}).then(res =>{ |
|
|
|
if(res.code != -1){ |
|
|
|
@ -269,6 +285,11 @@ export default { |
|
|
|
//点击体检次数行 |
|
|
|
rowClick(row) { |
|
|
|
|
|
|
|
this.dataTransOpts.tableS.patient_register.id = row.id |
|
|
|
setTimeout(() => { |
|
|
|
this.dataTransOpts.refresh.patient_register.S++ //人员体检登记信息刷新 |
|
|
|
}, 10); |
|
|
|
|
|
|
|
this.doctorCheckPrBaseInit() |
|
|
|
this.doctorCheck.prBase.patientRegisterNo = row.patientRegisterNo |
|
|
|
objCopy(row, this.doctorCheck.prBase) //基本信息 |
|
|
|
@ -300,7 +321,7 @@ export default { |
|
|
|
//查询 |
|
|
|
query() { |
|
|
|
let body = {},customerOrgs=[] |
|
|
|
|
|
|
|
console.log('this.report.dataCusOrgOCX',this.report.dataCusOrgOCX) |
|
|
|
if (this.report.dataCusOrgOCX.length > 0) { |
|
|
|
this.report.dataCusOrgOCX.forEach(e => { |
|
|
|
let rd = { |
|
|
|
|