Commit dfa666ce authored by zhangyanni's avatar zhangyanni

埋点

parent 3ec62b3a
......@@ -212,7 +212,7 @@
var that = this;
setTimeout(function(){
that.dialogVisible = false;
},3000)
},3000);
this.maiDianFunc(2,data);
},
......@@ -222,10 +222,10 @@
type:type==1?"report-channel-read":"report-channel-share",
parameters:{
channelId:this.$route.query.id,
rDeviceId:this.$route.query.rDeviceId?this.$route.query.rDeviceId:undefined,
rEmpId:this.$route.query.rEmpId?this.$route.query.rEmpId:undefined,
rTargetType:this.$route.query.rTargetType?this.$route.query.rTargetType:undefined,
targetType:data?data:undefined
rDeviceId:this.publicFun.getCookie("rDeviceId")&&this.publicFun.getCookie("rDeviceId")!=undefined ? this.publicFun.getCookie("rDeviceId") : null,
rEmpId:this.publicFun.getCookie("rEmpId")&&this.publicFun.getCookie("rEmpId")!=undefined ? this.publicFun.getCookie("rEmpId") : null,
rTargetType:this.publicFun.getCookie("rTargetType")&&this.publicFun.getCookie("rTargetType")!=undefined ? this.publicFun.getCookie("rTargetType") : null,
targetType:data?data:null
},
purl:this.pathfrom=='/'?undefined:this.documentFront+this.pathfrom,
curl:document.location.href
......@@ -278,6 +278,7 @@
},
},
mounted(){
this.publicFun.setCookieFunc(this.$route.query);
this.getDocumentFunc();
this.getDetailInfo();
......
......@@ -295,18 +295,16 @@
this.maiDianFunc(2,data);
},
//埋点
maiDianFunc(type,data){
let params = {
type:type==1?"report-channel-read":"report-channel-share",
parameters:{
channelId:this.$route.query.id,
rDeviceId:this.$route.query.rDeviceId?this.$route.query.rDeviceId:undefined,
rEmpId:this.$route.query.rEmpId?this.$route.query.rEmpId:undefined,
rTargetType:this.$route.query.rTargetType?this.$route.query.rTargetType:undefined,
targetType:data?data:undefined
rDeviceId:this.publicFun.getCookie("rDeviceId")&&this.publicFun.getCookie("rDeviceId")!=undefined ? this.publicFun.getCookie("rDeviceId") : null,
rEmpId:this.publicFun.getCookie("rEmpId")&&this.publicFun.getCookie("rEmpId")!=undefined ? this.publicFun.getCookie("rEmpId") : null,
rTargetType:this.publicFun.getCookie("rTargetType")&&this.publicFun.getCookie("rTargetType")!=undefined ? this.publicFun.getCookie("rTargetType") : null,
targetType:data?data:null
},
purl:this.pathfrom=='/'?undefined:this.documentFront+this.pathfrom,
curl:document.location.href
......@@ -435,17 +433,6 @@
this.applyVisible= false;
this.getDetailInfo();
},
setCookieFunc(){
if(this.$route.query.rTargetType){
this.publicFun.setUserInfoCookie("rTargetType",this.$route.query.rTargetType);
}
if(this.$route.query.rDeviceId){
this.publicFun.setUserInfoCookie("rDeviceId",this.$route.query.rDeviceId);
}
if(this.$route.query.rEmpId){
this.publicFun.setUserInfoCookie("rEmpId",this.$route.query.rEmpId);
}
},
//获取浏览器前缀
getDocumentFunc(){
......@@ -500,11 +487,9 @@
},
mounted(){
this.publicFun.setCookieFunc(this.$route.query);
this.getDetailInfo();
if(this.$route.query.rTargetType){
this.publicFun.setUserInfoCookie("rTargetType",this.$route.query.rTargetType);
}
this.setCookieFunc();
},
......
......@@ -461,10 +461,10 @@
type:"report-channel-list-click",
parameters:{
channelId:this.currentData.channelId,
rDeviceId:this.$route.query.rDeviceId?this.$route.query.rDeviceId:undefined,
rEmpId:this.$route.query.rEmpId&&this.$route.query.rEmpId!= "undefined"?this.$route.query.rEmpId:undefined,
rTargetType:this.$route.query.rTargetType?this.$route.query.rTargetType:undefined,
targetType:targtType?targtType:undefined
rDeviceId:this.publicFun.getCookie("rDeviceId")&&this.publicFun.getCookie("rDeviceId")!=undefined ? this.publicFun.getCookie("rDeviceId") : null,
rEmpId:this.publicFun.getCookie("rEmpId")&&this.publicFun.getCookie("rEmpId")!=undefined ? this.publicFun.getCookie("rEmpId") : null,
rTargetType:this.publicFun.getCookie("rTargetType")&&this.publicFun.getCookie("rTargetType")!=undefined ? this.publicFun.getCookie("rTargetType") : null,
targetType:targtType?targtType:null
},
purl:this.pathfrom=='/'?undefined:this.documentFront+this.pathfrom,
curl:document.location.href
......@@ -496,6 +496,7 @@
},
},
mounted() {
this.publicFun.setCookieFunc(this.$route.query);
this.getInitFunc();
// this.publicFun.setUserInfoCookie("projecttype",0);
},
......
......@@ -331,9 +331,9 @@
type:type==1?"report-channel-read":"report-red-pack-share",
parameters:{
channelId:this.$route.query.id,
rDeviceId:this.$route.query.rDeviceId?this.$route.query.rDeviceId:undefined,
rEmpId:this.$route.query.rEmpId?this.$route.query.rEmpId:undefined,
rTargetType:this.$route.query.rTargetType?this.$route.query.rTargetType:undefined,
rDeviceId:this.publicFun.getCookie("rDeviceId")&&this.publicFun.getCookie("rDeviceId")!=undefined ? this.publicFun.getCookie("rDeviceId") : null,
rEmpId:this.publicFun.getCookie("rEmpId")&&this.publicFun.getCookie("rEmpId")!=undefined ? this.publicFun.getCookie("rEmpId") : null,
rTargetType:this.publicFun.getCookie("rTargetType")&&this.publicFun.getCookie("rTargetType")!=undefined ? this.publicFun.getCookie("rTargetType") : null,
targetType:data?data:undefined
},
purl:this.pathfrom=='/'?undefined:this.documentFront+this.pathfrom,
......@@ -368,6 +368,7 @@
}
},
mounted() {
this.publicFun.setCookieFunc(this.$route.query);
var that = this;
// ES6 标准
nativeshare().then(res => {
......
......@@ -363,10 +363,10 @@
type:"report-channel-read",
parameters:{
channelId:this.$route.query.id,
rDeviceId:this.$route.query.rDeviceId?this.$route.query.rDeviceId:undefined,
rEmpId:this.$route.query.rEmpId&&this.$route.query.rEmpId!= "undefined"?this.$route.query.rEmpId:undefined,
rTargetType:this.$route.query.rTargetType?this.$route.query.rTargetType:undefined,
targetType:data?data:undefined
rDeviceId:this.publicFun.getCookie("rDeviceId")&&this.publicFun.getCookie("rDeviceId")!=undefined ? this.publicFun.getCookie("rDeviceId") : null,
rEmpId:this.publicFun.getCookie("rEmpId")&&this.publicFun.getCookie("rEmpId")!=undefined ? this.publicFun.getCookie("rEmpId") : null,
rTargetType:this.publicFun.getCookie("rTargetType")&&this.publicFun.getCookie("rTargetType")!=undefined ? this.publicFun.getCookie("rTargetType") : null,
targetType:data?data:null
},
purl:this.pathfrom=='/'?undefined:this.documentFront+this.pathfrom,
curl:document.location.href
......
......@@ -787,9 +787,9 @@
type:type==1?"report-article-recommend-detail":"report-article-share",
parameters:{
articleId:articleId?articleId:this.$route.query.id,
rDeviceId:this.$route.query.rDeviceId?this.$route.query.rDeviceId:undefined,
rEmpId:this.$route.query.rEmpId?this.$route.query.rEmpId:undefined,
rTargetType:this.$route.query.rTargetType?this.$route.query.rTargetType:undefined,
rDeviceId:this.publicFun.getCookie("rDeviceId")&&this.publicFun.getCookie("rDeviceId")!=undefined ? this.publicFun.getCookie("rDeviceId") : null,
rEmpId:this.publicFun.getCookie("rEmpId")&&this.publicFun.getCookie("rEmpId")!=undefined ? this.publicFun.getCookie("rEmpId") : null,
rTargetType:this.publicFun.getCookie("rTargetType")&&this.publicFun.getCookie("rTargetType")!=undefined ? this.publicFun.getCookie("rTargetType") : null,
targetType:data?data:undefined
},
purl:this.pathfrom=='/'?undefined:this.documentFront+this.pathfrom,
......@@ -870,18 +870,6 @@
})
},
setCookieFunc(){
if(this.$route.query.rTargetType){
this.publicFun.setUserInfoCookie("rTargetType",this.$route.query.rTargetType);
}
if(this.$route.query.rDeviceId){
this.publicFun.setUserInfoCookie("rDeviceId",this.$route.query.rDeviceId);
}
if(this.$route.query.rEmpId){
this.publicFun.setUserInfoCookie("rEmpId",this.$route.query.rEmpId);
}
},
handleToArticle(data){
this.maiDianFunc(1,'',data.contentId);
this.scrollToTopPage();
......@@ -942,9 +930,9 @@
type:"report-article-detail",
parameters:{
articleId:this.$route.query.id,
rDeviceId:this.$route.query.rDeviceId?this.$route.query.rDeviceId:undefined,
rEmpId:this.$route.query.rEmpId?this.$route.query.rEmpId:undefined,
rTargetType:this.$route.query.rTargetType?this.$route.query.rTargetType:undefined,
rDeviceId:this.publicFun.getCookie("rDeviceId")&&this.publicFun.getCookie("rDeviceId")!=undefined ? this.publicFun.getCookie("rDeviceId") : null,
rEmpId:this.publicFun.getCookie("rEmpId")&&this.publicFun.getCookie("rEmpId")!=undefined ? this.publicFun.getCookie("rEmpId") : null,
rTargetType:this.publicFun.getCookie("rTargetType")&&this.publicFun.getCookie("rTargetType")!=undefined ? this.publicFun.getCookie("rTargetType") : null,
targetType:data?data:undefined
},
purl:this.pathfrom=='/'?undefined:this.documentFront+this.pathfrom,
......@@ -979,10 +967,10 @@
},
mounted(){
this.publicFun.setCookieFunc(this.$route.query);
this.getArticleDetail();
this.initMaiDianFunc();
this.getRecommendListDetail();
this.setCookieFunc();
globalMsg.$on("scrollToTop",()=>{
this.checkWxScroll();
})
......
......@@ -491,9 +491,9 @@
type: type == 1 ? "report-guess-read" : "report-guess-share",
parameters: {
guessId: this.$route.query.id,
rDeviceId: this.$route.query.rDeviceId ? this.$route.query.rDeviceId : null,
rEmpId: this.$route.query.rEmpId ? this.$route.query.rEmpId : null,
rTargetType: this.$route.query.rTargetType ? this.$route.query.rTargetType : null,
rDeviceId:this.publicFun.getCookie("rDeviceId")&&this.publicFun.getCookie("rDeviceId")!=undefined ? this.publicFun.getCookie("rDeviceId") : null,
rEmpId:this.publicFun.getCookie("rEmpId")&&this.publicFun.getCookie("rEmpId")!=undefined ? this.publicFun.getCookie("rEmpId") : null,
rTargetType:this.publicFun.getCookie("rTargetType")&&this.publicFun.getCookie("rTargetType")!=undefined ? this.publicFun.getCookie("rTargetType") : null,
targetType: data ? data : null
},
purl: this.pathfrom == '/' ? undefined : this.documentFront + this.pathfrom,
......@@ -574,6 +574,7 @@
},
mounted() {
this.publicFun.setCookieFunc(this.$route.query);
// ES6 标准
nativeshare().then(res => {
NativeShare = res.default
......
......@@ -400,9 +400,9 @@
let params = {
type: type == 2 ? "report-guess-rank-share" : "",
parameters: {
rDeviceId: this.$route.query.rDeviceId ? this.$route.query.rDeviceId : null,
rEmpId: this.$route.query.rEmpId ? this.$route.query.rEmpId : null,
rTargetType: this.$route.query.rTargetType ? this.$route.query.rTargetType : null,
rDeviceId:this.publicFun.getCookie("rDeviceId")&&this.publicFun.getCookie("rDeviceId")!=undefined ? this.publicFun.getCookie("rDeviceId") : null,
rEmpId:this.publicFun.getCookie("rEmpId")&&this.publicFun.getCookie("rEmpId")!=undefined ? this.publicFun.getCookie("rEmpId") : null,
rTargetType:this.publicFun.getCookie("rTargetType")&&this.publicFun.getCookie("rTargetType")!=undefined ? this.publicFun.getCookie("rTargetType") : null,
targetType: data ? data : null
},
purl: this.pathfrom == '/' ? undefined : this.documentFront + this.pathfrom,
......@@ -420,6 +420,7 @@
},
},
mounted() {
this.publicFun.setCookieFunc(this.$route.query);
// ES6 标准
nativeshare().then(res => {
NativeShare = res.default
......
......@@ -64,9 +64,9 @@
type: type == 1 ? "report-guess-read" : "report-guess-share",
parameters: {
guessId: this.$route.query.id,
rDeviceId: this.$route.query.rDeviceId ? this.$route.query.rDeviceId : null,
rEmpId: this.$route.query.rEmpId ? this.$route.query.rEmpId : null,
rTargetType: this.$route.query.rTargetType ? this.$route.query.rTargetType : null,
rDeviceId:this.publicFun.getCookie("rDeviceId")&&this.publicFun.getCookie("rDeviceId")!=undefined ? this.publicFun.getCookie("rDeviceId") : null,
rEmpId:this.publicFun.getCookie("rEmpId")&&this.publicFun.getCookie("rEmpId")!=undefined ? this.publicFun.getCookie("rEmpId") : null,
rTargetType:this.publicFun.getCookie("rTargetType")&&this.publicFun.getCookie("rTargetType")!=undefined ? this.publicFun.getCookie("rTargetType") : null,
targetType: data ? data : null
},
purl: this.pathfrom == '/' ? undefined : this.documentFront + this.pathfrom,
......@@ -305,6 +305,7 @@
},
},
mounted() {
this.publicFun.setCookieFunc(this.$route.query);
// ES6 标准
nativeshare().then(res => {
NativeShare = res.default
......
......@@ -1301,9 +1301,9 @@
type:"report-report-file-share-index",
parameters:{
reportId:this.currentData.reportId,
rDeviceId:this.$route.query.rDeviceId?this.$route.query.rDeviceId:undefined,
rEmpId:this.$route.query.rEmpId?this.$route.query.rEmpId:undefined,
rTargetType:this.$route.query.rTargetType?this.$route.query.rTargetType:undefined,
rDeviceId:this.publicFun.getCookie("rDeviceId")&&this.publicFun.getCookie("rDeviceId")!=undefined ? this.publicFun.getCookie("rDeviceId") : null,
rEmpId:this.publicFun.getCookie("rEmpId")&&this.publicFun.getCookie("rEmpId")!=undefined ? this.publicFun.getCookie("rEmpId") : null,
rTargetType:this.publicFun.getCookie("rTargetType")&&this.publicFun.getCookie("rTargetType")!=undefined ? this.publicFun.getCookie("rTargetType") : null,
targetType:data?data:undefined
},
purl:this.pathfrom=='/'?undefined:this.documentFront+this.pathfrom,
......@@ -1619,6 +1619,7 @@
},
},
mounted() {
this.publicFun.setCookieFunc(this.$route.query);
var that = this;
this.publicFun.setUserInfoCookie("indexTop",0);
this.getSliderList(3);
......
......@@ -280,10 +280,10 @@
type:type?"report-report-file-read":"report-report-file-share",
parameters:{
reportId:this.currentData.reportId,
rDeviceId:this.$route.query.rDeviceId?this.$route.query.rDeviceId:undefined,
rEmpId:this.$route.query.rEmpId?this.$route.query.rEmpId:undefined,
rTargetType:this.$route.query.rTargetType?this.$route.query.rTargetType:undefined,
targetType:data?data:undefined
rDeviceId:this.publicFun.getCookie("rDeviceId")&&this.publicFun.getCookie("rDeviceId")!=undefined ? this.publicFun.getCookie("rDeviceId") : null,
rEmpId:this.publicFun.getCookie("rEmpId")&&this.publicFun.getCookie("rEmpId")!=undefined ? this.publicFun.getCookie("rEmpId") : null,
rTargetType:this.publicFun.getCookie("rTargetType")&&this.publicFun.getCookie("rTargetType")!=undefined ? this.publicFun.getCookie("rTargetType") : null,
targetType:data?data:null
},
purl:this.pathfrom=='/'?undefined:this.documentFront+this.pathfrom,
curl:document.location.href
......@@ -581,6 +581,7 @@
},
},
mounted() {
this.publicFun.setCookieFunc(this.$route.query);
// ES6 标准
nativeshare().then(res => {
NativeShare = res.default
......
......@@ -690,9 +690,9 @@
parameters:{
activityId:this.$route.query.id,
projectId:type==2?undefined:this.currentData?this.currentData.projectId:undefined,
rDeviceId:this.$route.query.rDeviceId?this.$route.query.rDeviceId:undefined,
rEmpId:this.$route.query.rEmpId?this.$route.query.rEmpId:undefined,
rTargetType:this.$route.query.rTargetType?this.$route.query.rTargetType:undefined,
rDeviceId:this.publicFun.getCookie("rDeviceId")&&this.publicFun.getCookie("rDeviceId")!=undefined ? this.publicFun.getCookie("rDeviceId") : null,
rEmpId:this.publicFun.getCookie("rEmpId")&&this.publicFun.getCookie("rEmpId")!=undefined ? this.publicFun.getCookie("rEmpId") : null,
rTargetType:this.publicFun.getCookie("rTargetType")&&this.publicFun.getCookie("rTargetType")!=undefined ? this.publicFun.getCookie("rTargetType") : null,
targetType:data?data:undefined
},
purl:this.pathfrom=='/'?undefined:this.documentFront+this.pathfrom,
......@@ -825,19 +825,9 @@
}, 1);
}
},
setCookieFunc(){
if(this.$route.query.rTargetType){
this.publicFun.setUserInfoCookie("rTargetType",this.$route.query.rTargetType);
}
if(this.$route.query.rDeviceId){
this.publicFun.setUserInfoCookie("rDeviceId",this.$route.query.rDeviceId);
}
if(this.$route.query.rEmpId){
this.publicFun.setUserInfoCookie("rEmpId",this.$route.query.rEmpId);
}
}
},
mounted(){
this.publicFun.setCookieFunc(this.$route.query);
// ES6 标准
nativeshare().then(res => {
NativeShare = res.default
......@@ -853,7 +843,6 @@
globalMsg.$on("scrollToTop",()=>{
this.checkWxScroll();
})
this.setCookieFunc();
// this.publicFun.setUserInfoCookie("projecttype",0);
},
beforeRouteLeave(to,from,next){
......
......@@ -929,9 +929,9 @@
parameters:{
activityId:this.$route.query.activityId,
projectId:this.$route.query.proId,
rDeviceId:this.$route.query.rDeviceId?this.$route.query.rDeviceId:undefined,
rEmpId:this.$route.query.rEmpId?this.$route.query.rEmpId:undefined,
rTargetType:this.$route.query.rTargetType?this.$route.query.rTargetType:undefined,
rDeviceId:this.publicFun.getCookie("rDeviceId")&&this.publicFun.getCookie("rDeviceId")!=undefined ? this.publicFun.getCookie("rDeviceId") : null,
rEmpId:this.publicFun.getCookie("rEmpId")&&this.publicFun.getCookie("rEmpId")!=undefined ? this.publicFun.getCookie("rEmpId") : null,
rTargetType:this.publicFun.getCookie("rTargetType")&&this.publicFun.getCookie("rTargetType")!=undefined ? this.publicFun.getCookie("rTargetType") : null,
targetType:data?data:undefined
},
purl:this.pathfrom=='/'?undefined:this.documentFront+this.pathfrom,
......@@ -1035,23 +1035,11 @@
this.$toast(err);
})
},
setCookieFunc(){
if(this.$route.query.rTargetType){
this.publicFun.setUserInfoCookie("rTargetType",this.$route.query.rTargetType);
}
if(this.$route.query.rDeviceId){
this.publicFun.setUserInfoCookie("rDeviceId",this.$route.query.rDeviceId);
}
if(this.$route.query.rEmpId){
this.publicFun.setUserInfoCookie("rEmpId",this.$route.query.rEmpId);
}
}
},
mounted(){
this.publicFun.setCookieFunc(this.$route.query);
this.getProjectDetail();
this.setCookieFunc();
globalMsg.$on("scrollToTop",()=>{
this.checkWxScroll();
})
......
......@@ -1080,9 +1080,9 @@
parameters: {
topicId: type!=4?this.$route.query.id:discussId,
topicDiscussId: type!=4&&discussId ? discussId : undefined,
rDeviceId: this.$route.query.rDeviceId ? this.$route.query.rDeviceId : undefined,
rEmpId: this.$route.query.rEmpId ? this.$route.query.rEmpId : undefined,
rTargetType: this.$route.query.rTargetType ? this.$route.query.rTargetType : undefined,
rDeviceId:this.publicFun.getCookie("rDeviceId")&&this.publicFun.getCookie("rDeviceId")!=undefined ? this.publicFun.getCookie("rDeviceId") : null,
rEmpId:this.publicFun.getCookie("rEmpId")&&this.publicFun.getCookie("rEmpId")!=undefined ? this.publicFun.getCookie("rEmpId") : null,
rTargetType:this.publicFun.getCookie("rTargetType")&&this.publicFun.getCookie("rTargetType")!=undefined ? this.publicFun.getCookie("rTargetType") : null,
targetType: data ? data : undefined
},
purl: this.pathfrom == '/' ? undefined : this.documentFront + this.pathfrom,
......@@ -1396,9 +1396,9 @@
type: "report-topic-detail",
parameters: {
topicId: this.$route.query.id,
rDeviceId: this.$route.query.rDeviceId ? this.$route.query.rDeviceId : undefined,
rEmpId: this.$route.query.rEmpId ? this.$route.query.rEmpId : undefined,
rTargetType: this.$route.query.rTargetType ? this.$route.query.rTargetType : undefined,
rDeviceId:this.publicFun.getCookie("rDeviceId")&&this.publicFun.getCookie("rDeviceId")!=undefined ? this.publicFun.getCookie("rDeviceId") : null,
rEmpId:this.publicFun.getCookie("rEmpId")&&this.publicFun.getCookie("rEmpId")!=undefined ? this.publicFun.getCookie("rEmpId") : null,
rTargetType:this.publicFun.getCookie("rTargetType")&&this.publicFun.getCookie("rTargetType")!=undefined ? this.publicFun.getCookie("rTargetType") : null,
targetType: data ? data : undefined
},
purl: this.pathfrom == '/' ? undefined : this.documentFront + this.pathfrom,
......@@ -1424,6 +1424,8 @@
}
},
mounted() {
this.publicFun.setCookieFunc(this.$route.query);
// ES6 标准
nativeshare().then(res => {
NativeShare = res.default
......
......@@ -277,9 +277,9 @@
parameters:{
topicId:this.$route.query.id,
topicDiscussId:this.discussId,
rDeviceId:this.$route.query.rDeviceId?this.$route.query.rDeviceId:undefined,
rEmpId:this.$route.query.rEmpId?this.$route.query.rEmpId:undefined,
rTargetType:this.$route.query.rTargetType?this.$route.query.rTargetType:undefined,
rDeviceId:this.publicFun.getCookie("rDeviceId")&&this.publicFun.getCookie("rDeviceId")!=undefined ? this.publicFun.getCookie("rDeviceId") : null,
rEmpId:this.publicFun.getCookie("rEmpId")&&this.publicFun.getCookie("rEmpId")!=undefined ? this.publicFun.getCookie("rEmpId") : null,
rTargetType:this.publicFun.getCookie("rTargetType")&&this.publicFun.getCookie("rTargetType")!=undefined ? this.publicFun.getCookie("rTargetType") : null,
targetType:data?data:undefined
},
purl:this.pathfrom=='/'?undefined:this.documentFront+this.pathfrom,
......@@ -949,9 +949,9 @@
parameters:{
topicId:this.$route.query.id,
topicDiscussId:this.discussId,
rDeviceId:this.$route.query.rDeviceId?this.$route.query.rDeviceId:undefined,
rEmpId:this.$route.query.rEmpId?this.$route.query.rEmpId:undefined,
rTargetType:this.$route.query.rTargetType?this.$route.query.rTargetType:undefined,
rDeviceId:this.publicFun.getCookie("rDeviceId")&&this.publicFun.getCookie("rDeviceId")!=undefined ? this.publicFun.getCookie("rDeviceId") : null,
rEmpId:this.publicFun.getCookie("rEmpId")&&this.publicFun.getCookie("rEmpId")!=undefined ? this.publicFun.getCookie("rEmpId") : null,
rTargetType:this.publicFun.getCookie("rTargetType")&&this.publicFun.getCookie("rTargetType")!=undefined ? this.publicFun.getCookie("rTargetType") : null,
targetType:data?data:undefined
},
purl:this.pathfrom=='/'?undefined:this.documentFront+this.pathfrom,
......@@ -983,6 +983,7 @@
},
mounted() {
this.publicFun.setCookieFunc(this.$route.query);
this.discussDetailId = this.discussId;
if(this.discussId>0){
// ES6 标准
......
......@@ -283,9 +283,9 @@
parameters:{
topicId:this.$route.query.id,
topicDiscussId:this.$route.query.disId,
rDeviceId:this.$route.query.rDeviceId?this.$route.query.rDeviceId:undefined,
rEmpId:this.$route.query.rEmpId?this.$route.query.rEmpId:undefined,
rTargetType:this.$route.query.rTargetType?this.$route.query.rTargetType:undefined,
rDeviceId:this.publicFun.getCookie("rDeviceId")&&this.publicFun.getCookie("rDeviceId")!=undefined ? this.publicFun.getCookie("rDeviceId") : null,
rEmpId:this.publicFun.getCookie("rEmpId")&&this.publicFun.getCookie("rEmpId")!=undefined ? this.publicFun.getCookie("rEmpId") : null,
rTargetType:this.publicFun.getCookie("rTargetType")&&this.publicFun.getCookie("rTargetType")!=undefined ? this.publicFun.getCookie("rTargetType") : null,
targetType:data?data:undefined
},
purl:this.pathfrom=='/'?undefined:this.documentFront+this.pathfrom,
......@@ -966,9 +966,9 @@
parameters:{
topicId:this.$route.query.id,
topicDiscussId:this.$route.query.disId,
rDeviceId:this.$route.query.rDeviceId?this.$route.query.rDeviceId:undefined,
rEmpId:this.$route.query.rEmpId?this.$route.query.rEmpId:undefined,
rTargetType:this.$route.query.rTargetType?this.$route.query.rTargetType:undefined,
rDeviceId:this.publicFun.getCookie("rDeviceId")&&this.publicFun.getCookie("rDeviceId")!=undefined ? this.publicFun.getCookie("rDeviceId") : null,
rEmpId:this.publicFun.getCookie("rEmpId")&&this.publicFun.getCookie("rEmpId")!=undefined ? this.publicFun.getCookie("rEmpId") : null,
rTargetType:this.publicFun.getCookie("rTargetType")&&this.publicFun.getCookie("rTargetType")!=undefined ? this.publicFun.getCookie("rTargetType") : null,
targetType:data?data:undefined
},
purl:this.pathfrom=='/'?undefined:this.documentFront+this.pathfrom,
......@@ -995,6 +995,7 @@
},
mounted() {
this.publicFun.setCookieFunc(this.$route.query);
// ES6 标准
nativeshare().then(res => {
NativeShare = res.default
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment