Commit d9ddab9e by 李伟康

修复BUG

1 parent 1105d430
<template>
<div class="journey">
<div class="journey" v-loading="loading">
<div class="container">
<div class="sticky">
<GLCombiForm ref="showSearch" :rowNumber="2" :formObj="searchForm" :formData="searchFormData" :searchSelectObj="searchSelectObj" @handleOk="handleSearch" @handleRest="handleReset" :key="FormKey"></GLCombiForm>
......@@ -55,7 +55,8 @@ export default {
return {
viewType: 1,
journeyList: [],
FormKey: Date.now()
FormKey: Date.now(),
loading:false
}
},
mounted () {
......@@ -149,9 +150,11 @@ export default {
const { sopJourneyId } = this.tableSearchForm,
{ refreshTime } = this
if (refreshTime && Date.now() - refreshTime < 1e4) return this.$message('数据正在刷新中,请勿频繁提交')
this.loading = true
const res = await this.$apis.journey.refreshInst({
instId: sopJourneyId
})
this.loading = false
this.refreshTime = Date.now()
this.handleSearch()
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!