|
@@ -207,8 +207,8 @@ const getSOAPpdf = (itemValue) => {
|
|
|
};
|
|
|
|
|
|
onMounted(() => {
|
|
|
- routeId.value = route.fullPath.split("/")[4];
|
|
|
- search.value.operationId = route.fullPath.split("/")[6];
|
|
|
+ routeId.value = route.fullPath.split("/")[6];
|
|
|
+ search.value.operationId = route.fullPath.split("/")[4];
|
|
|
url.value = tableConfig[props.tableType].url;
|
|
|
option.value = Object.assign(option.value, {
|
|
|
addBtn: false,
|
|
@@ -219,7 +219,7 @@ onMounted(() => {
|
|
|
});
|
|
|
dataList();
|
|
|
getRouteMaxVersion(
|
|
|
- route.fullPath.split("/")[4] ? route.fullPath.split("/")[4] : routeId.value
|
|
|
+ route.fullPath.split("/")[6] ? route.fullPath.split("/")[6] : routeId.value
|
|
|
).then(({ data }) => {
|
|
|
if (data) {
|
|
|
bomVersion.value = data;
|
|
@@ -230,7 +230,7 @@ onMounted(() => {
|
|
|
watch(
|
|
|
() => props.tableType,
|
|
|
() => {
|
|
|
- routeId.value = route.fullPath.split("/")[4];
|
|
|
+ routeId.value = route.fullPath.split("/")[6];
|
|
|
url.value = tableConfig[props.tableType].url;
|
|
|
option.value = Object.assign(option.value, {
|
|
|
addBtn: false,
|
|
@@ -241,8 +241,8 @@ watch(
|
|
|
});
|
|
|
dataList();
|
|
|
getRouteMaxVersion(
|
|
|
- route.fullPath.split("/")[4]
|
|
|
- ? route.fullPath.split("/")[4]
|
|
|
+ route.fullPath.split("/")[6]
|
|
|
+ ? route.fullPath.split("/")[6]
|
|
|
: routeId.value
|
|
|
).then(({ data }) => {
|
|
|
if (data) {
|