Commit d9ddab9e by 李伟康

修复BUG

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