| | |
| | | type: 'input', |
| | | prop: 'keyword', |
| | | search: true, |
| | | hide: true |
| | | hide: true, |
| | | showColumn: false |
| | | }, |
| | | { |
| | | label: '机床编号4', |
| | | label: '机床编号', |
| | | prop: 'code' |
| | | }, |
| | | { |
| | |
| | | { |
| | | label: '所属组织', |
| | | prop: 'ownerDept', |
| | | span: 12 |
| | | span: 12, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: '请选择所属组织', |
| | | trigger: 'change' |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | label: '生产商', |
| | | prop: 'manufacturer', |
| | | type: 'input', |
| | | span: 12, |
| | | dataType: 'string', |
| | | }, |
| | | { |
| | | label: '轮询时间(小时)', |
| | | prop: 'pollingHours', |
| | | type: 'input', |
| | | span: 12, |
| | | dataType: 'string', |
| | |
| | | this.loading = true; |
| | | var obj = { |
| | | keyword: this.search.keyword, |
| | | machineGroupCode: this.search.machineGroupCode, |
| | | machineGroupCode: this.search.machineGroupName, |
| | | current: this.mypage.current, |
| | | size: this.mypage.size, |
| | | } |
| | | axios({ |
| | | url: '/blade-mdm/machine/page', |
| | | method: 'get', |
| | | date: obj, |
| | | params: obj, |
| | | }).then( |
| | | res => { |
| | | const data = res.data.data; |