Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<ion-header>
<ion-navbar>
<ion-title>问卷管理</ion-title>
<ion-buttons end>
<button ion-button (click)="create()">
<span (click)="create()" ion-text class="color-fff" >创建</span>
</button>
</ion-buttons>
</ion-navbar>
<div class="pageMenuSlides">
<div class="swiper-container">
<div class="swiper-wrapper">
<div class="swiper-slide" *ngFor="let item of menuList;let i=index;" tappable (click)="selectPageMenu(i)">
<span class=" {{swiperIndex == i? 'swiper-title':''}} ">
{{item.name}}
</span>
<span></span>
</div>
</div>
</div>
</div>
</ion-header>
<!--<ion-content style="{{showOp == true ? 'height: calc(100vh - 11rem);':''}}">-->
<ion-content [ngStyle]="{ 'height':showOp == true? 'calc(100vh - 11rem)':'' }">
<ion-content direction="y" scrollbar-y="true" class="bgc-e7e8ed">
<ion-list>
<!--<ng-container *ngIf="contentList.datalist.length > 0">-->
<ion-item class="item-list" *ngFor="let item of contentList.datalist">
<div class="item" (click)="showOpra(item)">
<div class="item-header">
<div class="item-header-style">
<span class="item-title">{{item.title}}</span>
<span float-right class="btn btn1" *ngIf="item.state==1 ">未发布</span>
<span float-right class="btn btn2" *ngIf="item.state==2 ">已发布</span>
<span float-right class="btn btn3" *ngIf="item.state==3 ">已过期</span>
</div>
</div>
<div class="content-button">
<span>参与人员:</span>
<span *ngIf="item.groupName">{{item.groupName}}</span>
<span *ngIf="!item.groupName">全体人员</span>
</div>
</div>
</ion-item>
</ion-list>
</ion-content>
</ion-content>
<ion-footer *ngIf="showOp">
<div class="cover">
<p class="survey-title">{{temp?.title}}</p>
<div class="footter-opr">
<div *ngIf="swiperIndex == 0" (click)="edit()"><span>编辑</span></div>
<div *ngIf="swiperIndex == 1" (click)="look()"><span>查看</span></div>
<div *ngIf="swiperIndex == 1" (click)="cancel()"><span>取消发布</span></div>
<div *ngIf="swiperIndex == 1" (click)="overDue()"><span>设为过期</span></div>
<div *ngIf="swiperIndex == 0" (click)="release()"><span>发布</span></div>
<div *ngIf="swiperIndex == 1 || swiperIndex == 2" (click)="result()"><span>结果</span></div>
<div *ngIf="swiperIndex == 0" (click)="copy()"><span>复制</span></div>
<div (click)="delete()"><span>删除</span></div>
</div>
<ion-toolbar>
<p class="text-center" (click)="cancle()"> 取消 </p>
</ion-toolbar>
</div>
</ion-footer>