From 1a11591495f7445b0908828c897f24b50e6d4bf4 Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Thu, 14 Mar 2024 16:44:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=85=A5=E8=BF=9B=E5=BA=A6=E4=BC=98?= =?UTF-8?q?=E5=8C=96=EF=BC=8C=E5=88=97=E8=A1=A8=E5=88=86=E9=A1=B5=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E9=9C=80=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../base/smartImport/cpts/completeTask.vue | 3 +- .../base/smartImport/cpts/createdTask.vue | 4 +- .../base/smartImport/cpts/executeTask.vue | 4 +- .../base/smartImport/cpts/smartImportInfo.vue | 106 +++++++++++------- 4 files changed, 72 insertions(+), 45 deletions(-) diff --git a/src/views/modules/base/smartImport/cpts/completeTask.vue b/src/views/modules/base/smartImport/cpts/completeTask.vue index 932952954..39224b978 100644 --- a/src/views/modules/base/smartImport/cpts/completeTask.vue +++ b/src/views/modules/base/smartImport/cpts/completeTask.vue @@ -44,7 +44,7 @@ { - console.log("res-up", res); - if (res.data.code == 0) { const { fileName, url } = res.data.data; this.createdFileName = fileName; @@ -357,7 +355,7 @@ export default { .catch((err) => { console.log("失败", err); file.onError(); //上传失败的文件会从文件列表中删除 - // this.$message.error("导入失败"); + this.dataListLoading = false; }); this.$refs.upload.clearFiles(); }, diff --git a/src/views/modules/base/smartImport/cpts/executeTask.vue b/src/views/modules/base/smartImport/cpts/executeTask.vue index 60e561b46..1a5fe1402 100644 --- a/src/views/modules/base/smartImport/cpts/executeTask.vue +++ b/src/views/modules/base/smartImport/cpts/executeTask.vue @@ -124,8 +124,7 @@ export default { pageNo:1, pageSize:20, total:0, - tableType:null - + tableType:null, }; }, props: { @@ -201,6 +200,7 @@ export default { async handelClickLook(type) { this.showTable = true; this.tableType = type; + this.pageNo = 1; this.getTable() }, async getTable(){ diff --git a/src/views/modules/base/smartImport/cpts/smartImportInfo.vue b/src/views/modules/base/smartImport/cpts/smartImportInfo.vue index 24d0f44de..cfea89b20 100644 --- a/src/views/modules/base/smartImport/cpts/smartImportInfo.vue +++ b/src/views/modules/base/smartImport/cpts/smartImportInfo.vue @@ -2,75 +2,103 @@
- - - - + + +
-
- - - +
+ + +