Merge remote-tracking branch 'origin/feature/GFRS-615【待确定】问卷' into release/GFRS-615【待确定】问卷

This commit is contained in:
阳华祥
2020-02-26 22:07:48 +08:00

View File

@@ -121,20 +121,20 @@ export default {
} }
}, },
created() { created() {
setTimeout(() => {}, 1000) //添加延时处理-安卓无法获取appCallBack 对象 //setTimeout(() => {}, 1000) //添加延时处理-安卓无法获取appCallBack 对象
// 初始化 // 初始化
window['appCallBack'] = this.appCallBack // window['appCallBack'] = this.appCallBack
// 获取表单列表 // 获取表单列表
this.getSurveyList() this.getSurveyList()
}, },
methods: { methods: {
appCallBack(data) { /*appCallBack(data) {
if (data.trigger == 'weixin_share') { if (data.trigger == 'weixin_share') {
console.log('点击了分享') console.log('点击了分享')
// 回调 保存分享 // 回调 保存分享
this.saveShareInfo() this.saveShareInfo()
} }
}, },*/
// 分享到朋友圈 // 分享到朋友圈
async shareFriends() { async shareFriends() {
let that = this let that = this
@@ -142,6 +142,8 @@ export default {
await that.getSurveyTableId() await that.getSurveyTableId()
// 调用原生分享 // 调用原生分享
this.callApp() this.callApp()
//保存分享数据
this.saveShareInfo()
}, },
// 获取代理人下问卷调查信息 // 获取代理人下问卷调查信息
getSurveyList() { getSurveyList() {