| | |
| | | data() { |
| | | return { |
| | | configForm: { |
| | | processDefId: '', |
| | | deployId: '', |
| | | deployVersion: null, |
| | | processDefVersion: null, |
| | | projectType: '', // 项目类型 |
| | | fundType: '', // 资金类型 |
| | | investType: '', // 投资类别 |
| | |
| | | }, |
| | | methods: { |
| | | closeConfig() { |
| | | this.configForm = { |
| | | processDefId: '', |
| | | deployId: '', |
| | | processDefVersion: null, |
| | | projectType: '', // 项目类型 |
| | | fundType: '', // 资金类型 |
| | | investType: '', // 投资类别 |
| | | importanceType: '', // 重点分类 |
| | | } |
| | | this.processConfigShow = false |
| | | }, |
| | | handleConfig(row) { |
| | | const infoArr = row.id.split(":"); |
| | | |
| | | const params = { |
| | | deployId: infoArr[2], |
| | | deployVersion: infoArr[1] |
| | | processDefId: row.id, |
| | | processDefVersion: row.version |
| | | } |
| | | getProcessConfigInfoByDeploy(params).then(res => { |
| | | if (res.data) { |
| | | this.configForm = res.data |
| | | } |
| | | }) |
| | | this.configForm.deployId = infoArr[2] |
| | | this.configForm.deployVersion = infoArr[1] |
| | | this.configForm.processDefId = row.id |
| | | this.configForm.deployId = row.deploymentId |
| | | this.configForm.processDefVersion = row.version |
| | | this.configDeployName = row.name |
| | | this.processConfigShow = true |
| | | }, |