Browse Source

reactor:将流程模板组件logic flow升级到2.x

zhangchong 4 weeks ago
parent
commit
3f56cb5d8f

+ 5 - 1
src/components/OrderDetail/index.vue

@@ -1047,7 +1047,7 @@ const openDialog = (val: any) => {
 					label: '附件列表',
 					value: '5',
 				},
-					{
+				{
 					label: '地图信息',
 					value: '6',
 				},
@@ -1071,6 +1071,10 @@ const openDialog = (val: any) => {
 					label: '附件列表',
 					value: '5',
 				},
+				{
+					label: '地图信息',
+					value: '6',
+				},
 			];
 		}
 	} else if (['YiBin'].includes(themeConfig.value.appScope) && !userInfos.value.isCenter) {

+ 1 - 1
src/views/business/discern/YBApply.vue

@@ -93,7 +93,7 @@
 					</vxe-column>
 					<vxe-column field="order.isUrgentText" title="是否紧急" width="90">
 						<template #default="{ row }">
-							<span class="color-danger font-bold">{{row.order?.isUrgentText}}</span>
+							<span class="color-danger font-bold">{{ row.order?.isUrgentText }}</span>
 						</template>
 					</vxe-column>
 					<vxe-column field="order.sensitiveText" title="敏感词" width="150"></vxe-column>

+ 5 - 3
src/views/business/discern/index.vue

@@ -281,6 +281,8 @@ const state = reactive<any>({
 		QueryScreenType: -1, // 甄别类型
 		OrgLevelOneName: null, // 一级部门
 		zbtgTime: [], // 甄别通过时间
+		NewestAuditTimeStart:null, // 甄别通过时间
+		NewestAuditTimeEnd:null, // 甄别通过时间
 	},
 	tableData: [], //表单
 	loading: false, // 加载
@@ -319,9 +321,9 @@ const queryList = () => {
 		requestParams.value.CreationTimeStart = state.queryParams.crTime === null ? null : state.queryParams.crTime[0]; // 申请时间
 		requestParams.value.CreationTimeEnd = state.queryParams.crTime === null ? null : state.queryParams.crTime[1];
 		Reflect.deleteProperty(requestParams.value, 'crTime'); // 删除无用的参数
-		/*		requestParams.value.CreationTimeStart = state.queryParams.zbtgTime === null ? null : state.queryParams.zbtgTime[0]; // 甄别通过时间
-		requestParams.value.CreationTimeEnd = state.queryParams.zbtgTime === null ? null : state.queryParams.zbtgTime[1];
-		Reflect.deleteProperty(requestParams.value, 'zbtgTime'); // 删除无用的参数*/
+		requestParams.value.NewestAuditTimeStart = state.queryParams.zbtgTime === null ? null : state.queryParams.zbtgTime[0]; // 甄别通过时间
+		requestParams.value.NewestAuditTimeEnd = state.queryParams.zbtgTime === null ? null : state.queryParams.zbtgTime[1];
+		Reflect.deleteProperty(requestParams.value, 'zbtgTime'); // 删除无用的参数
 		state.loading = true;
 		screenList(requestParams.value)
 			.then((response: any) => {

+ 1 - 0
src/views/business/visit/index.vue

@@ -376,6 +376,7 @@ const gridOptions = reactive<any>({
 			title: '回访时间',
 			width: 160,
 			formatter: 'formatDate',
+			sortable: true,
 		},
 		{ field: 'order.seatEvaluateTxt', title: '话务员满意度', width: 140 },
 	],

+ 1 - 3
src/views/early/push/components/Push-add.vue

@@ -227,7 +227,7 @@ const onSubmit = throttle(async (formEl: FormInstance | undefined, operateModel:
 	await formEl.validate((valid: boolean) => {
 		if (!valid) return;
 		gridOptions.loading = true;
-		const earlyWarningPushDetails = gridOptions.data.map((item) => {
+		const earlyWarningPushDetails = gridOptions.data.map((item: any) => {
 			return {
 				orderId: item.order.id,
 				isSendWord: item.isSendWord ?? false,
@@ -238,8 +238,6 @@ const onSubmit = throttle(async (formEl: FormInstance | undefined, operateModel:
 			earlyWarningPushDetails,
 			operateModel,
 		};
-		console.log(request, '测试');
-		return;
 		addEarlySetting(request)
 			.then(() => {
 				ElMessage({