fiix:流程参数修改
Showing
3 changed files
with
6 additions
and
3 deletions
| ... | @@ -6,6 +6,7 @@ import { | ... | @@ -6,6 +6,7 @@ import { |
| 6 | getApiDetail, | 6 | getApiDetail, |
| 7 | apiTypes, | 7 | apiTypes, |
| 8 | } from "@/api/modules/dataAsset"; | 8 | } from "@/api/modules/dataAsset"; |
| 9 | import useUserStore from "@/store/modules/user"; | ||
| 9 | const route = useRoute(); | 10 | const route = useRoute(); |
| 10 | const { proxy } = getCurrentInstance() as any; | 11 | const { proxy } = getCurrentInstance() as any; |
| 11 | const router = useRouter(); | 12 | const router = useRouter(); |
| ... | @@ -27,12 +28,14 @@ const detailInfo: any = ref({}); | ... | @@ -27,12 +28,14 @@ const detailInfo: any = ref({}); |
| 27 | const apiType = ref('1');// 单表API. | 28 | const apiType = ref('1');// 单表API. |
| 28 | const sql = ref(''); | 29 | const sql = ref(''); |
| 29 | const processDTOSValue = ref([]); | 30 | const processDTOSValue = ref([]); |
| 31 | const userStore = useUserStore(); | ||
| 32 | const userData = JSON.parse(userStore.userData) | ||
| 30 | 33 | ||
| 31 | onBeforeMount(() => { | 34 | onBeforeMount(() => { |
| 32 | if (route.query.guid) { | 35 | if (route.query.guid) { |
| 33 | getDetail(); | 36 | getDetail(); |
| 34 | } else { | 37 | } else { |
| 35 | getCamundaDeploymentId('10023').then((res: any) => { | 38 | getCamundaDeploymentId('10023', userData.tenantGuid, userData.staffGuid).then((res: any) => { |
| 36 | if (res.code == proxy.$passCode) { | 39 | if (res.code == proxy.$passCode) { |
| 37 | deploymentId.value = res.data; | 40 | deploymentId.value = res.data; |
| 38 | } else { | 41 | } else { | ... | ... |
| ... | @@ -2076,7 +2076,7 @@ onBeforeMount(() => { | ... | @@ -2076,7 +2076,7 @@ onBeforeMount(() => { |
| 2076 | } | 2076 | } |
| 2077 | }); | 2077 | }); |
| 2078 | } else { | 2078 | } else { |
| 2079 | getCamundaDeploymentId('10016').then((res: any) => { | 2079 | getCamundaDeploymentId('10016', userData.tenantGuid, userData.staffGuid).then((res: any) => { |
| 2080 | if (res.code == proxy.$passCode) { | 2080 | if (res.code == proxy.$passCode) { |
| 2081 | deploymentId.value = res.data; | 2081 | deploymentId.value = res.data; |
| 2082 | } else { | 2082 | } else { | ... | ... |
| ... | @@ -1456,7 +1456,7 @@ onBeforeMount(async () => { | ... | @@ -1456,7 +1456,7 @@ onBeforeMount(async () => { |
| 1456 | } | 1456 | } |
| 1457 | }) | 1457 | }) |
| 1458 | 1458 | ||
| 1459 | getCamundaDeploymentId('10016').then((res: any) => { | 1459 | getCamundaDeploymentId('10016', userData.tenantGuid, userData.staffGuid).then((res: any) => { |
| 1460 | if (res.code == proxy.$passCode) { | 1460 | if (res.code == proxy.$passCode) { |
| 1461 | deploymentId.value = res.data; | 1461 | deploymentId.value = res.data; |
| 1462 | } else { | 1462 | } else { | ... | ... |
-
Please register or sign in to post a comment