BUG 28351
This commit is contained in:
@@ -49,7 +49,9 @@
|
||||
</div>
|
||||
<div class="pad-b120"></div>
|
||||
<div class="footer" v-if="isAdmin">
|
||||
<div class="bg-fff" @click="linkTo(`./Add?arriveGirdId=${girdId}&arriveGirdName=${girdName}`)">登记</div>
|
||||
<div class="bg-fff"
|
||||
@click="linkTo(`./Add?arriveGirdId=${girdId}&arriveGirdName=${encodeURIComponent(girdName)}`)">登记
|
||||
</div>
|
||||
<div class="bg-blue" @click="show=true">邀请居民填写</div>
|
||||
</div>
|
||||
<u-popup v-model="show" mode="bottom" border-radius="14">
|
||||
@@ -100,6 +102,10 @@ export default {
|
||||
...mapState(['user']),
|
||||
params() {
|
||||
return qs.parse(decodeURIComponent(location.search))
|
||||
},
|
||||
shareLink() {
|
||||
let {girdId, girdName, user: {corpId}} = this
|
||||
return location.origin + `/apps/AppBackUserList/add?corpId=${corpId}&arriveGirdId=${girdId}&arriveGirdName=${encodeURIComponent(girdName)}`
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
@@ -188,7 +194,7 @@ export default {
|
||||
},
|
||||
copy() {
|
||||
let oInput = document.createElement('input')
|
||||
oInput.value = location.origin + `/apps/AppBackUserList/add?corpId=${this.user.corpId}&arriveGirdId=${this.girdId}&arriveGirdName=${this.girdName}`
|
||||
oInput.value = this.shareLink
|
||||
document.body.appendChild(oInput)
|
||||
oInput.select()
|
||||
document.execCommand('Copy')
|
||||
@@ -201,7 +207,7 @@ export default {
|
||||
// title: this.params.title,
|
||||
// desc: this.params.tableExplain,
|
||||
imgUrl: 'https://cdn.cunwuyun.cn/dvcp/h5/back-user-share.png',
|
||||
link: location.origin + `/apps/AppBackUserList/add?corpId=${this.user.corpId}&arriveGirdId=${this.girdId}&arriveGirdName=${this.girdName}`,
|
||||
link: this.shareLink,
|
||||
}])
|
||||
})
|
||||
},
|
||||
@@ -211,7 +217,7 @@ export default {
|
||||
// title: this.params.title,
|
||||
// desc: this.params.tableExplain,
|
||||
imgUrl: 'https://cdn.cunwuyun.cn/dvcp/h5/back-user-share.png',
|
||||
link: location.origin + `/apps/AppBackUserList/add?corpId=${this.user.corpId}&arriveGirdId=${this.girdId}&arriveGirdName=${this.girdName}`,
|
||||
link: this.shareLink,
|
||||
}])
|
||||
})
|
||||
},
|
||||
@@ -307,6 +313,7 @@ export default {
|
||||
|
||||
.user-list {
|
||||
background-color: #f5f5f5;
|
||||
|
||||
.item {
|
||||
padding: 32px 64px 24px;
|
||||
background-color: #fff;
|
||||
|
||||
Reference in New Issue
Block a user