Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
WX_h5
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
godwithdh
WX_h5
Commits
56fac04d
Commit
56fac04d
authored
Feb 08, 2020
by
godwithdh
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://47.110.145.204:8085/godwithdh/wx_h5
parents
a5d770ba
8b80e7a4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
9 deletions
+22
-9
host.js
src/libs/host.js
+1
-1
chart.vue
src/view/healthCard/statistics/chart.vue
+2
-2
index.vue
src/view/healthCard/statistics/index.vue
+17
-4
list.vue
src/view/healthCard/statistics/list.vue
+2
-2
No files found.
src/libs/host.js
View file @
56fac04d
src/view/healthCard/statistics/chart.vue
View file @
56fac04d
...
...
@@ -445,7 +445,7 @@ export default {
data
:[
{
key
:
'url'
,
value
:
'statistical_details_data'
},
{
key
:
'dDate'
,
value
:
this
.
hdr
.
dDate
},
{
key
:
'iCompanyId'
,
value
:
this
.
hdr
.
iCompanyId
||
"1"
}
{
key
:
'iCompanyId'
,
value
:
this
.
hdr
.
iCompanyId
}
],
params
:{},
},
'加载中'
,{});
...
...
@@ -495,7 +495,7 @@ export default {
data
:[
{
key
:
'url'
,
value
:
'HealthLog'
},
{
key
:
'dDate'
,
value
:
this
.
hdr
.
dDate
},
{
key
:
'iCompanyId'
,
value
:
this
.
hdr
.
iCompanyId
||
"1"
},
{
key
:
'iCompanyId'
,
value
:
this
.
hdr
.
iCompanyId
},
{
key
:
'iType'
,
value
:
'1'
}
],
params
:{
...
...
src/view/healthCard/statistics/index.vue
View file @
56fac04d
...
...
@@ -74,6 +74,15 @@
.items:last-child{
margin-bottom:15px;
}
.img{
width:100%;
display: flex;
justify-content: center;
img{
width:100%;
height:300px;
}
}
}
</
style
>
...
...
@@ -104,6 +113,9 @@
</div>
</div>
</div>
<div
class=
"img"
v-if=
"list.length
<
=
0
"
>
<img
src=
"@/assets/noData.jpg"
class=
"_img"
alt=
""
>
</div>
</div>
</
template
>
...
...
@@ -115,7 +127,8 @@ export default {
name
:
'healthCardStatisticsIndex'
,
data
()
{
return
{
list
:[]
list
:[],
openId
:
''
}
},
components
:{
...
...
@@ -127,7 +140,7 @@ export default {
})
},
async
mounted
(){
this
.
openId
=
this
.
$route
.
query
.
openId
;
},
async
activated
(){
window
.
d
=
this
;
...
...
@@ -138,7 +151,7 @@ export default {
let
res
=
await
this
.
request
(
'getStatisticalDetails'
,{
data
:[
{
key
:
'url'
,
value
:
'statistical_details'
},
{
key
:
'openid'
,
value
:
'3'
}
{
key
:
'openid'
,
value
:
this
.
openId
}
],
params
:{},
},
'加载中'
,{});
...
...
src/view/healthCard/statistics/list.vue
View file @
56fac04d
...
...
@@ -150,7 +150,7 @@ export default {
data
:[
{
key
:
'url'
,
value
:
'HealthLog'
},
{
key
:
'dDate'
,
value
:
this
.
hdr
.
dDate
},
{
key
:
'iCompanyId'
,
value
:
'1'
},
{
key
:
'iCompanyId'
,
value
:
this
.
hdr
.
iCompanyId
},
{
key
:
'iType'
,
value
:
'1'
}
],
params
:{
...
...
@@ -173,7 +173,7 @@ export default {
data
:[
{
key
:
'url'
,
value
:
'HealthLog'
},
{
key
:
'dDate'
,
value
:
this
.
hdr
.
dDate
},
{
key
:
'iCompanyId'
,
value
:
'1'
},
{
key
:
'iCompanyId'
,
value
:
this
.
hdr
.
iCompanyId
},
{
key
:
'iType'
,
value
:
'0'
}
],
params
:{
...
...
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