Browse Source

reactor:宜宾办理重构;

zhangchong 4 months ago
parent
commit
0d99410285

+ 1 - 1
.env.development

@@ -3,7 +3,7 @@ VITE_MODE_NAME=development
 # 防止部署多套系统到同一域名不同目录时,变量共用的问题 设置不同的前缀
 VITE_STORAGE_NAME=dev
 # 业务系统基础请求地址
-VITE_API_URL=http://110.188.24.28:50100
+VITE_API_URL=http://110.188.24.28:50300
 # 业务系统socket请求地址
 VITE_API_SOCKET_URL=http://110.188.24.28:50100/hubs/hotline
 # 业务系统文件上传上传请求地址

+ 7 - 2
src/components/ProcessAudit/YBProcess.vue

@@ -14,9 +14,10 @@
 		:append-to-body="!isOrderAccept"
 		:modal="!isOrderAccept"
 	>
-<!--		{{ seatTopaidan ? '话务部到派单组' : '' }}
+		{{ seatTopaidan ? '话务部到派单组' : '' }}
+		{{ seatToOrg ? '话务部到部门' : '' }}
 		{{ seatToOrgOne ? '话务部到一级部门' : '' }}
-		{{ paidanToOrgOne ? '派单组到一级部门' : '' }}-->
+		{{ paidanToOrgOne ? '派单组到一级部门' : '' }}
 		<el-form :model="state.ruleForm" label-width="110px" ref="ruleFormRef"  v-loading="state.loading">
 			<slot name="header"></slot>
 			<el-row :gutter="10">
@@ -539,6 +540,10 @@ const isOverdueTips = computed(() => {
 const seatTopaidan = computed(() => {
 	return currentParams.value.currentStepBusinessType === 0 && selectNext.value.businessType === 1;
 });
+// 话务部到部门
+const seatToOrg = computed(() => {
+	return currentParams.value.currentStepBusinessType === 0 && selectNext.value.businessType === 2;
+});
 // 话务部到一级部门
 const seatToOrgOne = computed(() => {
 	return currentParams.value.currentStepBusinessType === 0 && selectNext.value.businessType === 2 && selectNext.value.orgLevel === 1;

+ 6 - 1
src/views/todo/seats/accept/ybAccept.vue

@@ -509,6 +509,8 @@
 		<company-search ref="companySearchRef" @selectCompany="selectCompany" />
 		<!-- 重复工单选择 -->
 		<order-repeat-select ref="orderRepeatSelectRef" @orderRepeatSuccess="orderRepeatSuccess" />
+		<!-- 工单办理 -->
+		<y-b-process ref="ybProcessRef"/>
 	</div>
 </template>
 
@@ -549,6 +551,7 @@ const ScriptNavigation = defineAsyncComponent(() => import('@/views/todo/seats/a
 const CallSummary = defineAsyncComponent(() => import('@/views/todo/seats/accept/Call-summary.vue')); // 呼叫小结
 const EventSelect = defineAsyncComponent(() => import('@/components/Hotspot/event.vue')); // 选择事件
 const HotSpotSelect = defineAsyncComponent(() => import('@/components/Hotspot/index.vue')); // 选择热点
+const YBProcess = defineAsyncComponent(() => import('@/components/ProcessAudit/YBProcess.vue')); // 宜宾工单办理流程
 // 定义变量内容
 const storesThemeConfig = useThemeConfig();
 const { themeConfig } = storeToRefs(storesThemeConfig);
@@ -1023,6 +1026,7 @@ const save = throttle((formEl: FormInstance | undefined) => {
 }, 300);
 // 流程审批
 const processAuditRef = ref<RefType>();
+const ybProcessRef = ref<RefType>();
 const processOrder = (orderDetail: any, isAgent: boolean) => {
 	buttonLoading.value = false;
 	if (isAgent) {
@@ -1066,7 +1070,8 @@ const processOrder = (orderDetail: any, isAgent: boolean) => {
 				},
 				orderDetail,
 			};
-			processAuditRef.value.openDialog(params);
+			// processAuditRef.value.openDialog(params);
+			ybProcessRef.value.openDialog(params);
 		}
 	}
 };