This commit is contained in:
liuye
2022-02-11 15:03:46 +08:00
parent 9354b8e0f7
commit 0a0a82a5eb
3 changed files with 11 additions and 11 deletions

View File

@@ -180,7 +180,7 @@ export default {
},
copy() {
let oInput = document.createElement('input')
oInput.value = this.params.linkUrl
oInput.value = location.origin + `/apps/AppBackUserList/add?corpId=${this.user.corpId}&arriveGirdId=${this.girdId}&arriveGirdName=${this.girdName}`
document.body.appendChild(oInput)
oInput.select()
document.execCommand('Copy')
@@ -190,20 +190,20 @@ export default {
share() {
this.injectJWeixin(['shareAppMessage', 'shareWechatMessage']).then(() => {
this.wxInvoke(['shareAppMessage', {
title: this.params.title,
desc: this.params.tableExplain,
link: this.params.linkUrl,
imgUrl: this.params.headPicture
// title: this.params.title,
// desc: this.params.tableExplain,
// imgUrl: this.params.headPicture,
link: location.origin + `/apps/AppBackUserList/add?corpId=${this.user.corpId}&arriveGirdId=${this.girdId}&arriveGirdName=${this.girdName}`,
}])
})
},
shareWechat() {
this.injectJWeixin(['shareAppMessage', 'shareWechatMessage']).then(() => {
this.wxInvoke(['shareWechatMessage', {
title: this.params.title,
desc: this.params.tableExplain,
link: this.params.linkUrl,
imgUrl: this.params.headPicture
// title: this.params.title,
// desc: this.params.tableExplain,
// imgUrl: this.params.headPicture,
link: location.origin + `/apps/AppBackUserList/add?corpId=${this.user.corpId}&arriveGirdId=${this.girdId}&arriveGirdName=${this.girdName}`,
}])
})
},

View File

@@ -15,7 +15,7 @@
<div class="item" v-for="(item, index) in list" :key="index">
<p>{{item.content}}</p>
<div>{{item.createTime}}
<span><AiOpenData v-if="item.createUserName" type="userName" :openid="item.createUserName" /></span>
<span>网格员<AiOpenData v-if="item.createUserName" type="userName" :openid="item.createUserName" style="display:inline-block;" />11</span>
</div>
</div>
</div>

View File

@@ -30,7 +30,7 @@
<div class="right">
<div class="rightTop">
<span class="name">{{ item.name }}</span>
<span class="btn">
<span class="btn" v-if="item.doRight == 1">
<img src="./components/img/edit-icon.png" alt="" @click.stop="edit(item.id)">
<img src="./components/img/del-icon.png" alt="" @click.stop="del(item.id)">
</span>