Merge branch 'main' of ssh://git.jizhiweb.cn:2222/clinic-v2/web

This commit is contained in:
LiJianZhao 2025-05-16 17:15:15 +08:00
commit 6819587701
1 changed files with 46 additions and 8 deletions

View File

@ -52,16 +52,36 @@
v-model:current-page="current_page" @current-change="change_page"/> v-model:current-page="current_page" @current-change="change_page"/>
</div> </div>
</div> </div>
<Mask :is-show="UpdateDirectoryLoading" :width="540" :height="163" title="更新版本" :close="false"> <Mask :is-show="UpdateDirectoryLoading" :width="540" :height="160+24+24+60" title="更新版本" @close="close">
<div style="height:100%;padding: 24px">
<div class="updateDirectory"> <div class="updateDirectory">
<div>{{ tip_message }}</div> <div class="updateDirectory-message">{{ tip_message }}</div>
<div class="demo-progress"> <div class="demo-progress">
<el-progress :percentage="100" :stroke-width="15" striped <el-progress :percentage="100" :stroke-width="30" striped
striped-flow :show-text="false"/> striped-flow :show-text="false"/>
</div> </div>
</div> </div>
</div>
</Mask> </Mask>
<Mask :is-show="isUpdate1312" :width="540" :height="347" title="有效期更新" @close="isUpdate1312=false"> <Mask :is-show="isUpdate1312" :width="540" :height="347" title="有效期更新" @close="close">
<div class="update_box">
<el-date-picker
v-model="updt_time"
type="date"
placeholder="选择一个起始日期"
size="default"
style="flex: 1;height: 42px"
/>
<div class="default-btn" @click="update1312(1)"
:style="{background: showBtn ? '#EDEFF6' : '', color: showBtn ? '#333333' : ''}" style="margin-left: 24px">
开始更新
</div>
</div>
<div class="tip-body">
<div class="tip">{{ tip }}</div>
</div>
</Mask>
<Mask :is-show="isUpdate1318" :width="540" :height="347" title="有效期更新" @close="close">
<div class="update_box"> <div class="update_box">
<el-date-picker <el-date-picker
v-model="updt_time" v-model="updt_time"
@ -260,7 +280,13 @@ let download = (ver: any, type: any) => {
}) })
}) })
} }
const close = () => {
UpdateDirectoryLoading.value = false;
isUpdate1312.value = false
isUpdate1318.value = false
isUpdate1319.value = false
tip.value = ""
}
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
@ -355,4 +381,16 @@ let download = (ver: any, type: any) => {
font-style: normal; font-style: normal;
} }
} }
.updateDirectory{
height: 100%;
padding: 24px;
background: #F9FAFC;
font-weight: 500;
font-size: 16px;
color: #999999;
font-style: normal;
&-message{
margin-bottom: 24px;
}
}
</style> </style>