Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
contraceptives_app
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
ynby
contraceptives_app
Commits
be33f271
Commit
be33f271
authored
Nov 09, 2021
by
gengchunlei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
前端有盟自定义访客类型埋点
parent
6eaa2721
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
28 deletions
+14
-28
manualDistribution.vue
src/views/manualDistribution/manualDistribution.vue
+6
-10
manualCollection.vue
src/views/medicalCollection/manualCollection.vue
+3
-18
myMap.vue
src/views/myMap.vue
+5
-0
yaoju_app_resident_2021_11_9.zip
yaoju_app_resident_2021_11_9.zip
+0
-0
No files found.
src/views/manualDistribution/manualDistribution.vue
View file @
be33f271
...
...
@@ -48,7 +48,6 @@
import
{
getQueryVariable
}
from
"../../utils/common"
;
import
{
getCheckShortMessage
,
getShortMessage
}
from
"../../utils/api"
;
import
NoData
from
"../component/noData"
;
export
default
{
components
:
{
NoData
},
data
()
{
...
...
@@ -69,17 +68,14 @@
}
},
created
()
{
// this.routerDetail = this.$route.query
// console.log( this.routerDetail)
// if (this.routerDetail.telephone) {
// this.formData = {
// residentName: this.routerDetail.residentName,
// idCar: this.routerDetail.idCar,
// telephone: this.routerDetail.telephone,
// }
// }
this
.
urltext
()
},
mounted
()
{
let
vm
=
this
this
.
$nextTick
(()
=>
{
vm
.
$uweb
.
setCustomVar
(
'访客来源'
,
'微信扫码'
,
0
)
})
},
methods
:
{
// 接收url后的数据
urltext
()
{
...
...
src/views/medicalCollection/manualCollection.vue
View file @
be33f271
...
...
@@ -68,7 +68,7 @@
</div>
</div>
<!--class="item-right add sub"-->
<div
class=
"sub"
@
click=
"singleSub(item)"
v-log=
"['药具领取', '确定']"
>
申请领取
</div>
<div
class=
"sub"
@
click=
"singleSub(item)"
v-log=
"['药具领取', '确定
按钮
']"
>
申请领取
</div>
</div>
</div>
</div>
...
...
@@ -119,24 +119,7 @@
},
created
()
{
this
.
routerDetail
=
this
.
$route
.
query
if
(
this
.
routerDetail
.
resource
==
'2'
)
{
this
.
$uweb
.
ready
().
then
(()
=>
{
// window._czc.push(["_setCustomVar","访客来源", "微信扫码", 0])
this
.
$uweb
.
setCustomVar
(
"访客来源"
,
"微信扫码"
,
0
)
}).
catch
(()
=>
{
})
}
else
{
this
.
$uweb
.
ready
().
then
(()
=>
{
// window._czc.push(["_setCustomVar","访客来源", "医站到家", 0])
this
.
$uweb
.
setCustomVar
(
"访客来源"
,
"医站到家"
,
0
)
}).
catch
(()
=>
{
})
}
// this.sessionInfo = JSON.parse(window.sessionStorage.getItem('mobileTokenIno'))
},
mounted
()
{
},
methods
:
{
getRecordInfo
(
callBack
)
{
...
...
@@ -332,8 +315,10 @@
}
addManualMedicalRecord
(
par
).
then
(({
data
})
=>
{
if
(
data
.
code
==
'SUCCESS'
)
{
this
.
$uweb
.
trackEvent
(
'药具领取结果'
,
'成功'
)
this
.
$router
.
push
({
path
:
"/manualSuccess"
,
query
:{
info
:
data
.
data
}});
}
else
{
this
.
$uweb
.
trackEvent
(
'药具领取结果'
,
'失败'
)
Toast
({
message
:
`
${
data
.
msg
}
`
,
duration
:
2000
...
...
src/views/myMap.vue
View file @
be33f271
...
...
@@ -66,6 +66,9 @@
window
[
'qrcodeContent'
]
=
(
result
)
=>
{
vm
.
subscanQRCallBack
(
result
)
}
this
.
$nextTick
(()
=>
{
vm
.
$uweb
.
setCustomVar
(
'访客来源'
,
'医站到家'
,
0
)
})
},
methods
:
{
// 接收url后的数据
...
...
@@ -93,6 +96,7 @@
callMobile
(
"qrcode"
,
{});
}
})
// this.subscanQRCallBack(111)
},
subscanQRCallBack
(
val
)
{
let
info
=
JSON
.
parse
(
window
.
sessionStorage
.
getItem
(
'mobileTokenIno'
))
...
...
@@ -100,6 +104,7 @@
let
urlP
=
''
// let ios = isIOSWebKit()
// if (ios) {
// val = 'https://yaojuapp.yiboshi.com/resident/#/resident/manualDistribution?id=39&netType=2&netTypeName=人工发放网点&netName=祥云县沙龙卫生院&status=0'
urlP
=
val
// } else {
// urlP = JSON.parse(val)
...
...
yaoju_app_resident_2021_11_
8_2
.zip
→
yaoju_app_resident_2021_11_
9
.zip
View file @
be33f271
No preview for this file type
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