mirror of
https://gitee.com/java110/PropertyApp.git
synced 2026-02-23 21:36:39 +08:00
调整维修单时间格式显示问题,以及空置房验房和审批权限控制问题
This commit is contained in:
parent
f94e589fb8
commit
775c2e81ac
@ -111,8 +111,8 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="cu-item">
|
||||
<button class="btn-check" v-if="applyRoomInfo.state == 1" @click="switchShowModel()">验房</button>
|
||||
<button class="btn-check" v-if="applyRoomInfo.state == 2" @click="switchShowModel()">审核</button>
|
||||
<button class="btn-check" v-if="applyRoomInfo.state == 1 && this.java110Context.hasPrivilege('502021010723590006')" @click="switchShowModel()">验房</button>
|
||||
<button class="btn-check" v-if="applyRoomInfo.state == 2 && this.java110Context.hasPrivilege('502021010761730007')" @click="switchShowModel()">审核</button>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 编辑模态框 -->
|
||||
|
||||
@ -201,7 +201,7 @@
|
||||
_that.repairDetailInfo = _data[0];
|
||||
|
||||
let dateStr = _that.repairDetailInfo.appointmentTime;
|
||||
let _date = new Date(dateStr);
|
||||
let _date = new Date(dateStr.replace(/-/g, "/"));
|
||||
_that.repairDetailInfo.appointmentTime = (_date.getMonth() + 1) + '-' + _date.getDate();
|
||||
},
|
||||
fail: function(e) {
|
||||
|
||||
@ -108,7 +108,7 @@
|
||||
_that.myOrders.forEach(function(item) {
|
||||
let dateStr = item.appointmentTime;
|
||||
console.log(dateStr);
|
||||
let _date = new Date(dateStr);
|
||||
let _date = new Date(dateStr.replace(/-/g, "/"));
|
||||
item.appointmentTime = (_date.getMonth() + 1) + '-' + _date.getDate();
|
||||
});
|
||||
// _that.orders = _data.ownerRepairs;
|
||||
|
||||
@ -105,7 +105,7 @@
|
||||
_that.repairOrders.forEach(function(item) {
|
||||
let dateStr = item.appointmentTime;
|
||||
console.log(dateStr);
|
||||
let _date = new Date(dateStr);
|
||||
let _date = new Date(dateStr.replace(/-/g, "/"));
|
||||
item.appointmentTime = (_date.getMonth() + 1) + '-' + _date.getDate();
|
||||
});
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user