commit
f5474840b3
@ -79,13 +79,13 @@ const resetFlowCondition = () => {
|
|||||||
bpmnElement.value = bpmnInstances().bpmnElement
|
bpmnElement.value = bpmnInstances().bpmnElement
|
||||||
bpmnElementSource.value = bpmnElement.value.source
|
bpmnElementSource.value = bpmnElement.value.source
|
||||||
bpmnElementSourceRef.value = bpmnElement.value.businessObject.sourceRef
|
bpmnElementSourceRef.value = bpmnElement.value.businessObject.sourceRef
|
||||||
|
// 初始化默认type为default
|
||||||
|
flowConditionForm.value = { type: 'default' }
|
||||||
if (
|
if (
|
||||||
bpmnElementSourceRef.value &&
|
bpmnElementSourceRef.value &&
|
||||||
bpmnElementSourceRef.value.default &&
|
bpmnElementSourceRef.value.default &&
|
||||||
bpmnElementSourceRef.value.default.id === bpmnElement.value.id &&
|
bpmnElementSourceRef.value.default.id === bpmnElement.value.id
|
||||||
flowConditionForm.value.type == 'default'
|
|
||||||
) {
|
) {
|
||||||
// 默认
|
|
||||||
flowConditionForm.value = { type: 'default' }
|
flowConditionForm.value = { type: 'default' }
|
||||||
} else if (!bpmnElement.value.businessObject.conditionExpression) {
|
} else if (!bpmnElement.value.businessObject.conditionExpression) {
|
||||||
// 普通
|
// 普通
|
||||||
|
@ -83,7 +83,7 @@
|
|||||||
<el-table-column align="center" label="申请编号" prop="id" />
|
<el-table-column align="center" label="申请编号" prop="id" />
|
||||||
<el-table-column align="center" label="状态" prop="result">
|
<el-table-column align="center" label="状态" prop="result">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<dict-tag :type="DICT_TYPE.BPM_PROCESS_INSTANCE_STATUS" :value="scope.row.result" />
|
<dict-tag :type="DICT_TYPE.BPM_PROCESS_INSTANCE_STATUS" :value="scope.row.status" />
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
Loading…
Reference in New Issue
Block a user