fix:多余url导致404
This commit is contained in:
parent
d794539335
commit
dddbacdf61
|
@ -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,
|
||||
})
|
||||
|
|
|
@ -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) || '',
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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: [],
|
||||
|
|
|
@ -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: [],
|
||||
|
|
|
@ -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: [],
|
||||
|
|
|
@ -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: [],
|
||||
|
|
|
@ -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: [],
|
||||
|
|
|
@ -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: {},
|
||||
|
|
Loading…
Reference in New Issue
Block a user