|
@@ -419,6 +419,22 @@ export default {
|
|
|
// 月报更新
|
|
|
upDateReportFn(key = 'cb', confirmReportBack) {
|
|
|
this.SET_LOADING(true)
|
|
|
+ setTimeout(()=>{
|
|
|
+ if(this.loading) {
|
|
|
+ window.location.reload()
|
|
|
+ }
|
|
|
+ }, 10000)
|
|
|
+ setTimeout(()=>{
|
|
|
+ if(this.loading) {
|
|
|
+ window.location.reload()
|
|
|
+ }
|
|
|
+ }, 15000)
|
|
|
+
|
|
|
+ setTimeout(()=>{
|
|
|
+ if(this.loading) {
|
|
|
+ window.location.reload()
|
|
|
+ }
|
|
|
+ }, 20000)
|
|
|
const method = this.pageType.search(/All/) > -1 ? 'upDateReport' : 'upDateSubReport'
|
|
|
this[method](() => {
|
|
|
confirmReportBack && confirmReportBack()
|
|
@@ -430,6 +446,7 @@ export default {
|
|
|
this.$message.success('保存成功!')
|
|
|
}
|
|
|
this.historyRecordReload = true
|
|
|
+ window.location.reload()
|
|
|
})
|
|
|
},
|
|
|
// 月报确认
|