| | |
| | | */ |
| | | async handleDetail(record) { |
| | | this.model = {} |
| | | this.visible = true |
| | | this.detail.safetyEquipmentCheckList = this.detail.precisionCheckList = this.detail.otherCheckList = [] |
| | | this.handleTabToFirstTable() |
| | | this.getBasicInformationByApi(record) |
| | |
| | | * @param record 主页面列表行记录 |
| | | */ |
| | | recordDetail(record) { |
| | | this.visible = true |
| | | this.detail.safetyEquipmentCheckList = this.detail.precisionCheckList = this.detail.otherCheckList = [] |
| | | this.model = Object.assign({}, record) |
| | | this.handleTabToFirstTable() |
| | |
| | | this.$nextTick(() => { |
| | | for (let index = 1; index <= 3; index++) { |
| | | if (this.$refs['editableDetailTable' + index]) { |
| | | console.log('index----------', index) |
| | | this.activeTabKey = index |
| | | break |
| | | } |