验证中...
开源中国 2018 年度最后一场技术盛会邀你来约~错过就要等明年啦!点此立即预约
片段 1 片段 2
[contentStyle]="{'overflow':'visible'}"
原始数据 复制代码
<!-- 事件统计窗口 -->
<p-dialog [(visible)]="addRecordDialog" header="事件统计" [showHeader]="true" [closable]="true" [contentStyle]="{'overflow':'visible'}">
<div class="ui-g">
<div class="ui-g-3">
<p-dropdown [options]="eventTypes" [(ngModel)]="record.eventType" [style]="{'width':'100%'}" placeholder="事件类型"></p-dropdown>
</div>
<div class="ui-g-3">
<p-dropdown [options]="addressTypes" [(ngModel)]="record.addressType" [style]="{'width':'100%'}" placeholder="地点类型"></p-dropdown>
</div>
<div class="ui-g-3">
<p-calendar [(ngModel)]="record.startTime" dateFormat="mm/dd/yy" showTime="true" placeholder="发生时间" [inputStyle]="{'width':'100%'}"></p-calendar>
</div>
<div class="ui-g-3">
<p-calendar [(ngModel)]="record.endTime" dateFormat="mm/dd/yy" showTime="true" placeholder="结束时间" [inputStyle]="{'width':'100%'}"></p-calendar>
</div>
</div>
<div class="ui-g-12">
<textarea pInputTextarea [(ngModel)]="record.content" style="width: 100%;height: 200px;" placeholder="事件内容"></textarea>
</div>
<div class="ui-g-12">
<button pButton type="button" (click)="addRecord(record)" label="保存" class="ui-button"></button>
<button pButton type="button" (click)="cancleAddRecordDialog()" label="取消" class="ui-button"></button>
</div>
</p-dialog>
p-dialog.png

评论列表( 0 )

你可以在登录后,发表评论

搜索帮助

12_float_left_people 12_float_left_close