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
00d07a4d
Commit
00d07a4d
authored
May 07, 2020
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
注册用户埋点
parent
ac441f0d
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
63 additions
and
8 deletions
+63
-8
templateMobile1.vue
src/views/channelpage/templateMobile1.vue
+4
-1
emailRegisterCmpt.vue
src/views/loginregister/pages/emailRegisterCmpt.vue
+4
-1
mobileRegisterCmpt.vue
src/views/loginregister/pages/mobileRegisterCmpt.vue
+3
-1
detail.vue
src/views/mobile/activityApply/detail.vue
+16
-1
bindCmpt.vue
src/views/mobile/loginregister/bindCmpt.vue
+4
-1
emRegister.vue
src/views/mobile/loginregister/emRegister.vue
+4
-1
phoneRegister.vue
src/views/mobile/loginregister/phoneRegister.vue
+3
-1
secondStage.vue
src/views/mobile/proFeedback/secondStage.vue
+12
-0
secondStageDetail.vue
src/views/mobile/proFeedback/secondStageDetail.vue
+13
-1
No files found.
src/views/channelpage/templateMobile1.vue
View file @
00d07a4d
...
...
@@ -120,7 +120,10 @@
registerChannel
:
this
.
channelData
.
channelId
,
registerPcOrApp
:
1
,
registerSource
:
1
,
registerType
:
0
registerType
:
0
,
rDeviceId
:
this
.
publicFun
.
getCookie
(
"rDeviceId"
)
?
JSON
.
parse
(
this
.
Base64
.
decode
(
this
.
publicFun
.
getCookie
(
"rDeviceId"
)))
:
null
,
rEmpId
:
this
.
publicFun
.
getCookie
(
"rEmpId"
)
?
JSON
.
parse
(
this
.
Base64
.
decode
(
this
.
publicFun
.
getCookie
(
"rEmpId"
)))
:
null
,
rTargetType
:
this
.
publicFun
.
getCookie
(
"rTargetType"
)
?
JSON
.
parse
(
this
.
Base64
.
decode
(
this
.
publicFun
.
getCookie
(
"rTargetType"
)))
:
null
};
this
.
fullscreenLoading
=
true
;
api
.
resultUserRegisterAxios
(
params
).
then
((
res
)
=>
{
...
...
src/views/loginregister/pages/emailRegisterCmpt.vue
View file @
00d07a4d
...
...
@@ -155,7 +155,10 @@
registerPcOrApp
:
0
,
registerSource
:
this
.
$route
.
query
.
refereesId
>
0
?
2
:
this
.
$route
.
query
.
registerChannel
>
0
?
1
:
0
,
registerType
:
1
registerType
:
1
,
rDeviceId
:
this
.
publicFun
.
getCookie
(
"rDeviceId"
)
?
JSON
.
parse
(
this
.
Base64
.
decode
(
this
.
publicFun
.
getCookie
(
"rDeviceId"
)))
:
null
,
rEmpId
:
this
.
publicFun
.
getCookie
(
"rEmpId"
)
?
JSON
.
parse
(
this
.
Base64
.
decode
(
this
.
publicFun
.
getCookie
(
"rEmpId"
)))
:
null
,
rTargetType
:
this
.
publicFun
.
getCookie
(
"rTargetType"
)
?
JSON
.
parse
(
this
.
Base64
.
decode
(
this
.
publicFun
.
getCookie
(
"rTargetType"
)))
:
null
},
params1
=
this
.
$route
.
query
.
isEmail
?
this
.
outSideParams
:
null
;
this
.
fullscreenLoading
=
true
;
api
.
resultUserRegisterAxios
(
params
,
params1
).
then
((
res
)
=>
{
...
...
src/views/loginregister/pages/mobileRegisterCmpt.vue
View file @
00d07a4d
...
...
@@ -149,7 +149,9 @@
registerPcOrApp
:
0
,
registerSource
:
this
.
$route
.
query
.
refereesId
>
0
?
2
:
this
.
$route
.
query
.
registerChannel
>
0
?
1
:
0
,
// registerType:0
rDeviceId
:
this
.
publicFun
.
getCookie
(
"rDeviceId"
)
?
JSON
.
parse
(
this
.
Base64
.
decode
(
this
.
publicFun
.
getCookie
(
"rDeviceId"
)))
:
null
,
rEmpId
:
this
.
publicFun
.
getCookie
(
"rEmpId"
)
?
JSON
.
parse
(
this
.
Base64
.
decode
(
this
.
publicFun
.
getCookie
(
"rEmpId"
)))
:
null
,
rTargetType
:
this
.
publicFun
.
getCookie
(
"rTargetType"
)
?
JSON
.
parse
(
this
.
Base64
.
decode
(
this
.
publicFun
.
getCookie
(
"rTargetType"
)))
:
null
},
params1
=
this
.
$route
.
query
.
isEmail
?
this
.
outSideParams
:
null
;
this
.
fullscreenLoading
=
true
;
api
.
resultUserRegisterAxios
(
params
,
params1
).
then
((
res
)
=>
{
...
...
src/views/mobile/activityApply/detail.vue
View file @
00d07a4d
...
...
@@ -363,7 +363,17 @@
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
);
}
}
},
created
(){
...
...
@@ -372,6 +382,11 @@
},
mounted
(){
this
.
getDetailInfo
();
if
(
this
.
$route
.
query
.
rTargetType
){
this
.
publicFun
.
setUserInfoCookie
(
"rTargetType"
,
this
.
$route
.
query
.
rTargetType
);
}
this
.
setCookieFunc
();
}
}
</
script
>
...
...
src/views/mobile/loginregister/bindCmpt.vue
View file @
00d07a4d
...
...
@@ -163,7 +163,10 @@
accountName
:
this
.
yzCodeForm
.
phone
,
code
:
this
.
yzCodeForm
.
code
,
appId
:
"wx725d0e129f703106"
,
openid
:
this
.
$route
.
query
.
id
openid
:
this
.
$route
.
query
.
id
,
rDeviceId
:
this
.
publicFun
.
getCookie
(
"rDeviceId"
)
?
JSON
.
parse
(
this
.
Base64
.
decode
(
this
.
publicFun
.
getCookie
(
"rDeviceId"
)))
:
null
,
rEmpId
:
this
.
publicFun
.
getCookie
(
"rEmpId"
)
?
JSON
.
parse
(
this
.
Base64
.
decode
(
this
.
publicFun
.
getCookie
(
"rEmpId"
)))
:
null
,
rTargetType
:
this
.
publicFun
.
getCookie
(
"rTargetType"
)
?
JSON
.
parse
(
this
.
Base64
.
decode
(
this
.
publicFun
.
getCookie
(
"rTargetType"
)))
:
null
}
this
.
fullscreenLoading
=
true
;
...
...
src/views/mobile/loginregister/emRegister.vue
View file @
00d07a4d
...
...
@@ -144,7 +144,10 @@
registerPcOrApp
:
1
,
registerSource
:
this
.
$route
.
query
.
refereesId
>
0
?
2
:
this
.
$route
.
query
.
registerChannel
>
0
?
1
:
0
,
registerType
:
1
registerType
:
1
,
rDeviceId
:
this
.
publicFun
.
getCookie
(
"rDeviceId"
)
?
JSON
.
parse
(
this
.
Base64
.
decode
(
this
.
publicFun
.
getCookie
(
"rDeviceId"
)))
:
null
,
rEmpId
:
this
.
publicFun
.
getCookie
(
"rEmpId"
)
?
JSON
.
parse
(
this
.
Base64
.
decode
(
this
.
publicFun
.
getCookie
(
"rEmpId"
)))
:
null
,
rTargetType
:
this
.
publicFun
.
getCookie
(
"rTargetType"
)
?
JSON
.
parse
(
this
.
Base64
.
decode
(
this
.
publicFun
.
getCookie
(
"rTargetType"
)))
:
null
},
params1
=
this
.
$route
.
query
.
isEmail
?
this
.
outSideParams
:
null
;
this
.
fullscreenLoading
=
true
;
api
.
resultUserRegisterAxios
(
params
,
params1
).
then
((
res
)
=>
{
...
...
src/views/mobile/loginregister/phoneRegister.vue
View file @
00d07a4d
...
...
@@ -146,7 +146,9 @@
registerPcOrApp
:
1
,
registerSource
:
this
.
$route
.
query
.
refereesId
>
0
?
2
:
this
.
$route
.
query
.
registerChannel
>
0
?
1
:
0
,
// registerType:0
rDeviceId
:
this
.
publicFun
.
getCookie
(
"rDeviceId"
)
?
JSON
.
parse
(
this
.
Base64
.
decode
(
this
.
publicFun
.
getCookie
(
"rDeviceId"
)))
:
null
,
rEmpId
:
this
.
publicFun
.
getCookie
(
"rEmpId"
)
?
JSON
.
parse
(
this
.
Base64
.
decode
(
this
.
publicFun
.
getCookie
(
"rEmpId"
)))
:
null
,
rTargetType
:
this
.
publicFun
.
getCookie
(
"rTargetType"
)
?
JSON
.
parse
(
this
.
Base64
.
decode
(
this
.
publicFun
.
getCookie
(
"rTargetType"
)))
:
null
},
params1
=
this
.
$route
.
query
.
isEmail
?
this
.
outSideParams
:
null
;
this
.
fullscreenLoading
=
true
;
api
.
resultUserRegisterAxios
(
params
,
params1
).
then
((
res
)
=>
{
...
...
src/views/mobile/proFeedback/secondStage.vue
View file @
00d07a4d
...
...
@@ -784,6 +784,17 @@
},
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
(){
// ES6 标准
...
...
@@ -801,6 +812,7 @@
globalMsg
.
$on
(
"scrollToTop"
,()
=>
{
this
.
checkWxScroll
();
})
this
.
setCookieFunc
();
// this.publicFun.setUserInfoCookie("projecttype",0);
},
beforeRouteLeave
(
to
,
from
,
next
){
...
...
src/views/mobile/proFeedback/secondStageDetail.vue
View file @
00d07a4d
...
...
@@ -989,11 +989,23 @@
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
.
getProjectDetail
();
this
.
setCookieFunc
();
globalMsg
.
$on
(
"scrollToTop"
,()
=>
{
this
.
checkWxScroll
();
})
...
...
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