| | |
| | | }, |
| | | //编辑 |
| | | handleEdit(record) { |
| | | if (record.paramaTableName === '1') { |
| | | if (record.paraTypeFlag === '1') { |
| | | this.$refs.paraCommonToolModal.edit(record) |
| | | this.$refs.paraCommonToolModal.title = '编辑' |
| | | this.$refs.paraCommonToolModal.disableSubmit = false |
| | | } else if (record.paramaTableName === '2') { |
| | | } else if (record.paraTypeFlag === '2') { |
| | | this.$refs.paraHoleToolsModal.edit(record) |
| | | this.$refs.paraHoleToolsModal.title = '编辑' |
| | | this.$refs.paraHoleToolsModal.disableSubmit = false |
| | | } else if (record.paramaTableName === '3') { |
| | | } else if (record.paraTypeFlag === '3') { |
| | | this.$refs.paraThreadingToolModal.edit(record) |
| | | this.$refs.paraThreadingToolModal.title = '编辑' |
| | | this.$refs.paraThreadingToolModal.disableSubmit = false |
| | | } else if (record.paramaTableName === '4') { |
| | | } else if (record.paraTypeFlag === '4') { |
| | | this.$refs.paraMillToolModal.edit(record) |
| | | this.$refs.paraMillToolModal.title = '编辑' |
| | | this.$refs.paraMillToolModal.disableSubmit = false |
| | | } else if (record.paramaTableName === '5') { |
| | | } else if (record.paraTypeFlag === '5') { |
| | | this.$refs.paraTurningToolsModal.edit(record) |
| | | this.$refs.paraTurningToolsModal.title = '编辑' |
| | | this.$refs.paraTurningToolsModal.disableSubmit = false |
| | | } else if (record.paramaTableName === '6') { |
| | | } else if (record.paraTypeFlag === '6') { |
| | | this.$refs.paraBladeModal.edit(record) |
| | | this.$refs.paraBladeModal.title = '编辑' |
| | | this.$refs.paraBladeModal.disableSubmit = false |
| | |
| | | }, |
| | | //详情 |
| | | handleDetail: function (record) { |
| | | if (record.paramaTableName === '1') { |
| | | if (record.paraTypeFlag === '1') { |
| | | this.$refs.paraCommonToolModal.edit(record) |
| | | this.$refs.paraCommonToolModal.title = '详情' |
| | | this.$refs.paraCommonToolModal.disableSubmit = true |
| | | } else if (record.paramaTableName === '2') { |
| | | } else if (record.paraTypeFlag === '2') { |
| | | this.$refs.paraHoleToolsModal.edit(record) |
| | | this.$refs.paraHoleToolsModal.title = '详情' |
| | | this.$refs.paraHoleToolsModal.disableSubmit = true |
| | | } else if (record.paramaTableName === '3') { |
| | | } else if (record.paraTypeFlag === '3') { |
| | | this.$refs.paraThreadingToolModal.edit(record) |
| | | this.$refs.paraThreadingToolModal.title = '详情' |
| | | this.$refs.paraThreadingToolModal.disableSubmit = true |
| | | } else if (record.paramaTableName === '4') { |
| | | } else if (record.paraTypeFlag === '4') { |
| | | this.$refs.paraMillToolModal.edit(record) |
| | | this.$refs.paraMillToolModal.title = '详情' |
| | | this.$refs.paraMillToolModal.disableSubmit = true |
| | | } else if (record.paramaTableName === '5') { |
| | | } else if (record.paraTypeFlag === '5') { |
| | | this.$refs.paraTurningToolsModal.edit(record) |
| | | this.$refs.paraTurningToolsModal.title = '详情' |
| | | this.$refs.paraTurningToolsModal.disableSubmit = true |
| | | } else if (record.paramaTableName === '6') { |
| | | } else if (record.paraTypeFlag === '6') { |
| | | this.$refs.paraBladeModal.edit(record) |
| | | this.$refs.paraBladeModal.title = '详情' |
| | | this.$refs.paraBladeModal.disableSubmit = true |
| | |
| | | this.queryParam.technicalConditions = data.technicalConditions |
| | | this.queryParam.conditionsInfo = data.conditionsInfo |
| | | this.queryParam.toolModel = data.toolModel |
| | | this.queryParam.shortCalled = data.shortCalled |
| | | this.queryParam.groupCompanyCode = data.groupCompanyCode |
| | | this.loadData() |
| | | }, |
| | | paraBladeOk(data) { |
| | |
| | | this.queryParam.technicalConditions = data.technicalConditions |
| | | this.queryParam.conditionsInfo = data.conditionsInfo |
| | | this.queryParam.toolModel = data.toolModel |
| | | this.queryParam.shortCalled = data.shortCalled |
| | | this.queryParam.groupCompanyCode = data.groupCompanyCode |
| | | this.loadData() |
| | | }, |
| | | paraThreadingToolOk(data) { |
| | |
| | | this.queryParam.technicalConditions = data.technicalConditions |
| | | this.queryParam.conditionsInfo = data.conditionsInfo |
| | | this.queryParam.toolModel = data.toolModel |
| | | this.queryParam.shortCalled = data.shortCalled |
| | | this.queryParam.groupCompanyCode = data.groupCompanyCode |
| | | this.loadData() |
| | | }, |
| | | paraMillToolOk(data) { |
| | |
| | | this.queryParam.technicalConditions = data.technicalConditions |
| | | this.queryParam.conditionsInfo = data.conditionsInfo |
| | | this.queryParam.toolModel = data.toolModel |
| | | this.queryParam.shortCalled = data.shortCalled |
| | | this.queryParam.groupCompanyCode = data.groupCompanyCode |
| | | this.loadData() |
| | | }, |
| | | paraTurningToolsOk(data) { |
| | |
| | | this.queryParam.technicalConditions = data.technicalConditions |
| | | this.queryParam.conditionsInfo = data.conditionsInfo |
| | | this.queryParam.toolModel = data.toolModel |
| | | this.queryParam.shortCalled = data.shortCalled |
| | | this.queryParam.groupCompanyCode = data.groupCompanyCode |
| | | this.loadData() |
| | | }, |
| | | }, |