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
12ab2c1a
Commit
12ab2c1a
authored
Sep 14, 2020
by
lihu541
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
localStorage改成sessionStorage
parent
2af700b3
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
65 additions
and
66 deletions
+65
-66
src/api/home.js
+2
-2
src/components/Home.vue
+8
-8
src/components/UserLogin.vue
+19
-19
src/components/userJoin/Header.vue
+4
-5
src/components/userJoin/screenTwoPag1.vue
+15
-15
src/components/userJoin/screenTwoPag2.vue
+11
-11
src/components/userJoin/screenTwoPag3.vue
+2
-2
src/components/userJoin/screenTwoPag4.vue
+2
-2
src/components/userJoin/screenTwoPag5.vue
+2
-2
No files found.
src/api/home.js
View file @
12ab2c1a
...
@@ -35,7 +35,7 @@ export function commonMethod(param) {
...
@@ -35,7 +35,7 @@ export function commonMethod(param) {
headers
:{
headers
:{
'Content-Type'
:
'application/json; charset=UTF-8'
,
'Content-Type'
:
'application/json; charset=UTF-8'
,
"Accept"
:
"*/*"
,
"Accept"
:
"*/*"
,
"MyToken"
:
local
Storage
.
getItem
(
'token'
)
"MyToken"
:
session
Storage
.
getItem
(
'token'
)
},
},
data
:
JSON
.
stringify
(
param
)
data
:
JSON
.
stringify
(
param
)
})
})
...
@@ -49,7 +49,7 @@ export function otherMethod(param) {
...
@@ -49,7 +49,7 @@ export function otherMethod(param) {
headers
:{
headers
:{
'Content-Type'
:
'application/json; charset=UTF-8'
,
'Content-Type'
:
'application/json; charset=UTF-8'
,
"Accept"
:
"*/*"
,
"Accept"
:
"*/*"
,
"MyToken"
:
local
Storage
.
getItem
(
'token'
)
"MyToken"
:
session
Storage
.
getItem
(
'token'
)
},
},
data
:
JSON
.
stringify
(
param
)
data
:
JSON
.
stringify
(
param
)
})
})
...
...
src/components/Home.vue
View file @
12ab2c1a
...
@@ -1102,8 +1102,8 @@
...
@@ -1102,8 +1102,8 @@
this
.
isShow
=
false
this
.
isShow
=
false
this
.
OptionsPlace
=
[{
this
.
OptionsPlace
=
[{
'value'
:
local
Storage
.
getItem
(
"organizcode"
),
'value'
:
session
Storage
.
getItem
(
"organizcode"
),
'label'
:
local
Storage
.
getItem
(
"organizcodeName"
),
'label'
:
session
Storage
.
getItem
(
"organizcodeName"
),
'level'
:
'sq'
'level'
:
'sq'
}]
}]
this
.
selectOrg
=
this
.
OptionsPlace
[
0
]
this
.
selectOrg
=
this
.
OptionsPlace
[
0
]
...
@@ -1182,28 +1182,28 @@
...
@@ -1182,28 +1182,28 @@
changeScreenTwo
(
data
)
{
changeScreenTwo
(
data
)
{
// 获取子组件传递来的数据 用以操作home页组件
// 获取子组件传递来的数据 用以操作home页组件
this
.
screenTagshow
=
data
this
.
screenTagshow
=
data
local
Storage
.
setItem
(
"ScreenPage"
,
this
.
screenTagshow
)
session
Storage
.
setItem
(
"ScreenPage"
,
this
.
screenTagshow
)
},
},
toSideTwo
(){
toSideTwo
(){
this
.
$refs
.
mySwiper
.
swiper
.
slideTo
(
1
,
10
,
true
)
this
.
$refs
.
mySwiper
.
swiper
.
slideTo
(
1
,
10
,
true
)
}
}
},
},
mounted
()
{
mounted
()
{
this
.
_ywsj
=
local
Storage
.
getItem
(
"ywsj"
)
this
.
_ywsj
=
session
Storage
.
getItem
(
"ywsj"
)
this
.
userRole
=
local
Storage
.
getItem
(
"userRole"
)
this
.
userRole
=
session
Storage
.
getItem
(
"userRole"
)
if
(
'city'
===
this
.
userRole
)
{
//市角色
if
(
'city'
===
this
.
userRole
)
{
//市角色
this
.
PlaceCode
=
""
this
.
PlaceCode
=
""
this
.
_group
=
"XZQH"
this
.
_group
=
"XZQH"
this
.
pageLevel
=
'sj'
this
.
pageLevel
=
'sj'
}
else
if
(
'area'
===
this
.
userRole
)
{
//区角色
}
else
if
(
'area'
===
this
.
userRole
)
{
//区角色
this
.
PlaceCode
=
local
Storage
.
getItem
(
"organizcode"
)
this
.
PlaceCode
=
session
Storage
.
getItem
(
"organizcode"
)
this
.
_yljgdm
=
''
this
.
_yljgdm
=
''
this
.
_group
=
"YLJGDM"
this
.
_group
=
"YLJGDM"
this
.
pageLevel
=
'qj'
this
.
pageLevel
=
'qj'
}
else
if
(
'hospital'
===
this
.
userRole
)
{
//社区角色
}
else
if
(
'hospital'
===
this
.
userRole
)
{
//社区角色
this
.
PlaceCode
=
local
Storage
.
getItem
(
"porgcode"
)
this
.
PlaceCode
=
session
Storage
.
getItem
(
"porgcode"
)
this
.
_yljgdm
=
local
Storage
.
getItem
(
"organizcode"
)
this
.
_yljgdm
=
session
Storage
.
getItem
(
"organizcode"
)
this
.
_group
=
"YWSJ"
this
.
_group
=
"YWSJ"
this
.
pageLevel
=
'sq'
this
.
pageLevel
=
'sq'
}
}
...
...
src/components/UserLogin.vue
View file @
12ab2c1a
...
@@ -47,20 +47,20 @@
...
@@ -47,20 +47,20 @@
login
(
this
.
loginID
,
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
){
local
Storage
.
setItem
(
'token'
,
res
.
data
.
token
);
session
Storage
.
setItem
(
'token'
,
res
.
data
.
token
);
local
Storage
.
setItem
(
'userinfo'
,
JSON
.
stringify
(
res
.
data
.
userInfo
));
session
Storage
.
setItem
(
'userinfo'
,
JSON
.
stringify
(
res
.
data
.
userInfo
));
local
Storage
.
setItem
(
'ywsj'
,
res
.
data
.
userInfo
.
jzrq
);
session
Storage
.
setItem
(
'ywsj'
,
res
.
data
.
userInfo
.
jzrq
);
local
Storage
.
setItem
(
'porgcode'
,
res
.
data
.
userInfo
.
porgcode
);
session
Storage
.
setItem
(
'porgcode'
,
res
.
data
.
userInfo
.
porgcode
);
local
Storage
.
setItem
(
'organizcode'
,
res
.
data
.
userInfo
.
organizcode
);
session
Storage
.
setItem
(
'organizcode'
,
res
.
data
.
userInfo
.
organizcode
);
local
Storage
.
setItem
(
'organizcodeName'
,
res
.
data
.
userInfo
.
jgjc
);
session
Storage
.
setItem
(
'organizcodeName'
,
res
.
data
.
userInfo
.
jgjc
);
if
(
'hcms.shizhang'
===
res
.
data
.
userInfo
.
roles
[
0
]){
//市角色
if
(
'hcms.shizhang'
===
res
.
data
.
userInfo
.
roles
[
0
]){
//市角色
local
Storage
.
setItem
(
'userRole'
,
"city"
);
session
Storage
.
setItem
(
'userRole'
,
"city"
);
}
else
if
(
'hcms.App_Qu'
===
res
.
data
.
userInfo
.
roles
[
0
]){
//区角色
}
else
if
(
'hcms.App_Qu'
===
res
.
data
.
userInfo
.
roles
[
0
]){
//区角色
local
Storage
.
setItem
(
'userRole'
,
"area"
);
session
Storage
.
setItem
(
'userRole'
,
"area"
);
}
else
if
(
'hcms.APP_SQYZ'
===
res
.
data
.
userInfo
.
roles
[
0
]){
//社区角色
}
else
if
(
'hcms.APP_SQYZ'
===
res
.
data
.
userInfo
.
roles
[
0
]){
//社区角色
local
Storage
.
setItem
(
'userRole'
,
"hospital"
);
session
Storage
.
setItem
(
'userRole'
,
"hospital"
);
}
}
this
.
$router
.
push
({
path
:
'./Index'
});
this
.
$router
.
push
({
path
:
'./Index'
});
...
@@ -72,9 +72,9 @@
...
@@ -72,9 +72,9 @@
if
(
this
.
checked
){
if
(
this
.
checked
){
// local 存储 用户登录返回的所有数据(不包含密码)
// local 存储 用户登录返回的所有数据(不包含密码)
// local 存储 用户密码
// local 存储 用户密码
local
Storage
.
setItem
(
'userID'
,
this
.
loginID
);
session
Storage
.
setItem
(
'userID'
,
this
.
loginID
);
local
Storage
.
setItem
(
'userPas'
,
this
.
loginPas
);
session
Storage
.
setItem
(
'userPas'
,
this
.
loginPas
);
local
Storage
.
setItem
(
'ifselect'
,
true
);
session
Storage
.
setItem
(
'ifselect'
,
true
);
}
}
// 登陆成功, 路由跳转
// 登陆成功, 路由跳转
this
.
$router
.
push
({
path
:
'./Index'
});
this
.
$router
.
push
({
path
:
'./Index'
});
...
@@ -88,16 +88,16 @@
...
@@ -88,16 +88,16 @@
}
}
},
},
mounted
()
{
mounted
()
{
if
(
localStorage
.
getItem
(
'userID'
)
&&
local
Storage
.
getItem
(
'userPas'
)){
if
(
sessionStorage
.
getItem
(
'userID'
)
&&
session
Storage
.
getItem
(
'userPas'
)){
// 若 local 存在即自动跳转
// 若 local 存在即自动跳转
// 获取密码与账户
// 获取密码与账户
this
.
loginID
=
local
Storage
.
getItem
(
'userID'
)
this
.
loginID
=
session
Storage
.
getItem
(
'userID'
)
this
.
loginPas
=
local
Storage
.
getItem
(
'userPas'
)
this
.
loginPas
=
session
Storage
.
getItem
(
'userPas'
)
this
.
checked
=
local
Storage
.
getItem
(
'ifselect'
)
this
.
checked
=
session
Storage
.
getItem
(
'ifselect'
)
console
.
log
(
local
Storage
.
getItem
(
'ifselect'
));
console
.
log
(
session
Storage
.
getItem
(
'ifselect'
));
// let localUserID = JSON.parse(
local
Storage.getItem('UserMessage')).data.userInfo.userId
// let localUserID = JSON.parse(
session
Storage.getItem('UserMessage')).data.userInfo.userId
// let localUserPas =
local
Storage.getItem('UserPass')
// let localUserPas =
session
Storage.getItem('UserPass')
// login(localUserID, localUserPas).then( res=>{
// login(localUserID, localUserPas).then( res=>{
// console.log(res.msg);
// console.log(res.msg);
// if(res.msg == "操作成功"){
// if(res.msg == "操作成功"){
...
...
src/components/userJoin/Header.vue
View file @
12ab2c1a
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
console
.
log
(
value
)
console
.
log
(
value
)
var
myDate
=
new
Date
();
var
myDate
=
new
Date
();
myDate
.
getYear
();
myDate
.
getYear
();
local
Storage
.
setItem
(
"EndTime"
,
value
)
session
Storage
.
setItem
(
"EndTime"
,
value
)
if
(
value
){
if
(
value
){
this
.
nowdate
=
value
this
.
nowdate
=
value
...
@@ -54,8 +54,8 @@
...
@@ -54,8 +54,8 @@
}
}
},
},
mounted
(){
mounted
(){
this
.
value
=
localStorage
.
getItem
(
"EndTime"
)?
local
Storage
.
getItem
(
"EndTime"
):
this
.
value
this
.
value
=
sessionStorage
.
getItem
(
"EndTime"
)?
session
Storage
.
getItem
(
"EndTime"
):
this
.
value
this
.
nowdate
=
localStorage
.
getItem
(
"EndTime"
)?
local
Storage
.
getItem
(
"EndTime"
):
this
.
nowdate
this
.
nowdate
=
sessionStorage
.
getItem
(
"EndTime"
)?
session
Storage
.
getItem
(
"EndTime"
):
this
.
nowdate
}
}
}
}
</
script
>
</
script
>
...
@@ -65,4 +65,4 @@
...
@@ -65,4 +65,4 @@
.area
>>>
.el-input--mini
{
width
:
60px
;}
.area
>>>
.el-input--mini
{
width
:
60px
;}
.area
>>>
.el-input__icon.el-icon-date
{
display
:
none
}
.area
>>>
.el-input__icon.el-icon-date
{
display
:
none
}
.area
>>>
.el-input__icon
{
display
:
none
}
.area
>>>
.el-input__icon
{
display
:
none
}
</
style
>
</
style
>
\ No newline at end of file
src/components/userJoin/screenTwoPag1.vue
View file @
12ab2c1a
...
@@ -1029,8 +1029,8 @@
...
@@ -1029,8 +1029,8 @@
this
.
commun
=
"社区"
this
.
commun
=
"社区"
console
.
log
(
"此处是第一次点击"
);
console
.
log
(
"此处是第一次点击"
);
console
.
log
(
"diann"
);
console
.
log
(
"diann"
);
this
.
areaname
=
local
Storage
.
getItem
(
"organizcodeName"
)
this
.
areaname
=
session
Storage
.
getItem
(
"organizcodeName"
)
this
.
PlaceCode
=
local
Storage
.
getItem
(
"organizcode"
)
this
.
PlaceCode
=
session
Storage
.
getItem
(
"organizcode"
)
this
.
BackCLick
=
false
this
.
BackCLick
=
false
this
.
BarType
=
'YLJGDM'
this
.
BarType
=
'YLJGDM'
this
.
BeginCode
=
false
this
.
BeginCode
=
false
...
@@ -1050,15 +1050,15 @@
...
@@ -1050,15 +1050,15 @@
this
.
thname
=
'医院'
this
.
thname
=
'医院'
}
else
if
(
'hospital'
===
this
.
userRole
)
{
//社区角色
}
else
if
(
'hospital'
===
this
.
userRole
)
{
//社区角色
this
.
PlaceCode
=
local
Storage
.
getItem
(
"porgcode"
)
this
.
PlaceCode
=
session
Storage
.
getItem
(
"porgcode"
)
this
.
_yljgdm
=
local
Storage
.
getItem
(
"organizcode"
)
this
.
_yljgdm
=
session
Storage
.
getItem
(
"organizcode"
)
this
.
_group
=
"YWSJ"
this
.
_group
=
"YWSJ"
this
.
pageLevel
=
'sq'
this
.
pageLevel
=
'sq'
console
.
log
(
111
);
console
.
log
(
111
);
this
.
closeareaclick
=
false
this
.
closeareaclick
=
false
// this.PlaceCode = yldm
// this.PlaceCode = yldm
this
.
areaname
=
local
Storage
.
getItem
(
"organizcodeName"
)
this
.
areaname
=
session
Storage
.
getItem
(
"organizcodeName"
)
this
.
BeginCode
=
false
this
.
BeginCode
=
false
this
.
communhidden
=
false
this
.
communhidden
=
false
this
.
BarType
=
'YWSJ'
this
.
BarType
=
'YWSJ'
...
@@ -1088,7 +1088,7 @@
...
@@ -1088,7 +1088,7 @@
},
},
dataSearch
(
value
)
{
dataSearch
(
value
)
{
console
.
log
(
value
)
console
.
log
(
value
)
local
Storage
.
setItem
(
"ywsj"
,
value
)
session
Storage
.
setItem
(
"ywsj"
,
value
)
this
.
DieaChange
(
this
.
DieaNo
)
this
.
DieaChange
(
this
.
DieaNo
)
this
.
homeinit
()
this
.
homeinit
()
...
@@ -2464,9 +2464,9 @@
...
@@ -2464,9 +2464,9 @@
}
}
},
},
mounted
()
{
mounted
()
{
this
.
cxsj
=
local
Storage
.
getItem
(
"ywsj"
)
this
.
cxsj
=
session
Storage
.
getItem
(
"ywsj"
)
this
.
userinfo
=
JSON
.
parse
(
local
Storage
.
getItem
(
"userinfo"
))
this
.
userinfo
=
JSON
.
parse
(
session
Storage
.
getItem
(
"userinfo"
))
this
.
userRole
=
local
Storage
.
getItem
(
"userRole"
)
this
.
userRole
=
session
Storage
.
getItem
(
"userRole"
)
if
(
'city'
===
this
.
userRole
)
{
//市角色
if
(
'city'
===
this
.
userRole
)
{
//市角色
this
.
PlaceCode
=
""
this
.
PlaceCode
=
""
...
@@ -2485,8 +2485,8 @@
...
@@ -2485,8 +2485,8 @@
this
.
commun
=
"社区"
this
.
commun
=
"社区"
console
.
log
(
"此处是第一次点击"
);
console
.
log
(
"此处是第一次点击"
);
console
.
log
(
"diann"
);
console
.
log
(
"diann"
);
this
.
areaname
=
local
Storage
.
getItem
(
"organizcodeName"
)
this
.
areaname
=
session
Storage
.
getItem
(
"organizcodeName"
)
this
.
PlaceCode
=
local
Storage
.
getItem
(
"organizcode"
)
this
.
PlaceCode
=
session
Storage
.
getItem
(
"organizcode"
)
this
.
BackCLick
=
false
this
.
BackCLick
=
false
this
.
BarType
=
'YLJGDM'
this
.
BarType
=
'YLJGDM'
this
.
BeginCode
=
false
this
.
BeginCode
=
false
...
@@ -2506,15 +2506,15 @@
...
@@ -2506,15 +2506,15 @@
this
.
thname
=
'医院'
this
.
thname
=
'医院'
}
else
if
(
'hospital'
===
this
.
userRole
)
{
//社区角色
}
else
if
(
'hospital'
===
this
.
userRole
)
{
//社区角色
this
.
PlaceCode
=
local
Storage
.
getItem
(
"porgcode"
)
this
.
PlaceCode
=
session
Storage
.
getItem
(
"porgcode"
)
this
.
_yljgdm
=
local
Storage
.
getItem
(
"organizcode"
)
this
.
_yljgdm
=
session
Storage
.
getItem
(
"organizcode"
)
this
.
_group
=
"YWSJ"
this
.
_group
=
"YWSJ"
this
.
pageLevel
=
'sq'
this
.
pageLevel
=
'sq'
console
.
log
(
111
);
console
.
log
(
111
);
this
.
closeareaclick
=
false
this
.
closeareaclick
=
false
// this.PlaceCode = yldm
// this.PlaceCode = yldm
this
.
areaname
=
local
Storage
.
getItem
(
"organizcodeName"
)
this
.
areaname
=
session
Storage
.
getItem
(
"organizcodeName"
)
this
.
BeginCode
=
false
this
.
BeginCode
=
false
this
.
communhidden
=
false
this
.
communhidden
=
false
this
.
BarType
=
'YWSJ'
this
.
BarType
=
'YWSJ'
...
@@ -2527,7 +2527,7 @@
...
@@ -2527,7 +2527,7 @@
}
}
local
Storage
.
setItem
(
"ScreenPage"
,
1
)
session
Storage
.
setItem
(
"ScreenPage"
,
1
)
},
},
components
:
{}
components
:
{}
}
}
...
...
src/components/userJoin/screenTwoPag2.vue
View file @
12ab2c1a
...
@@ -958,7 +958,7 @@
...
@@ -958,7 +958,7 @@
}
else
if
(
'area'
===
this
.
userRole
)
{
//区角色
}
else
if
(
'area'
===
this
.
userRole
)
{
//区角色
// 点击区 -- 展示城镇信息
// 点击区 -- 展示城镇信息
this
.
_xzqh
=
local
Storage
.
getItem
(
"organizcode"
)
this
.
_xzqh
=
session
Storage
.
getItem
(
"organizcode"
)
this
.
_group
=
"YLJGDM"
this
.
_group
=
"YLJGDM"
this
.
pageLevel
=
'qj'
this
.
pageLevel
=
'qj'
...
@@ -967,20 +967,20 @@
...
@@ -967,20 +967,20 @@
this
.
thname
=
'医院'
this
.
thname
=
'医院'
this
.
arname
=
'社区'
this
.
arname
=
'社区'
this
.
areaname
=
local
Storage
.
getItem
(
"organizcodeName"
)
this
.
areaname
=
session
Storage
.
getItem
(
"organizcodeName"
)
this
.
homeinit
(
this
.
themeId
)
this
.
homeinit
(
this
.
themeId
)
this
.
change_age
(
1
)
this
.
change_age
(
1
)
}
else
if
(
'hospital'
===
this
.
userRole
)
{
//社区角色
}
else
if
(
'hospital'
===
this
.
userRole
)
{
//社区角色
this
.
_xzqh
=
local
Storage
.
getItem
(
"organizcode"
)
this
.
_xzqh
=
session
Storage
.
getItem
(
"organizcode"
)
this
.
_group
=
"YWSJ"
this
.
_group
=
"YWSJ"
this
.
pageLevel
=
'sq'
this
.
pageLevel
=
'sq'
this
.
tablename
=
"社区"
this
.
tablename
=
"社区"
this
.
thname
=
"医院"
this
.
thname
=
"医院"
this
.
arname
=
'社区'
this
.
arname
=
'社区'
this
.
areaname
=
local
Storage
.
getItem
(
"organizcodeName"
)
this
.
areaname
=
session
Storage
.
getItem
(
"organizcodeName"
)
this
.
homeinit
(
this
.
themeId
)
this
.
homeinit
(
this
.
themeId
)
this
.
change_age
(
1
)
this
.
change_age
(
1
)
...
@@ -3243,9 +3243,9 @@
...
@@ -3243,9 +3243,9 @@
}
}
},
},
mounted
()
{
mounted
()
{
this
.
cxsj
=
local
Storage
.
getItem
(
"ywsj"
)
this
.
cxsj
=
session
Storage
.
getItem
(
"ywsj"
)
this
.
userinfo
=
JSON
.
parse
(
local
Storage
.
getItem
(
"userinfo"
))
this
.
userinfo
=
JSON
.
parse
(
session
Storage
.
getItem
(
"userinfo"
))
this
.
userRole
=
local
Storage
.
getItem
(
"userRole"
)
this
.
userRole
=
session
Storage
.
getItem
(
"userRole"
)
if
(
'city'
===
this
.
userRole
)
{
//市角色
if
(
'city'
===
this
.
userRole
)
{
//市角色
this
.
_xzqh
=
""
this
.
_xzqh
=
""
this
.
_group
=
"XZQH"
this
.
_group
=
"XZQH"
...
@@ -3255,7 +3255,7 @@
...
@@ -3255,7 +3255,7 @@
this
.
change_age
(
1
)
this
.
change_age
(
1
)
}
else
if
(
'area'
===
this
.
userRole
)
{
//区角色
}
else
if
(
'area'
===
this
.
userRole
)
{
//区角色
this
.
_xzqh
=
local
Storage
.
getItem
(
"organizcode"
)
this
.
_xzqh
=
session
Storage
.
getItem
(
"organizcode"
)
this
.
_group
=
"YLJGDM"
this
.
_group
=
"YLJGDM"
this
.
pageLevel
=
'qj'
this
.
pageLevel
=
'qj'
// 点击区 -- 展示城镇信息
// 点击区 -- 展示城镇信息
...
@@ -3264,20 +3264,20 @@
...
@@ -3264,20 +3264,20 @@
this
.
thname
=
'医院'
this
.
thname
=
'医院'
this
.
arname
=
'社区'
this
.
arname
=
'社区'
this
.
areaname
=
local
Storage
.
getItem
(
"organizcodeName"
)
this
.
areaname
=
session
Storage
.
getItem
(
"organizcodeName"
)
this
.
homeinit
(
this
.
themeId
)
this
.
homeinit
(
this
.
themeId
)
this
.
change_age
(
1
)
this
.
change_age
(
1
)
}
else
if
(
'hospital'
===
this
.
userRole
)
{
//社区角色
}
else
if
(
'hospital'
===
this
.
userRole
)
{
//社区角色
this
.
_xzqh
=
local
Storage
.
getItem
(
"organizcode"
)
this
.
_xzqh
=
session
Storage
.
getItem
(
"organizcode"
)
this
.
_group
=
"YWSJ"
this
.
_group
=
"YWSJ"
this
.
pageLevel
=
'sq'
this
.
pageLevel
=
'sq'
this
.
tablename
=
"社区"
this
.
tablename
=
"社区"
this
.
thname
=
"医院"
this
.
thname
=
"医院"
this
.
arname
=
'社区'
this
.
arname
=
'社区'
this
.
areaname
=
local
Storage
.
getItem
(
"organizcodeName"
)
this
.
areaname
=
session
Storage
.
getItem
(
"organizcodeName"
)
this
.
homeinit
(
this
.
themeId
)
this
.
homeinit
(
this
.
themeId
)
this
.
change_age
(
1
)
this
.
change_age
(
1
)
...
...
src/components/userJoin/screenTwoPag3.vue
View file @
12ab2c1a
...
@@ -248,7 +248,7 @@
...
@@ -248,7 +248,7 @@
value
:
'2019-09'
,
value
:
'2019-09'
,
nowdate
:
'2019-09'
,
nowdate
:
'2019-09'
,
startTime
:
'2019-01'
,
startTime
:
'2019-01'
,
selectStarttime
:
local
Storage
.
getItem
(
"EndTime"
),
selectStarttime
:
session
Storage
.
getItem
(
"EndTime"
),
sel
:
'筛选'
,
sel
:
'筛选'
,
data_x
:
[],
data_x
:
[],
option
:
{
option
:
{
...
@@ -662,7 +662,7 @@
...
@@ -662,7 +662,7 @@
dataSearch
(
value
)
{
dataSearch
(
value
)
{
var
myDate
=
new
Date
();
var
myDate
=
new
Date
();
myDate
.
getYear
();
myDate
.
getYear
();
local
Storage
.
setItem
(
"EndTime"
,
value
)
session
Storage
.
setItem
(
"EndTime"
,
value
)
this
.
startTime
=
value
.
slice
(
0
,
4
)
+
'-01'
this
.
startTime
=
value
.
slice
(
0
,
4
)
+
'-01'
if
(
value
)
{
if
(
value
)
{
...
...
src/components/userJoin/screenTwoPag4.vue
View file @
12ab2c1a
...
@@ -470,7 +470,7 @@
...
@@ -470,7 +470,7 @@
dataY06
:
[],
dataY06
:
[],
dataY07
:
[],
dataY07
:
[],
dataY08
:
[],
dataY08
:
[],
selectStarttime
:
local
Storage
.
getItem
(
"EndTime"
),
selectStarttime
:
session
Storage
.
getItem
(
"EndTime"
),
lastStatus
:
{},
lastStatus
:
{},
PlaceCode
:
''
,
PlaceCode
:
''
,
option2
:
{
option2
:
{
...
@@ -648,7 +648,7 @@
...
@@ -648,7 +648,7 @@
console
.
log
(
value
)
console
.
log
(
value
)
var
myDate
=
new
Date
();
var
myDate
=
new
Date
();
myDate
.
getYear
();
myDate
.
getYear
();
local
Storage
.
setItem
(
"EndTime"
,
value
)
session
Storage
.
setItem
(
"EndTime"
,
value
)
this
.
startTime
=
value
.
slice
(
0
,
4
)
+
'-01'
this
.
startTime
=
value
.
slice
(
0
,
4
)
+
'-01'
//console.log(this.startTime)
//console.log(this.startTime)
...
...
src/components/userJoin/screenTwoPag5.vue
View file @
12ab2c1a
...
@@ -168,7 +168,7 @@
...
@@ -168,7 +168,7 @@
DieaNo
:
1
,
DieaNo
:
1
,
thname
:
'各区'
,
thname
:
'各区'
,
startTime
:
'2019-01'
,
startTime
:
'2019-01'
,
selectStarttime
:
local
Storage
.
getItem
(
"EndTime"
),
selectStarttime
:
session
Storage
.
getItem
(
"EndTime"
),
djNo
:
1
,
djNo
:
1
,
value2
:
''
,
value2
:
''
,
pageNo
:
5
,
pageNo
:
5
,
...
@@ -940,7 +940,7 @@
...
@@ -940,7 +940,7 @@
dataSearch
(
value
)
{
dataSearch
(
value
)
{
var
myDate
=
new
Date
();
var
myDate
=
new
Date
();
myDate
.
getYear
();
myDate
.
getYear
();
local
Storage
.
setItem
(
"EndTime"
,
value
)
session
Storage
.
setItem
(
"EndTime"
,
value
)
this
.
startTime
=
value
.
slice
(
0
,
4
)
+
'-01'
this
.
startTime
=
value
.
slice
(
0
,
4
)
+
'-01'
if
(
value
)
{
if
(
value
)
{
...
...
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