|
@@ -708,6 +708,7 @@ import { useProjectPermis } from '@/store/modules/projectPermis'
|
|
|
import { DICT_TYPE, getDictOptions } from '@/utils/dict'
|
|
|
import { openFlow } from '@/utils/flow'
|
|
|
import { filterNodeMethod } from '@/utils/tree'
|
|
|
+import subscribe from '@/utils/Subscribe'
|
|
|
import TreeSelectV2 from '@/components/TreeSelectV2/index.vue'
|
|
|
import UserOrgTree from '@/views/OaSystem/components/UserOrgTree/index.vue'
|
|
|
import ContractMilestone from '@/views/OaSystem/projectCenter/projectDetail/components/xmht/ContractMilestone.vue'
|
|
@@ -873,6 +874,7 @@ const { mutate: saveContract } = useMutation(putContract, {
|
|
|
},
|
|
|
onSuccess: () => {
|
|
|
void refetch()
|
|
|
+ subscribe.emit('mainContractRefetch', null)
|
|
|
ElMessage({
|
|
|
message: '保存合同成功',
|
|
|
type: 'success'
|