warning.data.ts 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914
  1. import { BasicColumn, FormSchema } from '/@/components/Table';
  2. import { initDictOptions } from '/@/utils/dict';
  3. import type { TableColumnType } from 'ant-design-vue';
  4. import { workFaceDeviceList } from './warning.api';
  5. import { render } from '/@/utils/common/renderUtils';
  6. export const levelColumns: BasicColumn[] = [
  7. {
  8. title: '下限',
  9. width: 100,
  10. editRow: true,
  11. dataIndex: 'fmin',
  12. editComponent: 'InputNumber',
  13. },
  14. {
  15. title: '上限',
  16. dataIndex: 'fmax',
  17. width: 100,
  18. editRow: true,
  19. editComponent: 'InputNumber',
  20. },
  21. {
  22. title: '持续时间(s)',
  23. dataIndex: 'timelength',
  24. editRow: true,
  25. width: 100,
  26. editComponent: 'InputNumber',
  27. },
  28. {
  29. title: '报警等级',
  30. dataIndex: 'leveltype',
  31. editRow: true,
  32. editRule: true,
  33. width: 100,
  34. editComponent: 'ApiSelect',
  35. editComponentProps: {
  36. api: initDictOptions.bind(null, 'leveltype'),
  37. labelField: 'label',
  38. valueField: 'value',
  39. },
  40. },
  41. {
  42. title: '报警描述',
  43. width: 180,
  44. editRow: true,
  45. dataIndex: 'des',
  46. editComponent: 'Input',
  47. },
  48. ];
  49. export const warningColumns: BasicColumn[] = [
  50. {
  51. title: '',
  52. dataIndex: 'id',
  53. ifShow: false,
  54. },
  55. {
  56. title: '监测参数',
  57. dataIndex: 'monitorcode',
  58. width: 150,
  59. editRow: true,
  60. },
  61. {
  62. title: '修正参数', // 给点位设置系数,调整点位值
  63. dataIndex: 'des',
  64. editRow: true,
  65. width: 200,
  66. editComponent: 'Input',
  67. },
  68. {
  69. title: '模拟最小值',
  70. width: 150,
  71. dataIndex: 'ftestmin',
  72. editRow: true,
  73. editComponent: 'InputNumber',
  74. },
  75. {
  76. title: '模拟最大值',
  77. dataIndex: 'ftestmax',
  78. editRow: true,
  79. width: 150,
  80. editComponent: 'InputNumber',
  81. },
  82. ];
  83. export const deviceColumns: BasicColumn[] = [
  84. {
  85. title: '名称',
  86. dataIndex: 'deviceName',
  87. align: 'center',
  88. width: 120,
  89. },
  90. {
  91. title: '安装位置',
  92. dataIndex: 'devicePos',
  93. align: 'center',
  94. width: 100,
  95. },
  96. {
  97. title: '设备类型',
  98. dataIndex: 'deviceType',
  99. align: 'center',
  100. width: 100,
  101. },
  102. {
  103. title: '所属分站',
  104. width: 150,
  105. align: 'center',
  106. dataIndex: 'subStationName',
  107. },
  108. ];
  109. export const workFaceColumns: BasicColumn[] = [
  110. {
  111. title: '安装位置',
  112. dataIndex: 'devicePos',
  113. width: 100,
  114. },
  115. {
  116. title: '排序',
  117. width: 100,
  118. dataIndex: 'sort',
  119. edit: true,
  120. editComponent: 'InputNumber',
  121. },
  122. {
  123. title: '是否在关键通风路线上',
  124. width: 100,
  125. dataIndex: 'pathflag',
  126. edit: true,
  127. editComponent: 'Switch',
  128. editValueMap: (value) => {
  129. return value ? '是' : '否';
  130. },
  131. },
  132. {
  133. title: '传感器类型',
  134. width: 100,
  135. dataIndex: 'sensorType',
  136. edit: true,
  137. editComponent: 'Select',
  138. editComponentProps: {
  139. options: [
  140. {
  141. label: '多参',
  142. value: '1',
  143. },
  144. {
  145. label: '测风',
  146. value: '2',
  147. },
  148. ],
  149. },
  150. },
  151. {
  152. title: '风向',
  153. width: 100,
  154. dataIndex: 'winddir',
  155. edit: true,
  156. editComponent: 'Select',
  157. editComponentProps: {
  158. options: [
  159. {
  160. label: '多参',
  161. value: '1',
  162. },
  163. {
  164. label: '测风',
  165. value: '2',
  166. },
  167. ],
  168. },
  169. },
  170. {
  171. title: '是否参与计算风量',
  172. width: 100,
  173. dataIndex: 'windflag',
  174. edit: true,
  175. editComponent: 'Switch',
  176. editValueMap: (value) => {
  177. return value ? '是' : '否';
  178. },
  179. },
  180. ];
  181. export const workFaceWarningColumns: BasicColumn[] = [
  182. {
  183. title: '报警条目',
  184. dataIndex: 'alarmName',
  185. align: 'center',
  186. },
  187. {
  188. title: '预警等级',
  189. dataIndex: 'alarmLevel',
  190. align: 'center',
  191. customRender: ({ record }) => {
  192. return render.renderDict(record.alarmLevel, 'leveltype');
  193. },
  194. },
  195. {
  196. title: '所属系统',
  197. dataIndex: 'systemType_dictText',
  198. align: 'center',
  199. },
  200. {
  201. title: '预警类型',
  202. dataIndex: 'alarmType_dictText',
  203. align: 'center',
  204. },
  205. {
  206. title: '创建人',
  207. dataIndex: 'createBy',
  208. align: 'center',
  209. },
  210. {
  211. title: '创建日期',
  212. dataIndex: 'createTime',
  213. align: 'center',
  214. },
  215. ];
  216. export const workFaceWarningFormSchemas: FormSchema[] = [
  217. {
  218. label: 'ID',
  219. field: 'id',
  220. component: 'Input',
  221. show: false,
  222. },
  223. {
  224. label: '预警名称',
  225. field: 'alarmName',
  226. component: 'Input',
  227. required: true,
  228. },
  229. {
  230. label: '预警类型',
  231. field: 'alarmType',
  232. component: 'JDictSelectTag',
  233. componentProps: { dictCode: 'alarmType' },
  234. },
  235. {
  236. label: '预警等级',
  237. field: 'alarmLevel',
  238. component: 'JDictSelectTag',
  239. componentProps: { dictCode: 'leveltype', stringToNumber: true },
  240. required: true,
  241. },
  242. {
  243. label: '所属系统',
  244. field: 'systemType',
  245. component: 'JDictSelectTag',
  246. componentProps: { dictCode: 'kindtype' },
  247. },
  248. ];
  249. export const manageWarningPointColumns: BasicColumn[] = [
  250. {
  251. title: '设备名称',
  252. dataIndex: 'deviceName',
  253. align: 'center',
  254. },
  255. {
  256. title: '报警条目',
  257. dataIndex: 'alarmName_dictText',
  258. align: 'center',
  259. },
  260. {
  261. title: '报警下限',
  262. dataIndex: 'fmin',
  263. align: 'center',
  264. edit: true,
  265. editComponent: 'InputNumber',
  266. },
  267. {
  268. title: '报警上限',
  269. dataIndex: 'fmax',
  270. align: 'center',
  271. edit: true,
  272. editComponent: 'InputNumber',
  273. },
  274. {
  275. title: '报警持续时间(s)',
  276. dataIndex: 'cxTime',
  277. align: 'center',
  278. edit: true,
  279. editComponent: 'InputNumber',
  280. },
  281. {
  282. title: '更新人',
  283. dataIndex: 'updateBy',
  284. align: 'center',
  285. width: 100,
  286. },
  287. ];
  288. export const controlFormSchemas = (param) =>
  289. <FormSchema[]>[
  290. {
  291. label: 'ID',
  292. field: 'id',
  293. component: 'Input',
  294. show: false,
  295. },
  296. {
  297. label: '点表',
  298. field: 'strtype',
  299. component: 'Input',
  300. show: false,
  301. },
  302. {
  303. label: '设备名称',
  304. field: 'deviceId',
  305. component: 'ApiSelect',
  306. required: true,
  307. componentProps: ({ formModel }) => {
  308. return {
  309. api: workFaceDeviceList.bind(null, param),
  310. labelField: 'strname',
  311. valueField: 'id',
  312. onChange: (e, option) => {
  313. if (option) formModel['strtype'] = option['strtype'];
  314. },
  315. };
  316. },
  317. },
  318. {
  319. label: '点位',
  320. field: 'monitorId',
  321. component: 'Select',
  322. slot: 'monitor',
  323. required: true,
  324. },
  325. {
  326. label: '值',
  327. field: 'value',
  328. component: 'Input',
  329. align: 'center',
  330. },
  331. {
  332. label: '执行顺序',
  333. field: 'orderNum',
  334. component: 'InputNumber',
  335. },
  336. {
  337. label: '操作描述',
  338. field: 'remark',
  339. component: 'Input',
  340. },
  341. ];
  342. export const controlDevicePointColumns: BasicColumn[] = [
  343. {
  344. title: '报警条目',
  345. dataIndex: 'alarmName',
  346. align: 'center',
  347. },
  348. {
  349. title: '设备安装位置',
  350. dataIndex: 'devicePos',
  351. align: 'center',
  352. },
  353. {
  354. title: '控制点位描述',
  355. dataIndex: 'monitorName',
  356. align: 'center',
  357. },
  358. {
  359. title: '值',
  360. dataIndex: 'value',
  361. align: 'center',
  362. },
  363. // {
  364. // title: '审批状态',
  365. // dataIndex: 'bpmStatus',
  366. // align: 'center',
  367. // edit: true,
  368. // editComponent: 'Select',
  369. // editComponentProps: {
  370. // options: [
  371. // {
  372. // label: '审批',
  373. // value: '1',
  374. // },
  375. // {
  376. // label: '不审批',
  377. // value: '0',
  378. // },
  379. // ],
  380. // },
  381. // },
  382. {
  383. title: '执行顺序',
  384. dataIndex: 'orderNum',
  385. align: 'center',
  386. },
  387. {
  388. title: '更新人',
  389. dataIndex: 'updateBy',
  390. align: 'center',
  391. width: 100,
  392. },
  393. {
  394. title: '操作',
  395. dataIndex: 'operation',
  396. width: 100,
  397. },
  398. ];
  399. export const monitorWarningFormSchemas = (param) =>
  400. <FormSchema[]>[
  401. {
  402. label: 'ID',
  403. field: 'id',
  404. component: 'Input',
  405. show: false,
  406. },
  407. {
  408. label: 'deviceType',
  409. field: 'deviceType',
  410. component: 'Input',
  411. show: false,
  412. },
  413. {
  414. label: '点表',
  415. field: 'strtype',
  416. component: 'Input',
  417. show: false,
  418. },
  419. {
  420. label: '设备名称',
  421. field: 'deviceId',
  422. component: 'ApiSelect',
  423. required: true,
  424. componentProps: ({ formModel }) => {
  425. return {
  426. api: workFaceDeviceList.bind(null, param),
  427. labelField: 'strname',
  428. valueField: 'id',
  429. onChange: (e, option) => {
  430. if (option) formModel['strtype'] = option['strtype'];
  431. },
  432. };
  433. },
  434. },
  435. {
  436. label: '且关系关联id',
  437. field: 'relId',
  438. component: 'Input',
  439. show: false,
  440. },
  441. {
  442. label: '点位',
  443. field: 'monitorId',
  444. component: 'Select',
  445. slot: 'monitor',
  446. // required: true,
  447. },
  448. {
  449. label: '报警上限值',
  450. field: 'fmax',
  451. component: 'InputNumber',
  452. },
  453. {
  454. label: '报警下限值',
  455. field: 'fmin',
  456. component: 'InputNumber',
  457. },
  458. {
  459. label: '报警持续时间(s)',
  460. field: 'cxTime',
  461. component: 'InputNumber',
  462. },
  463. ];
  464. export const controlWarningFormSchemas: FormSchema[] = [
  465. {
  466. label: 'ID',
  467. field: 'id',
  468. component: 'Input',
  469. show: false,
  470. },
  471. {
  472. label: '设备名称',
  473. field: 'deviceName',
  474. component: 'Input',
  475. required: true,
  476. },
  477. {
  478. label: '控制点位描述',
  479. field: 'monitorName',
  480. component: 'Input',
  481. },
  482. {
  483. label: '值',
  484. field: 'value',
  485. component: 'Input',
  486. },
  487. {
  488. label: '执行顺序',
  489. field: 'orderNum',
  490. component: 'Input',
  491. },
  492. ];
  493. export const BackWindDevicePointColumns: BasicColumn[] = [
  494. {
  495. title: '设备名称',
  496. dataIndex: 'deviceName',
  497. align: 'center',
  498. },
  499. {
  500. title: '设备安装位置',
  501. dataIndex: 'devicePos',
  502. align: 'center',
  503. },
  504. {
  505. title: '控制点位描述',
  506. dataIndex: 'monitorName',
  507. align: 'center',
  508. },
  509. {
  510. title: '值',
  511. dataIndex: 'value',
  512. edit: true,
  513. editComponent: 'Input',
  514. align: 'center',
  515. },
  516. // {
  517. // title: '审批状态',
  518. // dataIndex: 'bpmStatus',
  519. // align: 'center',
  520. // edit: true,
  521. // editComponent: 'Select',
  522. // editComponentProps: {
  523. // options: [
  524. // {
  525. // label: '审批',
  526. // value: '1',
  527. // },
  528. // {
  529. // label: '不审批',
  530. // value: '0',
  531. // },
  532. // ],
  533. // },
  534. // },
  535. {
  536. title: '执行顺序',
  537. dataIndex: 'orderNum',
  538. align: 'center',
  539. edit: true,
  540. editComponent: 'InputNumber',
  541. },
  542. {
  543. title: '更新人',
  544. dataIndex: 'updateBy',
  545. align: 'center',
  546. width: 100,
  547. },
  548. ];
  549. export const rowOrColSpanMap = new Map();
  550. const sharedOnCell = (record, rowIndex, column) => {
  551. const arr = rowOrColSpanMap.get(record.id);
  552. if (arr) {
  553. const col = arr.find((item) => {
  554. return item.code === column.dataIndex;
  555. });
  556. if (col) return { rowSpan: col.rowSpan, colSpan: col.colSpan };
  557. }
  558. };
  559. export const MonitorColumns: TableColumnType[] = [
  560. {
  561. title: '组合',
  562. dataIndex: 'key',
  563. customCell: sharedOnCell,
  564. },
  565. {
  566. title: '预警名称',
  567. dataIndex: 'alarmName',
  568. customCell: sharedOnCell,
  569. },
  570. {
  571. title: '设备名称',
  572. dataIndex: 'deviceName',
  573. customCell: sharedOnCell,
  574. },
  575. {
  576. title: '监测点位',
  577. dataIndex: 'monitorName',
  578. customCell: sharedOnCell,
  579. },
  580. {
  581. title: '报警下限值',
  582. dataIndex: 'fmin',
  583. customCell: sharedOnCell,
  584. },
  585. {
  586. title: '报警上限值',
  587. dataIndex: 'fmax',
  588. customCell: sharedOnCell,
  589. },
  590. {
  591. title: '报警持续时间',
  592. dataIndex: 'cxTime',
  593. customCell: sharedOnCell,
  594. },
  595. {
  596. title: '操作',
  597. colSpan: 2,
  598. dataIndex: 'operation',
  599. width: 120,
  600. customCell: sharedOnCell,
  601. },
  602. {
  603. title: '操作',
  604. colSpan: 0,
  605. dataIndex: 'operation1',
  606. width: 80,
  607. customCell: sharedOnCell,
  608. },
  609. ];
  610. export const controlColumns: TableColumnType[] = [
  611. {
  612. title: '预警名称',
  613. dataIndex: 'alarmName',
  614. align: 'center',
  615. },
  616. {
  617. title: '设备名称',
  618. dataIndex: 'deviceName',
  619. align: 'center',
  620. },
  621. {
  622. title: '控制点位',
  623. dataIndex: 'monitorName',
  624. align: 'center',
  625. },
  626. {
  627. title: '执行顺序',
  628. dataIndex: 'orderNum',
  629. align: 'center',
  630. },
  631. {
  632. title: '操作',
  633. colSpan: 2,
  634. dataIndex: 'operation',
  635. width: 120,
  636. align: 'center',
  637. },
  638. ];
  639. export const testData = [
  640. {
  641. key: '1',
  642. name: '气源压力超限',
  643. age: 32,
  644. tel: '0571-22098909',
  645. phone: 18889898989,
  646. address: 'New York No. 1 Lake Park',
  647. rowSpan: 1,
  648. colSpan: 1,
  649. },
  650. {
  651. key: '2',
  652. name: '气源压力超限',
  653. tel: '0571-22098333',
  654. phone: 18889898888,
  655. age: 42,
  656. address: 'London No. 1 Lake Park',
  657. rowSpan: 1,
  658. colSpan: 1,
  659. },
  660. {
  661. key: '3',
  662. name: '气源压力超限',
  663. age: 32,
  664. tel: '0575-22098909',
  665. phone: 18900010002,
  666. address: 'Sidney No. 1 Lake Park',
  667. rowSpan: 1,
  668. colSpan: 1,
  669. },
  670. {
  671. key: '4',
  672. name: '气源压力超限',
  673. age: 18,
  674. tel: '0575-22098909',
  675. phone: 18900010002,
  676. address: 'London No. 2 Lake Park',
  677. rowSpan: 1,
  678. colSpan: 1,
  679. },
  680. {
  681. key: '5',
  682. name: '气源压力超限',
  683. age: 18,
  684. tel: '0575-22098909',
  685. phone: 18900010002,
  686. address: 'Dublin No. 2 Lake Park',
  687. rowSpan: 1,
  688. colSpan: 1,
  689. },
  690. ];
  691. export const testData1 = [
  692. {
  693. key: '1',
  694. alarmName: '气源压力超限',
  695. devicePos: 32,
  696. monitorName: '0571-22098909',
  697. value: 18889898989,
  698. orderNum: '1',
  699. updateBy: 'New York No. 1 Lake Park',
  700. },
  701. {
  702. key: '2',
  703. alarmName: '气源压力超限',
  704. devicePos: 42,
  705. monitorName: '0571-22098333',
  706. value: 18889898888,
  707. orderNum: '2',
  708. updateBy: 'London No. 1 Lake Park',
  709. },
  710. {
  711. key: '3',
  712. alarmName: '气源压力超限',
  713. devicePos: 32,
  714. monitorName: '0575-22098909',
  715. value: 18900010002,
  716. orderNum: '3',
  717. updateBy: 'Sidney No. 1 Lake Park',
  718. },
  719. {
  720. key: '4',
  721. alarmName: '气源压力超限',
  722. devicePos: 18,
  723. monitorName: '0575-22098909',
  724. value: 18900010002,
  725. orderNum: '4',
  726. updateBy: 'London No. 2 Lake Park',
  727. },
  728. {
  729. key: '5',
  730. alarmName: '气源压力超限',
  731. devicePos: 18,
  732. monitorName: '0575-22098909',
  733. value: 18900010002,
  734. orderNum: '5',
  735. updateBy: 'Dublin No. 2 Lake Park',
  736. },
  737. {
  738. key: '6',
  739. alarmName: '气源压力超限',
  740. devicePos: 18,
  741. monitorName: '0575-22098909',
  742. value: 18900010002,
  743. orderNum: '5',
  744. updateBy: 'Dublin No. 2 Lake Park',
  745. },
  746. ];
  747. export const modelAlarmFormSchemas = () =>
  748. <FormSchema[]>[
  749. {
  750. label: 'ID',
  751. field: 'id',
  752. component: 'Input',
  753. show: false,
  754. },
  755. {
  756. label: '灾变时过风面积',
  757. field: 'alarmArea',
  758. component: 'InputNumber',
  759. },
  760. {
  761. label: '灾变时状态',
  762. field: 'alarmState',
  763. component: 'Select',
  764. componentProps: {
  765. options: [
  766. {
  767. label: '开启',
  768. value: 1,
  769. },
  770. {
  771. label: '关闭',
  772. value: 0,
  773. },
  774. ],
  775. },
  776. // required: true,
  777. },
  778. {
  779. label: '灾变时动作描述',
  780. field: 'des',
  781. component: 'Input',
  782. },
  783. {
  784. label: '恢复时动作描述',
  785. field: 'des2',
  786. component: 'Input',
  787. },
  788. {
  789. label: '设备类型',
  790. field: 'deviceKind',
  791. component: 'Select',
  792. componentProps: {
  793. options: [
  794. {
  795. label: '风门',
  796. value: 'gate',
  797. },
  798. {
  799. label: '风窗',
  800. value: 'window',
  801. },
  802. {
  803. label: '局部风机',
  804. value: 'fanlocal',
  805. },
  806. {
  807. label: '主风机',
  808. value: 'fanmain',
  809. },
  810. ],
  811. },
  812. // required: true,
  813. },
  814. {
  815. label: '设备名称',
  816. field: 'deviceName',
  817. component: 'Input',
  818. },
  819. {
  820. label: '控制设备ID',
  821. field: 'modelDevId',
  822. component: 'Input',
  823. },
  824. {
  825. label: '最大过风面积',
  826. field: 'maxArea',
  827. component: 'InputNumber',
  828. },
  829. {
  830. label: '正常过风面积',
  831. field: 'normalArea',
  832. component: 'InputNumber',
  833. },
  834. {
  835. label: '正常时状态',
  836. field: 'normalState',
  837. component: 'Select',
  838. componentProps: {
  839. options: [
  840. {
  841. label: '开启',
  842. value: 1,
  843. },
  844. {
  845. label: '关闭',
  846. value: 0,
  847. },
  848. ],
  849. },
  850. // required: true,
  851. },
  852. {
  853. label: '巷道ID',
  854. field: 'tunId',
  855. component: 'Input',
  856. },
  857. {
  858. label: '执行顺序',
  859. field: 'orderNum',
  860. component: 'InputNumber',
  861. },
  862. ];
  863. export const modelAlarmColumns: TableColumnType[] = [
  864. {
  865. title: '序号',
  866. width: 80,
  867. align: 'center',
  868. customRender: ({ index }: { index: number }) => `${index + 1}`,
  869. },
  870. // { dataIndex: 'alarmArea', title: '灾变时过风面积' },
  871. // { dataIndex: 'alarmId', title: '报警条目id' },
  872. // { dataIndex: 'alarmName', title: '预警名称' },
  873. // { dataIndex: 'alarmState', title: '灾变时状态' },
  874. // { dataIndex: 'bpmStatus', title: '审批状态' },
  875. // { dataIndex: 'createBy', title: '创建人' },
  876. // { dataIndex: 'createTime', title: '创建日期' },
  877. // { dataIndex: 'des2', title: '恢复正常时动作描述' },
  878. // { dataIndex: 'deviceId', title: '关联设备id' },
  879. // { dataIndex: 'deviceKind', title: '设备类型' },
  880. { dataIndex: 'deviceName', title: '设备名称' },
  881. { dataIndex: 'maxArea', title: '最大过风面积' },
  882. { dataIndex: 'des', title: '灾变时动作描述' },
  883. // { dataIndex: 'modelDevId', title: '控制设备id' },
  884. // { dataIndex: 'normalArea', title: '正常过风面积' },
  885. // { dataIndex: 'normalState', title: '正常时状态' },
  886. // { dataIndex: 'orderNum', title: '执行顺序' },
  887. // { dataIndex: 'sysId', title: '场景ID' },
  888. // { dataIndex: 'sysName', title: '场景名称' },
  889. // { dataIndex: 'sysOrgCode', title: '所属部门' },
  890. // { dataIndex: 'tunId', title: '巷道id' },
  891. // { dataIndex: 'updateBy', title: '更新人' },
  892. // { dataIndex: 'updateTime', title: '更新日期' },
  893. { dataIndex: 'operation', title: '操作' },
  894. ];