|
@ -666,24 +666,38 @@ export default { |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
// 编辑信息 |
|
|
// 编辑信息 |
|
|
handlePopupVerify() { |
|
|
async handlePopupVerify() { |
|
|
if (this.popupRadio === 1) { |
|
|
try { |
|
|
this.form = { |
|
|
if (this.popupRadio === 1) { |
|
|
...this.form, |
|
|
this.form = { |
|
|
...JSON.parse(JSON.stringify(this.detailList)), |
|
|
...this.form, |
|
|
}; |
|
|
...JSON.parse(JSON.stringify(this.detailList)), |
|
|
setTimeout(() => { |
|
|
}; |
|
|
this.open = false; |
|
|
setTimeout(() => { |
|
|
}, 500); |
|
|
this.open = false; |
|
|
} else { |
|
|
}, 500); |
|
|
this.$router.replace({ |
|
|
} else { |
|
|
path: "/screening/h5Result", |
|
|
// ------ 提交筛查 ------ |
|
|
query: { |
|
|
const submitParams = { param: { detailId: this.detailId } }; |
|
|
tenantName: this.tenantName, |
|
|
// 判断对象是否为空 this.detailList |
|
|
data: JSON.stringify(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({ |
|
|
|
|
|
path: "/screening/h5Result", |
|
|
|
|
|
query: { |
|
|
|
|
|
tenantName: this.tenantName, |
|
|
|
|
|
data: JSON.stringify(this.detailList), |
|
|
|
|
|
}, |
|
|
|
|
|
}); |
|
|
|
|
|
this.open = false; |
|
|
|
|
|
}); |
|
|
|
|
|
} |
|
|
|
|
|
} catch (e) { |
|
|
this.open = false; |
|
|
this.open = false; |
|
|
|
|
|
this.$message.error("操作失败,请稍后重试!"); |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
// 通过手机号查询 |
|
|
// 通过手机号查询 |
|
|