| | |
| | | this.selectionRows = [] |
| | | this.planId = '' |
| | | this.equipmentId = '' |
| | | this.isAdd = false |
| | | this.isAdd = falses |
| | | |
| | | }, |
| | | handleDelete: function(id) { |
| | | if (!this.url.delete) { |
| | |
| | | this.selectionRows = selectionRows |
| | | this.planId = this.selectedRowKeys[0] |
| | | this.equipmentId = selectionRows[0].equipment_id |
| | | this.isAdd = true |
| | | this.isAdd = selectionRows[0].status=='1'; |
| | | this.isDel = selectionRows[0].status=='1'; |
| | | this.isEdit = selectionRows[0].status=='1'; |
| | | |
| | | }, |
| | | |
| | | onChange(e) { |
| | |
| | | const that = this |
| | | that.confirmLoading = true |
| | | this.$confirm({ |
| | | title: '日常保养标准版本生效!', |
| | | title: '版本生效!', |
| | | content: '提示:版本生效后上一版本将自动失效,请谨慎操作!', |
| | | okText: '确认', |
| | | cancelText: '取消', |
| | |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | searchReset() { |
| | | this.loadData(1) |
| | | } |
| | | } |
| | | } |
| | | </script> |