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