From 09f0861e61e69e2d818eafc7b9edbd17cf0822d4 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期四, 06 十一月 2025 17:20:02 +0800
Subject: [PATCH] 页面优化以及扣分详情导出
---
src/views/system/data-manage/data-detail/index.vue | 23 ++++++++++++-----------
1 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/src/views/system/data-manage/data-detail/index.vue b/src/views/system/data-manage/data-detail/index.vue
index d7cb53c..0da78da 100644
--- a/src/views/system/data-manage/data-detail/index.vue
+++ b/src/views/system/data-manage/data-detail/index.vue
@@ -113,8 +113,8 @@
<div v-show="exportUrl" style="margin-bottom: 5px" >
<el-form :model="exportParam" :inline="true">
<el-form-item label="鍒楅�夋嫨">
- <el-select v-model="exportParam.id" size="small">
- <el-option v-for="option in dynamicColumnList" :key="option.id" :label="option.labelValue" :value="option.id"></el-option>
+ <el-select v-model="exportParam.id" size="small" clearable>
+ <el-option v-for="option in dynamicColumnList" :key="option.id" :label="option.labelValue" :value="option.id"></el-option>
</el-select>
</el-form-item>
<el-form-item label="鍒楀��">
@@ -125,7 +125,6 @@
</el-button>
</el-form-item>
</el-form>
-
</div>
<div v-show="index === 'image_resource_security'" style="margin-bottom: 5px">
@@ -344,6 +343,9 @@
date: '',
dataType: 0,
option: null,
+ dyId: '',
+ dyValue:''
+ ,
},
// 琛ㄥ崟鍙傛暟
form: {},
@@ -632,14 +634,13 @@
this.upload.open = true;
},
handleExport(url) {
- const filteredParams = { ...this.queryParams };
- filteredParams.exportParam = this.exportParam;
- console.log(filteredParams)
- // this.download(url, {
- // filteredParams,
- // }, this.$route.query.ruleName+`_${new Date().getTime()}.xlsx`, {
- // timeout: 60000
- // })
+ this.queryParams.dyId = this.exportParam.id
+ this.queryParams.dyValue = this.exportParam.value
+ this.download(url, {
+ ...this.queryParams,
+ }, this.$route.query.ruleName+`_${new Date().getTime()}.xlsx`, {
+ timeout: 60000
+ })
},
/** 涓嬭浇妯℃澘 */
importTemplate() {
--
Gitblit v1.8.0