Commit 264de0dd by yuwei

项目初始化

parent bd492812
...@@ -108,13 +108,9 @@ export default { ...@@ -108,13 +108,9 @@ export default {
{ prop: 'processDefinitionId', label: '流程定义ID', show: true }, { prop: 'processDefinitionId', label: '流程定义ID', show: true },
{ prop: 'processDefinitionName', label: '流程定义名称', show: true }, { prop: 'processDefinitionName', label: '流程定义名称', show: true },
{ prop: 'name', label: '流程实列名称', show: true }, { prop: 'name', label: '流程实列名称', show: true },
{ { prop: 'startTime', label: '开始时间', show: true },
prop: 'suspensionState', { prop: 'endTime', label: '结束时间', show: true },
label: '状态', { prop: 'durationInMillis', label: '耗时', show: true }
show: true,
formatter: this.statusFormatter
},
{ prop: 'startTime', label: '开始时间', show: true }
], ],
// 表格数据 // 表格数据
tableDataList: [], tableDataList: [],
...@@ -189,13 +185,6 @@ export default { ...@@ -189,13 +185,6 @@ export default {
console.log(`当前页: ${val}`) console.log(`当前页: ${val}`)
this.queryParams.pageNum = val this.queryParams.pageNum = val
this.getList() this.getList()
},
statusFormatter(row, column, cellValue, index) {
if (cellValue === 1) {
return <el-tag type='success'>激活</el-tag>
} else if (cellValue === 2) {
return <el-tag type='warning'>挂起</el-tag>
}
} }
} }
} }
......
...@@ -109,13 +109,9 @@ export default { ...@@ -109,13 +109,9 @@ export default {
{ prop: 'processDefinitionId', label: '流程定义ID', show: true }, { prop: 'processDefinitionId', label: '流程定义ID', show: true },
{ prop: 'processDefinitionName', label: '流程定义名称', show: true }, { prop: 'processDefinitionName', label: '流程定义名称', show: true },
{ prop: 'name', label: '流程实列名称', show: true }, { prop: 'name', label: '流程实列名称', show: true },
{ { prop: 'startTime', label: '开始时间', show: true },
prop: 'suspensionState', { prop: 'endTime', label: '结束时间', show: true },
label: '状态', { prop: 'durationInMillis', label: '耗时', show: true }
show: true,
formatter: this.statusFormatter
},
{ prop: 'startTime', label: '开始时间', show: true }
], ],
// 表格数据 // 表格数据
tableDataList: [], tableDataList: [],
...@@ -190,13 +186,6 @@ export default { ...@@ -190,13 +186,6 @@ export default {
console.log(`当前页: ${val}`) console.log(`当前页: ${val}`)
this.queryParams.pageNum = val this.queryParams.pageNum = val
this.getList() this.getList()
},
statusFormatter(row, column, cellValue, index) {
if (cellValue === 1) {
return <el-tag type='success'>激活</el-tag>
} else if (cellValue === 2) {
return <el-tag type='warning'>挂起</el-tag>
}
} }
} }
} }
......
...@@ -135,7 +135,7 @@ export default { ...@@ -135,7 +135,7 @@ export default {
show: true, show: true,
formatter: this.statusFormatter formatter: this.statusFormatter
}, },
{ prop: 'startTime', label: '开始时间', show: true } { prop: 'startTime', label: '创建时间', show: true }
], ],
// 表格数据 // 表格数据
tableDataList: [], tableDataList: [],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment