Browse Source

添加报警预警id

zhaoke 2 years ago
parent
commit
5cbaaacdc3

+ 2 - 0
public/config.js

@@ -44,6 +44,8 @@ var DATACONTENT_ID = {
   jscJgNumbersId: 1803552, //国际进港-航班数&运单数-id
   jscJgAirlineTrafficId: 1803553, //国际进港-航司运量-id
 
+  jscAirlineAbnormalId: 1803561, //航班预警报警分析
+
   /***-----权限管理------***/
   authTreeId: 40, //权限管理-权限树
   authTreeNewId: 92, //权限管理-权限树

+ 1 - 1
src/views/dashboard/hooks/usePublic.ts

@@ -7,7 +7,7 @@ export enum showTimeMsg {
   WaybillTrend, //运单趋势
   NodePeak, //节点峰值
   AirlineTraffic, //航司运量
-  AirlineAbnormal,
+  AirlineAbnormal, //航班预警报警
 }
 
 export function usePublic() {

+ 1 - 1
src/views/dashboard/index.vue

@@ -363,7 +363,7 @@ const airlineTrafficFunc = async () => {
 
 //航班预警报警分析
 const airlineAbnormalFunc = async () => {
-  const listValues = (await getPublicData(1803561, [
+  const listValues = (await getPublicData(DATACONTENT_ID.jscAirlineAbnormalId, [
     { flightDate1: form.value.startDate },
     { flightDate2: form.value.endDate },
   ])) as any;

+ 1 - 1
src/views/dashboard/indexHomeOut.vue

@@ -363,7 +363,7 @@ const airlineTrafficFunc = async () => {
 
 //航班预警报警分析
 const airlineAbnormalFunc = async () => {
-  const listValues = (await getPublicData(1803561, [
+  const listValues = (await getPublicData(DATACONTENT_ID.jscAirlineAbnormalId, [
     { flightDate1: form.value.startDate },
     { flightDate2: form.value.endDate },
   ])) as any;

+ 1 - 1
src/views/dashboard/indexIn.vue

@@ -363,7 +363,7 @@ const airlineTrafficFunc = async () => {
 
 //航班预警报警分析
 const airlineAbnormalFunc = async () => {
-  const listValues = (await getPublicData(1803561, [
+  const listValues = (await getPublicData(DATACONTENT_ID.jscAirlineAbnormalId, [
     { flightDate1: form.value.startDate },
     { flightDate2: form.value.endDate },
   ])) as any;

+ 1 - 1
src/views/dashboard/indexOut.vue

@@ -363,7 +363,7 @@ const airlineTrafficFunc = async () => {
 
 //航班预警报警分析
 const airlineAbnormalFunc = async () => {
-  const listValues = (await getPublicData(1803561, [
+  const listValues = (await getPublicData(DATACONTENT_ID.jscAirlineAbnormalId, [
     { flightDate1: form.value.startDate },
     { flightDate2: form.value.endDate },
   ])) as any;