feat: 定时清除lucene日志

This commit is contained in:
2023-10-26 11:13:29 +08:00
parent d22a79cc9c
commit 0cf10e6118
4 changed files with 105 additions and 26 deletions

View File

@@ -1,5 +1,5 @@
<template>
<div class="app-container">
<div v-loading.fullscreen.lock="fullscreenLoading" class="app-container">
<!--工具栏-->
<div class="head-container">
<div v-if="crud.props.searchToggle">
@@ -539,6 +539,7 @@ export default {
regionCodeParam: null,
materialDialog: false,
orderDialog: false,
fullscreenLoading: false,
materialCode: null,
flag: 1
}
@@ -641,14 +642,14 @@ export default {
},
// 下发
submits(row) {
this.crud.loading = true
this.fullscreenLoading = true
crudPdmBdWorkorder.submits(row).then(res => {
this.crud.notify('下发成功', CRUD.NOTIFICATION_TYPE.SUCCESS)
this.crud.toQuery()
}).catch(() => {
this.crud.loading = false
this.fullscreenLoading = false
}).finally(() => {
this.crud.loading = false
this.fullscreenLoading = false
})
},
synchronize() {
@@ -658,6 +659,8 @@ export default {
this.crud.notify('同步成功!', CRUD.NOTIFICATION_TYPE.SUCCESS)
}).catch(() => {
this.fullscreenLoading = false
}).finally(() => {
this.fullscreenLoading = false
})
}
}