Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
party-build-cloud
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
wangqinghua
party-build-cloud
Commits
49f08228
Commit
49f08228
authored
Aug 07, 2019
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
初始化参数
parent
c30415d5
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
10 deletions
+19
-10
hair-cut.ts
src/pages/serve-pages/hair-cut/hair-cut.ts
+11
-8
meet-room.ts
src/pages/serve-pages/meet-room/meet-room.ts
+4
-1
use-car.ts
src/pages/serve-pages/use-car/use-car.ts
+4
-1
No files found.
src/pages/serve-pages/hair-cut/hair-cut.ts
View file @
49f08228
...
...
@@ -46,10 +46,13 @@ export class HairCutPage {
private
commonSer
:
CommonService
,
private
appMainSer
:
AppMainService
)
{
}
ionViewDidEnter
()
{
this
.
myApply
();
}
ionViewDidLoad
()
{
this
.
selectDate
=
this
.
datePipe
.
transform
(
new
Date
(),
'yyyy-MM-dd'
);
this
.
getApply
();
this
.
myApply
();
//获取权限
this
.
appMainSer
.
role
.
subscribe
(
value
=>
{
...
...
@@ -107,11 +110,11 @@ export class HairCutPage {
//改变
change
(
type
)
{
this
.
changeType
=
type
;
if
(
this
.
changeType
==
1
)
this
.
myApply
();
if
(
this
.
changeType
==
2
)
this
.
getApply
();
if
(
this
.
changeType
==
1
)
this
.
myApply
();
if
(
this
.
changeType
==
2
)
this
.
getApply
();
}
getDate
(
e
){
getDate
(
e
)
{
this
.
selectDate
=
e
;
this
.
getApply
();
}
...
...
@@ -125,13 +128,13 @@ export class HairCutPage {
//新增申请
goApply
(
item
)
{
let
data
;
if
(
item
)
{
if
(
item
)
{
data
=
{
date
:
this
.
selectDate
,
startEnd
:
item
.
startEnd
date
:
this
.
selectDate
,
startEnd
:
item
.
startEnd
}
}
this
.
navCtrl
.
push
(
HairApplyPage
,
{
data
:
data
});
this
.
navCtrl
.
push
(
HairApplyPage
,
{
data
:
data
});
}
}
src/pages/serve-pages/meet-room/meet-room.ts
View file @
49f08228
...
...
@@ -44,10 +44,13 @@ export class MeetRoomPage {
private
commonSer
:
CommonService
,
private
appMainSer
:
AppMainService
)
{
}
ionViewDidEnter
(){
this
.
myApply
();
}
ionViewDidLoad
()
{
this
.
selectDate
=
this
.
datePipe
.
transform
(
new
Date
(),
'yyyy-MM-dd'
);
this
.
getApply
();
this
.
myApply
();
//获取权限
this
.
appMainSer
.
role
.
subscribe
(
value
=>
{
...
...
src/pages/serve-pages/use-car/use-car.ts
View file @
49f08228
...
...
@@ -50,10 +50,13 @@ export class UseCarPage {
private
commonSer
:
CommonService
,
private
appMainSer
:
AppMainService
)
{
}
ionViewDidEnter
(){
this
.
myApply
();
}
ionViewDidLoad
()
{
this
.
selectDate
=
this
.
datePipe
.
transform
(
new
Date
(),
'yyyy-MM-dd'
);
this
.
getApply
();
this
.
myApply
();
//获取权限
this
.
appMainSer
.
role
.
subscribe
(
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