From a798c66b84594530c41cd9ec300c4d548fbec07d Mon Sep 17 00:00:00 2001
From: mk <2403457699@qq.com>
Date: Wed, 13 Mar 2024 15:17:59 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E6=88=90=E5=8A=9F=E5=A4=B1?=
=?UTF-8?q?=E8=B4=A5=E5=88=97=E8=A1=A8,=E5=AF=BC=E5=85=A5=E8=BF=9B?=
=?UTF-8?q?=E5=BA=A6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/assets/scss/pages/smartImport.scss | 7 +
.../base/smartImport/cpts/completeTask.vue | 175 +++++++++-
.../base/smartImport/cpts/executeTask.vue | 313 +++++++++++-------
.../base/smartImport/cpts/smartImportAdd.vue | 53 ---
.../smartImport/cpts/smartImportDetail.vue | 23 --
.../base/smartImport/cpts/smartImportInfo.vue | 93 ++++--
src/views/modules/base/smartImport/index.vue | 23 +-
7 files changed, 439 insertions(+), 248 deletions(-)
delete mode 100644 src/views/modules/base/smartImport/cpts/smartImportAdd.vue
delete mode 100644 src/views/modules/base/smartImport/cpts/smartImportDetail.vue
diff --git a/src/assets/scss/pages/smartImport.scss b/src/assets/scss/pages/smartImport.scss
index 55563c016..ab75a4236 100644
--- a/src/assets/scss/pages/smartImport.scss
+++ b/src/assets/scss/pages/smartImport.scss
@@ -32,6 +32,13 @@
align-items: center;
.el-upload__text{
color: #c5c9d1;
+ width: 100%;
+ }
+ /deep/ .el-upload {
+ width: 100%;
+ .el-upload-dragger{
+ width: 100%;
+ }
}
}
}
diff --git a/src/views/modules/base/smartImport/cpts/completeTask.vue b/src/views/modules/base/smartImport/cpts/completeTask.vue
index fdc34df62..932952954 100644
--- a/src/views/modules/base/smartImport/cpts/completeTask.vue
+++ b/src/views/modules/base/smartImport/cpts/completeTask.vue
@@ -2,8 +2,15 @@
数据导入明细
+
+
+ {{ this.importSuccessNum || "--" }}条数据已导入。查看
+
+
+
+
+ {{ this.importFailNum || "--" }}条问题数据导入失败。查看
+
+
+ 下载结果说明
+
+
+
+
+
+
+ {{ handleFilterSpan(scope.row, item) }}
+
+
+
+
+
+
+
-
-
\ No newline at end of file
diff --git a/src/views/modules/base/smartImport/cpts/smartImportDetail.vue b/src/views/modules/base/smartImport/cpts/smartImportDetail.vue
deleted file mode 100644
index 75baf8593..000000000
--- a/src/views/modules/base/smartImport/cpts/smartImportDetail.vue
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
- detail
-
-
-
-
-
\ No newline at end of file
diff --git a/src/views/modules/base/smartImport/cpts/smartImportInfo.vue b/src/views/modules/base/smartImport/cpts/smartImportInfo.vue
index a864362ac..24d0f44de 100644
--- a/src/views/modules/base/smartImport/cpts/smartImportInfo.vue
+++ b/src/views/modules/base/smartImport/cpts/smartImportInfo.vue
@@ -1,39 +1,88 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
\ No newline at end of file
diff --git a/src/views/modules/base/smartImport/index.vue b/src/views/modules/base/smartImport/index.vue
index a283664ad..81fa5930a 100644
--- a/src/views/modules/base/smartImport/index.vue
+++ b/src/views/modules/base/smartImport/index.vue
@@ -41,7 +41,7 @@
-
+
@@ -66,7 +66,7 @@
-
+
@@ -87,10 +87,10 @@
-
+
+ @handleClose="handleClose" @handleOk="handleOk" :fileCodeP="fileCode" :taskId="taskId" :processStatus="processStatus"/>
@@ -121,8 +121,11 @@ export default {
dicts: {
import_status:[],
resident_category_import:[],
-
}, //字典对象
+
+ fileCode:null,
+ taskId:null,
+ processStatus:null,
};
},
computed: {
@@ -184,13 +187,17 @@ export default {
},
// 查看详情触发事件
async handleDetail(row) {
- this.pageType = "detail";
+ this.pageType = "add";
+ const {taskId,fileCode,processStatus} = row;
+ this.taskId = taskId;
+ this.fileCode = fileCode;
+ this.processStatus = processStatus;
},
// 新增弹出框组件取消事件
handleClose() {
this.pageType = "list";
-
+ this.processStatus = null;
},
// 新增弹出框组件确定事件
handleOk(type) {
@@ -229,7 +236,7 @@ export default {
// 获取列表
async getTableData() {
this.tableLoading = true;
- const url = "/commonservice/import-task/page";
+ const url = "/commonservice/import-task/pageList";
const { pageSize, pageNo, formData } = this;
const { data, code, msg } = await requestPost(url, {
pageSize,