From ab5540d07daaaaa4654cafb598ca3022047755df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=90=8C=E6=B5=B7?= <963808678@qq.com> Date: Thu, 11 May 2023 17:37:29 +0800 Subject: [PATCH] 5/11 --- src/views/main/DjyTenantConfig/addForm.vue | 11 +++++++- src/views/main/DjyTenantConfig/editForm.vue | 11 +++++++- src/views/main/DjyTenantConfig/index.vue | 25 ++++++++++++++++++- .../main/Taskmanage/TaskmanageList/index.vue | 11 +++++--- 4 files changed, 52 insertions(+), 6 deletions(-) diff --git a/src/views/main/DjyTenantConfig/addForm.vue b/src/views/main/DjyTenantConfig/addForm.vue index 504aa5e..29c4ce3 100644 --- a/src/views/main/DjyTenantConfig/addForm.vue +++ b/src/views/main/DjyTenantConfig/addForm.vue @@ -38,7 +38,13 @@ - + {{ item.cnName }} @@ -81,6 +87,9 @@ export default { }, mounted() {}, methods: { + filterOption(input, option) { + return option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0 + }, // 初始化方法 add(record) { this.data = record diff --git a/src/views/main/DjyTenantConfig/editForm.vue b/src/views/main/DjyTenantConfig/editForm.vue index 9314d9f..ffc75b6 100644 --- a/src/views/main/DjyTenantConfig/editForm.vue +++ b/src/views/main/DjyTenantConfig/editForm.vue @@ -39,7 +39,13 @@ - + {{ item.cnName }} @@ -82,6 +88,9 @@ export default { }, mounted() {}, methods: { + filterOption(input, option) { + return option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0 + }, // 初始化方法 edit(record, loadData) { console.log(record) diff --git a/src/views/main/DjyTenantConfig/index.vue b/src/views/main/DjyTenantConfig/index.vue index 53fcaa2..fe78acc 100644 --- a/src/views/main/DjyTenantConfig/index.vue +++ b/src/views/main/DjyTenantConfig/index.vue @@ -54,6 +54,10 @@ :align="item.align" :show-overflow="true" > +