元数据密码下载修改

main
mo 1 year ago
parent 000c565ae3
commit 3f6d078377

@ -1280,8 +1280,14 @@ export default {
let params = { ...this.queryParams }; let params = { ...this.queryParams };
downloadXml(params) downloadXml(params)
.then((response) => { .then((response) => {
this.$download.excel(response, "发票元数据.xml"); console.log(response.size);
this.open1 = false; if (response.size == 39) {
this.$modal.msgError("密码错误");
return false;
} else {
this.$download.excel(response, "发票元数据.xml");
this.open1 = false;
}
}) })
.catch(() => {}); .catch(() => {});
}); });

@ -438,6 +438,9 @@ export default {
cabinetId: undefined, cabinetId: undefined,
}; };
this.resetForm("form"); this.resetForm("form");
this.audit = "";
this.checker = "";
this.handle = "";
}, },
/** 搜索按钮操作 */ /** 搜索按钮操作 */
handleQuery() { handleQuery() {

Loading…
Cancel
Save