fix:多余url导致404
This commit is contained in:
parent
d794539335
commit
dddbacdf61
|
@ -217,7 +217,7 @@ export default {
|
||||||
// 获取站点详情
|
// 获取站点详情
|
||||||
async _getStationInfo(stationInfo) {
|
async _getStationInfo(stationInfo) {
|
||||||
try {
|
try {
|
||||||
const { success, result, message } = await getAction('/jeecg-station-operation/stationOperation/findInfo', {
|
const { success, result, message } = await getAction('/stationOperation/findInfo', {
|
||||||
stationId: stationInfo.stationId,
|
stationId: stationInfo.stationId,
|
||||||
type: stationInfo.stationType,
|
type: stationInfo.stationType,
|
||||||
})
|
})
|
||||||
|
|
|
@ -579,7 +579,7 @@ export default {
|
||||||
success,
|
success,
|
||||||
result: { GIS: markerList, table },
|
result: { GIS: markerList, table },
|
||||||
message,
|
message,
|
||||||
} = await postAction('/jeecg-station-operation/stationOperation/getHitEquList', {
|
} = await postAction('/stationOperation/getHitEquList', {
|
||||||
radius: this.radius,
|
radius: this.radius,
|
||||||
stationIds,
|
stationIds,
|
||||||
})
|
})
|
||||||
|
@ -696,7 +696,7 @@ export default {
|
||||||
const stationIds = this.dataStatusCheckedKeys.filter((key) => -1 == key.toString().indexOf('root_'))
|
const stationIds = this.dataStatusCheckedKeys.filter((key) => -1 == key.toString().indexOf('root_'))
|
||||||
this.isSavingDataRecieveSettings = true
|
this.isSavingDataRecieveSettings = true
|
||||||
const { success, message } = await postAction(
|
const { success, message } = await postAction(
|
||||||
'/jeecg-station-operation/sysUserFocusStation/saveUserFocusByUserId',
|
'/sysUserFocusStation/saveUserFocusByUserId',
|
||||||
{
|
{
|
||||||
stationIds,
|
stationIds,
|
||||||
...this.dataRecieveStatusModel,
|
...this.dataRecieveStatusModel,
|
||||||
|
@ -739,7 +739,7 @@ export default {
|
||||||
async getDataRecieveSettings() {
|
async getDataRecieveSettings() {
|
||||||
try {
|
try {
|
||||||
const { success, result, message } = await getAction(
|
const { success, result, message } = await getAction(
|
||||||
'/jeecg-station-operation/sysUserFocusStation/findUserFocusByUserId',
|
'/sysUserFocusStation/findUserFocusByUserId',
|
||||||
{
|
{
|
||||||
userId: this.$store.getters.userInfo.id,
|
userId: this.$store.getters.userInfo.id,
|
||||||
}
|
}
|
||||||
|
@ -775,7 +775,7 @@ export default {
|
||||||
try {
|
try {
|
||||||
this.isGettingStatusList = true
|
this.isGettingStatusList = true
|
||||||
const { success, result, message } = await getAction(
|
const { success, result, message } = await getAction(
|
||||||
'/jeecg-station-operation/stationOperation/getDataReceivingStatus',
|
'/stationOperation/getDataReceivingStatus',
|
||||||
{
|
{
|
||||||
userId: this.$store.getters.userInfo.id,
|
userId: this.$store.getters.userInfo.id,
|
||||||
oneStationId: (this.stationInfo && this.stationInfo.stationId) || '',
|
oneStationId: (this.stationInfo && this.stationInfo.stationId) || '',
|
||||||
|
|
|
@ -253,7 +253,7 @@ export default {
|
||||||
async getStationList() {
|
async getStationList() {
|
||||||
try {
|
try {
|
||||||
this.isGettingDataList = true
|
this.isGettingDataList = true
|
||||||
const res = await getAction('/jeecg-station-operation/stationOperation/findList')
|
const res = await getAction('/stationOperation/findList')
|
||||||
res.forEach((item) => {
|
res.forEach((item) => {
|
||||||
const { stationId, stationName, stationType } = item
|
const { stationId, stationName, stationType } = item
|
||||||
item._stationId = `${stationId}${stationName}${stationType}`
|
item._stationId = `${stationId}${stationName}${stationType}`
|
||||||
|
@ -364,7 +364,7 @@ export default {
|
||||||
async getFollowedStationList() {
|
async getFollowedStationList() {
|
||||||
try {
|
try {
|
||||||
this.isGettingFollowedDataList = true
|
this.isGettingFollowedDataList = true
|
||||||
const res = await getAction('/jeecg-station-operation/sysUserFocusStation/findList')
|
const res = await getAction('/sysUserFocusStation/findList')
|
||||||
this.followedDataList = res
|
this.followedDataList = res
|
||||||
|
|
||||||
const scrollContainer2Ref = this.$refs.scrollContainer2Ref
|
const scrollContainer2Ref = this.$refs.scrollContainer2Ref
|
||||||
|
@ -383,7 +383,7 @@ export default {
|
||||||
// 获取站点类型
|
// 获取站点类型
|
||||||
async getStationTypeList() {
|
async getStationTypeList() {
|
||||||
try {
|
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 }))
|
this.stationTypeList = res.filter((item) => item).map((item) => ({ label: item, value: item }))
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error)
|
console.error(error)
|
||||||
|
|
|
@ -121,7 +121,7 @@ export default {
|
||||||
list: '/webStatistics/findMetPage',
|
list: '/webStatistics/findMetPage',
|
||||||
delete: '/gardsSampleData/deleteById',
|
delete: '/gardsSampleData/deleteById',
|
||||||
findStationList: '/webStatistics/findStationList',
|
findStationList: '/webStatistics/findStationList',
|
||||||
findParticulatePage: '/jeecg-web-statistics/webStatistics/findParticulatePage',
|
findParticulatePage: '/webStatistics/findParticulatePage',
|
||||||
},
|
},
|
||||||
stationList: [],
|
stationList: [],
|
||||||
dataSource: [],
|
dataSource: [],
|
||||||
|
|
|
@ -101,7 +101,7 @@ export default {
|
||||||
list: '/webStatistics/findAlertSohPage',
|
list: '/webStatistics/findAlertSohPage',
|
||||||
delete: '/gardsSampleData/deleteById',
|
delete: '/gardsSampleData/deleteById',
|
||||||
findStationList: '/webStatistics/findStationList',
|
findStationList: '/webStatistics/findStationList',
|
||||||
findParticulatePage: '/jeecg-web-statistics/webStatistics/findParticulatePage',
|
findParticulatePage: '/webStatistics/findParticulatePage',
|
||||||
},
|
},
|
||||||
stationList: [],
|
stationList: [],
|
||||||
dataSource: [],
|
dataSource: [],
|
||||||
|
|
|
@ -103,7 +103,7 @@ export default {
|
||||||
list: '/webStatistics/findSohPage',
|
list: '/webStatistics/findSohPage',
|
||||||
delete: '/gardsSampleData/deleteById',
|
delete: '/gardsSampleData/deleteById',
|
||||||
findStationList: '/webStatistics/findStationList',
|
findStationList: '/webStatistics/findStationList',
|
||||||
findParticulatePage: '/jeecg-web-statistics/webStatistics/findParticulatePage',
|
findParticulatePage: '/webStatistics/findParticulatePage',
|
||||||
},
|
},
|
||||||
stationList: [],
|
stationList: [],
|
||||||
dataSource: [],
|
dataSource: [],
|
||||||
|
|
|
@ -113,7 +113,7 @@ export default {
|
||||||
list: '/radionuclide/findAutoPage',
|
list: '/radionuclide/findAutoPage',
|
||||||
delete: '/gardsSampleData/deleteById',
|
delete: '/gardsSampleData/deleteById',
|
||||||
findStationList: '/webStatistics/findStationList',
|
findStationList: '/webStatistics/findStationList',
|
||||||
findParticulatePage: '/jeecg-web-statistics/webStatistics/findParticulatePage',
|
findParticulatePage: '/webStatistics/findParticulatePage',
|
||||||
},
|
},
|
||||||
stationList: [],
|
stationList: [],
|
||||||
dataSource: [],
|
dataSource: [],
|
||||||
|
|
|
@ -113,7 +113,7 @@ export default {
|
||||||
list: '/radionuclide/findReviewedPage',
|
list: '/radionuclide/findReviewedPage',
|
||||||
delete: '/gardsSampleData/deleteById',
|
delete: '/gardsSampleData/deleteById',
|
||||||
findStationList: '/webStatistics/findStationList',
|
findStationList: '/webStatistics/findStationList',
|
||||||
findParticulatePage: '/jeecg-web-statistics/webStatistics/findParticulatePage',
|
findParticulatePage: '/webStatistics/findParticulatePage',
|
||||||
},
|
},
|
||||||
stationList: [],
|
stationList: [],
|
||||||
dataSource: [],
|
dataSource: [],
|
||||||
|
|
|
@ -116,7 +116,7 @@ export default {
|
||||||
list: '/webStatistics/findParticulatePage',
|
list: '/webStatistics/findParticulatePage',
|
||||||
delete: '/gardsSampleData/deleteById',
|
delete: '/gardsSampleData/deleteById',
|
||||||
findStationList: '/webStatistics/findStationList',
|
findStationList: '/webStatistics/findStationList',
|
||||||
findParticulatePage: '/jeecg-web-statistics/webStatistics/findParticulatePage',
|
findParticulatePage: '/webStatistics/findParticulatePage',
|
||||||
},
|
},
|
||||||
dataSource: [],
|
dataSource: [],
|
||||||
detailJson: {},
|
detailJson: {},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user