From e1ff8213bfc4c56c5e6ef64698e14b14f12cf3d5 Mon Sep 17 00:00:00 2001 From: qsh <> Date: Thu, 4 Jul 2024 18:58:18 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Search/src/Search.vue | 5 + src/views/Clue/Order/Comp/OrderList.vue | 2 +- src/views/Clue/Pool/Comp/DialogClue.vue | 139 +++++++++++------- src/views/Clue/Pool/Comp/DialogSuccess.vue | 2 +- src/views/Clue/Pool/Comp/DrawerClue.vue | 9 +- src/views/Clue/Pool/index.vue | 4 +- .../Class/Comp/DialogClass.vue | 2 +- src/views/SchoolManagement/Class/index.vue | 10 +- src/views/SchoolManagement/Place/index.vue | 10 +- 9 files changed, 113 insertions(+), 70 deletions(-) diff --git a/src/components/Search/src/Search.vue b/src/components/Search/src/Search.vue index c60109b..084982e 100644 --- a/src/components/Search/src/Search.vue +++ b/src/components/Search/src/Search.vue @@ -59,6 +59,11 @@ const usedSchema = ref([]) const newSchema = computed(() => { let schema: FormSchema[] = cloneDeep(usedSchema.value) + schema.forEach((item: FormSchema) => { + if (item.component == 'TreeSelect') { + item.componentProps['check-strictly'] = true + } + }) if (props.expand && props.expandField && !unref(visible)) { const index = findIndex(schema, (v: FormSchema) => v.field === props.expandField) if (index > -1) { diff --git a/src/views/Clue/Order/Comp/OrderList.vue b/src/views/Clue/Order/Comp/OrderList.vue index 8059b49..5439d22 100644 --- a/src/views/Clue/Order/Comp/OrderList.vue +++ b/src/views/Clue/Order/Comp/OrderList.vue @@ -322,7 +322,7 @@ async function getClassTypeOptions() { function getOptions() { // 驾校 - getPlaceList().then((data) => { + getPlaceList({ placeStatus: 0, schoolStatus: 0, isSearchSchool: true }).then((data) => { schoolOptions.value = data.schoolList allPlaceOptions.value = data.placeList }) diff --git a/src/views/Clue/Pool/Comp/DialogClue.vue b/src/views/Clue/Pool/Comp/DialogClue.vue index 127f7aa..d516729 100644 --- a/src/views/Clue/Pool/Comp/DialogClue.vue +++ b/src/views/Clue/Pool/Comp/DialogClue.vue @@ -1,6 +1,6 @@