From 49c9ae8c1c2c5df14fc5470c6eb882a5977b82e8 Mon Sep 17 00:00:00 2001
From: lideqin <694785430@qq.com>
Date: Mon, 15 Jul 2024 16:47:17 +0800
Subject: [PATCH] =?UTF-8?q?[update]=20=E6=B3=95=E8=A7=84=E7=AC=A6=E5=90=88?=
=?UTF-8?q?=E6=80=A7=E6=8E=92=E6=9F=A5=E6=B5=81=E7=A8=8B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../modules/MainFinderDistributesBaseInfo.vue | 36 ++++---------------
1 file changed, 7 insertions(+), 29 deletions(-)
diff --git a/src/views/workCenter/regulatoryComplianceCheckProcess/modules/MainFinderDistributesBaseInfo.vue b/src/views/workCenter/regulatoryComplianceCheckProcess/modules/MainFinderDistributesBaseInfo.vue
index 7dc887d..cd1d184 100644
--- a/src/views/workCenter/regulatoryComplianceCheckProcess/modules/MainFinderDistributesBaseInfo.vue
+++ b/src/views/workCenter/regulatoryComplianceCheckProcess/modules/MainFinderDistributesBaseInfo.vue
@@ -25,13 +25,8 @@
-
-
-
+
@@ -57,17 +52,13 @@
-
+
{{ $t('import') }}
-
-
- {{ $t('templateDownload') }}
-
{{ $t('export') }}
@@ -254,7 +245,6 @@ export default {
}
]
},
- clickNextAfter: false,
columns: [
{
title: this.$t('serialNumber'),
@@ -516,7 +506,6 @@ export default {
},
personFormInline: {},
url: {
- downTemplateUrl: '',
importExcelUrl: ''
},
dataSourceCopy: [] // 列表数组备份,防止切换排查任务是否下发后,填的数据带到新数组里
@@ -574,11 +563,11 @@ export default {
},
// 排查任务是否下发改变
distributeFlagChange (value) {
- this.dataSource = JSON.parse(JSON.stringify(this.dataSourceCopy))
- },
- // 下一步
- handleNext () {
- this.clickNextAfter = true
+ if (value === YesOrNoEnum.YES.value) {
+ this.dataSource = JSON.parse(JSON.stringify(this.dataSourceCopy))
+ } else {
+ this.dataSourceEvaluate = JSON.parse(JSON.stringify(this.dataSourceCopy))
+ }
},
// 表格选中
onSelectChange (selectedRowKeys, selectionRows) {
@@ -702,13 +691,6 @@ export default {
}
}
},
- // 下载导入模板
- downTemplate (fileName) {
- if (!fileName || typeof fileName !== 'string') {
- fileName = '模板文件'
- }
- downloadFile(this.url.downTemplateUrl, fileName + '.xls')
- },
handleExportXls (fileName, fileSuffix = '.xls') {
if (!fileName || typeof fileName !== 'string') {
fileName = '导出文件'
@@ -762,8 +744,4 @@ export default {
.form-add {
margin-top: 20px;
}
-
-.center-operate-box {
- float: right;
-}