BUG 25910
This commit is contained in:
@@ -79,7 +79,7 @@
|
|||||||
<div class="line-bg"/>
|
<div class="line-bg"/>
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<span class="tips"/>承租人信息
|
<span class="tips"/>承租人信息
|
||||||
<span class="select" @click="handleSelectUser('renter')">选择人员</span>
|
<AiPagePicker class="select" :selected.sync="houseInfo.renter">选择人员</AiPagePicker>
|
||||||
</div>
|
</div>
|
||||||
<div class="pad-l32">
|
<div class="pad-l32">
|
||||||
<div class="item" v-for="(item, index) in houseInfo.renter" :key="index">
|
<div class="item" v-for="(item, index) in houseInfo.renter" :key="index">
|
||||||
@@ -96,7 +96,7 @@
|
|||||||
<div class="line-bg"/>
|
<div class="line-bg"/>
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<span class="tips"/>实际居住人员
|
<span class="tips"/>实际居住人员
|
||||||
<span class="select" @click="handleSelectUser('live')">选择人员</span>
|
<AiPagePicker class="select" :selected.sync="houseInfo.live">选择人员</AiPagePicker>
|
||||||
</div>
|
</div>
|
||||||
<div class="pad-l32">
|
<div class="pad-l32">
|
||||||
<div class="item" v-for="(item, index) in houseInfo.live" :key="index">
|
<div class="item" v-for="(item, index) in houseInfo.live" :key="index">
|
||||||
@@ -153,25 +153,6 @@ export default {
|
|||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
...mapActions(['selectEnterpriseContact']),
|
...mapActions(['selectEnterpriseContact']),
|
||||||
handleSelectUser(fieldDbName) {
|
|
||||||
if (this.lockSelector) return
|
|
||||||
this.lockSelector = true
|
|
||||||
this.selectEnterpriseContact({
|
|
||||||
fromDepartmentId: 0,
|
|
||||||
type: ["user"],
|
|
||||||
selectedUserIds: this.houseInfo[fieldDbName]?.map(e => e.id)
|
|
||||||
}).then(res => {
|
|
||||||
this.houseInfo[fieldDbName] = res?.userList || []
|
|
||||||
this.lockSelector = false
|
|
||||||
}).catch(() => {
|
|
||||||
this.lockSelector = false
|
|
||||||
})
|
|
||||||
},
|
|
||||||
|
|
||||||
toSelectUser() {
|
|
||||||
console.log(111)
|
|
||||||
uni.navigateTo({url: './selectResident'})
|
|
||||||
},
|
|
||||||
tableRelationSelect(name, index) {
|
tableRelationSelect(name, index) {
|
||||||
this.tableName = name
|
this.tableName = name
|
||||||
this.tableIndex = index
|
this.tableIndex = index
|
||||||
|
|||||||
Reference in New Issue
Block a user