| | |
| | | total: 0, |
| | | }, |
| | | option: { |
| | | size:'mini', |
| | | size:'small', |
| | | index: true, |
| | | selection: true, |
| | | selectionWidth:20, |
| | | selectionWidth:30, |
| | | addBtn: false, |
| | | editBtn: false, |
| | | delBtn: false, |
| | |
| | | txt = '固化'; |
| | | break; |
| | | case 3: |
| | | txt = '偏离'; |
| | | txt = '临时更改单'; |
| | | break; |
| | | default: |
| | | txt = '未知'; |
| | |
| | | }, |
| | | currentChange(current) { |
| | | this.mypage.current = current; |
| | | this.onLoad(); |
| | | }, |
| | | sizeChange(size) { |
| | | this.mypage.size = size; |
| | | this.onLoad(); |
| | | }, |
| | | refreshChange() { |
| | | |
| | |
| | | dirType:this.currentNode.dirType, |
| | | machineCode: this.currentNode.machineCode, |
| | | } |
| | | console.log('myupage',this.mypage) |
| | | axios({ |
| | | url: '/blade-mdm/machinefile/collect/file-page-for-acceept', |
| | | method: 'get', |
| | | params: obj, |
| | | }).then( |
| | | res => { |
| | | var screenHeight = window.innerHeight; |
| | | this.option.maxHeight = (screenHeight - 390) + 'px'; |
| | | const data = res.data.data; |
| | | this.mypage.total = data.total; |
| | | this.data = data.records; |