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 }}