|
@@ -8,7 +8,7 @@ import process from '@/api/flow/process'
|
|
// 缓存 start
|
|
// 缓存 start
|
|
import { EVENT_ENUM, EVENT_BUS, cacheTriggerFunc } from '@/utils/cacheHelper'
|
|
import { EVENT_ENUM, EVENT_BUS, cacheTriggerFunc } from '@/utils/cacheHelper'
|
|
const flowStore = useFlowStore()
|
|
const flowStore = useFlowStore()
|
|
-const { flowName, flowProcessId } = storeToRefs(flowStore)
|
|
|
|
|
|
+const { flowName, flowProcessId, processKey } = storeToRefs(flowStore)
|
|
const cacheLoading = ref(false)
|
|
const cacheLoading = ref(false)
|
|
const cacheLoadingNum = ref(600)
|
|
const cacheLoadingNum = ref(600)
|
|
const cacheLoadingFr = 1000
|
|
const cacheLoadingFr = 1000
|
|
@@ -151,6 +151,7 @@ const updateRemoteCache = async () => {
|
|
const params = processId.value ? { ...flowInfo.value, processId: processId.value } : flowInfo.value
|
|
const params = processId.value ? { ...flowInfo.value, processId: processId.value } : flowInfo.value
|
|
const res = await process.progressCreateApi(params)
|
|
const res = await process.progressCreateApi(params)
|
|
flowProcessId.value = processId.value = res
|
|
flowProcessId.value = processId.value = res
|
|
|
|
+ processKey.value = flowInfo.value.processKey
|
|
console.log('updateRemoteCache 实际调用接口, params = ', params, new Date().getTime())
|
|
console.log('updateRemoteCache 实际调用接口, params = ', params, new Date().getTime())
|
|
} catch (e) {
|
|
} catch (e) {
|
|
console.log(e)
|
|
console.log(e)
|