瀏覽代碼

reactor:流程调整;

zhangchong 5 月之前
父節點
當前提交
69abdbd1a0
共有 1 個文件被更改,包括 8 次插入5 次删除
  1. 8 5
      src/components/ProcessAudit/ZGProcess.vue

+ 8 - 5
src/components/ProcessAudit/ZGProcess.vue

@@ -534,9 +534,9 @@ const state = reactive<any>({
 		isStartCountersign: false, // 是否发起会签
 		stepId: null, // 步骤id
 		isForwarded: false, // 是否转办
-		isStepUrgent: false, // 是否紧急
-		isEvasive: false, // 是否推诿
-		isInactively: false, // 是否不积极
+		isStepUrgent: null, // 是否紧急
+		isEvasive: null, // 是否推诿
+		isInactively: null, // 是否不积极
 		leaderSMSKey: null, // 领导短信key
 		realHandlerName: null, // 办理人姓名
 		realHandlerPhone: null, // 办理人电话
@@ -590,6 +590,9 @@ const openDialog = async (val: any) => {
 		state.ruleForm.workflowId = state.workflowId = id ?? ''; // 流程id
 		state.processType = processType ?? '办理流程'; // 业务类型
 		state.orderDetail = orderDetail ?? {}; // 工单详情
+		state.ruleForm.isStepUrgent = orderDetail.isUrgent; // 是否紧急
+		state.ruleForm.isEvasive = orderDetail.isEvasive; // 是否推诿
+		state.ruleForm.isInactively = orderDetail.isInactively;// 是否不积极
 		const { dialogTitle, inputPlaceholder, annexName, classify } = extra ?? {};
 		state.dialogTitle = dialogTitle ?? '提交流程'; // 流程标题
 		state.annexName = annexName ?? '办理附件'; // 附件标题
@@ -744,9 +747,9 @@ const orgSummaryToOrgSummary = computed(() => {
 const orgSummaryToEnd = computed(() => {
 	return currentParams.value.currentStepBusinessType === 2 && currentParams.value.currentStepType === 3 && currentParams.value.currentOrgLevel === 1 && selectNext.value.key === 'end';
 });
-// 判断当前节点是否在会签中
+// 判断当前节点是否在会签中 0中心会签 1部门会签
 const isCountersign = computed(() => {
-	return currentParams.value.counterSignType;
+	return currentParams.value.counterSignType !== null;
 });
 // expiredStatus 超期状态(0正常 1即将超期  2已超期)  工单流转选择“结束”节点,点击“办理”时需验证该工单是否处于已超期状态
 const isOverdueTips = computed(() => {