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
10134421
Commit
10134421
authored
Aug 04, 2019
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
api update
parent
92cad372
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
25 deletions
+13
-25
hair-apply.ts
src/pages/serve-pages/hair-cut/hair-apply/hair-apply.ts
+11
-23
hair-cut.ts
src/pages/serve-pages/hair-cut/hair-cut.ts
+2
-2
No files found.
src/pages/serve-pages/hair-cut/hair-apply/hair-apply.ts
View file @
10134421
...
...
@@ -17,7 +17,7 @@ export class HairApplyPage {
appointmentDate
:
''
,
service
:
''
,
remark
:
''
,
startEnd
:
null
,
startEnd
:
null
,
serviceStr
:
[],
timeText
:
'请选择'
};
...
...
@@ -28,12 +28,11 @@ export class HairApplyPage {
serviceStr
:
false
,
};
leaderList
=
[];
serviceList
=
[
{
id
:
'1'
,
name
:
'理发'
},
{
id
:
'2'
,
name
:
'剪发'
},
{
id
:
'3'
,
name
:
'烫发'
},
{
id
:
'4'
,
name
:
'染发'
}
{
id
:
'1'
,
name
:
'理发'
},
{
id
:
'2'
,
name
:
'剪发'
},
{
id
:
'3'
,
name
:
'烫发'
},
{
id
:
'4'
,
name
:
'染发'
}
];
applyId
;
//是否编辑
...
...
@@ -50,26 +49,15 @@ export class HairApplyPage {
}
}
//
会议
详情
//
申请
详情
meetDetail
()
{
this
.
serveSer
.
meet
Detail
(
this
.
applyId
).
subscribe
(
this
.
serveSer
.
hairApply
Detail
(
this
.
applyId
).
subscribe
(
(
res
)
=>
{
if
(
res
)
{
// this.personList = res.participants.map(e => {
// const m = {
// id: e.userId,
// userName: e.userName
// };
// return m;
// });
// this.obj.orgLeader = res.leaders;
// this.obj.meetingType = res.meetingType;
// this.obj.startTime = this.datePipe.transform(res.startTime, 'yyyy-MM-dd HH:mm');
// this.obj.remark = res.remark;
// this.obj.equipmervice = res.equipmervice.split(',');
// this.obj.participantAmount = res.participantAmount;
// this.obj.orgId = res.orgId;
// this.obj.roomId = res.roomId;
this
.
obj
.
appointmentDate
=
res
.
data
.
appointmentDate
;
this
.
obj
.
serviceStr
=
res
.
data
.
service
.
split
(
','
);
this
.
obj
.
startEnd
=
res
.
data
.
startEnd
;
this
.
obj
.
remark
=
res
.
data
.
remark
;
}
}
)
...
...
src/pages/serve-pages/hair-cut/hair-cut.ts
View file @
10134421
...
...
@@ -106,12 +106,12 @@ export class HairCutPage {
//编辑申请
goApplyEdit
(
item
)
{
this
.
navCtrl
.
push
(
RoomApplyPage
,
{
id
:
item
.
applyI
d
});
this
.
navCtrl
.
push
(
HairApplyPage
,
{
id
:
item
.
i
d
});
}
//新增申请
goApply
()
{
this
.
navCtrl
.
push
(
Room
ApplyPage
);
this
.
navCtrl
.
push
(
Hair
ApplyPage
);
}
}
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