请求连接url 调整 jeccg改成armd
This commit is contained in:
parent
5da8961793
commit
0082112fa3
|
@ -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('/armd-station-operation/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('/armd-station-operation/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',
|
'/armd-station-operation/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',
|
'/armd-station-operation/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',
|
'/armd-station-operation/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('/armd-station-operation/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('/armd-station-operation/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('/armd-station-operation/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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user