Browse Source

130分站更新

lxh 1 day ago
parent
commit
1fc8d3ae9e

File diff suppressed because it is too large
+ 278 - 452
src/views/vent/safetyList/common/detail-130.vue


+ 2 - 1
src/views/vent/safetyList/common/detail.vue

@@ -948,6 +948,7 @@ function debugClick(record) {
     debugFlag.value = 'device';
     debugDeviceId.value = record.id;
     visibleModalDebugEnd.value = true
+    startupDataDebugEnd.pwd = ''
     tableData.value.forEach((el) => {
       el.devInfoList.forEach((v) => {
         if (v.id == debugDeviceId.value) {
@@ -1054,7 +1055,7 @@ function handleCancelDelStation() { }
 
 //操作记录查询
 async function getSearchRecord(param) {
-  let res = await get158SetLog({ ...param })
+  let res = await get158SetLog({ stationType: '158', ...param })
   if (res && res.length != 0) {
     operationData.value = res.records
   }

+ 1 - 1
src/views/vent/safetyList/safetyList.api.ts

@@ -76,4 +76,4 @@ export const remove130Device = (params) => defHttp.post({ url: Api.remove130Devi
 //130监测详情读取列表
 export const set130StationDevicesRead = (params) => defHttp.post({ url: Api.set130StationDevicesRead, params }, { joinParamsToUrl: true });
 // 分站详细信息列表
-export const get130List = (params) => defHttp.post({ url: Api.get130List, params });
+export const get130List = (params?) => defHttp.post({ url: Api.get130List, params });

+ 267 - 0
src/views/vent/safetyList/safetyList.data.ts

@@ -410,6 +410,273 @@ export const deviceColumns: BasicColumn[] = [
     width: 100,
   },
 ];
+export const deviceColumns130: BasicColumn[] = [
+  {
+    title: '地址',
+    dataIndex: 'dz',
+    key: 'dz',
+    width: 180,
+    align: 'center',
+  },
+  {
+    title: '第一路风速风向',
+    dataIndex: 'dylfsfx',
+    key: 'dylfsfx',
+    width: 100,
+    align: 'center',
+  },
+   {
+    title: '第一路报警状态',
+    dataIndex: 'dylbjzt',
+    key: 'dylbjzt',
+    align: 'center',
+    width: 100,
+  },
+  {
+    title: '上行AD值',
+    dataIndex: 'sxADz',
+    key: 'sxADz',
+    align: 'center',
+    width: 100,
+  },
+  {
+    title: '下行AD值',
+    dataIndex: 'xxADz',
+    key: 'xxADz',
+    align: 'center',
+    width: 100,
+  },
+   {
+    title: '通风量',
+    dataIndex: 'tfl',
+    key: 'tfl',
+    align: 'center',
+    width: 100,
+  },
+  {
+    title: '硬件版本号',
+    dataIndex: 'yjbbh',
+    key: 'yjbbh',
+    align: 'center',
+    width: 100,
+  },
+  {
+    title: '软件版本号',
+    dataIndex: 'rjbbh',
+    key: 'rjbbh',
+    align: 'center',
+    width: 100,
+  },
+  {
+    title: '通信状态',
+    dataIndex: 'txzt',
+    key: 'txzt',
+    align: 'center',
+    width: 100,
+  },
+  {
+    title: '时间',
+    dataIndex: 'sj',
+    key: 'sj',
+    align: 'center',
+    width: 100,
+  },
+  {
+    title: '探头距离',
+    dataIndex: 'ttjl',
+    key: 'ttjl',
+    width: 100,
+    align: 'center',
+  },
+  {
+    title: '基线距离',
+    dataIndex: 'jxjl',
+    key: 'jxjl',
+    width: 100,
+    align: 'center',
+  },
+  {
+    title: '角度',
+    dataIndex: 'jd',
+    key: 'jd',
+    width: 100,
+    align: 'center',
+  },
+  {
+    title: '开启时长',
+    dataIndex: 'kqsz',
+    key: 'kqsz',
+    width: 100,
+    align: 'center',
+  },
+  {
+    title: '平滑周期',
+    dataIndex: 'phzq',
+    key: 'phzq',
+    width: 100,
+    align: 'center',
+  },
+  {
+    title: '上行运放倍数',
+    dataIndex: 'sxyfbs',
+    key: 'sxyfbs',
+    width: 100,
+    align: 'center',
+  },
+  {
+    title: '下行运放倍数',
+    dataIndex: 'xxyfbs',
+    key: 'xxyfbs',
+    width: 100,
+    align: 'center',
+  },
+  {
+    title: '风道截面积',
+    dataIndex: 'fdjmj',
+    key: 'fdjmj',
+    width: 100,
+    align: 'center',
+  },
+  {
+    title: '总体校准系数',
+    dataIndex: 'ztxzxs',
+    key: 'ztxzxs',
+    align: 'center',
+    width: 100,
+  },
+  {
+    title: '校准系数一',
+    dataIndex: 'xzxs1',
+    key: 'xzxs1',
+    align: 'center',
+    width: 100,
+  },
+  {
+    title: '校准系数二',
+    dataIndex: 'xzxs2',
+    key: 'xzxs2',
+    align: 'center',
+    width: 100,
+  },
+  {
+    title: '校准系数三',
+    dataIndex: 'xzxs3',
+    key: 'xzxs3',
+    align: 'center',
+    width: 100,
+  },
+  {
+    title: '校准系数四',
+    dataIndex: 'xzxs4',
+    key: 'xzxs4',
+    align: 'center',
+    width: 100,
+  },
+  {
+    title: '校准系数五',
+    dataIndex: 'xzxs5',
+    key: 'xzxs5',
+    align: 'center',
+    width: 100,
+  },
+  {
+    title: '校准系数六',
+    dataIndex: 'xzxs6',
+    key: 'xzxs6',
+    align: 'center',
+    width: 100,
+  },
+  {
+    title: '校准系数b',
+    dataIndex: 'xzxsb',
+    key: 'xzxsb',
+    align: 'center',
+    width: 100,
+  },
+  {
+    title: '系数b符号',
+    dataIndex: 'xsbfh',
+    key: 'xsbfh',
+    align: 'center',
+    width: 100,
+  },
+  {
+    title: '高报警阈值',
+    dataIndex: 'gbjyz',
+    key: 'gbjyz',
+    align: 'center',
+    width: 100,
+  },
+  {
+    title: '低报警阈值',
+    dataIndex: 'dbjyz',
+    key: 'dbjyz',
+    align: 'center',
+    width: 100,
+  },
+  {
+    title: '报警使能',
+    dataIndex: 'bjsn',
+    key: 'bjsn',
+    align: 'center',
+    width: 100,
+  },
+  {
+    title: '第一路485波特率',
+    dataIndex: 'dyl485btl',
+    key: 'dyl485btl',
+    align: 'center',
+    width: 100,
+  },
+  {
+    title: '保存密码',
+    dataIndex: 'bcmm',
+    key: 'bcmm',
+    align: 'center',
+    width: 100,
+  },
+ 
+  
+ 
+  
+  
+  
+  {
+    title: '复位',
+    dataIndex: 'fw',
+    key: 'fw',
+    align: 'center',
+    width: 100,
+  },
+  {
+    title: '浮动范围',
+    dataIndex: 'range',
+    key: 'range',
+    align: 'center',
+    width: 100,
+  },
+  {
+    title: '测试模式',
+    dataIndex: 'csms',
+    key: 'csms',
+    align: 'center',
+    width: 100,
+  },
+  {
+    title: '测试风速',
+    dataIndex: 'csfs',
+    key: 'csfs',
+    align: 'center',
+    width: 100,
+  },
+  {
+    title: '测试风向',
+    dataIndex: 'csfx',
+    key: 'csfx',
+    align: 'center',
+    width: 100,
+  },
+];
 
 export const columnsOperate: BasicColumn[] = [
   {

Some files were not shown because too many files changed in this diff