mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
优化代码
This commit is contained in:
parent
d3bf92261d
commit
534d4d1eb9
@ -16,13 +16,6 @@
|
|||||||
<option value="10002">电器</option>
|
<option value="10002">电器</option>
|
||||||
</select> </div>
|
</select> </div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group row">
|
|
||||||
<label class="col-sm-2 col-form-label">巡检计划</label>
|
|
||||||
<div class="col-sm-10">
|
|
||||||
<input v-model="editJunkRequirementInfo.inspectionPlanId" type="text" readonly="readonly" placeholder="必填,请填写巡检计划"
|
|
||||||
class="form-control">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<label class="col-sm-2 col-form-label">内容</label>
|
<label class="col-sm-2 col-form-label">内容</label>
|
||||||
<div class="col-sm-10">
|
<div class="col-sm-10">
|
||||||
|
|||||||
@ -25,8 +25,6 @@
|
|||||||
<th class="text-center">业主名称</th>
|
<th class="text-center">业主名称</th>
|
||||||
<th class="text-center">业主电话</th>
|
<th class="text-center">业主电话</th>
|
||||||
<th class="text-center">操作</th>
|
<th class="text-center">操作</th>
|
||||||
|
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -35,14 +33,14 @@
|
|||||||
<td class="text-center">{{rentingPool.rentingTitle}}</td>
|
<td class="text-center">{{rentingPool.rentingTitle}}</td>
|
||||||
<td class="text-center">{{rentingPool.price}}</td>
|
<td class="text-center">{{rentingPool.price}}</td>
|
||||||
<td class="text-center">{{rentingPool.paymentType}}</td>
|
<td class="text-center">{{rentingPool.paymentType}}</td>
|
||||||
<td class="text-center">{{rentingPool.checkInDate}}</td>
|
<td class="text-center">{{rentingPool.checkIn == '1001'?'立即入住':'预约入住'}}</td>
|
||||||
<td class="text-center">{{rentingPool.rentingConfigId}}</td>
|
<td class="text-center">{{rentingPool.rentingConfigId}}</td>
|
||||||
<td class="text-center">{{rentingPool.ownerName}}</td>
|
<td class="text-center">{{rentingPool.ownerName}}</td>
|
||||||
<td class="text-center">{{rentingPool.ownerTel}}</td>
|
<td class="text-center">{{rentingPool.ownerTel}}</td>
|
||||||
<td class="text-center">
|
<td class="text-center">
|
||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
<button class="btn-white btn btn-xs"
|
<button class="btn-white btn btn-xs"
|
||||||
v-on:click="_openEditRentingPoolModel(rentingPool)">审核</button>
|
v-on:click="_openAuditModal(rentingPool)">审核</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
<button class="btn-white btn btn-xs"
|
<button class="btn-white btn btn-xs"
|
||||||
@ -68,4 +66,5 @@
|
|||||||
</div>
|
</div>
|
||||||
<vc:create path="admin/editRentingPool"></vc:create>
|
<vc:create path="admin/editRentingPool"></vc:create>
|
||||||
<vc:create path="admin/deleteRentingPool"></vc:create>
|
<vc:create path="admin/deleteRentingPool"></vc:create>
|
||||||
|
<vc:create path="common/audit" callBackListener = "rentingAuditManage" callBackFunction="audit"></vc:create>
|
||||||
</div>
|
</div>
|
||||||
@ -29,6 +29,9 @@
|
|||||||
vc.on('rentingPoolManage', 'listRentingPool', function (_param) {
|
vc.on('rentingPoolManage', 'listRentingPool', function (_param) {
|
||||||
vc.component._listRentingPools(DEFAULT_PAGE, DEFAULT_ROWS);
|
vc.component._listRentingPools(DEFAULT_PAGE, DEFAULT_ROWS);
|
||||||
});
|
});
|
||||||
|
vc.on('rentingAuditManage','audit',function(_auditInfo){
|
||||||
|
|
||||||
|
})
|
||||||
vc.on('pagination', 'page_event', function (_currentPage) {
|
vc.on('pagination', 'page_event', function (_currentPage) {
|
||||||
vc.component._listRentingPools(_currentPage, DEFAULT_ROWS);
|
vc.component._listRentingPools(_currentPage, DEFAULT_ROWS);
|
||||||
});
|
});
|
||||||
@ -60,8 +63,8 @@
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
_openAddRentingPoolModal: function () {
|
_openAuditModal: function () {
|
||||||
vc.emit('addRentingPool', 'openAddRentingPoolModal', {});
|
vc.emit('audit', 'openAuditModal', {});
|
||||||
},
|
},
|
||||||
_openEditRentingPoolModel: function (_rentingPool) {
|
_openEditRentingPoolModel: function (_rentingPool) {
|
||||||
vc.emit('editRentingPool', 'openEditRentingPoolModal', _rentingPool);
|
vc.emit('editRentingPool', 'openEditRentingPoolModal', _rentingPool);
|
||||||
|
|||||||
@ -90,7 +90,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
<button class="btn-white btn btn-xs"
|
<button class="btn-white btn btn-xs"
|
||||||
v-on:click="_openDeleteJunkRequirementModel(junkRequirement)">审核</button>
|
v-on:click="_openDeleteJunkRequirementModel(junkRequirement)">删除</button>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user