Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
diseaseControlManage
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
diseaseControlManage-Develop
diseaseControlManage
Commits
9b568615
Commit
9b568615
authored
Oct 27, 2020
by
duyaqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
管理效果 上右高血压单位 echarts图富文本、管理人群趋势图 标题位置移动
parent
2e226db9
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
36 additions
and
24 deletions
+36
-24
src/api/home.js
+2
-2
src/api/userlogin.js
+2
-2
src/components/UserLogin.vue
+2
-1
src/components/userJoin/screenTwoPag2.vue
+29
-19
疾控.txt
+1
-0
No files found.
src/api/home.js
View file @
9b568615
...
@@ -2,8 +2,8 @@ import request from '@/utils/request'
...
@@ -2,8 +2,8 @@ import request from '@/utils/request'
/****
/****
*首页接口
*首页接口
******/
******/
const
webUrl
=
'http://localhost:168/fyglAPP/'
;
//
const webUrl = 'http://localhost:168/fyglAPP/';
//
const webUrl = 'http://192.168.3.110:8999/diseaseControlManage/';
const
webUrl
=
'http://192.168.3.110:8999/diseaseControlManage/'
;
// const webUrl = 'http://195.1.3.38:8999/diseaseControlManage/';
// const webUrl = 'http://195.1.3.38:8999/diseaseControlManage/';
//公用接口
//公用接口
...
...
src/api/userlogin.js
View file @
9b568615
import
request
from
'@/utils/request'
import
request
from
'@/utils/request'
//登录、修改密码
//登录、修改密码
const
webUrl
=
'http://localhost:168/fyglAPP/'
;
//
const webUrl = 'http://localhost:168/fyglAPP/';
//
const webUrl = 'http://192.168.3.110:8999/diseaseControlManage/';
const
webUrl
=
'http://192.168.3.110:8999/diseaseControlManage/'
;
// const webUrl = 'http://195.1.3.38:8999/diseaseControlManage/';
// const webUrl = 'http://195.1.3.38:8999/diseaseControlManage/';
export
function
login
(
loginID
,
loginPas
)
{
export
function
login
(
loginID
,
loginPas
)
{
return
request
({
return
request
({
...
...
src/components/UserLogin.vue
View file @
9b568615
...
@@ -45,7 +45,8 @@
...
@@ -45,7 +45,8 @@
}
}
let
_this
=
this
let
_this
=
this
// 用户登录
// 用户登录
login
(
this
.
loginID
,
this
.
$md5
(
this
.
loginPas
)).
then
(
res
=>
{
//login(this.loginID, this.$md5(this.loginPas)).then( res=>{
login
(
this
.
loginID
,
this
.
loginPas
).
then
(
res
=>
{
console
.
log
(
res
)
console
.
log
(
res
)
if
(
res
.
code
==
1
){
if
(
res
.
code
==
1
){
sessionStorage
.
setItem
(
'token'
,
res
.
data
.
token
);
sessionStorage
.
setItem
(
'token'
,
res
.
data
.
token
);
...
...
src/components/userJoin/screenTwoPag2.vue
View file @
9b568615
...
@@ -109,45 +109,45 @@
...
@@ -109,45 +109,45 @@
<div
class=
"page-left-top2"
>
<div
class=
"page-left-top2"
>
<table
class=
"table02"
width=
"100%"
border=
"0"
>
<table
class=
"table02"
width=
"100%"
border=
"0"
>
<tr>
<tr>
<td
width=
"
55
%"
>
</td>
<td
width=
"
60
%"
>
</td>
<td
width=
"
40
%"
style=
"text-align: center;"
>
管理/签约
</td>
<td
width=
"
35
%"
style=
"text-align: center;"
>
管理/签约
</td>
<td
width=
"5%"
>
</td>
<td
width=
"5%"
>
</td>
</tr>
</tr>
<!-- @click="change_age(1)" -->
<!-- @click="change_age(1)" -->
<tr
v-if=
"mbType === 'gxy'"
@
click=
"change_age(1)"
:class=
"age_index==1?'myclk':''"
>
<tr
v-if=
"mbType === 'gxy'"
@
click=
"change_age(1)"
:class=
"age_index==1?'myclk':''"
>
<td
width=
"
55%"
class=
"tdleft"
>
脑卒中粗发病率
</td>
<td
width=
"
60%"
class=
"tdleft"
>
脑卒中粗发病率·/10万
</td>
<td
width=
"
40%"
><span
class=
"sp01"
>
{{
parseFloat
(
hyper1_g
).
toFixed
(
2
)
}}
/
{{
parseFloat
(
hyper1_q
).
toFixed
(
2
)
}}
%
</span>
<td
width=
"
35%"
><span
class=
"sp01"
>
{{
parseFloat
(
hyper1_g
).
toFixed
(
2
)
}}
/
{{
parseFloat
(
hyper1_q
).
toFixed
(
2
)
}}
</span>
</td>
</td>
<td
width=
"5%"
>
</td>
<td
width=
"5%"
>
</td>
</tr>
</tr>
<tr
v-if=
"mbType === 'gxy'"
@
click=
"change_age(2)"
:class=
"age_index==2?'myclk':''"
>
<tr
v-if=
"mbType === 'gxy'"
@
click=
"change_age(2)"
:class=
"age_index==2?'myclk':''"
>
<td
width=
"
55%"
class=
"tdleft"
>
脑卒中粗死亡率
</td>
<td
width=
"
60%"
class=
"tdleft"
>
脑卒中粗死亡率·/10万
</td>
<td
width=
"
40%"
><span
class=
"span22"
>
{{
parseFloat
(
hyper2_g
).
toFixed
(
2
)
}}
%/
{{
parseFloat
(
hyper2_q
).
toFixed
(
2
)
}}
%
</span>
<td
width=
"
35%"
><span
class=
"span22"
>
{{
parseFloat
(
hyper2_g
).
toFixed
(
2
)
}}
/
{{
parseFloat
(
hyper2_q
).
toFixed
(
2
)
}}
</span>
</td>
</td>
<td
width=
"5%"
>
</td>
<td
width=
"5%"
>
</td>
</tr>
</tr>
<tr
v-if=
"mbType === 'gxy'"
@
click=
"change_age(3)"
:class=
"age_index==3?'myclk':''"
>
<tr
v-if=
"mbType === 'gxy'"
@
click=
"change_age(3)"
:class=
"age_index==3?'myclk':''"
>
<td
width=
"
55%"
class=
"tdleft"
>
心脑血管粗死亡率
</td>
<td
width=
"
60%"
class=
"tdleft"
>
心脑血管粗死亡率·/10万
</td>
<td
width=
"
40%"
><span
class=
"sp01"
>
{{
parseFloat
(
hyper3_g
).
toFixed
(
2
)
}}
%/
{{
parseFloat
(
hyper3_q
).
toFixed
(
2
)
}}
%
</span>
<td
width=
"
35%"
><span
class=
"sp01"
>
{{
parseFloat
(
hyper3_g
).
toFixed
(
2
)
}}
/
{{
parseFloat
(
hyper3_q
).
toFixed
(
2
)
}}
</span>
</td>
</td>
<td
width=
"5%"
>
</td>
<td
width=
"5%"
>
</td>
</tr>
</tr>
<tr
v-if=
"mbType === 'gxy'"
@
click=
"change_age(4)"
:class=
"age_index==4?'myclk':''"
>
<tr
v-if=
"mbType === 'gxy'"
@
click=
"change_age(4)"
:class=
"age_index==4?'myclk':''"
>
<td
width=
"
55%"
class=
"tdleft"
>
粗死亡率
</td>
<td
width=
"
60%"
class=
"tdleft"
>
粗死亡率·/10万
</td>
<td
width=
"
40%"
><span
class=
"span22"
>
{{
parseFloat
(
hyper4_g
).
toFixed
(
2
)
}}
%/
{{
parseFloat
(
hyper4_q
).
toFixed
(
2
)
}}
%
</span>
<td
width=
"
35%"
><span
class=
"span22"
>
{{
parseFloat
(
hyper4_g
).
toFixed
(
2
)
}}
/
{{
parseFloat
(
hyper4_q
).
toFixed
(
2
)
}}
</span>
</td>
</td>
<td
width=
"5%"
>
</td>
<td
width=
"5%"
>
</td>
</tr>
</tr>
<tr
v-if=
"mbType === 'gxy'"
@
click=
"change_age(5)"
:class=
"age_index==5?'myclk':''"
>
<tr
v-if=
"mbType === 'gxy'"
@
click=
"change_age(5)"
:class=
"age_index==5?'myclk':''"
>
<td
width=
"
55%"
class=
"tdleft"
>
并发症发生率
</td>
<td
width=
"
60%"
class=
"tdleft"
>
并发症发生率·/%
</td>
<td
width=
"
40%"
><span
class=
"sp01"
>
{{
parseFloat
(
hyper5_g
).
toFixed
(
2
)
}}
%/
{{
parseFloat
(
hyper5_q
).
toFixed
(
2
)
}}
%
</span>
<td
width=
"
35%"
><span
class=
"sp01"
>
{{
parseFloat
(
hyper5_g
).
toFixed
(
2
)
}}
/
{{
parseFloat
(
hyper5_q
).
toFixed
(
2
)
}}
</span>
</td>
</td>
<td
width=
"5%"
>
</td>
<td
width=
"5%"
>
</td>
</tr>
</tr>
<tr
v-if=
"mbType === 'tnb'"
class=
"myclk"
@
click=
"change_age(6)"
>
<tr
v-if=
"mbType === 'tnb'"
class=
"myclk"
@
click=
"change_age(6)"
>
<td
width=
"
55%"
class=
"tdleft"
>
粗死亡率
</td>
<td
width=
"
60%"
class=
"tdleft"
>
粗死亡率·/10万
</td>
<td
width=
"
40%"
><span
class=
"span22"
>
{{
parseFloat
(
sweet_g
).
toFixed
(
2
)
}}
%/
{{
parseFloat
(
sweet_q
).
toFixed
(
2
)
}}
%
</span>
<td
width=
"
35%"
><span
class=
"span22"
>
{{
parseFloat
(
sweet_g
).
toFixed
(
2
)
}}
/
{{
parseFloat
(
sweet_q
).
toFixed
(
2
)
}}
</span>
</td>
</td>
<td
width=
"5%"
>
</td>
<td
width=
"5%"
>
</td>
</tr>
</tr>
...
@@ -313,6 +313,13 @@
...
@@ -313,6 +313,13 @@
lastStatus
:
{},
lastStatus
:
{},
PlaceCode
:
''
,
PlaceCode
:
''
,
option
:
{
option
:
{
tooltip
:
{
/*返回需要的信息*/
formatter
:
function
(
param
)
{
return
'<div style="border-bottom: 1px solid rgba(255,255,255,.3); font-size: 13px;padding-bottom: 7px;margin-bottom: 7px;"> '
+
param
.
seriesName
+
'('
+
param
.
name
+
')'
+
':'
+
param
.
value
+
'人</div>'
;
}
},
color
:
[
"#4F95A1"
,
"#E5896D"
],
color
:
[
"#4F95A1"
,
"#E5896D"
],
legend
:
{
legend
:
{
top
:
0
,
top
:
0
,
...
@@ -429,10 +436,10 @@
...
@@ -429,10 +436,10 @@
},
},
left
:
30
,
left
:
30
,
width
:
420
,
width
:
420
,
top
:
'
0
'
,
top
:
'
-3
'
,
itemHeight
:
10
,
itemHeight
:
10
,
itemWidth
:
14
,
itemWidth
:
14
,
itemGap
:
5
,
itemGap
:
3
,
height
:
50
,
height
:
50
,
data
:
[],
data
:
[],
align
:
'left'
,
align
:
'left'
,
...
@@ -1749,7 +1756,7 @@
...
@@ -1749,7 +1756,7 @@
}
}
//
//
commonMethod
(
paramnl2
).
then
(
res
=>
{
commonMethod
(
paramnl2
).
then
(
res
=>
{
console
.
log
(
res
)
ageData_q
=
res
.
data
.
content
ageData_q
=
res
.
data
.
content
// this.age_index 代表 脑卒中粗发死亡率
// this.age_index 代表 脑卒中粗发死亡率
...
@@ -1878,13 +1885,16 @@
...
@@ -1878,13 +1885,16 @@
.table02
td
{
.table02
td
{
text-align
:
left
;
text-align
:
left
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding-left
:
10
px
;
padding-left
:
3
px
;
}
}
.table02
td
span
.sp01
{
.table02
td
span
.sp01
{
text-align
:
center
;
text-align
:
center
;
width
:
70px
;
}
}
.table02
td
span
.span22
{
width
:
70px
;
}
#pag2bar
{
#pag2bar
{
width
:
465px
;
width
:
465px
;
height
:
320px
;
height
:
320px
;
...
...
疾控.txt
0 → 100644
View file @
9b568615
++ "b/\347\226\276\346\216\247.txt"
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