Browse Source

灾害预警基金-页面及功能bug修改更新

lxh 1 year ago
parent
commit
7b03051dfe

+ 0 - 3
src/views/vent/dust/dustAtomizing/index.vue

@@ -97,7 +97,6 @@ let rowSelection = computed(() => {
   return {
     onChange: (selectedRowKeys, selectedRows) => {
       selectedRowsList.value = selectedRows
-      console.log(`selectedRowKeys: ${selectedRowKeys}`, 'selectedRowsList: ', selectedRowsList.value)
     },
     getCheckboxProps: (record) => ({
       props: {
@@ -125,7 +124,6 @@ function getMonitor() {
 //获取工作面编码
 async function getFireAreaInfoList() {
   let res = await getFireAreaInfo({})
-  console.log(res, '工作面编码----------')
   if (res.length != 0) {
     selectAreaList.length = 0
     res.forEach(el => {
@@ -153,7 +151,6 @@ async function getList() {
     el.time = dayjs().format('YYYY-MM-DD HH:MM:ss')
   })
   dataSource.value = res
-  console.log(res, '喷雾列表数据------')
 }
 
 //列表查询

+ 12 - 18
src/views/vent/dust/dustHome/index.vue

@@ -166,15 +166,12 @@ function getMonitor() {
 
 //综放工作面下拉选项切换
 function changeSelect(data) {
-  console.log(data, '下拉选项-----');
   sensorCode.value = data.value;
   getDustInfosList();
 }
 //粉尘关联指标下拉选项切换
 function changeSelect1(data) {
-  console.log(data, '下拉选项-----');
   let param = selectListBd.filter((v) => v.value == data.value)[0];
-  console.log(param, 'param------');
   dustGlzbData[0].val = param['temperature'] || '--';
   dustGlzbData[1].val = param['humidity'] || '--';
   dustGlzbData[2].val = param['windSpeed'] || '--';
@@ -186,7 +183,6 @@ function changeSelect1(data) {
 //获取工作面风险监测图表数据
 async function getDustWarningCntByTypeList() {
   let res = await getDustWarningCntByType({ areaType: 2 })
-  console.log(res, '粉尘工作面图表数据')
   if (res.length != 0) {
     echartDataWork.value = res
   }
@@ -194,7 +190,6 @@ async function getDustWarningCntByTypeList() {
 //获取工作面风险监测数据
 async function getFireAreaInfoList() {
   let res = await getAreaTypeList();
-  console.log(res, '工作面风险监测数据');
   if (res.length != 0) {
     cardData.length = 0;
     res.forEach((el) => {
@@ -223,7 +218,6 @@ async function getFireAreaInfoList() {
 //获取粉尘选项数据
 async function getRealSensorDataByTypeList() {
   let res = await getRealSensorDataByType({ areaType: areaType.value });
-  console.log(res, '下拉选项数据---');
   if (res.length != 0) {
     selectListBd.length = 0;
     res.forEach((el) => {
@@ -252,14 +246,12 @@ async function getRealSensorDataByTypeList() {
 //获取单项数据
 async function getDustInfosList() {
   let res = await getDustInfos({ sensorCode: sensorCode.value });
-  console.log(res, '单项数据------');
   //获取粉尘图表数据
   historyAndForecastList(res.areaCode);
 }
 //获取粉尘图表数据
 async function historyAndForecastList(params) {
   let res = await historyAndForecast({ areaCode: params });
-  console.log(res, '粉尘图表数据----');
   if (res.lineData.length != 0) {
     echartData.xData.length = 0;
     echartData.yData.length = 0;
@@ -267,22 +259,24 @@ async function historyAndForecastList(params) {
     let nowData = []
     let ycDate = []
     res.lineData.forEach((el, index) => {
-      if (el.time == '2024-03-15 01:40:12') {
+      if (el.time == res.splitTime) {
         console.log(index, '实时值与预测值分界线===========')
         nowData = res.lineData.slice(0, index)
         ycDate = res.lineData.slice(index)
       }
-      console.log(nowData,'---------------------------')
-      console.log(ycDate,'============')
+      console.log(nowData, 'nowData---------------------------')
+      console.log(ycDate, 'ycDate============')
       echartData.xData.push(el.time);
-      nowData.forEach(el => {
-        echartData.yData.push(el.value);
-      })
-
-      ycDate.forEach(el => {
-        echartData.yData1.push(el.valuePredict);
-      })
     });
+    echartData.xData.forEach((el, index) => {
+      if (nowData[index]) {
+        echartData.yData.push(nowData[index]['value']);
+        echartData.yData1.push('')
+      } else {
+        echartData.yData.push('');
+        echartData.yData1.push(ycDate[index]['valuePredict'])
+      }
+    })
   }
 }
 

+ 0 - 8
src/views/vent/dust/dustWarnAnalysis/index.vue

@@ -95,7 +95,6 @@ async function getAreaTypeListd() {
     res.forEach((el, ind) => {
       treeData.push({ name: el.typeName, value: ind, id: ind, pid: null, areaType: el.areaType, warningLevel: el.warningLevel, })
     })
-    console.log(treeData, '粉尘左侧菜单树')
     areaType.value = areaType.value ? areaType.value : treeData[0]['areaType']
     warningLevel.value = treeData[0]['warningLevel'] == 1 ? '低风险' : treeData[0]['warningLevel'] == 2 ? '中风险' : treeData[0]['warningLevel'] == 3 ? '较高风险' : treeData[0]['warningLevel'] == 4 ? '重大风险' : '--'
     //获取粉尘选项数据
@@ -104,16 +103,13 @@ async function getAreaTypeListd() {
 }
 //点击左侧树节点
 function selectChange(treeNode) {
-  console.log(treeNode, 'treeNode--------')
   areaType.value = treeData.filter((v) => v.name == treeNode.node.dataRef.title)[0]['areaType']
   getRealSensorDataByTypeList()
 }
 
 //获取粉尘选项数据
 async function getRealSensorDataByTypeList() {
-
   let res = await getRealSensorDataByType({ areaType: areaType.value })
-  console.log(res, '粉尘选项数据---')
   if (res.length != 0) {
     cardData4.length = 0
     res.forEach(el => {
@@ -133,7 +129,6 @@ async function getRealSensorDataByTypeList() {
 }
 //粉尘选项切换
 function toggleDustCards(data) {
-  console.log(data, 'data------')
   sensorCode.value = data
   getDustInfosList()
 }
@@ -141,7 +136,6 @@ function toggleDustCards(data) {
 //获取单项数据
 async function getDustInfosList() {
   let res = await getDustInfos({ sensorCode: sensorCode.value })
-  console.log(res, '单项数据------')
   cardData5[0].value = parseFloat(res.dustDensity).toFixed(2)
   cardData5[1].value =parseFloat( res.dustDensityAverage).toFixed(2)
   cardData5[2].value = parseFloat(res.dustDensityAverage40).toFixed(2)
@@ -153,9 +147,7 @@ async function getDustInfosList() {
 
 //获取粉尘图表数据
 async function historyAndForecastList(params) {
-
   let res = await historyAndForecast({ areaCode: params })
-  console.log(res, '粉尘图表数据----')
   if (res.lineData.length != 0) {
     echartData.xData.length = 0
     echartData.yData.length = 0

+ 0 - 10
src/views/vent/fire/compositeWarn/index.vue

@@ -150,7 +150,6 @@ async function getFireAreaInfos() {
     })
     areaCode.value = areaCode.value ? areaCode.value : treeData[0]['areaCode']
     warningLevel.value = treeData[0].warningLevel == 1 ? '低风险' : treeData[0].warningLevel == 2 ? '中风险' : treeData[0].warningLevel == 3 ? '较高风险' : treeData[0].warningLevel == 4 ? '重大风险' : '--'
-    console.log(treeData, 'treeData-------')
     cardContentList[0]['val'] = treeData[0].infoTypeTwo.maxTemperature
     cardContentList[1]['val'] = treeData[0].infoTypeTwo.minTemperature
     cardContentList[2]['val'] = treeData[0].infoTypeTwo.aveTemperature
@@ -175,7 +174,6 @@ async function getFireAreaInfos() {
 }
 //点击左侧树节点
 function selectChange(treeNode) {
-  console.log(treeNode, 'treeNode---')
   areaCode.value = treeData.filter((v) => v.name == treeNode.node.dataRef.title)[0]['areaCode']
   let level = treeData.filter((m) => m.name == treeNode.node.dataRef.title)[0]['warningLevel']
   warningLevel.value = level == 1 ? '低风险' : level == 2 ? '中风险' : level == 3 ? '较高风险' : level == 4 ? '重大风险' : '--'
@@ -205,9 +203,7 @@ function selectChange(treeNode) {
 
 //获取工作面光钎条数及测点编号
 async function getInfosByAreaCodeList() {
-
   let res = await getInfosByAreaCode({ areaCode: areaCode.value })
-  console.log(res, '工作面光钎条数及测点编号')
   if (res.length != 0) {
     gxSelectList.length = 0
     res.forEach(el => {
@@ -223,15 +219,12 @@ async function getInfosByAreaCodeList() {
 }
 //工作面光钎测温测点编号选项切换
 function pointChange(val) {
-  console.log('选项切换----------', val)
   gxSelect.value = val
   getGxcwHistoryDataByPointCodeList()
 }
 //获取光钎测温图表数据
 async function getGxcwHistoryDataByPointCodeList() {
-
   let res = await getGxcwHistoryDataByPointCode({ pointCode: gxSelect.value })
-  console.log(res, '光钎测温图表数据')
   echartDataGx.xData.length = 0
   echartDataGx.yData.length = 0
   echartDataGx.yData1.length = 0
@@ -253,7 +246,6 @@ function changeSg(val) {
 //获取工作面束管测点编号列表
 async function getSgjcPointInfoList() {
   let res = await getSgjcPointInfo({ areaCode: areaCode.value })
-  console.log(res, '工作面束管测点编号列表')
   if (res.length != 0) {
     selectListSg.length = 0
     res.forEach(el => {
@@ -267,7 +259,6 @@ async function getSgjcPointInfoList() {
 //获取工作面束管测点实时数据
 async function getSgjcRealDataByPointCodeList() {
   let res = await getSgjcRealDataByPointCode({ pointCode: pointCode.value })
-  console.log(res, '工作面束管测点实时数据======')
   if (res.length != 0) {
     card3List.length = 0
     res.forEach(el => {
@@ -288,7 +279,6 @@ async function getSgjcHistoryDataList() {
   let startTime=`${dayjs(TimeRange.value[0]).format('YYYY-MM-DD')} 00:00:00`
   let endTime=`${dayjs(TimeRange.value[1]).format('YYYY-MM-DD')} 00:00:00`
   let res = await getSgjcHistoryData({ pointCode: pointCode.value, type: gasType.value, startTime: startTime, endTime:endTime  })
-  console.log(res, '束管曲线数据-------')
   echartData.xData.length = 0
   echartData.yData.length = 0
   echartData.yData1.length = 0

+ 0 - 5
src/views/vent/fire/fireDistributionPoint/index.vue

@@ -73,7 +73,6 @@ async function getFireAreaInfos() {
     res.forEach((el, ind) => {
       treeData.push({ name: el.areaName, value: el.ind, id: el.ind, pid: null, areaCode: el.areaCode, gxcwCnt: el.gxcwCnt, sgjcCnt: el.sgjcCnt, infoTypeTwo: el.infoTypeTwo })
     })
-    console.log(treeData, 'treeData-------')
     getZcHfWdList()
     getHeadingFaceList()
     getMainTrafficYwList()
@@ -85,7 +84,6 @@ async function getFireAreaInfos() {
 //获取综放工作面传感器监测数据
 async function getZcHfWdList() {
   let res = await getZcHfWd()
-  console.log(res, '综放工作面传感器监测数据')
   if (res.length != 0) {
     sensorList.length=0
     res.forEach(el => {
@@ -97,7 +95,6 @@ async function getZcHfWdList() {
 //获取掘进工作面传感器监测数据
 async function getHeadingFaceList() {
   let res = await getHeadingFace()
-  console.log(res, '掘进工作面传感器监测数据')
   if (res.length != 0) {
     sensorList1.length=0
     res.forEach(el => {
@@ -109,7 +106,6 @@ async function getHeadingFaceList() {
 //获取运输系统烟雾传感器数据
 async function getMainTrafficYwList() {
   let res = await getMainTrafficYw()
-  console.log(res, '运输系统烟雾传感器数据')
   if (res.length != 0) {
     sensorList2.length=0
     res.forEach(el => {
@@ -121,7 +117,6 @@ async function getMainTrafficYwList() {
 //获取机电硐室传感器数据
 async function getDsWdList() {
   let res = await getDsWd()
-  console.log(res, '机电硐室传感器数据')
   if (res.length != 0) {
     sensorList3.length=0
     res.forEach(el => {

+ 0 - 7
src/views/vent/fire/fireGoaf/index.vue

@@ -78,12 +78,10 @@ function getMonitor() {
 //时间选项切换
 function onDataChange(value, dateString) {
   TimeRange.value = [value[0], value[1]]
-  console.log(TimeRange, 'TimeRange')
 }
 
 //点击左侧树节点
 function selectChange(treeNode) {
-  console.log(treeNode, 'treeNode---')
   areaCode.value = treeData.filter((v) => v.name == treeNode.node.dataRef.title)[0]['areaCode']
   let level = treeData.filter((m) => m.name == treeNode.node.dataRef.title)[0]['warningLevel']
   warningLevel.value = level == 1 ? '低风险' : level == 2 ? '中风险' : level == 3 ? '较高风险' : level == 4 ? '重大风险' : '--'
@@ -102,16 +100,13 @@ async function getFireAreaInfos() {
     })
     areaCode.value = areaCode.value ? areaCode.value : treeData[0]['areaCode']
     warningLevel.value = treeData[0].warningLevel == 1 ? '低风险' : treeData[0].warningLevel == 2 ? '中风险' : treeData[0].warningLevel == 3 ? '较高风险' : treeData[0].warningLevel == 4 ? '重大风险' : '--'
-    console.log(treeData, 'treeData-------')
     getMbRealDataList()
   }
 }
 
 //获取密闭监测实时数据
 async function getMbRealDataList() {
-
   let res = await getMbRealData({ areaCode: areaCode.value })
-  console.log(res, '密闭监测实时数据------')
   if (res.length != 0) {
     card3List.length = 0
     res.forEach(el => {
@@ -124,7 +119,6 @@ async function getMbRealDataList() {
 }
 //密闭实时数据选项切换
 function toggleChange(title) {
-  console.log(title, 'title---------')
   type.value = title
   getMbHistoryDataList()
 }
@@ -133,7 +127,6 @@ async function getMbHistoryDataList() {
   let startTime=`${dayjs(TimeRange.value[0]).format('YYYY-MM-DD')} 00:00:00`
   let endTime=`${dayjs(TimeRange.value[1]).format('YYYY-MM-DD')} 00:00:00`
   let res = await getMbHistoryData({ areaCode: areaCode.value, type: type.value, startTime: startTime, endTime:endTime  })
-  console.log(res, '密闭图表数据------')
   echartData.xData.length = 0
   echartData.yData.length = 0
   echartData.yData1.length = 0

+ 2 - 2
src/views/vent/fire/fireHome/components/workJc.vue

@@ -63,7 +63,7 @@ let props = defineProps({
       return []
     }
   },
-  echartDataWork:{
+  echartData:{
     type:Array,
     default:()=>{
       return []
@@ -156,7 +156,7 @@ watch(() => props.cardData, (newC, oldC) => {
   cardList.value = newC
 }, { immediate: true, deep: true })
 
-watch(()=>props.echartDataWork,(newV,oldV)=>{
+watch(()=>props.echartData,(newV,oldV)=>{
   console.log(newV,'图表数据------')
   fxLenged.length=0
   if(newV.length!=0){

+ 1 - 14
src/views/vent/fire/fireHome/index.vue

@@ -195,7 +195,6 @@ function getMonitor() {
 
 //下拉选项切换
 function changeSelect(data) {
-  console.log(data, '下拉------');
   switch (data.label) {
     case '密闭采空区监测系统':
       areaCodeMb.value = data.value;
@@ -223,7 +222,7 @@ function changeSelect(data) {
 async function getFireWarningCntByTypeList(){
   let res=await getFireWarningCntByType({areaType:2})
   if(res.length!=0){
-    echartDataWork.value=res
+    echartDataWork.value = res
   }
 }
 //获取工作面风险监测数据
@@ -260,7 +259,6 @@ async function getFireAreaInfoList() {
 //获取密闭下拉列表
 async function getFireAreaInfoListMb() {
   let res = await getFireAreaInfo({ fireCauseType: 2 });
-  console.log(res, '密闭数据');
   if (res.length != 0) {
     selectListMb.length = 0;
     let dataMb = res.filter((m) => m.areaType == 1);
@@ -276,7 +274,6 @@ async function getFireAreaInfoListMb() {
 //获取密闭监测实时信息
 async function getMbRealDataList() {
   let res = await getMbRealData({ areaCode: areaCodeMb.value });
-  console.log(res, '密闭监测实时信息');
   emptyData.length = 0;
   res.forEach((el) => {
     emptyData.push({ label: el.name, val: el.currentValue, unit: el.unit });
@@ -286,7 +283,6 @@ async function getMbRealDataList() {
 //工作面束管监测
 async function getSgjcPointInfoList() {
   let res = await getSgjcPointInfo({ areaCode: areaCode.value });
-  console.log(res, '工作面束管列表---');
   if (res.length != 0) {
     selectList.length = 0;
     res.forEach((el) => {
@@ -300,7 +296,6 @@ async function getSgjcPointInfoList() {
 //获取工作面束管测点实时数据
 async function getSgjcRealDataByPointCodeList() {
   let res = await getSgjcRealDataByPointCode({ pointCode: pointCode.value });
-  console.log(res, '束管测点实时数据---');
   if (res.length != 0) {
     bunbleData.length = 0;
     res.forEach((el) => {
@@ -325,7 +320,6 @@ async function getFireAreaInfoListDs() {
     selectListDs.length = 0;
     outFireData.length = 0;
     let dataDs = res.filter((m) => m.areaType == 4);
-    console.log(dataDs, '带式输送机防灭火');
     dataDs.forEach((el) => {
       selectListDs.push({ label: el.areaName, value: el.areaName });
     });
@@ -352,7 +346,6 @@ async function getFireAreaInfoListBd() {
   const res = await getFireAreaInfo({});
   if (res.length != 0) {
     let dataBd = res.filter((m) => m.areaType == 5);
-    console.log(dataBd, '变电硐室-----');
     areaCodeBd.value = dataBd[0].areaCode;
     //获取光钎条数及测点编号
     getInfosByAreaCodeList();
@@ -361,7 +354,6 @@ async function getFireAreaInfoListBd() {
 //获取光钎条数及测点编号
 async function getInfosByAreaCodeList() {
   let res = await getInfosByAreaCode({ areaCode: areaCodeBd.value });
-  console.log(res, 'res000999');
   if (res.length != 0) {
     selectListBd.length = 0;
     res.forEach((el) => {
@@ -379,7 +371,6 @@ async function getInfosByAreaCodeList() {
 //获取光钎测温图表数据
 async function getGxcwHistoryDataByPointCodeList() {
   let res = await getGxcwHistoryDataByPointCode({ pointCode: pointCodeBd.value });
-  console.log(res, '光钎测温图表数据-------');
   echartDatas.xData.length = 0;
   echartDatas.yData.length = 0;
   echartDatas.yData1.length = 0;
@@ -417,7 +408,6 @@ function getTableList() {
 //获取综放工作面传感器监测数据
 async function getZcHfWdList() {
   let res = await getZcHfWd();
-  console.log(res, '综放工作面传感器监测数据');
   safetyHead.length = 0;
   safetyList.length = 0;
   safetyHead.push(
@@ -450,7 +440,6 @@ async function getHeadingFaceList() {
     { label: '预警级别' },
     // { label: '时间' },
   );
-  console.log(res, '掘进工作面传感器监测数据');
   if (res.length != 0) {
     res.forEach((el) => {
       safetyList.push({
@@ -474,7 +463,6 @@ async function getMainTrafficYwList() {
     { label: '预警级别' },
     // { label: '时间' },
   );
-  console.log(res, '运输系统烟雾传感器数据');
   if (res.length != 0) {
     res.forEach((el) => {
       safetyList.push({
@@ -490,7 +478,6 @@ async function getMainTrafficYwList() {
 //获取机电硐室传感器数据
 async function getDsWdList() {
   let res = await getDsWd();
-  console.log(res, '机电硐室传感器数据');
   safetyHead.length = 0;
   safetyList.length = 0;
   safetyHead.push(

+ 0 - 12
src/views/vent/fire/fireMonitor/index.vue

@@ -124,7 +124,6 @@ function getMonitor() {
 //时间选项切换
 function onDataChange(value, dateString) {
   TimeRange.value = [value[0], value[1]]
-  console.log(TimeRange, 'TimeRange')
 }
 
 //获取左侧菜单树
@@ -139,7 +138,6 @@ async function getFireAreaInfos() {
     })
     areaCode.value = areaCode.value ? areaCode.value : treeData[0]['areaCode']
     warningLevel.value = treeData[0].warningLevel == 1 ? '低风险' : treeData[0].warningLevel == 2 ? '中风险' : treeData[0].warningLevel == 3 ? '较高风险' : treeData[0].warningLevel == 4 ? '重大风险' : '--'
-    console.log(treeData, 'treeData-------')
     cardContentList2[0]['valL'] = treeData[0].infoTypeTwo.aveTemperature
     cardContentList2[0]['valR'] = '-'
     cardContentList2[1]['valL'] = treeData[0].infoTypeTwo.maxTemperature
@@ -167,7 +165,6 @@ async function getFireAreaInfos() {
 
 //点击左侧树节点
 function selectChange(treeNode) {
-  console.log(treeNode, 'treeNode---')
   areaCode.value = treeData.filter((v) => v.name == treeNode.node.dataRef.title)[0]['areaCode']
   let level = treeData.filter((m) => m.name == treeNode.node.dataRef.title)[0]['warningLevel']
   warningLevel.value = level == 1 ? '低风险' : level == 2 ? '中风险' : level == 3 ? '较高风险' : level == 4 ? '重大风险' : '--'
@@ -200,9 +197,7 @@ function selectChange(treeNode) {
 
 //获取光钎条数及测点编号
 async function getInfosByAreaCodeList() {
-
   let res = await getInfosByAreaCode({ areaCode: areaCode.value })
-  console.log(res, '光钎条数及测点编号')
   if (res.length != 0) {
     gxSelectList.length = 0
     res.forEach(el => {
@@ -218,15 +213,12 @@ async function getInfosByAreaCodeList() {
 }
 //光钎测温测点编号选项切换
 function pointChange(val) {
-  console.log('选项切换----------', val)
   gxSelect.value = val
   getGxcwHistoryDataByPointCodeList()
 }
 //获取光钎测温图表数据
 async function getGxcwHistoryDataByPointCodeList() {
-
   let res = await getGxcwHistoryDataByPointCode({ pointCode: gxSelect.value })
-  console.log(res, '光钎测温图表数据')
   echartDataGx.xData.length = 0
   echartDataGx.yData.length = 0
   echartDataGx.yData1.length = 0
@@ -249,7 +241,6 @@ function changeSg(val){
 //获取束管测点编号列表
 async function getSgjcPointInfoList() {
   let res = await getSgjcPointInfo({ areaCode: areaCode.value })
-  console.log(res, '束管测点编号列表')
   if (res.length != 0) {
     selectListSg.length=0
     res.forEach(el=>{
@@ -263,9 +254,7 @@ async function getSgjcPointInfoList() {
 
 //获取束管测点实时数据
 async function getSgjcRealDataByPointCodeList() {
-
   let res = await getSgjcRealDataByPointCode({ pointCode: pointCode.value })
-  console.log(res, '束管测点实时数据======')
   if (res.length != 0) {
     card3List.length = 0
     res.forEach(el => {
@@ -281,7 +270,6 @@ async function getSgjcHistoryDataList() {
   let startTime=`${dayjs(TimeRange.value[0]).format('YYYY-MM-DD')} 00:00:00`
   let endTime=`${dayjs(TimeRange.value[1]).format('YYYY-MM-DD')} 00:00:00`
   let res = await getSgjcHistoryData({ pointCode: pointCode.value, type: gasType.value, startTime: startTime, endTime: endTime })
-  console.log(res, '束管曲线数据-------')
   echartData.xData.length = 0
   echartData.yData.length = 0
   echartData.yData1.length = 0

+ 0 - 18
src/views/vent/fire/wokeFace/index.vue

@@ -153,7 +153,6 @@ function getMonitor() {
 //时间选项切换
 function onDataChange(value, dateString) {
   TimeRange.value = [value[0], value[1]]
-  console.log(TimeRange, 'TimeRange')
 }
 
 //获取左侧菜单树
@@ -168,7 +167,6 @@ async function getFireAreaInfos() {
     })
     areaCode.value = areaCode.value ? areaCode.value : treeData[0]['areaCode']
     warningLevel.value = treeData[0].warningLevel == 1 ? '低风险' : treeData[0].warningLevel == 2 ? '中风险' : treeData[0].warningLevel == 3 ? '较高风险' : treeData[0].warningLevel == 4 ? '重大风险' : '--'
-    console.log(treeData, 'treeData-------')
     cardContentList[0]['val'] = parseFloat(treeData[0].infoTypeTwo.maxTemperature).toFixed(2)
     cardContentList[1]['val'] = parseFloat(treeData[0].infoTypeTwo.minTemperature).toFixed(2)
     cardContentList[2]['val'] = parseFloat(treeData[0].infoTypeTwo.aveTemperature).toFixed(2)
@@ -199,7 +197,6 @@ async function getFireAreaInfos() {
 
 //点击左侧树节点
 function selectChange(treeNode) {
-  console.log(treeNode, 'treeNode---')
   areaCode.value = treeData.filter((v) => v.name == treeNode.node.dataRef.title)[0]['areaCode']
   let level = treeData.filter((m) => m.name == treeNode.node.dataRef.title)[0]['warningLevel']
   warningLevel.value = level == 1 ? '低风险' : level == 2 ? '中风险' : level == 3 ? '较高风险' : level == 4 ? '重大风险' : '--'
@@ -236,9 +233,7 @@ function selectChange(treeNode) {
 
 //获取光钎条数及测点编号
 async function getInfosByAreaCodeList() {
-
   let res = await getInfosByAreaCode({ areaCode: areaCode.value })
-  console.log(res, '光钎条数及测点编号')
   if (res.length != 0) {
     workBtnList.length = 0
     res.forEach(el => {
@@ -256,16 +251,13 @@ async function getInfosByAreaCodeList() {
 
 //光钎选项切换
 function btnToggle(item) {
-  console.log(item, 'item----=====')
   gxSelect.value = item.value
   getGxcwHistoryDataByPointCodeList()
 }
 
 //获取光钎测温图表数据
 async function getGxcwHistoryDataByPointCodeList() {
-
   let res = await getGxcwHistoryDataByPointCode({ pointCode: gxSelect.value })
-  console.log(res, '光钎测温图表数据')
   echartDataGx.xData.length = 0
   echartDataGx.yData.length = 0
   echartDataGx.yData1.length = 0
@@ -282,9 +274,7 @@ async function getGxcwHistoryDataByPointCodeList() {
 
 //获取烟雾传感器监测数据
 async function getYwRealDataList() {
-
   let res = await getYwRealData({ areaCode: areaCode.value })
-  console.log(res, '烟雾传感器监测数据')
   if (res.length != 0) {
     botCardList[0].sensorList.length = 0
     res.forEach(el => {
@@ -297,9 +287,7 @@ async function getYwRealDataList() {
 
 //获取火焰传感器监测数据
 async function getHyRealDataList() {
-
   let res = await getHyRealData({ areaCode: areaCode.value })
-  console.log(res, '火焰传感器监测数据')
   if (res.length != 0) {
     botCardList[1].sensorList.length = 0
     res.forEach(el => {
@@ -312,9 +300,7 @@ async function getHyRealDataList() {
 
 //获取喷淋设备监测数据
 async function getPlzzRealDataList() {
-
   let res = await getPlzzRealData({ areaCode: areaCode.value })
-  console.log(res, '自动喷淋灭火装置数据')
   if (res.length != 0) {
     botCardList[2].sensorList.length = 0
     res.forEach(el => {
@@ -333,7 +319,6 @@ function changeSg(val){
 //获取束管测点编号列表
 async function getSgjcPointInfoList() {
   let res = await getSgjcPointInfo({ areaCode: areaCode.value })
-  console.log(res, '束管测点编号列表')
   if (res.length != 0) {
     selectListSg.length=0
     res.forEach(el=>{
@@ -353,9 +338,7 @@ function toggleChange(title) {
 
 //获取束管测点实时数据
 async function getSgjcRealDataByPointCodeList() {
-
   let res = await getSgjcRealDataByPointCode({ pointCode: pointCode.value })
-  console.log(res, '束管测点实时数据======')
   if (res.length != 0) {
     card3List.length = 0
     res.forEach(el => {
@@ -372,7 +355,6 @@ async function getSgjcHistoryDataList() {
   let startTime=`${dayjs(TimeRange.value[0]).format('YYYY-MM-DD')} 00:00:00`
   let endTime=`${dayjs(TimeRange.value[1]).format('YYYY-MM-DD')} 00:00:00`
   let res = await getSgjcHistoryData({ pointCode: pointCode.value, type: gasType.value, startTime: startTime, endTime: endTime })
-  console.log(res, '束管曲线数据-------')
   echartData.xData.length = 0
   echartData.yData.length = 0
   echartData.yData1.length = 0