From 50cb28eb210728a99c6e819bdb784ca255591cdd Mon Sep 17 00:00:00 2001 From: zhaoxiao Date: Mon, 25 Oct 2021 14:23:33 +0800 Subject: [PATCH] =?UTF-8?q?[bug]41381=E5=8E=BB=E6=8E=89=E8=B4=9F=E8=B4=A3?= =?UTF-8?q?=E4=BA=BA=E5=88=97=E8=A1=A8=E6=9F=A5=E8=AF=A2=E7=9A=84=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/company/SelectPrincipal.vue | 8 +++++--- src/views/system/UserAnnouncementList.vue | 8 ++------ 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/src/components/company/SelectPrincipal.vue b/src/components/company/SelectPrincipal.vue index 5f2d841..7a68338 100644 --- a/src/components/company/SelectPrincipal.vue +++ b/src/components/company/SelectPrincipal.vue @@ -6,7 +6,9 @@ allowClear option-filter-prop="children" :filter-option="filterOption"> - {{ `${item.realname}(${item.orgCodeTxt})` }} + + {{ `${ item.realname }(${ item.orgCodeTxt })` }} + @@ -36,7 +38,7 @@ export default { * 获取所有用户 */ initUserList() { - getAllUserList({status:1}).then(res => { + getAllUserList().then(res => { this.userList = res.result }) }, @@ -44,7 +46,7 @@ export default { filterOption(input, option) { console.log(option) return ( - option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0 + option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0 ) } }, diff --git a/src/views/system/UserAnnouncementList.vue b/src/views/system/UserAnnouncementList.vue index d2cd76a..88c2628 100644 --- a/src/views/system/UserAnnouncementList.vue +++ b/src/views/system/UserAnnouncementList.vue @@ -15,12 +15,8 @@ allowClear option-filter-prop="children" :filter-option="filterOption" - placeholder="请选择提醒类型" - > - {{ - item.name - }} - + placeholder="请选择提醒类型"> + {{ item.name }}