|
@@ -919,6 +919,7 @@ const handleResult = (res: any) => {
|
|
|
* currentParams.value.currentStepBusinessType 表示当前节点到哪一步 0坐席 1派单 2部门节点 3部门领导节点 4中心班长 5中心领导
|
|
|
* currentParams.value.currentStepType 表示当前的节点类型 0普通节点 3汇总节点
|
|
|
* currentParams.value.currentIsCountersignEndStep true 表示当前为会签汇总节点 false表示不是
|
|
|
+ * currentParams.value.CounterSignType 判断当前节点是否在会签中 0中心会签 1部门会签
|
|
|
* */
|
|
|
/*selectNext.value.businessType 表示选择节点到哪一步 0 坐席 1派单 2部门节点 3部门领导节点 4中心班长 5中心领导
|
|
|
* selectNext.value.orgLevel 表示部门等级 1 一级部门 2 二级部门 3 三级部门 4 四级部门
|
|
@@ -1002,7 +1003,6 @@ const orgSummaryToEnd = computed(() => {
|
|
|
});
|
|
|
// 判断当前工单是 随手拍电气焊作业申报 并且是部门办理时 并且当前节点是普通节点 并且选择的下一节点是汇总或者归档
|
|
|
const orgDQH = computed(() => {
|
|
|
- console.log(currentParams.value, '1111');
|
|
|
return (
|
|
|
currentParams.value.currentStepBusinessType === 2 &&
|
|
|
currentParams.value.currentStepType === 0 &&
|
|
@@ -1010,16 +1010,16 @@ const orgDQH = computed(() => {
|
|
|
state.orderDetail.industryName === '电气焊作业申报'
|
|
|
);
|
|
|
});
|
|
|
-// 判断当前工单是 安全隐患 并且是部门办理时 并且当前节点是普通节点 并且当前不能是会签汇总节点 并且选择的下一节点是汇总或者归档
|
|
|
+// 判断当前工单是 安全隐患 并且是当前在部门会签中 并且是否存在安全隐患没有填写过 并且选择的下一节点是汇总或者归档
|
|
|
const orgAQYH = computed(() => {
|
|
|
return (
|
|
|
- currentParams.value.currentStepBusinessType === 2 &&
|
|
|
- currentParams.value.currentStepType === 0 &&
|
|
|
+ currentParams.value.CounterSignType === 1 &&
|
|
|
+ currentParams.value.isDangerDepartment === null &&
|
|
|
(selectNext.value.stepType === 3 || selectNext.value.key === 'end') &&
|
|
|
state.orderDetail.industryName === '安全隐患'
|
|
|
);
|
|
|
});
|
|
|
-// 判断当前节点是否在会签中 0中心会签 1部门会签
|
|
|
+// currentParams.value.CounterSignType 判断当前节点是否在会签中 0中心会签 1部门会签
|
|
|
const isCountersign = computed(() => {
|
|
|
return currentParams.value.counterSignType !== null;
|
|
|
});
|