Files
PropertyDeployment/resources/Web/MicroCommunityWeb/html/components/staff/staffDetailRepair/staffDetailRepair.html
2025-12-09 20:22:03 +08:00

96 lines
4.9 KiB
HTML

<div class="">
<div class="row">
<div class="col-sm-4"></div>
<div class="col-lg-8 text-right">
<div class="btn-group" role="group" aria-label="Basic example">
<button type="button" class="btn btn-sm"
v-bind:class="{'btn-primary': staffDetailRepairInfo.undoOrder == 'undo','btn-light':staffDetailRepairInfo.undoOrder != 'undo'}"
v-on:click="_switchUndoOrder('undo')">
<span>
<vc:i18n name="待办单" namespace="staffDetailRepair"></vc:i18n>
</span>
</button>
<button type="button" class="btn btn-sm"
v-bind:class="{'btn-primary': staffDetailRepairInfo.undoOrder == 'do','btn-light':staffDetailRepairInfo.undoOrder != 'do'}"
v-on:click="_switchUndoOrder('do')">
<span>
<vc:i18n name="已办单" namespace="staffDetailRepair"></vc:i18n>
</span>
</button>
</div>
</div>
</div>
<div class="margin-top">
<table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
<thead>
<tr>
<th class="text-center">
<vc:i18n name="报修ID" namespace="staffDetailRepair"></vc:i18n>
</th>
<th class="text-center">
<vc:i18n name="位置" namespace="staffDetailRepair"></vc:i18n>
</th>
<th class="text-center">
<vc:i18n name="报修类型" namespace="staffDetailRepair"></vc:i18n>
</th>
<th class="text-center">
<vc:i18n name="维修类型" namespace="staffDetailRepair"></vc:i18n>
</th>
<th class="text-center">
<vc:i18n name="报修人" namespace="staffDetailRepair"></vc:i18n>
</th>
<th class="text-center">
<vc:i18n name="联系方式" namespace="staffDetailRepair"></vc:i18n>
</th>
<th class="text-center">
<vc:i18n name="预约时间" namespace="staffDetailRepair"></vc:i18n>
</th>
<th class="text-center">
<vc:i18n name="状态" namespace="staffDetailRepair"></vc:i18n>
</th>
<th class="text-center">
<vc:i18n name="操作" namespace="staffDetailRepair"></vc:i18n>
</th>
</tr>
</thead>
<tbody>
<tr v-for="ownerRepair in staffDetailRepairInfo.ownerRepairs">
<td class="text-center">{{ownerRepair.repairId}}</td>
<td class="text-center">{{ownerRepair.repairObjName}}</td>
<td class="text-center">{{ownerRepair.repairTypeName}}</td>
<td class="text-center" v-if="ownerRepair.maintenanceType == '1001'"><vc:i18n name="有偿服务" namespace="staffDetailRepair"></vc:i18n></td>
<td class="text-center" v-else-if="ownerRepair.maintenanceType == '1002'"><vc:i18n name="无偿服务" namespace="staffDetailRepair"></vc:i18n></td>
<td class="text-center" v-else-if="ownerRepair.maintenanceType == '1003'"><vc:i18n name="需要用料" namespace="staffDetailRepair"></vc:i18n></td>
<td class="text-center" v-else-if="ownerRepair.maintenanceType == '1004'"><vc:i18n name="无需用料" namespace="staffDetailRepair"></vc:i18n></td>
<td class="text-center" v-else>-</td>
<td class="text-center">{{ownerRepair.repairName}}</td>
<td class="text-center">{{ownerRepair.tel}}</td>
<td class="text-center">{{ownerRepair.appointmentTime}}</td>
<td class="text-center"
v-if="ownerRepair.state == '1800' && (ownerRepair.returnVisitFlag == '001' || ownerRepair.returnVisitFlag == '002')">
{{ownerRepair.stateName}}<vc:i18n name="(定时任务处理)" namespace="staffDetailRepair"></vc:i18n>
</td>
<td class="text-center" v-else>
{{ownerRepair.stateName}}
</td>
<td class="text-center">
<div class="btn-group">
<button class="btn-white btn btn-xs" v-on:click="_openRepairDetail(ownerRepair)">
<vc:i18n name="详情" namespace="staffDetailRepair"></vc:i18n>
</button>
</div>
</td>
</tr>
</tbody>
</table>
<!-- 分页 -->
<div class="row">
<div class="col-sm-4">
</div>
<div class="col-sm-8">
<vc:create namespace="staffDetailRepair" path="frame/paginationPlus"></vc:create>
</div>
</div>
</div>
</div>