[bug]41381去掉负责人列表查询的状态参数

This commit is contained in:
zhaoxiao
2021-10-25 14:23:33 +08:00
parent 5b24d7fa0c
commit 50cb28eb21
2 changed files with 7 additions and 9 deletions
+5 -3
View File
@@ -6,7 +6,9 @@
allowClear
option-filter-prop="children"
:filter-option="filterOption">
<a-select-option v-for="item in userList" :key="item.id" :value="item.id">{{ `${item.realname}(${item.orgCodeTxt})` }}</a-select-option>
<a-select-option v-for="item in userList" :key="item.id" :value="item.id">
{{ `${ item.realname }(${ item.orgCodeTxt })` }}
</a-select-option>
</a-select>
</template>
@@ -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
)
}
},
+2 -6
View File
@@ -15,12 +15,8 @@
allowClear
option-filter-prop="children"
:filter-option="filterOption"
placeholder="请选择提醒类型"
>
<a-select-option v-for="(item,index) in noticeTypeList" :key="index" :value="item.value">{{
item.name
}}
</a-select-option>
placeholder="请选择提醒类型">
<a-select-option v-for="(item,index) in noticeTypeList" :key="index" :value="item.value">{{ item.name }}</a-select-option>
</a-select>
</a-form-item>
</a-col>