d505b44d by xukangle

fiix:流程参数修改

1 parent d109e7f6
......@@ -6,6 +6,7 @@ import {
getApiDetail,
apiTypes,
} from "@/api/modules/dataAsset";
import useUserStore from "@/store/modules/user";
const route = useRoute();
const { proxy } = getCurrentInstance() as any;
const router = useRouter();
......@@ -27,12 +28,14 @@ const detailInfo: any = ref({});
const apiType = ref('1');// 单表API.
const sql = ref('');
const processDTOSValue = ref([]);
const userStore = useUserStore();
const userData = JSON.parse(userStore.userData)
onBeforeMount(() => {
if (route.query.guid) {
getDetail();
} else {
getCamundaDeploymentId('10023').then((res: any) => {
getCamundaDeploymentId('10023', userData.tenantGuid, userData.staffGuid).then((res: any) => {
if (res.code == proxy.$passCode) {
deploymentId.value = res.data;
} else {
......
......@@ -2076,7 +2076,7 @@ onBeforeMount(() => {
}
});
} else {
getCamundaDeploymentId('10016').then((res: any) => {
getCamundaDeploymentId('10016', userData.tenantGuid, userData.staffGuid).then((res: any) => {
if (res.code == proxy.$passCode) {
deploymentId.value = res.data;
} else {
......
......@@ -1456,7 +1456,7 @@ onBeforeMount(async () => {
}
})
getCamundaDeploymentId('10016').then((res: any) => {
getCamundaDeploymentId('10016', userData.tenantGuid, userData.staffGuid).then((res: any) => {
if (res.code == proxy.$passCode) {
deploymentId.value = res.data;
} else {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!