MicroCommunityWeb/public/pages/property/visitManage/visitManage.html
2022-04-26 19:22:36 +08:00

145 lines
9.0 KiB
HTML
Executable File

<div>
<div class="row">
<div class="col-lg-12">
<div class="ibox">
<div class="ibox-title">
<h5>
<span><vc:i18n name="访客信息" namespace="visitManage"></vc:i18n></span>
</h5>
<div class="ibox-tools" style="top:10px;">
<button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddVisitModal()">
<i class="fa fa-plus"></i><span><vc:i18n name="登记" namespace="visitManage"></vc:i18n></span>
</button>
</div>
</div>
<div class="ibox-content">
<div class="row">
<div class="col-sm-3">
<div class="form-group">
<input type="text" :placeholder="vc.i18n('请填写来访人姓名','visitManage')" class="form-control" v-model="appManageInfo.conditions.vName">
</div>
</div>
<div class="col-sm-4">
<div class="form-group input-group">
<input type="text" :placeholder="vc.i18n('请选择来访开始时间','visitManage')" v-model="appManageInfo.conditions.visitStartTime" class=" form-control visitStartTime">
</div>
</div>
<div class="col-sm-3">
<div class="form-group input-group">
<input type="text" :placeholder="vc.i18n('请选择来访结束时间','visitManage')" v-model="appManageInfo.conditions.visitEndTime" class=" form-control visitEndTime">
</div>
</div>
<div class="col-sm-2">
<button type="button" class="btn btn-primary btn-sm" v-on:click="_queryAppManageInfoMethod()">
<i class="fa fa-search"></i> <span><vc:i18n name="查询" namespace="visitManage"></vc:i18n></span>
</button>
<button type="button" class="btn btn-primary btn-sm" v-on:click="_resetAppManageInfoMethod()">
<i class="fa fa-repeat"></i> <span><vc:i18n name="重置" namespace="visitManage"></vc:i18n></span>
</button>
<div class="ibox-tools" style="top:0px;">
<button type="button" class="btn btn-link btn-sm" style="margin-right:10px;" v-on:click="_moreCondition()">
{{appManageInfo.moreCondition == true?'隐藏':'更多'}}
</button>
</div>
</div>
</div>
<div class="row" v-show="appManageInfo.moreCondition == true">
<div class="col-sm-3">
<div class="form-group">
<input type="text" :placeholder="vc.i18n('请填写访客联系方式','visitManage')" class="form-control" v-model="appManageInfo.conditions.phoneNumber">
</div>
</div>
</div>
</div>
<div class="ibox-content">
<table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
<thead>
<tr>
<th class="text-center">
<span><vc:i18n name="访客ID" namespace="visitManage"></vc:i18n></span>
</th>
<th class="text-center">
<span><vc:i18n name="访客姓名" namespace="visitManage"></vc:i18n></span>
</th>
<th class="text-center">
<span><vc:i18n name="访客联系方式" namespace="visitManage"></vc:i18n></span>
</th>
<th class="text-center">
<span><vc:i18n name="访客性别" namespace="visitManage"></vc:i18n></span>
</th>
<th class="text-center">
<span><vc:i18n name="来访事由" namespace="visitManage"></vc:i18n></span>
</th>
<th class="text-center">
<span><vc:i18n name="事由类型" namespace="visitManage"></vc:i18n></span>
</th>
<th class="text-center">
<span><vc:i18n name="车牌号" namespace="visitManage"></vc:i18n></span>
</th>
<th class="text-center">
<span><vc:i18n name="随行人数" namespace="visitManage"></vc:i18n></span>
</th>
<th class="text-center">
<span><vc:i18n name="来访时间" namespace="visitManage"></vc:i18n></span>
</th>
<th class="text-center">
<span><vc:i18n name="离开时间" namespace="visitManage"></vc:i18n></span>
</th>
<th class="text-center">
<span><vc:i18n name="状态" namespace="visitManage"></vc:i18n></span>
</th>
<th class="text-center">
<span><vc:i18n name="操作" namespace="visitManage"></vc:i18n></span>
</th>
</tr>
</thead>
<tbody>
<tr v-for="visit in appManageInfo.visits">
<td class="text-center">{{visit.vId}}</td>
<td class="text-center">{{visit.vName}}</td>
<td class="text-center">{{visit.phoneNumber}}</td>
<td class="text-center">{{visit.visitGender=='0'?'男':'女'}}</td>
<td class="text-center">{{visit.visitCase}}</td>
<td class="text-center">
{{visit.reasonType == 0 ? '喜事' : (visit.reasonType == 1 ? '白事' : '-')}}
</td>
<td class="text-center">{{visit.carNum}}</td>
<td class="text-center">{{visit.entourage}}</td>
<td class="text-center">{{visit.visitTime}}</td>
<td class="text-center">{{visit.departureTime}}</td>
<td class="text-center">{{visit.stateName}}</td>
<td class="text-center">
<div class="btn-group" v-if="visit.state == '0'">
<button class="btn-white btn btn-xs" v-on:click="_openExamineVisitModel(visit)"><span><vc:i18n name="车辆审核" namespace="visitManage"></vc:i18n></span>
</button>
</div>
<div class="btn-group">
<button class="btn-white btn btn-xs" v-on:click="_openEditVisitModel(visit)"><span><vc:i18n name="修改" namespace="visitManage"></vc:i18n></span>
</button>
</div>
<div class="btn-group">
<button class="btn-white btn btn-xs" v-on:click="_openDeleteAppModel(visit)"><span><vc:i18n name="删除" namespace="visitManage"></vc:i18n></span>
</button>
</div>
</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="11">
<ul class="pagination float-right"></ul>
</td>
</tr>
</tfoot>
</table>
<!-- 分页 -->
<vc:create path="frame/pagination"></vc:create>
</div>
</div>
</div>
</div>
<vc:create path="property/editVisit"></vc:create>
<vc:create path="property/examineVisit"></vc:create>
<vc:create path="dev/deleteApp"></vc:create>
</div>