zxl
2025-05-26 74d3009146d83a272286e1d5e60d38a13a3f3c89
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() {