fix: 1.更新初始化sql文件 2.优化表单显示

approve-sys
tony 3 years ago
parent 9b32e810bc
commit 09a99b859a

@ -69,8 +69,8 @@
<el-table v-loading="loading" fit :data="definitionList" border @selection-change="handleSelectionChange"> <el-table v-loading="loading" fit :data="definitionList" border @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<el-table-column label="流程编号" width="300" align="center" prop="deploymentId" /> <el-table-column label="流程编号" align="center" prop="deploymentId" :show-overflow-tooltip="true"/>
<el-table-column label="流程标识" align="center" prop="key" /> <el-table-column label="流程标识" align="center" prop="key" :show-overflow-tooltip="true" />
<el-table-column label="流程分类" align="center" prop="category" /> <el-table-column label="流程分类" align="center" prop="category" />
<el-table-column label="流程名称(流程图)" align="center"> <el-table-column label="流程名称(流程图)" align="center">
<template slot-scope="scope"> <template slot-scope="scope">

@ -72,7 +72,7 @@
<el-table v-loading="loading" :data="finishedList" border @selection-change="handleSelectionChange"> <el-table v-loading="loading" :data="finishedList" border @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<el-table-column label="任务编号" width="300" align="center" prop="taskId"/> <el-table-column label="任务编号" align="center" prop="taskId" :show-overflow-tooltip="true"/>
<el-table-column label="流程名称" align="center" prop="procDefName" /> <el-table-column label="流程名称" align="center" prop="procDefName" />
<el-table-column label="任务节点" align="center" prop="taskName" /> <el-table-column label="任务节点" align="center" prop="taskName" />
<el-table-column label="流程发起人" align="center"> <el-table-column label="流程发起人" align="center">

@ -72,7 +72,7 @@
<el-table v-loading="loading" :data="myProcessList" border @selection-change="handleSelectionChange"> <el-table v-loading="loading" :data="myProcessList" border @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<el-table-column label="流程编号" width="300" align="center" prop="procInsId"/> <el-table-column label="流程编号" align="center" prop="procInsId" :show-overflow-tooltip="true"/>
<el-table-column label="流程名称" align="center" prop="procDefName" /> <el-table-column label="流程名称" align="center" prop="procDefName" />
<el-table-column label="流程类别" align="center" prop="category" width="100px" /> <el-table-column label="流程类别" align="center" prop="category" width="100px" />
<el-table-column label="流程版本" align="center" width="80px"> <el-table-column label="流程版本" align="center" width="80px">
@ -152,7 +152,7 @@
:total="processTotal" :total="processTotal"
:page.sync="queryParams.pageNum" :page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize" :limit.sync="queryParams.pageSize"
@pagination="getList" @pagination="listDefinition"
/> />
</el-dialog> </el-dialog>
@ -273,6 +273,9 @@ export default {
handleAdd() { handleAdd() {
this.open = true; this.open = true;
this.title = "发起流程"; this.title = "发起流程";
this.listDefinition();
},
listDefinition(){
listDefinition(this.queryParams).then(response => { listDefinition(this.queryParams).then(response => {
this.definitionList = response.data.records; this.definitionList = response.data.records;
this.processTotal = response.data.total; this.processTotal = response.data.total;

@ -76,7 +76,7 @@
<el-table v-loading="loading" :data="todoList" border @selection-change="handleSelectionChange"> <el-table v-loading="loading" :data="todoList" border @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center"/> <el-table-column type="selection" width="55" align="center"/>
<el-table-column label="任务编号" width="300" align="center" prop="taskId"/> <el-table-column label="任务编号" align="center" prop="taskId" :show-overflow-tooltip="true"/>
<el-table-column label="流程名称" align="center" prop="procDefName"/> <el-table-column label="流程名称" align="center" prop="procDefName"/>
<el-table-column label="任务节点" align="center" prop="taskName"/> <el-table-column label="任务节点" align="center" prop="taskName"/>
<el-table-column label="流程版本" align="center"> <el-table-column label="流程版本" align="center">

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save