| | |
| | | default-expand-all |
| | | :tree-props="{children: 'children', hasChildren: 'hasChildren'}" |
| | | :show-overflow-tooltip="true"> |
| | | <el-table-column label="项目名称" prop="projectName" /> |
| | | <el-table-column label="项目名称" min-width="250" :show-overflow-tooltip="true" prop="projectName" /> |
| | | <el-table-column label="项目推进类型" align="center" prop="projectType"> |
| | | <template slot-scope="scope"> |
| | | <dict-tag :options="dict.type.sys_project_type" :value="scope.row.projectType"/> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="主管部门" align="center" prop="competentDepartmentName"> |
| | | </el-table-column> |
| | | <el-table-column label="业主单位" align="center" prop="projectOwnerUnitName"> |
| | | </el-table-column> |
| | | <el-table-column label="年份" align="center" prop="year"> |
| | | <template slot-scope="scope"> |
| | | {{ scope.row.year ? scope.row.year + '年' : '' }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="投资额(万)" align="center" prop="investmentAmount" /> |
| | |
| | | :now-process-ins-id="nowProcessInsId" |
| | | :project-info="projectRunFrom" |
| | | :process-list="processList" |
| | | :project-type="projectType" |
| | | @close="closeRunProcess"> |
| | | </RunProcess> |
| | | </div> |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | projectType: '', |
| | | projectRunFrom: { |
| | | projectId: null, |
| | | projectName: '' |
| | |
| | | } |
| | | this.nowProcessDefId = ""; |
| | | this.nowProcessInsId = ""; |
| | | this.projectType = "" |
| | | this.showRunProcess = false |
| | | this.getList() |
| | | }, |
| | |
| | | openOpProcess(row) { |
| | | this.nowProcessDefId = row.processDefId ? row.processDefId : ''; |
| | | this.nowProcessInsId = row.processInsId ? row.processInsId : ''; |
| | | const numericPattern = /^\d+(\.\d+)?$/; |
| | | if (numericPattern.test(row.id)) { |
| | | this.projectType = "PROJECT" |
| | | } else { |
| | | this.projectType = "ENGINEERING" |
| | | } |
| | | // // 防止:id没变不触发监听 |
| | | // this.$refs.runProcess.setSelect(row.flowableProcessId); |
| | | this.projectRunFrom.projectId = row.id; |