|
@@ -544,7 +544,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script setup lang="ts" name="processApproval">
|
|
|
-import { computed, defineAsyncComponent, nextTick, reactive, ref, watch } from 'vue';
|
|
|
+import { computed, defineAsyncComponent, reactive, ref, watch } from 'vue';
|
|
|
import { ElMessage, FormInstance } from 'element-plus';
|
|
|
import other from '@/utils/other';
|
|
|
import { storeToRefs } from 'pinia';
|
|
@@ -896,8 +896,6 @@ const selectNextStep = (val: any) => {
|
|
|
// 如果办理对象只有一个默认选中
|
|
|
state.ruleForm.nextHandlers = [items[0]];
|
|
|
}
|
|
|
- // 如果是泸州所有流转到派单组节点的都需要必填办理对象
|
|
|
- nextHandlersRequired.value = ['LuZhou'].includes(themeConfig.value.appScope) && selectNext.value.businessType === 1;
|
|
|
|
|
|
// 以下是默认需要吧短信勾上的场景 话务到部门、派单到一级部门、部门到部门、部门到汇总、部门到部门领导 部门退回到部门
|
|
|
state.ruleForm.isSms =
|
|
@@ -1026,7 +1024,7 @@ const getCopyHandlers = async (orgCode: string | any) => {
|
|
|
};
|
|
|
// 检测其他原因是否必填 如果选择了其他就必填
|
|
|
const otherReasonRequired = computed(() => {
|
|
|
- return state.ruleForm.checkedCities && state.ruleForm.checkedCities.length && state.ruleForm.checkedCities.includes('2');
|
|
|
+ return state.ruleForm.checkedCities && state.ruleForm.checkedCities.length && state.ruleForm.checkedCities.includes('2');
|
|
|
});
|
|
|
type Node = {
|
|
|
_parent?: Node;
|