会议室预约个人自习室预约时间改成一个月

This commit is contained in:
Leo_Ding 2025-09-24 18:11:49 +08:00
parent 832709cdc5
commit 2736f63505
2 changed files with 6 additions and 6 deletions

View File

@ -131,18 +131,18 @@
</view> </view>
<view class="time-picker" v-if="isSelfStudy"> <view class="time-picker" v-if="isSelfStudy">
<view class="time-selector" @click="showStartTimePicker = true"> <view class="time-selector" @click="showStartTimePicker = true">
<text class="time-label">开始</text> <!-- <text class="time-label">开始</text> -->
<view class="time-display"> <view class="time-display" style="text-align: left;">
{{ startTime }} {{ startTime }}
</view> </view>
</view> </view>
<view class="time-separator"></view> <!-- <view class="time-separator"></view>
<view class="time-selector" @click="showEndTimePicker = true"> <view class="time-selector" @click="showEndTimePicker = true">
<text class="time-label">结束</text> <text class="time-label">结束</text>
<view class="time-display"> <view class="time-display">
{{ endTime }} {{ endTime }}
</view> </view>
</view> </view> -->
</view> </view>
</view> </view>
<!-- <view class="date-section"> <!-- <view class="date-section">
@ -724,7 +724,7 @@
userCardId: this.userCardId, userCardId: this.userCardId,
startTime: this.isSelfStudy ? this.startTime.replace('年','-').replace('月','') : startTime: this.isSelfStudy ? this.startTime.replace('年','-').replace('月','') :
`${this.borrowTimeData.replace('年','-').replace('月','-').replace('日','')} ${this.startTime.replace('时',':').replace('分','')}`, `${this.borrowTimeData.replace('年','-').replace('月','-').replace('日','')} ${this.startTime.replace('时',':').replace('分','')}`,
endTime: this.isSelfStudy ? this.endTime.replace('年','-').replace('月','') : `${this.borrowTimeData.replace('年','-').replace('月','-').replace('日','')} ${this.endTime.replace('时',':').replace('分','')}`, endTime: this.isSelfStudy ? this.startTime.replace('年','-').replace('月','') : `${this.borrowTimeData.replace('年','-').replace('月','-').replace('日','')} ${this.endTime.replace('时',':').replace('分','')}`,
counter: this.counter, counter: this.counter,
num: this.num, num: this.num,
// applyType:this.applyType // applyType:this.applyType

View File

@ -303,7 +303,7 @@
if (item.roomType == 2&&item.num!==4 ) { if (item.roomType == 2&&item.num!==4 ) {
uni.showModal({ uni.showModal({
title: '温馨提示', title: '温馨提示',
content: '自习室预约时间按月为单位,单次预约最长个月,请确认是否继续?', content: '自习室预约时间按月为单位,单次预约最长个月,请确认是否继续?',
confirmColor: '#007AFF', // uView confirmColor: '#007AFF', // uView
success: (res) => { success: (res) => {
if (res.confirm) { if (res.confirm) {