Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
front-end-dev
techbook
Commits
dfa666ce
Commit
dfa666ce
authored
Aug 28, 2020
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
埋点
parent
3ec62b3a
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
83 additions
and
121 deletions
+83
-121
applysuccess.vue
src/views/mobile/activityApply/applysuccess.vue
+6
-5
detail.vue
src/views/mobile/activityApply/detail.vue
+6
-21
list.vue
src/views/mobile/activityApply/list.vue
+5
-4
redEnvelopeDetail.vue
src/views/mobile/activityApply/redEnvelopeDetail.vue
+4
-3
redEnvelopeWechat.vue
src/views/mobile/activityApply/redEnvelopeWechat.vue
+4
-4
detail.vue
src/views/mobile/article/detail.vue
+7
-19
detail.vue
src/views/mobile/guess/detail.vue
+4
-3
rank.vue
src/views/mobile/guess/rank.vue
+4
-3
success.vue
src/views/mobile/guess/success.vue
+4
-3
index.vue
src/views/mobile/index/index.vue
+4
-3
list.vue
src/views/mobile/industryReport/list.vue
+5
-4
secondStage.vue
src/views/mobile/proFeedback/secondStage.vue
+4
-15
secondStageDetail.vue
src/views/mobile/proFeedback/secondStageDetail.vue
+4
-16
detail.vue
src/views/mobile/topic/detail.vue
+8
-6
discussDialog.vue
src/views/mobile/topic/discussDialog.vue
+7
-6
discussdetail.vue
src/views/mobile/topic/discussdetail.vue
+7
-6
No files found.
src/views/mobile/activityApply/applysuccess.vue
View file @
dfa666ce
...
...
@@ -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
();
...
...
src/views/mobile/activityApply/detail.vue
View file @
dfa666ce
...
...
@@ -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
();
},
...
...
src/views/mobile/activityApply/list.vue
View file @
dfa666ce
...
...
@@ -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);
},
...
...
src/views/mobile/activityApply/redEnvelopeDetail.vue
View file @
dfa666ce
...
...
@@ -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
=>
{
...
...
src/views/mobile/activityApply/redEnvelopeWechat.vue
View file @
dfa666ce
...
...
@@ -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
...
...
src/views/mobile/article/detail.vue
View file @
dfa666ce
...
...
@@ -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
();
})
...
...
src/views/mobile/guess/detail.vue
View file @
dfa666ce
...
...
@@ -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
...
...
src/views/mobile/guess/rank.vue
View file @
dfa666ce
...
...
@@ -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
...
...
src/views/mobile/guess/success.vue
View file @
dfa666ce
...
...
@@ -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
...
...
src/views/mobile/index/index.vue
View file @
dfa666ce
...
...
@@ -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
);
...
...
src/views/mobile/industryReport/list.vue
View file @
dfa666ce
...
...
@@ -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
...
...
src/views/mobile/proFeedback/secondStage.vue
View file @
dfa666ce
...
...
@@ -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
){
...
...
src/views/mobile/proFeedback/secondStageDetail.vue
View file @
dfa666ce
...
...
@@ -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
();
})
...
...
src/views/mobile/topic/detail.vue
View file @
dfa666ce
...
...
@@ -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
...
...
src/views/mobile/topic/discussDialog.vue
View file @
dfa666ce
...
...
@@ -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 标准
...
...
src/views/mobile/topic/discussdetail.vue
View file @
dfa666ce
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment