Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wisdom-ces
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
wisdom-ces
Commits
ae1171e4
Commit
ae1171e4
authored
Sep 27, 2018
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
duty
parent
68cc65f8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
56 additions
and
22 deletions
+56
-22
app.scss
src/app/app.scss
+3
-0
duty-sign-up.ts
src/pages/dutyALl/duty-sign-up/duty-sign-up.ts
+1
-1
change-apply-list.html
...pages/manageDuty/change-apply-list/change-apply-list.html
+2
-2
change-apply-list.ts
src/pages/manageDuty/change-apply-list/change-apply-list.ts
+5
-3
duty-change-detail.html
...ges/manageDuty/duty-change-detail/duty-change-detail.html
+14
-6
duty-change-detail.scss
...ges/manageDuty/duty-change-detail/duty-change-detail.scss
+23
-1
duty-change-detail.ts
...pages/manageDuty/duty-change-detail/duty-change-detail.ts
+3
-8
icon.scss
src/theme/icon.scss
+5
-1
No files found.
src/app/app.scss
View file @
ae1171e4
...
@@ -23,6 +23,9 @@ p{
...
@@ -23,6 +23,9 @@ p{
.bgc-e7e8ed
{
.bgc-e7e8ed
{
background-color
:
#e7e8ed
;
background-color
:
#e7e8ed
;
}
}
.bgc-fff
{
background-color
:
#fff
;
}
.submit-btn
{
.submit-btn
{
height
:
40px
;
height
:
40px
;
margin-bottom
:
15px
;
margin-bottom
:
15px
;
...
...
src/pages/dutyALl/duty-sign-up/duty-sign-up.ts
View file @
ae1171e4
...
@@ -23,7 +23,7 @@ export class DutySignUpPage {
...
@@ -23,7 +23,7 @@ export class DutySignUpPage {
};
};
this
.
appService
.
ObserverHttpGetOption
(
'/wisdomgroup/schedule/hasSignIn'
,
data
)
this
.
appService
.
ObserverHttpGetOption
(
'/wisdomgroup/schedule/hasSignIn'
,
data
)
.
subscribe
((
res
)
=>
{
.
subscribe
((
res
)
=>
{
this
.
signState
=
res
;
this
.
signState
=
res
.
json
()
;
})
})
}
}
...
...
src/pages/manageDuty/change-apply-list/change-apply-list.html
View file @
ae1171e4
...
@@ -38,8 +38,8 @@
...
@@ -38,8 +38,8 @@
</ion-item>
</ion-item>
</ng-container>
</ng-container>
<ng-container
*
ngIf=
"changeType == 2"
>
<ng-container
*
ngIf=
"changeType == 2"
>
<ion-item
*
ngFor=
"let item2 of doneList;"
class=
"margin-bottom-10"
>
<ion-item
*
ngFor=
"let item2 of doneList;"
class=
"margin-bottom-10"
(
click
)="
goToDetail
(
item2
)"
>
<div
class=
"margin-bottom-10"
(
click
)=""
>
<div
class=
"margin-bottom-10"
>
<span>
{{item2.name}}
</span>
<span>
{{item2.name}}
</span>
<span>
{{item2.phoneNumber}}
</span>
<span>
{{item2.phoneNumber}}
</span>
<span
float-right
>
{{item2.dutyDate | date:'yyyy-MM-dd'}}
</span>
<span
float-right
>
{{item2.dutyDate | date:'yyyy-MM-dd'}}
</span>
...
...
src/pages/manageDuty/change-apply-list/change-apply-list.ts
View file @
ae1171e4
...
@@ -2,8 +2,7 @@ import { Component } from '@angular/core';
...
@@ -2,8 +2,7 @@ import { Component } from '@angular/core';
import
{
IonicPage
,
NavController
,
NavParams
}
from
'ionic-angular'
;
import
{
IonicPage
,
NavController
,
NavParams
}
from
'ionic-angular'
;
import
{
AppService
}
from
"../../../service/appHttpService"
;
import
{
AppService
}
from
"../../../service/appHttpService"
;
import
{
DutyApplyHandlePage
}
from
"../duty-apply-handle/duty-apply-handle"
;
import
{
DutyApplyHandlePage
}
from
"../duty-apply-handle/duty-apply-handle"
;
import
{
DutyChangeDetailPage
}
from
"../duty-change-detail/duty-change-detail"
;
@
IonicPage
()
@
IonicPage
()
@
Component
({
@
Component
({
...
@@ -55,8 +54,11 @@ export class ChangeApplyListPage {
...
@@ -55,8 +54,11 @@ export class ChangeApplyListPage {
}
}
goApplyDetail
(
item
){
goApplyDetail
(
item
){
console
.
log
(
item
);
this
.
navCtrl
.
push
(
'DutyApplyHandlePage'
,{
'item'
:
item
});
this
.
navCtrl
.
push
(
'DutyApplyHandlePage'
,{
'item'
:
item
});
}
}
goToDetail
(
item
){
this
.
navCtrl
.
push
(
'DutyChangeDetailPage'
,{
'item'
:
item
});
}
}
}
src/pages/manageDuty/duty-change-detail/duty-change-detail.html
View file @
ae1171e4
...
@@ -6,11 +6,19 @@
...
@@ -6,11 +6,19 @@
</ion-navbar>
</ion-navbar>
</ion-header>
</ion-header>
<ion-content
class=
"bgc-e7e8ed"
>
<p
class=
"padding-10-20 bgc-fff"
>
已忽略
</p>
<ion-content>
<!--<p>已安排替班</p>-->
<div>
<!--<p>已安排换班</p>-->
<p>
申请信息
</p>
<div
class=
"detail-item"
>
<p>
换班信息
</p>
<p
class=
"detail-title1"
>
申请信息
</p>
<p>
申请人
</p>
<p>
值班日期
</p>
<p>
换班原因
</p>
</div>
<div
class=
"detail-item"
>
<p
class=
"detail-title2"
>
换班信息
</p>
<p>
换班对象
</p>
<p>
值班日期
</p>
</div>
</div>
</ion-content>
</ion-content>
src/pages/manageDuty/duty-change-detail/duty-change-detail.scss
View file @
ae1171e4
page-duty-change-detail
{
page-duty-change-detail
{
.detail-item
{
background-color
:
#fff
;
margin
:
10px
;
border-radius
:
4px
;
padding-bottom
:
10px
;
p
:not
(
:first-child
)
{
margin
:
20px
10px
;
}
.detail-title1
{
background-color
:
#4990b5
;
color
:
#fff
;
padding
:
10px
;
border-top-left-radius
:
4px
;
border-top-right-radius
:
4px
;
}
.detail-title2
{
background-color
:
#408de7
;
color
:
#fff
;
padding
:
10px
;
border-top-left-radius
:
4px
;
border-top-right-radius
:
4px
;
}
}
}
}
src/pages/manageDuty/duty-change-detail/duty-change-detail.ts
View file @
ae1171e4
import
{
Component
}
from
'@angular/core'
;
import
{
Component
}
from
'@angular/core'
;
import
{
IonicPage
,
NavController
,
NavParams
}
from
'ionic-angular'
;
import
{
IonicPage
,
NavController
,
NavParams
}
from
'ionic-angular'
;
/**
* Generated class for the DutyChangeDetailPage page.
*
* See https://ionicframework.com/docs/components/#navigation for more info on
* Ionic pages and navigation.
*/
@
IonicPage
()
@
IonicPage
()
@
Component
({
@
Component
({
selector
:
'page-duty-change-detail'
,
selector
:
'page-duty-change-detail'
,
...
@@ -15,11 +8,13 @@ import { IonicPage, NavController, NavParams } from 'ionic-angular';
...
@@ -15,11 +8,13 @@ import { IonicPage, NavController, NavParams } from 'ionic-angular';
})
})
export
class
DutyChangeDetailPage
{
export
class
DutyChangeDetailPage
{
detail
;
constructor
(
public
navCtrl
:
NavController
,
public
navParams
:
NavParams
)
{
constructor
(
public
navCtrl
:
NavController
,
public
navParams
:
NavParams
)
{
}
}
ionViewDidLoad
()
{
ionViewDidLoad
()
{
console
.
log
(
'ionViewDidLoad DutyChangeDetailPage'
);
this
.
detail
=
this
.
navParams
.
get
(
'item'
);
console
.
log
(
this
.
detail
);
}
}
}
}
src/theme/icon.scss
View file @
ae1171e4
...
@@ -75,7 +75,7 @@
...
@@ -75,7 +75,7 @@
padding-top
:
#{
$i
}
px
;
padding-top
:
#{
$i
}
px
;
}
}
.padding-bottom-
#{
$i
}
{
.padding-bottom-
#{
$i
}
{
padding-bttom
:
#{
$i
}
px
;
padding-b
o
ttom
:
#{
$i
}
px
;
}
}
}
}
...
@@ -84,5 +84,8 @@
...
@@ -84,5 +84,8 @@
.margin-
#{
$i
}
-
#{
$j
}
{
.margin-
#{
$i
}
-
#{
$j
}
{
margin
:
#{
$i
}
px
#{
$j
}
px
;
margin
:
#{
$i
}
px
#{
$j
}
px
;
}
}
.padding-
#{
$i
}
-
#{
$j
}
{
padding
:
#{
$i
}
px
#{
$j
}
px
;
}
}
}
}
}
\ No newline at end of file
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