fix(mobile): 审批弹窗加大字号、补请假天数并缩小意见框
同步请假类型下线外出/回家、新增临时回寝的安全 SQL(历史单不迁移)。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
15ed3ec9fb
commit
b26bf58744
2 files changed
+184
-7
No files matched your search
@@ -33,6 +33,10 @@
|
||||
<text class="leave-summary-label">结束时间</text>
|
||||
<text class="leave-summary-value">{{ formatLeaveDateTime(leaveInfo.endTime) }}</text>
|
||||
</view>
|
||||
<view class="leave-summary-row">
|
||||
<text class="leave-summary-label">请假天数</text>
|
||||
<text class="leave-summary-value">{{ formatLeaveDuration(leaveInfo.leaveDuration) }}</text>
|
||||
</view>
|
||||
<view class="leave-summary-row">
|
||||
<text class="leave-summary-label">是否离校</text>
|
||||
<text class="leave-summary-value">{{ formatLeaveSchool(leaveInfo.isLeaveSchool) }}</text>
|
||||
@@ -106,7 +110,7 @@
|
||||
v-model="form.message"
|
||||
placeholder="请输入审批意见"
|
||||
:maxlength="500"
|
||||
height="120"
|
||||
height="72"
|
||||
count
|
||||
/>
|
||||
</view>
|
||||
@@ -587,6 +591,11 @@ export default {
|
||||
return value || '-';
|
||||
},
|
||||
|
||||
formatLeaveDuration(value) {
|
||||
if (value === null || value === undefined || value === '') return '-';
|
||||
return `${value} 天`;
|
||||
},
|
||||
|
||||
// 关闭弹窗
|
||||
cancel() {
|
||||
this.visible = false;
|
||||
@@ -1231,7 +1240,7 @@ export default {
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 32rpx;
|
||||
font-size: 34rpx;
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
}
|
||||
@@ -1243,12 +1252,12 @@ export default {
|
||||
}
|
||||
|
||||
.form-item {
|
||||
margin-bottom: 40rpx;
|
||||
margin-bottom: 32rpx;
|
||||
}
|
||||
|
||||
.label {
|
||||
display: block;
|
||||
font-size: 28rpx;
|
||||
font-size: 30rpx;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
margin-bottom: 16rpx;
|
||||
@@ -1273,16 +1282,16 @@ export default {
|
||||
}
|
||||
|
||||
.leave-summary-label {
|
||||
width: 160rpx;
|
||||
width: 170rpx;
|
||||
flex-shrink: 0;
|
||||
font-size: 26rpx;
|
||||
font-size: 30rpx;
|
||||
color: #667085;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.leave-summary-value {
|
||||
flex: 1;
|
||||
font-size: 26rpx;
|
||||
font-size: 30rpx;
|
||||
color: #1f2937;
|
||||
line-height: 1.5;
|
||||
word-break: break-all;
|
||||
|
||||
Reference in new issue
Block a user