|
@@ -56,8 +56,8 @@
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="责任人" style="width:100%;" prop="assigner">
|
|
|
- <el-select v-model="formInline.assigner" multiple filterable remote :remote-method="remoteMethod1" :loading="loading" size="small" style="width: 100%" placeholder="请输入姓名或邮箱前缀" @change="getcurrentHandler(formInline.assigner)">
|
|
|
- <el-option v-for="item in options1" :key="item.idap" :label="item.name" :value="test2(item, 0)">
|
|
|
+ <el-select v-model="formInline.assigner" multiple filterable remote :remote-method="remoteMethod" :loading="loading" size="small" style="width: 100%" placeholder="请输入姓名或邮箱前缀" @change="getcurrentHandler(formInline.assigner)">
|
|
|
+ <el-option v-for="item in options" :key="item.idap" :label="item.name" :value="test2(item, 0)">
|
|
|
<div style="display: flex;justify-content: start;">
|
|
|
<div style="min-width:100px;color: #8492a6; font-size: 13px; overflow:hidden">{{ item.deptName }}</div>
|
|
|
<div style="min-width:80px">{{ item.name }}</div>
|
|
@@ -246,7 +246,6 @@ export default {
|
|
|
titleName: '',
|
|
|
loading: false,
|
|
|
options: [],
|
|
|
- options1: [],
|
|
|
test: [], // 人员查询
|
|
|
form: {},
|
|
|
formInline: {},
|
|
@@ -415,24 +414,6 @@ export default {
|
|
|
this.options = []
|
|
|
}
|
|
|
},
|
|
|
- remoteMethod1(query) {
|
|
|
- // 人员查询
|
|
|
- if (query !== '') {
|
|
|
- this.loading = true
|
|
|
- setTimeout(() => {
|
|
|
- this.loading = false
|
|
|
- memberQueryMemberInfoByIDAPorName({ memberIDAP: query }).then(res => {
|
|
|
- const obj = {}
|
|
|
- this.options1 = res.data.reduce((cur, next) => {
|
|
|
- obj[next.idap] ? '' : obj[next.idap] = true && cur.push(next)
|
|
|
- return cur
|
|
|
- }, [])
|
|
|
- })
|
|
|
- }, 200)
|
|
|
- } else {
|
|
|
- this.options = []
|
|
|
- }
|
|
|
- },
|
|
|
bugListSelect() {
|
|
|
this.$set(this.formInline, 'creatorList', this.userNames)
|
|
|
settingGetBizList({}).then(res => {
|