Bläddra i källkod

分/外包发起流程更新角标

songxy 10 månader sedan
förälder
incheckning
3a190189a4

+ 5 - 2
client/src/views/OaSystem/marketCenter/contractSubOut/applyIndex.vue

@@ -169,6 +169,7 @@ import { getAssetURL } from '@/utils/auth'
 import { openFlow, openProcessFlow } from '@/utils/flow'
 import request from '@/config/axios'
 import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
+import subscribe from '@/utils/Subscribe'
 import UserOrgTree from '@/views/OaSystem/components/UserOrgTree/index.vue'
 
 defineOptions({ name: 'ContractSubOut' })
@@ -335,7 +336,8 @@ const processSubmit = async (): Promise<void> => {
       '/business'
     )
     .then((data) => {
-      openFlow(router, data, '签订申请', `qdsq_${currentProcess.value?.id}`)
+      openFlow(router, data, '签订申请')
+      subscribe.emit('updateHandleCenterCorner', null)
     })
 }
 const useMoneySubmit = (): void => {
@@ -368,7 +370,8 @@ const useMoneySubmit = (): void => {
       '/business'
     )
     .then((data) => {
-      openFlow(router, data, '用款申请', `yksq_${currentProcess.value?.id}`)
+      openFlow(router, data, '用款申请')
+      subscribe.emit('updateHandleCenterCorner', null)
     })
 }
 const operateClick = (row: any) => {