Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
@@ -109,6 +109,7 @@ export default {
|
|||||||
info: {},
|
info: {},
|
||||||
isMore: false,
|
isMore: false,
|
||||||
list: [],
|
list: [],
|
||||||
|
linkUrl: '',
|
||||||
isShow: false
|
isShow: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -136,6 +137,12 @@ export default {
|
|||||||
this.info = item
|
this.info = item
|
||||||
this.id = item.id
|
this.id = item.id
|
||||||
this.isShow = true
|
this.isShow = true
|
||||||
|
|
||||||
|
this.$http.post(`/app/appquestionnairetemplate/queryQrCode?id=${item.id}`).then(res => {
|
||||||
|
if (res.code == 0) {
|
||||||
|
this.linkUrl = res.data.linkUrl
|
||||||
|
}
|
||||||
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
toStop() {
|
toStop() {
|
||||||
@@ -159,10 +166,8 @@ export default {
|
|||||||
uni.showActionSheet({
|
uni.showActionSheet({
|
||||||
itemList: ['分享', '微信分享', '获取链接'],
|
itemList: ['分享', '微信分享', '获取链接'],
|
||||||
success: data => {
|
success: data => {
|
||||||
this.$http.post(`/app/appquestionnairetemplate/queryQrCode?id=${this.info.id}`).then(res => {
|
|
||||||
if (res.code == 0) {
|
|
||||||
if (data.tapIndex === 2) {
|
if (data.tapIndex === 2) {
|
||||||
this.copy(res.data.linkUrl)
|
this.copy(this.linkUrl)
|
||||||
this.isShow = false
|
this.isShow = false
|
||||||
}
|
}
|
||||||
if (data.tapIndex === 0 || data.tapIndex === 1) {
|
if (data.tapIndex === 0 || data.tapIndex === 1) {
|
||||||
@@ -170,7 +175,7 @@ export default {
|
|||||||
this.wxInvoke(['shareAppMessage', {
|
this.wxInvoke(['shareAppMessage', {
|
||||||
title: this.info.title,
|
title: this.info.title,
|
||||||
desc: this.info.tableExplain,
|
desc: this.info.tableExplain,
|
||||||
link: res.data.linkUrl,
|
link: this.linkUrl,
|
||||||
imgUrl: this.info.headPicture
|
imgUrl: this.info.headPicture
|
||||||
}, () => {
|
}, () => {
|
||||||
this.isShow = false
|
this.isShow = false
|
||||||
@@ -179,7 +184,7 @@ export default {
|
|||||||
this.wxInvoke(['shareWechatMessage', {
|
this.wxInvoke(['shareWechatMessage', {
|
||||||
title: this.info.title,
|
title: this.info.title,
|
||||||
desc: this.info.tableExplain,
|
desc: this.info.tableExplain,
|
||||||
link: res.data.linkUrl,
|
link: this.linkUrl,
|
||||||
imgUrl: this.info.headPicture
|
imgUrl: this.info.headPicture
|
||||||
}, () => {
|
}, () => {
|
||||||
this.isShow = false
|
this.isShow = false
|
||||||
@@ -188,8 +193,6 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
|
|
||||||
copy(link) {
|
copy(link) {
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
<div v-if="treeList.length > 0">
|
<div v-if="treeList.length > 0">
|
||||||
<div class="cards" v-for="(item, index) in treeList" :key="index" @click="itemClick(item)">
|
<div class="cards" v-for="(item, index) in treeList" :key="index" @click="itemClick(item)">
|
||||||
<div class="imges">
|
<div class="imges">
|
||||||
|
<span v-if="item.girdLevel == 1" style="width: 24px;"></span>
|
||||||
<span v-if="item.girdLevel == 2">
|
<span v-if="item.girdLevel == 2">
|
||||||
<img src="./components/img/xzh.png" alt="" class="imgselect" v-if="item.isChecked" @click.stop="girdClick(item, index)" />
|
<img src="./components/img/xzh.png" alt="" class="imgselect" v-if="item.isChecked" @click.stop="girdClick(item, index)" />
|
||||||
<img src="./components/img/xz.png" alt="" class="imgselect" v-else @click.stop="girdClick(item, index)" />
|
<img src="./components/img/xz.png" alt="" class="imgselect" v-else @click.stop="girdClick(item, index)" />
|
||||||
|
|||||||
@@ -106,8 +106,7 @@ export default {
|
|||||||
this.getList()
|
this.getList()
|
||||||
})
|
})
|
||||||
uni.$on('updateList', () => {
|
uni.$on('updateList', () => {
|
||||||
this.current = 1
|
this.getListInit()
|
||||||
this.getList()
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
@@ -121,8 +120,7 @@ export default {
|
|||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
getList() {
|
getList() {
|
||||||
this.$http
|
this.$http.post('/app/appvisitvondolence/list', null, {
|
||||||
.post('/app/appvisitvondolence/list', null, {
|
|
||||||
params: {
|
params: {
|
||||||
size: this.size,
|
size: this.size,
|
||||||
current: this.current,
|
current: this.current,
|
||||||
|
|||||||
Reference in New Issue
Block a user