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
9b7be414
Commit
9b7be414
authored
Sep 24, 2018
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
notice
parent
06aa8d0a
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
27 additions
and
5 deletions
+27
-5
duty.html
src/pages/dutyALl/duty/duty.html
+16
-2
duty.ts
src/pages/dutyALl/duty/duty.ts
+6
-2
home.ts
src/pages/tabs/home/home.ts
+3
-0
notice.html
src/pages/tabs/notice/notice.html
+0
-0
notice.ts
src/pages/tabs/notice/notice.ts
+2
-1
No files found.
src/pages/dutyALl/duty/duty.html
View file @
9b7be414
...
@@ -27,13 +27,24 @@
...
@@ -27,13 +27,24 @@
</ion-calendar>
</ion-calendar>
<div>
<div>
<ion-item>
<ion-item>
<span></span>
<p>
<span>
白班
</span>
<span
*
ngIf=
"dayObj.name"
float-right
>
{{dayObj.name}}
</span>
<span
*
ngIf=
"!dayObj.name"
float-right
>
暂无
</span>
</p>
</ion-item>
<ion-item>
<p>
<span>
夜班
</span>
<span
*
ngIf=
"nightObj.name"
float-right
>
{{nightObj.name}}
</span>
<span
*
ngIf=
"!nightObj.name"
float-right
>
暂无
</span>
</p>
</ion-item>
</ion-item>
</div>
</div>
</ng-container>
</ng-container>
<ng-container
*
ngIf=
"changeType == 2"
>
<ng-container
*
ngIf=
"changeType == 2"
>
<div
class=
"duty-content"
>
<div
class=
"duty-content"
>
<ion-list>
<ion-list
*
ngIf=
"nowDuty.length > 0"
>
<ion-item
*
ngFor=
"let item of nowDuty"
>
<ion-item
*
ngFor=
"let item of nowDuty"
>
<div
>
<div
>
<span>
{{item.dutyDate | date:'yyyy-MM-dd'}}
</span>
<span>
{{item.dutyDate | date:'yyyy-MM-dd'}}
</span>
...
@@ -46,6 +57,9 @@
...
@@ -46,6 +57,9 @@
</div>
</div>
</ion-item>
</ion-item>
</ion-list>
</ion-list>
<ion-list
*
ngIf=
"nowDuty.length == 0"
>
<p
text-center
>
暂无数据
</p>
</ion-list>
</div>
</div>
</ng-container>
</ng-container>
</ion-content>
</ion-content>
...
...
src/pages/dutyALl/duty/duty.ts
View file @
9b7be414
...
@@ -22,8 +22,12 @@ export class DutyPage {
...
@@ -22,8 +22,12 @@ export class DutyPage {
];
];
swiperIndex
;
swiperIndex
;
changeType
=
1
;
changeType
=
1
;
dayObj
;
dayObj
=
{
nightObj
;
name
:
''
};
nightObj
=
{
name
:
''
};
nowDuty
;
nowDuty
;
historyDuty
;
historyDuty
;
options
:
CalendarComponentOptions
=
{
options
:
CalendarComponentOptions
=
{
...
...
src/pages/tabs/home/home.ts
View file @
9b7be414
...
@@ -218,6 +218,9 @@ export class HomePage {
...
@@ -218,6 +218,9 @@ export class HomePage {
this
.
isWait
=
false
;
this
.
isWait
=
false
;
}
}
onChange
(
e
){
console
.
log
(
e
);
}
go
(
item
)
{
go
(
item
)
{
if
(
item
.
type
==
1
)
{
if
(
item
.
type
==
1
)
{
...
...
src/pages/tabs/notice/notice.html
View file @
9b7be414
This diff is collapsed.
Click to expand it.
src/pages/tabs/notice/notice.ts
View file @
9b7be414
...
@@ -11,6 +11,7 @@ import {AppService} from "../../../service/appHttpService";
...
@@ -11,6 +11,7 @@ import {AppService} from "../../../service/appHttpService";
})
})
export
class
NoticePage
{
export
class
NoticePage
{
noticeList
=
[];
constructor
(
public
navCtrl
:
NavController
,
public
navParams
:
NavParams
,
constructor
(
public
navCtrl
:
NavController
,
public
navParams
:
NavParams
,
public
appService
:
AppService
)
{
public
appService
:
AppService
)
{
}
}
...
@@ -19,7 +20,7 @@ export class NoticePage {
...
@@ -19,7 +20,7 @@ export class NoticePage {
this
.
appService
.
ObserverHttpPost
(
"/wisdomgroup/modules/message/findAllActivityForAppWithXQ"
,
null
)
this
.
appService
.
ObserverHttpPost
(
"/wisdomgroup/modules/message/findAllActivityForAppWithXQ"
,
null
)
.
subscribe
((
res
:
Response
)
=>
{
.
subscribe
((
res
:
Response
)
=>
{
let
data
=
res
.
json
();
let
data
=
res
.
json
();
this
.
noticeList
=
data
;
},
error
=>
{
},
error
=>
{
this
.
appService
.
alert
(
'网络异常!'
);
this
.
appService
.
alert
(
'网络异常!'
);
}
}
...
...
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