| | |
| | | <template> |
| | | <div> |
| | | <el-dialog v-dialogDrag |
| | | v-dialog-resize |
| | | :title="title" |
| | | :visible.sync="visible" |
| | | :width="width|| '450'" |
| | |
| | | }, |
| | | height: { |
| | | type: String, |
| | | default:'500px' |
| | | default:(document.body.clientHeight-500)+'px' |
| | | }, |
| | | reloadFormKey: { |
| | | type: String, |
| | |
| | | query: {}, |
| | | loading: false, |
| | | page: { |
| | | layout: "sizes,prev,pager,next,jumper,total", |
| | | layout: "sizes,prev,pager,next,jumper,sizes,total", |
| | | pageSize: 10, |
| | | currentPage: 1, |
| | | total: this.referConfig.options.data ? this.referConfig.options.data.length : 0 |
| | |
| | | prop: 'code', |
| | | label: '编号', |
| | | sortable: true, |
| | | width: 150, |
| | | search: true |
| | | }, { |
| | | prop: 'name', |
| | | label: '名称', |
| | | sortable: true, |
| | | width: 260, |
| | | search: true |
| | | }, { |
| | | prop: 'description', |
| | |
| | | }, { |
| | | prop: 'secretShow', |
| | | label: '密级', |
| | | width: 60, |
| | | hide: (!this.controllerSecret) |
| | | }]; |
| | | } else { |