bug
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
<el-input v-model="form.name" size="small" placeholder="请输入分组名称"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="填报人员" style="width: 100%" prop="examineUserNames" :rules="[{required: true, message: '请选择填报人员', trigger: 'change'}]">
|
||||
<ai-user-selecter :instance="instance" v-model="form.examineUserIds" @change="e => onUserChange(e, 'examineUserNames')">
|
||||
<ai-user-selecter :instance="instance" :props="{label: 'name', id: 'sysUserId'}" v-model="form.examineUserIds" @change="e => onUserChange(e, 'examineUserNames')">
|
||||
<div class="AppAnnounceDetail-select">
|
||||
<el-input class="AppAnnounceDetail-select__input" size="small" placeholder="请选择..." v-model="form.examineUserNames"></el-input>
|
||||
<div class="select-left" v-if="form.examineUserIds.length">
|
||||
@@ -137,12 +137,14 @@
|
||||
this.form.examineUserIds = e.examineUserIds.split(',').map((v, index) => {
|
||||
return {
|
||||
id: v,
|
||||
sysUserId: v,
|
||||
name: e.examineUserNames.split(',')[index]
|
||||
}
|
||||
})
|
||||
this.form.fillingUserIds = e.fillingUserIds.split(',').map((v, index) => {
|
||||
return {
|
||||
id: v,
|
||||
sysUserId: v,
|
||||
name: e.fillingUserNames.split(',')[index]
|
||||
}
|
||||
})
|
||||
@@ -186,8 +188,8 @@
|
||||
this.instance.post(`/app/appassessmentscorev2examinegroup/addOrUpdate`, {
|
||||
...this.form,
|
||||
id: this.id || '',
|
||||
fillingUserIds: this.form.fillingUserIds.map(v => v.id).join(','),
|
||||
examineUserIds: this.form.examineUserIds.map(v => v.id).join(','),
|
||||
fillingUserIds: this.form.fillingUserIds.map(v => v.sysUserId).join(','),
|
||||
examineUserIds: this.form.examineUserIds.map(v => v.sysUserId).join(','),
|
||||
fillingUserNames: this.form.fillingUserIds.map(v => v.name).join(','),
|
||||
examineUserNames: this.form.examineUserIds.map(v => v.name).join(',')
|
||||
}).then(res => {
|
||||
|
||||
@@ -438,7 +438,6 @@
|
||||
}
|
||||
}).then(res => {
|
||||
if (res.code == 0) {
|
||||
console.log(this.disabledList)
|
||||
this.list = res.data.records.filter(v => {
|
||||
return this.disabledList.indexOf(v.id) === -1
|
||||
}).map(v => {
|
||||
|
||||
Reference in New Issue
Block a user