Эх сурвалжийг харах

reactor:287 工单待办新增查询条件

zhangchong 2 сар өмнө
parent
commit
c391fc11ae

+ 3 - 3
src/views/todo/order/index.vue

@@ -149,7 +149,7 @@
 					>
 					</el-cascader>
 				</el-form-item>
-<!--        <el-form-item label="工单标签" prop="OrderTagCode" v-if="['ZiGong', 'LuZhou'].includes(themeConfig.appScope)">
+        <el-form-item label="工单标签" prop="OrderTagCode" v-if="['ZiGong', 'LuZhou'].includes(themeConfig.appScope)">
           <el-cascader
               :options="state.orderTagOptions"
               filterable
@@ -161,7 +161,7 @@
               clearable
           >
           </el-cascader>
-        </el-form-item>-->
+        </el-form-item>
 			</el-form>
 			<template #footer>
 				<el-button type="primary" @click="handleQuery" :loading="state.loading"> <SvgIcon name="ele-Search" class="mr5" />查询 </el-button>
@@ -402,7 +402,7 @@ const getBaseData = async () => {
 		const res = await orderListTodoBase();
 		currentStepOptions.value = res.result?.currentStepOptions ?? [];
 		orderStatusOptions.value = res.result?.orderStatusOptions ?? [];
-    state.orderTagOptions = res.result?.orderTag ?? [];
+    state.orderTagOptions = res.result?.orderTags ?? [];
 	} catch (error) {
 		console.log(error);
 	}

+ 2 - 0
src/views/todo/order/tableHeader.tsx

@@ -138,6 +138,7 @@ export const ZGTableHeader = [
 	{ field: 'sourceChannel', title: '来源渠道', width: 110 },
 	{ field: 'hotspotName', title: '热点分类', width: 150 },
 	{ field: 'acceptorName', title: '受理人', width: 120 },
+	{ field: 'orderTag', title: '工单标签', width: 140 },
 ];
 
 export const LZTableHeader = [
@@ -210,4 +211,5 @@ export const LZTableHeader = [
 		},
 	},
 	{ field: 'counterSignTypeText', title: '是否会签', width: 110 },
+	{ field: 'orderTag', title: '工单标签', width: 140 },
 ]