| | |
| | | :currentColumns="columns" |
| | | /> |
| | | |
| | | <RunProcess :show="showRunProcess" |
| | | <RunProcess ref="runProcess" :show="showRunProcess" |
| | | :now-process-id="nowProcessId" |
| | | :now-process-name="nowProcessName" |
| | | :project-info="projectRunFrom" |
| | | :process-list="processList" |
| | | @close="closeRunProcess"> |
| | |
| | | processList: [], |
| | | showRunProcess: false, |
| | | nowProcessId: '', |
| | | nowProcessName: '', |
| | | isImportOrExport: false, |
| | | fileDialogVisible: false, |
| | | //是否需要新增按钮(储蓄项目需要) |
| | |
| | | }, |
| | | methods: { |
| | | closeRunProcess() { |
| | | this.projectRunFrom = { |
| | | projectId: null, |
| | | projectName: '' |
| | | } |
| | | this.showRunProcess = false |
| | | this.getList() |
| | | }, |
| | |
| | | // 拿到流程列表 TODO 根据项目类型做筛选 |
| | | getProcessConfigInfoList().then(response => { |
| | | this.processList = response.data; |
| | | this.nowProcessId = row.flowableProcessId; |
| | | // // 防止:id没变不触发监听 |
| | | // this.$refs.runProcess.setSelect(row.flowableProcessId); |
| | | this.projectRunFrom.projectId = row.id; |
| | | this.projectRunFrom.projectName = row.projectName; |
| | | this.nowProcessId = row.flowableProcessId; |
| | | this.nowProcessName = row.flowableProcessName; |
| | | |
| | | this.showRunProcess = true; |
| | | }); |
| | | }, |