Commit 7fb52c99 authored by wangqinghua's avatar wangqinghua

值班

parent fda3b195
<ion-header>
<ion-navbar>
<ion-title>值班签到</ion-title>
</ion-navbar>
</ion-header>
<ion-content>
</ion-content>
import { NgModule } from '@angular/core';
import { IonicPageModule } from 'ionic-angular';
import { DutySignUpPage } from './duty-sign-up';
@NgModule({
declarations: [
DutySignUpPage,
],
imports: [
IonicPageModule.forChild(DutySignUpPage),
],
})
export class DutySignUpPageModule {}
import { Component } from '@angular/core';
import { IonicPage, NavController, NavParams } from 'ionic-angular';
import { AppService } from "../../../service/appHttpService";
@IonicPage()
@Component({
selector: 'page-duty-sign-up',
templateUrl: 'duty-sign-up.html',
})
export class DutySignUpPage {
constructor(public navCtrl: NavController, public navParams: NavParams,
public appService: AppService) {
}
ionViewDidLoad() {
console.log('ionViewDidLoad DutySignUpPage');
}
}
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
<ion-navbar> <ion-navbar>
<ion-title>值班情况</ion-title> <ion-title>值班情况</ion-title>
<span (click)="sigUp()" float-right class="margin-right-10 color-999">值班签到</span>
</ion-navbar> </ion-navbar>
<div class="duty"> <div class="duty">
<div class="dutyItem" (click)="change(1)"> <div class="dutyItem" (click)="change(1)">
......
...@@ -4,6 +4,7 @@ import {CalendarComponentOptions} from "ion2-calendar"; ...@@ -4,6 +4,7 @@ import {CalendarComponentOptions} from "ion2-calendar";
import {AppService} from "../../../service/appHttpService"; import {AppService} from "../../../service/appHttpService";
import {DutyApplyPage} from "../duty-apply/duty-apply"; import {DutyApplyPage} from "../duty-apply/duty-apply";
import {DutyDetailPage} from "../duty-detail/duty-detail"; import {DutyDetailPage} from "../duty-detail/duty-detail";
import {DutySignUpPage} from "../duty-sign-up/duty-sign-up";
declare var Swiper; declare var Swiper;
@IonicPage() @IonicPage()
...@@ -119,4 +120,9 @@ export class DutyPage { ...@@ -119,4 +120,9 @@ export class DutyPage {
}) })
} }
//值班签到
sigUp(){
this.navCtrl.push('DutySignUpPage');
}
} }
...@@ -21,15 +21,15 @@ ...@@ -21,15 +21,15 @@
<label class="label2-2">离沪报备</label> <label class="label2-2">离沪报备</label>
<img class="new-logo" *ngIf="hasNewPremanager==1" src="./assets/imgs/new.png"> <img class="new-logo" *ngIf="hasNewPremanager==1" src="./assets/imgs/new.png">
</div> </div>
<div class="card" (click)="wait()"> <div class="card" (click)="goDuty()">
<img src="./assets/imgs/home/icon-zb.png" alt=""> <img src="./assets/imgs/home/icon-zb.png" alt="">
<label class="label2-2">值班情况</label> <label class="label2-2">值班情况</label>
</div> </div>
<div class="card" (click)="wait()"> <div class="card" (click)="goActivityTrack()">
<img src="./assets/imgs/home/icon-hdgz.png" alt=""> <img src="./assets/imgs/home/icon-hdgz.png" alt="">
<label class="label2-2">活动跟踪</label> <label class="label2-2">活动跟踪</label>
</div> </div>
<div class="card" (click)="wait()"> <div class="card" (click)="goReportTrack()">
<img src="./assets/imgs/home/icon-bbgz.png" alt=""> <img src="./assets/imgs/home/icon-bbgz.png" alt="">
<label class="label2-2">报备跟踪</label> <label class="label2-2">报备跟踪</label>
</div> </div>
......
...@@ -42,6 +42,20 @@ export class MoreAppPage { ...@@ -42,6 +42,20 @@ export class MoreAppPage {
}); });
} }
//报备跟踪
goReportTrack(){
this.navCtrl.push("ReportTrackPage");
}
//值班情况
goDuty(){
this.navCtrl.push("DutyPage");
}
goActivityTrack(){
this.navCtrl.push("ActivityTrackPage");
}
replayManage(){ replayManage(){
this.navCtrl.push('ChangeApplyListPage'); this.navCtrl.push('ChangeApplyListPage');
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment