fix:多余url导致404

This commit is contained in:
nieziyan 2024-01-26 17:25:00 +08:00
parent d794539335
commit dddbacdf61
9 changed files with 14 additions and 14 deletions

View File

@ -217,7 +217,7 @@ export default {
//
async _getStationInfo(stationInfo) {
try {
const { success, result, message } = await getAction('/jeecg-station-operation/stationOperation/findInfo', {
const { success, result, message } = await getAction('/stationOperation/findInfo', {
stationId: stationInfo.stationId,
type: stationInfo.stationType,
})

View File

@ -579,7 +579,7 @@ export default {
success,
result: { GIS: markerList, table },
message,
} = await postAction('/jeecg-station-operation/stationOperation/getHitEquList', {
} = await postAction('/stationOperation/getHitEquList', {
radius: this.radius,
stationIds,
})
@ -696,7 +696,7 @@ export default {
const stationIds = this.dataStatusCheckedKeys.filter((key) => -1 == key.toString().indexOf('root_'))
this.isSavingDataRecieveSettings = true
const { success, message } = await postAction(
'/jeecg-station-operation/sysUserFocusStation/saveUserFocusByUserId',
'/sysUserFocusStation/saveUserFocusByUserId',
{
stationIds,
...this.dataRecieveStatusModel,
@ -739,7 +739,7 @@ export default {
async getDataRecieveSettings() {
try {
const { success, result, message } = await getAction(
'/jeecg-station-operation/sysUserFocusStation/findUserFocusByUserId',
'/sysUserFocusStation/findUserFocusByUserId',
{
userId: this.$store.getters.userInfo.id,
}
@ -775,7 +775,7 @@ export default {
try {
this.isGettingStatusList = true
const { success, result, message } = await getAction(
'/jeecg-station-operation/stationOperation/getDataReceivingStatus',
'/stationOperation/getDataReceivingStatus',
{
userId: this.$store.getters.userInfo.id,
oneStationId: (this.stationInfo && this.stationInfo.stationId) || '',

View File

@ -253,7 +253,7 @@ export default {
async getStationList() {
try {
this.isGettingDataList = true
const res = await getAction('/jeecg-station-operation/stationOperation/findList')
const res = await getAction('/stationOperation/findList')
res.forEach((item) => {
const { stationId, stationName, stationType } = item
item._stationId = `${stationId}${stationName}${stationType}`
@ -364,7 +364,7 @@ export default {
async getFollowedStationList() {
try {
this.isGettingFollowedDataList = true
const res = await getAction('/jeecg-station-operation/sysUserFocusStation/findList')
const res = await getAction('/sysUserFocusStation/findList')
this.followedDataList = res
const scrollContainer2Ref = this.$refs.scrollContainer2Ref
@ -383,7 +383,7 @@ export default {
//
async getStationTypeList() {
try {
const res = await getAction('/jeecg-station-operation/stationOperation/findStationType')
const res = await getAction('/stationOperation/findStationType')
this.stationTypeList = res.filter((item) => item).map((item) => ({ label: item, value: item }))
} catch (error) {
console.error(error)

View File

@ -121,7 +121,7 @@ export default {
list: '/webStatistics/findMetPage',
delete: '/gardsSampleData/deleteById',
findStationList: '/webStatistics/findStationList',
findParticulatePage: '/jeecg-web-statistics/webStatistics/findParticulatePage',
findParticulatePage: '/webStatistics/findParticulatePage',
},
stationList: [],
dataSource: [],

View File

@ -101,7 +101,7 @@ export default {
list: '/webStatistics/findAlertSohPage',
delete: '/gardsSampleData/deleteById',
findStationList: '/webStatistics/findStationList',
findParticulatePage: '/jeecg-web-statistics/webStatistics/findParticulatePage',
findParticulatePage: '/webStatistics/findParticulatePage',
},
stationList: [],
dataSource: [],

View File

@ -103,7 +103,7 @@ export default {
list: '/webStatistics/findSohPage',
delete: '/gardsSampleData/deleteById',
findStationList: '/webStatistics/findStationList',
findParticulatePage: '/jeecg-web-statistics/webStatistics/findParticulatePage',
findParticulatePage: '/webStatistics/findParticulatePage',
},
stationList: [],
dataSource: [],

View File

@ -113,7 +113,7 @@ export default {
list: '/radionuclide/findAutoPage',
delete: '/gardsSampleData/deleteById',
findStationList: '/webStatistics/findStationList',
findParticulatePage: '/jeecg-web-statistics/webStatistics/findParticulatePage',
findParticulatePage: '/webStatistics/findParticulatePage',
},
stationList: [],
dataSource: [],

View File

@ -113,7 +113,7 @@ export default {
list: '/radionuclide/findReviewedPage',
delete: '/gardsSampleData/deleteById',
findStationList: '/webStatistics/findStationList',
findParticulatePage: '/jeecg-web-statistics/webStatistics/findParticulatePage',
findParticulatePage: '/webStatistics/findParticulatePage',
},
stationList: [],
dataSource: [],

View File

@ -116,7 +116,7 @@ export default {
list: '/webStatistics/findParticulatePage',
delete: '/gardsSampleData/deleteById',
findStationList: '/webStatistics/findStationList',
findParticulatePage: '/jeecg-web-statistics/webStatistics/findParticulatePage',
findParticulatePage: '/webStatistics/findParticulatePage',
},
dataSource: [],
detailJson: {},