周期
This commit is contained in:
@@ -53,7 +53,7 @@ export default {
|
|||||||
mounted() {
|
mounted() {
|
||||||
if (this.id.toString() === '3') {
|
if (this.id.toString() === '3') {
|
||||||
this.checkApproval()
|
this.checkApproval()
|
||||||
this.timer = setInterval(this.checkApproval, 1000 * 60)
|
this.timer = setInterval(this.checkApproval, 1000 * 60 * 5)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
@@ -94,7 +94,7 @@ export default {
|
|||||||
this.$router.push({ path: '/FundApproval2/index' })
|
this.$router.push({ path: '/FundApproval2/index' })
|
||||||
setTimeout(this.noticeFund.close(), 1000)
|
setTimeout(this.noticeFund.close(), 1000)
|
||||||
},
|
},
|
||||||
duration: 1000 * 60
|
duration: 1000 * 60 * 5
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -108,7 +108,7 @@ export default {
|
|||||||
this.$router.push({ path: '/InvoiceSettlementApprove/index' })
|
this.$router.push({ path: '/InvoiceSettlementApprove/index' })
|
||||||
setTimeout(this.noticeInvoice.close(), 1000)
|
setTimeout(this.noticeInvoice.close(), 1000)
|
||||||
},
|
},
|
||||||
duration: 1000 * 60
|
duration: 1000 * 60 * 5
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user