|
|
@@ -29,10 +29,10 @@
|
|
|
<!-- 流程发起节点 -->
|
|
|
<div class="flow-node start-node">
|
|
|
<div class="node-header">流程发起</div>
|
|
|
- <div class="node-content" @click="handleEditStartNode" :class="{ 'missing-approver': !initiatorHandlerId }">
|
|
|
+ <div class="node-content" @click="handleEditStartNode">
|
|
|
<div class="node-info">
|
|
|
<span class="node-name">发起人</span>
|
|
|
- <span class="approver-info">{{ initiatorHandlerName || '未设置' }}</span>
|
|
|
+ <span class="approver-info">{{ initiatorHandlerName || '所有人' }}</span>
|
|
|
</div>
|
|
|
<el-icon><ArrowRight /></el-icon>
|
|
|
</div>
|
|
|
@@ -149,9 +149,9 @@ const approvalNodes = ref<OrderCustomerFlowNode[]>([]);
|
|
|
const detailLoading = ref(false);
|
|
|
const submitLoading = ref(false);
|
|
|
|
|
|
-// 流程发起人信息
|
|
|
-const initiatorHandlerId = ref('');
|
|
|
-const initiatorHandlerName = ref('');
|
|
|
+// 流程发起人信息(未选发起人时默认为“所有人”,handlerId='0')
|
|
|
+const initiatorHandlerId = ref('0');
|
|
|
+const initiatorHandlerName = ref('所有人');
|
|
|
const initiatorNodeId = ref<string>(''); // 编辑模式下开始节点的原始ID
|
|
|
|
|
|
// 新增的响应式变量
|