| | |
| | | v-loading="dataListLoading" |
| | | element-loading-text="加载中..." |
| | | element-loading-spinner="el-icon-loading" |
| | | @expand-change="expandChange" |
| | | > |
| | | <!--多选择框--> |
| | | <el-table-column |
| | | align="center" |
| | | type="selection" |
| | | :reserve-selection="options.reserveSelection" |
| | | v-if="options.multiSelect && !isEdit" |
| | | style="width: 55px;" |
| | | :selectable="selectHandle" |
| | |
| | | column: { |
| | | type: Object, |
| | | default: null |
| | | } |
| | | }, |
| | | }, |
| | | render: (h, data) => { |
| | | const params = { |
| | |
| | | tableCellMerge: false, |
| | | cancelRunCreated: false, // 是否执行created()内容 |
| | | isGenerateId: false, |
| | | isGenerateField: 'id' |
| | | isGenerateField: 'id', |
| | | reserveSelection: false, |
| | | } |
| | | }, |
| | | // table自适应高度底部高度 |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | currentExpand:null, |
| | | dataListLoading: false, |
| | | tableKey: 0, |
| | | // jipf 导出所用变量 |
| | |
| | | this.multipleSelection = selection |
| | | this.$emit('handleSelectionChange', selection) |
| | | } */ |
| | | this.$emit('shoudonggouxuan',row) |
| | | }, |
| | | handleSelectionChange(val) { |
| | | this.multipleSelection = val |
| | |
| | | // 设置高级搜索查询条件 |
| | | setMultiSearchFilter(filters) { |
| | | this.multiSearchFilter = filters |
| | | }, |
| | | expandChange(e){ |
| | | this.currentExpand = e; |
| | | }, |
| | | toggleRowExpansion(){ |
| | | this.tableData.forEach((ele) => { |
| | | this.$refs.lmesTable.toggleRowExpansion(ele,false) |
| | | }) |
| | | this.$refs.lmesTable.toggleRowExpansion(this.currentExpand,true) |
| | | } |
| | | } |
| | | } |