| | |
| | | <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-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-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | |
| | | </div> |
| | | |
| | | <div v-show="index === 'image_resource_security'" style="margin-bottom: 5px"> |
| | |
| | | date: '', |
| | | dataType: 0, |
| | | option: null, |
| | | dyId: '', |
| | | dyValue:'' |
| | | , |
| | | }, |
| | | // 表单参数 |
| | | form: {}, |
| | |
| | | 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() { |