|
|
@ -430,17 +430,18 @@ export default { |
|
|
}); |
|
|
}); |
|
|
summaryList.push({ id: `summary_${i}`, summaryTitle: ' ', details }) |
|
|
summaryList.push({ id: `summary_${i}`, summaryTitle: ' ', details }) |
|
|
}); |
|
|
}); |
|
|
this.sumDoctorCheck.summaryList = deepCopy(summaryList) |
|
|
|
|
|
|
|
|
this.sumDoctorCheck.summaryList = summaryList |
|
|
|
|
|
|
|
|
// 自动高度有问题,需要这样处理一下 |
|
|
// 自动高度有问题,需要这样处理一下 |
|
|
setTimeout(() => { |
|
|
setTimeout(() => { |
|
|
this.sumDoctorCheck.summaryList = deepCopy(res.data); |
|
|
|
|
|
this.sumDoctorCheck.summaryList.forEach((e, i) => { |
|
|
|
|
|
|
|
|
res.data.forEach((e, i) => { |
|
|
e.id = `summary_${i}` |
|
|
e.id = `summary_${i}` |
|
|
e.details.forEach((e2, i2) => { |
|
|
e.details.forEach((e2, i2) => { |
|
|
e2.id = `summaryDetails_${i2}` |
|
|
e2.id = `summaryDetails_${i2}` |
|
|
}); |
|
|
}); |
|
|
}); |
|
|
}); |
|
|
|
|
|
this.sumDoctorCheck.summaryList = res.data; |
|
|
|
|
|
|
|
|
}, 10); |
|
|
}, 10); |
|
|
// this.sumDoctorCheck.summaryList = res.data; |
|
|
// this.sumDoctorCheck.summaryList = res.data; |
|
|
// this.textareaResize() |
|
|
// this.textareaResize() |
|
|
@ -453,11 +454,8 @@ export default { |
|
|
|
|
|
|
|
|
//获取建议 |
|
|
//获取建议 |
|
|
suggestionList(RegisterId, isGetExistData) { |
|
|
suggestionList(RegisterId, isGetExistData) { |
|
|
if (!RegisterId) { |
|
|
|
|
|
this.sumDoctorCheck.suggestionList = []; |
|
|
|
|
|
return; |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.sumDoctorCheck.suggestionList = []; |
|
|
|
|
|
if (!RegisterId) return; |
|
|
// { |
|
|
// { |
|
|
// "patientRegisterId": "3a11ee70-02cb-c5e6-a087-79ecdd0356b6", |
|
|
// "patientRegisterId": "3a11ee70-02cb-c5e6-a087-79ecdd0356b6", |
|
|
// "isGetExistData": "Y" |
|
|
// "isGetExistData": "Y" |
|
|
@ -471,9 +469,8 @@ export default { |
|
|
.then((res) => { |
|
|
.then((res) => { |
|
|
console.log("suggestionList", res.data); |
|
|
console.log("suggestionList", res.data); |
|
|
if (res.code > -1) { |
|
|
if (res.code > -1) { |
|
|
this.sumDoctorCheck.suggestionList = res.data; |
|
|
|
|
|
// 处理拖动排序使用 |
|
|
// 处理拖动排序使用 |
|
|
this.sumDoctorCheck.suggestionList.forEach((e, i) => { |
|
|
|
|
|
|
|
|
res.data.forEach((e, i) => { |
|
|
e.id = `suggestion_${i}` |
|
|
e.id = `suggestion_${i}` |
|
|
e.collapse = this.collapse |
|
|
e.collapse = this.collapse |
|
|
if (e.medicalInterpretations) { |
|
|
if (e.medicalInterpretations) { |
|
|
@ -495,6 +492,7 @@ export default { |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
|
|
|
this.sumDoctorCheck.suggestionList = res.data; |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
.catch((err) => { |
|
|
.catch((err) => { |
|
|
|