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