This commit is contained in:
@jyuhsin
2024-10-22 16:25:08 +08:00
parent 8cfea63d5f
commit 724c9249d3
9 changed files with 147 additions and 36 deletions
@@ -134,6 +134,10 @@ layout("/mobile/platform.html"){
top: 28px;
}
.custom-image {
height: 50% !important;
}
</style>
<div id="app" v-cloak>
@@ -354,11 +358,11 @@ layout("/mobile/platform.html"){
</div>
</van-action-sheet>
<van-popup position="bottom" round v-model="helpUserShow" :style="{ height: '70%' }" closeable>
<van-popup position="bottom" round v-model="helpUserShow" :style="{ height: '70%' }" closeable class="sign_pop">
<van-search v-model="searchResult" show-action style="padding: 10px;margin-top: 45px" placeholder="请输入工号或姓名搜索"
@input="delaySearch">
</van-search>
<van-cell-group>
<van-cell-group v-if="userList && userList.length > 0">
<div>
<van-checkbox-group style="text-align: center">
<van-cell-group>
@@ -370,6 +374,12 @@ layout("/mobile/platform.html"){
</van-checkbox-group>
</div>
</van-cell-group>
<van-empty
v-else
class="custom-image"
image="/none.svg"
description="暂无数据"
></van-empty>
</van-popup>
</div>
@@ -538,7 +548,7 @@ layout("/mobile/platform.html"){
if (res.code === 0) {
this.timeList = res.data
if (this.timeList.length === 0) {
vant.Toast('暂无可请假的假时间段');
vant.Toast('暂无可请假的会议');
return
}
this.leaveShow = true
@@ -600,7 +610,8 @@ layout("/mobile/platform.html"){
}
const resp = await $.post('/mobile/meeting/mine/askForLeave', {
meetingId: this.clickRow.id,
data: JSON.stringify(paramArray)
data: JSON.stringify(paramArray),
helpLeave: this.helpLeave
})
if (resp.code === 0) {
vant.Toast('操作成功');