mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-22 05:56:45 +08:00
GFRS-615 问卷调查VUE 初始化回调 --提交人:阳华祥
This commit is contained in:
@@ -121,10 +121,19 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
// 初始化
|
||||||
|
window['appCallBack'] = this.appCallBack
|
||||||
// 获取表单列表
|
// 获取表单列表
|
||||||
this.getSurveyList()
|
this.getSurveyList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
appCallBack(data) {
|
||||||
|
if (data.trigger == 'weixin_share') {
|
||||||
|
console.log('点击了分享')
|
||||||
|
// 回调 保存分享
|
||||||
|
this.saveShareInfo()
|
||||||
|
}
|
||||||
|
},
|
||||||
// 分享到朋友圈
|
// 分享到朋友圈
|
||||||
async shareFriends() {
|
async shareFriends() {
|
||||||
let that = this
|
let that = this
|
||||||
@@ -132,8 +141,6 @@ export default {
|
|||||||
await that.getSurveyTableId()
|
await that.getSurveyTableId()
|
||||||
// 调用原生分享
|
// 调用原生分享
|
||||||
this.callApp()
|
this.callApp()
|
||||||
// 回调 保存分享
|
|
||||||
this.saveShareInfo()
|
|
||||||
},
|
},
|
||||||
// 获取代理人下问卷调查信息
|
// 获取代理人下问卷调查信息
|
||||||
getSurveyList() {
|
getSurveyList() {
|
||||||
|
|||||||
Reference in New Issue
Block a user