Commit 09ca1dca by 袁成

Merge branch 'develop' of ssh://nvwa.jiuqi.com.cn:2222/GFP/RBC/rbc-frontend into develop-yuancheng

parents 2041ff3b 30938bc1
...@@ -177,6 +177,7 @@ export default { ...@@ -177,6 +177,7 @@ export default {
} }
}) })
this.bill.getDraftDetailData(row.id); this.bill.getDraftDetailData(row.id);
this.bill.getDraftDetailData(row.id);
this.bill.refreshBillForm(this.bill.curForm.content.billdefine); this.bill.refreshBillForm(this.bill.curForm.content.billdefine);
this.drawerShow = false; this.drawerShow = false;
}, },
......
...@@ -265,18 +265,20 @@ export default { ...@@ -265,18 +265,20 @@ export default {
}); });
}, },
async getVerificationCode() { getVerificationCode() {
try { try {
this.verifyuuid = GMS.util.generateUUID(); this.verifyuuid = GMS.util.generateUUID();
const res = await GMS.$http.get( GMS.$http.get(
`/captcha/getCaptcha?clientId=${this.verifyuuid}`, `/captcha/getCaptcha?clientId=${this.verifyuuid}`,
{ {
responseType: "blob", responseType: "blob",
} }
); ).then((res) => {
if (res.data) { if (res.data) {
this.verificationImg = window.URL.createObjectURL(res.data); this.verificationImg = window.URL.createObjectURL(res.data);
} }
})
} catch (err) { } catch (err) {
console.log(err); console.log(err);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment