Browse Source

筛查id存在则是修改,否则是新增

new-ays
1747191978@qq.com 2 months ago
parent
commit
15fb32822d
  1. 3
      acupuncture-前台/src/views/screening/h5eva.vue

3
acupuncture-前台/src/views/screening/h5eva.vue

@ -652,7 +652,7 @@ export default {
this.form = { ...this.form, ...this.detailList };
setTimeout(() => {
this.open = false;
}, 200);
}, 500);
},
//
handleResult() {
@ -677,6 +677,7 @@ export default {
if (res.data.list.length) {
let data = res.data.list[0];
this.detailId = data.id;
console.log("this.detailId", this.detailId);
data.detailList.forEach((item) => {
this.detailList[item.questionCode] = item.answer;
});

Loading…
Cancel
Save