|
|
@@ -137,6 +137,7 @@
|
|
|
status: '',
|
|
|
cover: false,
|
|
|
temperature: '',
|
|
|
+ enterprise_id:'',
|
|
|
enterprise_name:'',
|
|
|
url: {
|
|
|
getJsapiConfig: '/f/api/wechat/getJsapiConfig',
|
|
|
@@ -147,6 +148,7 @@
|
|
|
mounted() {
|
|
|
//获取链接参数
|
|
|
var query = this.$route.query;
|
|
|
+ this.enterprise_id = query.enterprise_id;
|
|
|
this.enterprise_name = query.enterprise_name;
|
|
|
this.role = getStore('role');
|
|
|
this.getJsapiConfig();
|
|
|
@@ -264,7 +266,7 @@
|
|
|
wx.onMenuShareAppMessage({
|
|
|
title: getStore('role')==='staff'?'我正在'+that.enterprise_name+'体温打卡进行每日体温记录,你也快来试试吧!':that.enterprise_name+'邀请你进行体温打卡', // 分享标题
|
|
|
desc: '', // 分享描述
|
|
|
- link: 'http://dk.hap-job.com/invitation', // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
|
|
|
+ link: 'http://dk.hap-job.com/invitation?enterprise_id='+that.enterprise_id+'&enterprise_name='+that.enterprise_name, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
|
|
|
imgUrl: '', // 分享图标
|
|
|
success: function () {
|
|
|
// 设置成功
|
|
|
@@ -277,7 +279,7 @@
|
|
|
var that = this;
|
|
|
wx.onMenuShareTimeline({
|
|
|
title: getStore('role')==='staff'?'我正在'+that.enterprise_name+'体温打卡进行每日体温记录,你也快来试试吧!':that.enterprise_name+'邀请你进行体温打卡', // 分享标题
|
|
|
- link: 'http://dk.hap-job.com/invitation', // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
|
|
|
+ link: 'http://dk.hap-job.com/invitation?enterprise_id='+that.enterprise_id+'&enterprise_name='+that.enterprise_name, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
|
|
|
imgUrl: '', // 分享图标
|
|
|
success: function () {
|
|
|
// 设置成功
|