| | |
| | | data() { |
| | | return { |
| | | description: '检定报告', |
| | | disableMixinCreated:true, |
| | | disableMixinCreated: true, |
| | | columns: [ |
| | | { |
| | | title: '#', |
| | |
| | | dataIndex: 'size', |
| | | scopedSlots: { customRender: 'size' }, |
| | | }, |
| | | { |
| | | title: '判定结果', |
| | | align: 'center', |
| | | dataIndex: 'judgmentResultName' |
| | | }, |
| | | // { |
| | | // title: '判定结果', |
| | | // align: 'center', |
| | | // dataIndex: 'judgmentResultName' |
| | | // }, |
| | | { |
| | | title: '操作', |
| | | align: 'center', |
| | |
| | | }, |
| | | } |
| | | }, |
| | | props:{ |
| | | calibrationOrderId:{ |
| | | type:String, |
| | | default:'', |
| | | required:false |
| | | props: { |
| | | calibrationOrderId: { |
| | | type: String, |
| | | default: '', |
| | | required: false |
| | | } |
| | | }, |
| | | watch:{ |
| | | calibrationOrderId:{ |
| | | immediate: true, |
| | | handler(val) { |
| | | if(!this.calibrationOrderId){ |
| | | this.clearList() |
| | | }else{ |
| | | this.queryParam['calibrationOrderId'] = val; |
| | | this.queryParam['delFlag'] = 0; |
| | | this.loadData(1); |
| | | } |
| | | watch: { |
| | | calibrationOrderId: { |
| | | immediate: true, |
| | | handler(val) { |
| | | if (!this.calibrationOrderId) { |
| | | // this.clearList() |
| | | } else { |
| | | this.queryParam['calibrationOrderId'] = val; |
| | | this.queryParam['delFlag'] = 0; |
| | | this.loadData(1); |
| | | } |
| | | } |
| | | }, |
| | | } |
| | | }, |
| | | // mounted() { |
| | | // this.$bus.$on('equipmentSelectionRows', (data) => { |
| | | // this.equipmentSelectionRows = data |