Browse Source

筛查查看结果调用提交筛查接口,用户更新用户数据时间

master^2
1747191978@qq.com 2 months ago
parent
commit
66d6872cd7
  1. 16
      acupuncture-前台/src/views/screening/h5eva.vue

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

@ -666,7 +666,8 @@ export default {
}, },
methods: { methods: {
// //
handlePopupVerify() { async handlePopupVerify() {
try {
if (this.popupRadio === 1) { if (this.popupRadio === 1) {
this.form = { this.form = {
...this.form, ...this.form,
@ -676,6 +677,14 @@ export default {
this.open = false; this.open = false;
}, 500); }, 500);
} else { } else {
// ------ ------
const submitParams = { param: { detailId: this.detailId } };
// this.detailList
if (Object.keys(this.detailList).length !== 0) {
submitParams.param.phone = this.detailList["SCWJ-PHONE"];
submitParams.param.name = this.detailList["SCWJ-NAME"];
}
await screenSubmit(submitParams).then((response) => {
this.$router.replace({ this.$router.replace({
path: "/screening/h5Result", path: "/screening/h5Result",
query: { query: {
@ -684,6 +693,11 @@ export default {
}, },
}); });
this.open = false; this.open = false;
});
}
} catch (e) {
this.open = false;
this.$message.error("操作失败,请稍后重试!");
} }
}, },
// //

Loading…
Cancel
Save