bug
This commit is contained in:
@@ -115,7 +115,7 @@
|
||||
:instance="instance"
|
||||
@pick="e => onUserChange(e, 'search1')" :multiple="false" v-model="user1">
|
||||
<div class="userSelcet">
|
||||
<span style="color: #606266;" v-if="search1.deptartId"><ai-open-data type="departmentName" :openid="search1.deptartId"></ai-open-data></span>
|
||||
<span style="color: #606266;" v-if="search1.deptartId">{{ name }}</span>
|
||||
<span v-else>部门</span>
|
||||
<i class="el-icon-arrow-up" v-if="!search1.deptartId"></i>
|
||||
<i class="el-icon-circle-close" v-if="search1.deptartId" @click.stop="user1 = [], search1.deptartId = '', search1.current = 1, getMemberInfo()"></i>
|
||||
@@ -213,6 +213,7 @@
|
||||
fileList: [],
|
||||
info: {},
|
||||
content: '',
|
||||
name: '',
|
||||
currIndex: 0,
|
||||
colConfigs1: [
|
||||
{ slot: 'user', label: '员工' },
|
||||
@@ -276,8 +277,10 @@
|
||||
|
||||
onUserChange (e, search) {
|
||||
if (e.length) {
|
||||
this.name = e[0].name
|
||||
this[search].deptartId = e[0].id
|
||||
} else {
|
||||
this.name = ''
|
||||
this[search].deptartId = ''
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user