Merge branch 'develop' into release-test
Showing
4 changed files
with
7 additions
and
4 deletions
| ... | @@ -428,7 +428,7 @@ export const getApiDetail = (params) => request({ | ... | @@ -428,7 +428,7 @@ export const getApiDetail = (params) => request({ |
| 428 | method: 'get', | 428 | method: 'get', |
| 429 | }) | 429 | }) |
| 430 | 430 | ||
| 431 | // 跨服务掉加工交付接口 获取API调用次数 | 431 | // 跨服务调加工交付接口 获取API调用次数 |
| 432 | export const getApiInvokeCount = (data) => request({ | 432 | export const getApiInvokeCount = (data) => request({ |
| 433 | // url: `http://localhost:9000/delivery/ms-daop-jgjf-data-open-service/home-page/dam/call-api-stat`, | 433 | // url: `http://localhost:9000/delivery/ms-daop-jgjf-data-open-service/home-page/dam/call-api-stat`, |
| 434 | url: `https://daop-zcgl-test.zgsjzc.com/delivery/api/ms-daop-jgjf-data-open-service/home-page/dam/call-api-stat`, | 434 | url: `https://daop-zcgl-test.zgsjzc.com/delivery/api/ms-daop-jgjf-data-open-service/home-page/dam/call-api-stat`, | ... | ... |
| ... | @@ -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