换人员组件
This commit is contained in:
@@ -9,8 +9,11 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<div style="display: flex" v-if="status == 1">
|
<div style="display: flex" v-if="status == 1">
|
||||||
<input v-model="doUsername" placeholder="请选择转交对象" @click="toSelectUser" disabled style="display: inline-block;"/>
|
<AiPagePicker type="party" @select="handlePartySelect" single :isFourParty="true">
|
||||||
<u-icon name="arrow-right" color="#999" size="28"></u-icon>
|
<AiMore v-model="doUsername" placeholder="请选择"/>
|
||||||
|
</AiPagePicker>
|
||||||
|
<!-- <input v-model="doUsername" placeholder="请选择转交对象" @click="toSelectUser" disabled style="display: inline-block;"/>
|
||||||
|
<u-icon name="arrow-right" color="#999" size="28"></u-icon> -->
|
||||||
</div>
|
</div>
|
||||||
<div class="check_box" v-if="status == 2">
|
<div class="check_box" v-if="status == 2">
|
||||||
<div class="check-item" :class="auditStatus == '1' ? 'check-active' : '' " @click="auditStatus='1'">通过审核<img src="./components/img/check-icon.png" alt=""></div>
|
<div class="check-item" :class="auditStatus == '1' ? 'check-active' : '' " @click="auditStatus='1'">通过审核<img src="./components/img/check-icon.png" alt=""></div>
|
||||||
@@ -64,23 +67,30 @@ export default {
|
|||||||
this.id = o.id
|
this.id = o.id
|
||||||
this.showPage = true
|
this.showPage = true
|
||||||
|
|
||||||
uni.$on('goback', (res) => {
|
// uni.$on('goback', (res) => {
|
||||||
this.selectUser = res
|
// this.selectUser = res
|
||||||
if(res.name) {
|
// if(res.name) {
|
||||||
this.doUsername = res.name
|
// this.doUsername = res.name
|
||||||
this.wxUserId = res.id
|
// this.wxUserId = res.id
|
||||||
}else{
|
// }else{
|
||||||
this.doUsername = res.girdName
|
// this.doUsername = res.girdName
|
||||||
this.wxUserId = res.id
|
// this.wxUserId = res.id
|
||||||
}
|
// }
|
||||||
})
|
// })
|
||||||
})
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// 选择转交对象
|
// 网格选择转交对象
|
||||||
toSelectUser() {
|
// toSelectUser() {
|
||||||
uni.navigateTo({ url: './SelectUser' })
|
// uni.navigateTo({ url: './SelectUser' })
|
||||||
|
// },
|
||||||
|
|
||||||
|
// 人员组件选择转交对象
|
||||||
|
handlePartySelect(e) {
|
||||||
|
this.wxUserId = e[0].id
|
||||||
|
this.doUsername = e[0].name
|
||||||
|
// this.getUserList()
|
||||||
},
|
},
|
||||||
|
|
||||||
submit() {
|
submit() {
|
||||||
|
|||||||
Reference in New Issue
Block a user