| | |
| | | @current-change="currentChange" |
| | | > |
| | | <template slot="menuLeft" slot-scope="scope"> |
| | | <el-button v-if="permissionList.exportBtn" icon="el-icon-download" plain size="small" type="primary" |
| | | @click="exportClickHandler">导出 |
| | | <el-button v-if="permissionList.exportBtn" class="button-custom-icon" plain size="small" type="primary" |
| | | @click="exportClickHandler"> |
| | | <icon-show :name="permissionList.exportBtn.source"></icon-show> |
| | | 导出 |
| | | </el-button> |
| | | </template> |
| | | </avue-crud> |
| | |
| | | column: [ |
| | | { |
| | | label: '用户名', |
| | | prop: 'truename', |
| | | prop: 'username', |
| | | search: true, |
| | | searchSpan: 4, |
| | | searchLabel: '操作用户', |
| | | type: 'select', |
| | | dicUrl: '/api/loginBasicController/getOperatingUsers', |
| | | sortable: true, |
| | | width: 150 |
| | | width: 200 |
| | | }, { |
| | | label: '姓名', |
| | | prop: 'username', |
| | | prop: 'truename', |
| | | sortable: true, |
| | | width: 150 |
| | | }, { |
| | |
| | | }, |
| | | }, |
| | | created() { |
| | | console.log(this.$route.query.id) |
| | | }, |
| | | methods: { |
| | | // 表格请求 |
| | |
| | | }).then(res => { |
| | | this.tableData = res.data.data; |
| | | this.page.total = res.data.total; |
| | | this.selectList = []; |
| | | this.tableLoading = false; |
| | | }) |
| | | }, |
| | |
| | | this.lastIndex = newIndex; |
| | | }, |
| | | () => { |
| | | this.selectList = []; |
| | | this.selectList = [row]; |
| | | } |
| | | ); |
| | | }, |