Commit 0e4ae56e authored by wangqinghua's avatar wangqinghua

update

parent 229cc94c
......@@ -148,6 +148,7 @@
</ion-item>
</div>
<div class="space"></div>
<ng-container *ngIf="isShow">
<div class="handle">
<ion-item *ngIf="itemInfo?.type == '1'">
<ion-label class="item-left">当前业务办理对应批文</ion-label>
......@@ -184,7 +185,8 @@
</div>
<ion-item>
<ion-label class="item-left">委托登记类型</ion-label>
<ion-select [(ngModel)]="submitObj.djtype" interface="action-sheet" placeholder="选择委托登记类型" okText="确定"
<ion-select [(ngModel)]="submitObj.djtype" interface="action-sheet" placeholder="选择委托登记类型"
okText="确定"
cancelText="取消">
<ion-option value="11">银行</ion-option>
<ion-option value="12">国家税务局</ion-option>
......@@ -209,6 +211,9 @@
</div>
</div>
</div>
<button class="submit-btn submit" (click)="sureSubmit()">确定</button>
</ng-container>
<ng-container *ngIf="!isShow">
<p text-center>请至PC端操作</p>
</ng-container>
</ion-content>
......@@ -64,6 +64,7 @@ export class DealDetailPage {
};
area; //区属划分
isShow = true; //是否显示操作按钮
constructor(public navCtrl: NavController, public navParams: NavParams,
private globle: GlobalData,
......@@ -72,6 +73,12 @@ export class DealDetailPage {
private dealSer: DealService, private modalCtrl: ModalController) {
this.itemInfo = this.navParams.get("item");
this.area = this.globle.area;
if (this.itemInfo.status == '4' || this.itemInfo.status == '5') {
this.isShow = false;
}
if (this.itemInfo.type == '2' && this.itemInfo.status == '1') {
this.isShow = false;
}
}
//查询详情
......
......@@ -45,13 +45,13 @@
</div>
<div class="inner-button">
<div class="text-right">
<span (click)="goToDetail(item)" *ngIf="item.status == 1" class="btn color1">受理</span>
<span (click)="handleClick(item,$event)" *ngIf="item.status == 1 && mineInfo.roles == 1 && item.dbtype == '0'"
<span (click)="goToDetail(item)" *ngIf="item.status == '1'" class="btn color1">受理</span>
<span (click)="handleClick(item,$event)" *ngIf="item.status == '1' && mineInfo.roles == 1 && item.dbtype == '0'"
class="btn color1 db">督办事项</span>
<span (click)="goToDetail(item)" *ngIf="item.status == 2" class="btn color2">审核</span>
<span (click)="goToDetail(item)" *ngIf="item.status == 3" class="btn color3">审批</span>
<span (click)="goToDetail(item)" *ngIf="item.status == 4" class="btn color4">办证</span>
<span (click)="goToDetail(item)" *ngIf="item.status == 5" class="btn color5">发证</span>
<span (click)="goToDetail(item)" *ngIf="item.status == '2'" class="btn color2">审核</span>
<span (click)="goToDetail(item)" *ngIf="item.status == '3'" class="btn color3">审批</span>
<span (click)="goToDetail(item)" *ngIf="item.status == '4'" class="btn color4">办证</span>
<span (click)="goToDetail(item)" *ngIf="item.status == '5'" class="btn color5">发证</span>
</div>
</div>
</div>
......
......@@ -45,12 +45,11 @@ export class DealPage {
this.mineInfo = this.globle.userObj;
}
ionViewDidLoad() {
ionViewDidEnter() {
this.changeOption();
}
changeOption() {
this.type.list = [];
this.appSer.setDeal(this.option.type);
const loading = this.loadCtrl.create();
loading.present();
......@@ -69,10 +68,10 @@ export class DealPage {
this.type.changeList = res.page.list.filter(e => e.flow == 2);
this.type.cancelList = res.page.list.filter(e => e.flow == 3);
this.type.getList = res.page.list.filter(e => e.flow == 4);
if (this.type.option == 1) this.type.list = this.type.list.concat(this.type.setList);
if (this.type.option == 2) this.type.list = this.type.list.concat(this.type.changeList);
if (this.type.option == 3) this.type.list = this.type.list.concat(this.type.cancelList);
if (this.type.option == 4) this.type.list = this.type.list.concat(this.type.getList);
if (this.type.option == 1) this.type.list = (this.type.setList);
if (this.type.option == 2) this.type.list = (this.type.changeList);
if (this.type.option == 3) this.type.list = (this.type.cancelList);
if (this.type.option == 4) this.type.list = (this.type.getList);
}
}
)
......@@ -82,10 +81,10 @@ export class DealPage {
changeType(type) {
this.type.option = type;
this.type.list = [];
if (type == 1) this.type.list = this.type.list.concat(this.type.setList);
if (type == 2) this.type.list = this.type.list.concat(this.type.changeList);
if (type == 3) this.type.list = this.type.list.concat(this.type.cancelList);
if (type == 4) this.type.list = this.type.list.concat(this.type.getList);
if (type == 1) this.type.list = (this.type.setList);
if (type == 2) this.type.list = (this.type.changeList);
if (type == 3) this.type.list = (this.type.cancelList);
if (type == 4) this.type.list = (this.type.getList);
}
//督办操作
......
......@@ -27,11 +27,11 @@
</div>
</div>
<div class="handle-btn">
<span (click)="goToDetail(item)" *ngIf="item.status == 1" class="btn color1">受理</span>
<span (click)="goToDetail(item)" *ngIf="item.status == 2" class="btn color2">审核</span>
<span (click)="goToDetail(item)" *ngIf="item.status == 3" class="btn color3">审批</span>
<span (click)="goToDetail(item)" *ngIf="item.status == 4" class="btn color4">办证</span>
<span (click)="goToDetail(item)" *ngIf="item.status == 5" class="btn color5">发证</span>
<span (click)="goToDetail(item)" *ngIf="item.status == '1'" class="btn color1">受理</span>
<span (click)="goToDetail(item)" *ngIf="item.status == '2'" class="btn color2">审核</span>
<span (click)="goToDetail(item)" *ngIf="item.status == '3'" class="btn color3">审批</span>
<span (click)="goToDetail(item)" *ngIf="item.status == '4'" class="btn color4">办证</span>
<span (click)="goToDetail(item)" *ngIf="item.status == '5'" class="btn color5">发证</span>
</div>
</div>
</div>
......
......@@ -39,7 +39,7 @@ export class DoSupervisePage {
this.mineInfo = this.globle.userObj;
}
ionViewDidLoad() {
ionViewDidEnter() {
this.getList();
}
......
......@@ -54,7 +54,7 @@ export class DoVerityPage {
}
ionViewDidLoad() {
ionViewDidEnter() {
this.changeOption();
}
......
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