请求地址 url 调整
Data Receive status Monitoring 中图表提示框调整 定时任务调整
This commit is contained in:
parent
4c0e48dd43
commit
76e6916d33
|
@ -217,7 +217,7 @@ export default {
|
|||
// 获取站点详情
|
||||
async _getStationInfo(stationInfo) {
|
||||
try {
|
||||
const { success, result, message } = await getAction('/armd-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('/armd-station-operation/stationOperation/getHitEquList', {
|
||||
} = await postAction('/stationOperation/getHitEquList', {
|
||||
radius: this.radius,
|
||||
stationIds,
|
||||
})
|
||||
|
@ -695,13 +695,10 @@ export default {
|
|||
try {
|
||||
const stationIds = this.dataStatusCheckedKeys.filter((key) => -1 == key.toString().indexOf('root_'))
|
||||
this.isSavingDataRecieveSettings = true
|
||||
const { success, message } = await postAction(
|
||||
'/armd-station-operation/sysUserFocusStation/saveUserFocusByUserId',
|
||||
{
|
||||
stationIds,
|
||||
...this.dataRecieveStatusModel,
|
||||
}
|
||||
)
|
||||
const { success, message } = await postAction('/sysUserFocusStation/saveUserFocusByUserId', {
|
||||
stationIds,
|
||||
...this.dataRecieveStatusModel,
|
||||
})
|
||||
if (success) {
|
||||
this.$message.success('Save Success')
|
||||
await this.getDataRecieveSettings()
|
||||
|
@ -738,12 +735,9 @@ export default {
|
|||
// 获取数据接收状态配置
|
||||
async getDataRecieveSettings() {
|
||||
try {
|
||||
const { success, result, message } = await getAction(
|
||||
'/armd-station-operation/sysUserFocusStation/findUserFocusByUserId',
|
||||
{
|
||||
userId: this.$store.getters.userInfo.id,
|
||||
}
|
||||
)
|
||||
const { success, result, message } = await getAction('/sysUserFocusStation/findUserFocusByUserId', {
|
||||
userId: this.$store.getters.userInfo.id,
|
||||
})
|
||||
if (success) {
|
||||
this.initialDataRecieveSettings = result
|
||||
} else {
|
||||
|
@ -774,13 +768,10 @@ export default {
|
|||
this.spinLoading = true
|
||||
try {
|
||||
this.isGettingStatusList = true
|
||||
const { success, result, message } = await getAction(
|
||||
'/armd-station-operation/stationOperation/getDataReceivingStatus',
|
||||
{
|
||||
userId: this.$store.getters.userInfo.id,
|
||||
oneStationId: (this.stationInfo && this.stationInfo.stationId) || '',
|
||||
}
|
||||
)
|
||||
const { success, result, message } = await getAction('/stationOperation/getDataReceivingStatus', {
|
||||
userId: this.$store.getters.userInfo.id,
|
||||
oneStationId: (this.stationInfo && this.stationInfo.stationId) || '',
|
||||
})
|
||||
this.maskVisi = false
|
||||
this.spinLoading = false
|
||||
if (success) {
|
||||
|
|
|
@ -74,7 +74,7 @@ const initialOption = {
|
|||
return `
|
||||
<div>${params.marker}${params.name}</div>
|
||||
<div>START:${dayjs(new Date(params.value[1])).format('YYYY-MM-DD HH:mm:ss')}</div>
|
||||
<div>END:${dayjs(new Date(params.value[2])).format('YYYY-MM-DD HH:mm:ss')}</div>
|
||||
<div style="white-space: pre"> END:${dayjs(new Date(params.value[2])).format('YYYY-MM-DD HH:mm:ss')}</div>
|
||||
`
|
||||
},
|
||||
},
|
||||
|
|
|
@ -253,7 +253,7 @@ export default {
|
|||
async getStationList() {
|
||||
try {
|
||||
this.isGettingDataList = true
|
||||
const res = await getAction('/armd-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('/armd-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('/armd-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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user