[bug]41381去掉负责人列表查询的状态参数
This commit is contained in:
@@ -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
|
||||
)
|
||||
}
|
||||
},
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user