补充拉取本行信息前端接口契约

This commit is contained in:
wkc
2026-03-11 17:32:18 +08:00
parent 9e440dad41
commit 1d777c4401
2 changed files with 21 additions and 33 deletions

View File

@@ -270,6 +270,7 @@ import {
getNameListOptions,
getUploadStatus,
pullBankInfo,
parseIdCardFile,
updateNameListSelection,
uploadFile,
batchUploadFiles,
@@ -690,36 +691,8 @@ export default {
.catch(() => {});
},
/** 拉取本行信息 */
async handleFetchBankInfo() {
this.$confirm("确认拉取本行信息吗?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(async () => {
try {
const loading = this.$loading({
lock: true,
text: "正在拉取本行信息...",
spinner: "el-icon-loading",
background: "rgba(0, 0, 0, 0.7)",
});
await pullBankInfo(this.projectId);
loading.close();
this.$message.success("本行信息拉取成功");
this.$emit("fetch-bank-info");
// 刷新质量指标
this.updateQualityMetrics();
} catch (error) {
this.$message.error(
"拉取本行信息失败:" + (error.msg || "未知错误")
);
}
})
.catch(() => {});
handleFetchBankInfo() {
this.pullBankInfoDialogVisible = true;
},
/** 获取进度条偏移 */
getProgressOffset(value) {