algorithm.data.ts 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839
  1. import { h } from 'vue';
  2. import { FormSchema } from '/@/components/Form';
  3. import { BasicColumn } from '/@/components/Table';
  4. import { Tag } from 'ant-design-vue';
  5. /** 煤层预警参数 表格配置 */
  6. export const columnsCoalAlarm: BasicColumn[] = [
  7. {
  8. title: '煤矿名称',
  9. dataIndex: 'mineName',
  10. width: 400,
  11. },
  12. {
  13. title: '煤层名称',
  14. dataIndex: 'coalSeamName',
  15. width: 400,
  16. },
  17. {
  18. title: '创建时间',
  19. dataIndex: 'createTime',
  20. width: 400,
  21. },
  22. /* {
  23. title: '职务',
  24. dataIndex: 'post',
  25. width: 150,
  26. slots: { customRender: 'post' },
  27. },*/
  28. ];
  29. /** 老空区超限 表格配置 */
  30. export const columnsGoafLimit: BasicColumn[] = [
  31. {
  32. title: '老空区名称',
  33. dataIndex: 'devicePos',
  34. width: 400,
  35. },
  36. {
  37. title: '气温',
  38. dataIndex: 'fireAirTemperature',
  39. width: 200,
  40. },
  41. {
  42. title: '水温',
  43. dataIndex: 'fireWaterTemperature',
  44. width: 200,
  45. },
  46. {
  47. title: '状态',
  48. dataIndex: 'status',
  49. width: 200,
  50. customRender({ text }) {
  51. return h(
  52. Tag,
  53. {
  54. color: text == 1 ? 'success' : 'error',
  55. },
  56. text == 1 ? '正常' : '异常'
  57. );
  58. },
  59. },
  60. {
  61. title: '创建时间',
  62. dataIndex: 'createTime',
  63. width: 300,
  64. },
  65. ];
  66. export const searchFormSchema: FormSchema[] = [
  67. {
  68. label: '煤矿名称',
  69. field: 'deptId',
  70. component: 'MineCascader',
  71. colProps: { span: 6 },
  72. },
  73. ];
  74. export const schemasCoalAlarm: FormSchema[] = [
  75. // "mineCode": null,
  76. // "coalSeamId": null,
  77. {
  78. label: 'ID',
  79. field: 'id',
  80. show: false,
  81. component: 'Input',
  82. },
  83. {
  84. label: '规则名称:',
  85. field: 'ruleName',
  86. labelWidth: 118,
  87. component: 'Input',
  88. colProps: { span: 24 },
  89. },
  90. {
  91. field: 'm1',
  92. label: '老空区永久密闭内外压差变化风险提示模型',
  93. // labelWidth: 110,
  94. component: 'Divider',
  95. },
  96. {
  97. field: 'ycWarn1',
  98. label: '预警等级(Ⅰ):',
  99. labelWidth: 118,
  100. component: 'Input',
  101. slot: 'InputRangeNumber',
  102. /** 借用 */
  103. groupName: '<= 绝对压差变化(%) <=',
  104. colProps: { span: 12 },
  105. },
  106. { field: 'ycWarn1Start', label: '', show: false, component: 'Input' },
  107. { field: 'ycWarn1End', label: '', show: false, component: 'Input' },
  108. {
  109. field: 'ycWarn2',
  110. label: '预警等级(Ⅱ):',
  111. labelWidth: 118,
  112. component: 'Input',
  113. slot: 'InputRangeNumber',
  114. /** 借用 */
  115. groupName: '<= 绝对压差变化(%) <=',
  116. colProps: { span: 12 },
  117. },
  118. { field: 'ycWarn2Start', label: '', show: false, component: 'Input' },
  119. { field: 'ycWarn2End', label: '', show: false, component: 'Input' },
  120. {
  121. field: 'ycWarn3',
  122. label: '预警等级(Ⅲ):',
  123. labelWidth: 118,
  124. component: 'Input',
  125. slot: 'InputRangeNumber',
  126. /** 借用 */
  127. groupName: '<= 绝对压差变化(%) <=',
  128. colProps: { span: 12 },
  129. },
  130. { field: 'ycWarn3Start', label: '', show: false, component: 'Input' },
  131. { field: 'ycWarn3End', label: '', show: false, component: 'Input' },
  132. {
  133. field: 'ycWarn4',
  134. label: '预警等级(Ⅳ):',
  135. labelWidth: 118,
  136. component: 'Input',
  137. slot: 'InputGreaterNumber',
  138. /** 借用 */
  139. groupName: ' 绝对压差变化(%) <=',
  140. colProps: { span: 12 },
  141. },
  142. // { field: 'ycWarn4', label: '', show: false, component: 'Input' },
  143. {
  144. field: 'm2',
  145. label: '煤自燃发火隐患分级预警模型',
  146. // labelWidth: 110,
  147. component: 'Divider',
  148. },
  149. // {
  150. // field: 'fireWarn1CoRzl',
  151. // label: '预警等级(Ⅰ):',
  152. // labelWidth: 118,
  153. // component: 'Input',
  154. // slot: 'InputGreaterNumber',
  155. // /** 借用 */
  156. // groupName: ' CO日增率(%) <=',
  157. // colProps: { span: 12 },
  158. // },
  159. // // { field: 'fireWarn1CoRzl', label: '', show: false, component: 'Input' },
  160. // {
  161. // field: 'fireWarn1CoZf',
  162. // label: ' ',
  163. // suffix: '',
  164. // labelWidth: 118,
  165. // component: 'Input',
  166. // slot: 'InputGreaterNumber',
  167. // /** 借用 */
  168. // groupName: ' CO增幅(μ) <=',
  169. // colProps: { span: 12 },
  170. // },
  171. // // { field: 'fireWarn1CoZf', label: '', show: false, component: 'Input' },
  172. {
  173. field: 'fireWarn1CoNd',
  174. label: '预警等级(Ⅰ):',
  175. suffix: '',
  176. labelWidth: 118,
  177. component: 'Input',
  178. slot: 'InputGreaterNumber',
  179. /** 借用 */
  180. groupName: ' CO浓度(ppm) <=',
  181. colProps: { span: 12 },
  182. },
  183. // { field: 'fireWarn1CoNd', label: '', show: false, component: 'Input' },
  184. {
  185. field: 'fireWarn1O2',
  186. label: ' ',
  187. suffix: '',
  188. labelWidth: 118,
  189. component: 'Input',
  190. slot: 'InputGreaterNumber',
  191. /** 借用 */
  192. groupName: ' O2(%) <=',
  193. colProps: { span: 12 },
  194. },
  195. // { field: 'fireWarn1O2', label: '', show: false, component: 'Input' },
  196. {
  197. field: 'fireWarn1T',
  198. label: ' ',
  199. suffix: '',
  200. labelWidth: 118,
  201. component: 'Input',
  202. slot: 'InputGreaterNumber',
  203. /** 借用 */
  204. groupName: ' T-μT(℃) <',
  205. colProps: { span: 12, style: 'margin-right: 1px' },
  206. },
  207. // { field: 'fireWarn1T', label: '', show: false, component: 'Input' },
  208. // {
  209. // field: 'fireWarn2CoRzl',
  210. // label: '预警等级(Ⅱ):',
  211. // labelWidth: 118,
  212. // component: 'Input',
  213. // slot: 'InputRangeNumber',
  214. // /** 借用 */
  215. // groupName: '< CO日增率(%) <=',
  216. // colProps: { span: 12 },
  217. // },
  218. // { field: 'fireWarn2CoRzlStart', label: '', show: false, component: 'Input' },
  219. // { field: 'fireWarn2CoRzlEnd', label: '', show: false, component: 'Input' },
  220. // {
  221. // field: 'fireWarn2CoZf',
  222. // label: ' ',
  223. // suffix: '',
  224. // labelWidth: 118,
  225. // component: 'Input',
  226. // slot: 'InputRangeNumber',
  227. // /** 借用 */
  228. // groupName: '< CO增幅(μ) <=',
  229. // colProps: { span: 12 },
  230. // },
  231. // { field: 'fireWarn2CoZfStart', label: '', show: false, component: 'Input' },
  232. // { field: 'fireWarn2CoZfEnd', label: '', show: false, component: 'Input' },
  233. {
  234. field: 'fireWarn2CoNd',
  235. label: '预警等级(Ⅱ):',
  236. suffix: '',
  237. labelWidth: 118,
  238. component: 'Input',
  239. slot: 'InputRangeNumber',
  240. /** 借用 */
  241. groupName: '< CO浓度(ppm) <=',
  242. colProps: { span: 12 },
  243. },
  244. { field: 'fireWarn2CoNdStart', label: '', show: false, component: 'Input' },
  245. { field: 'fireWarn2CoNdEnd', label: '', show: false, component: 'Input' },
  246. {
  247. field: 'fireWarn2T',
  248. label: ' ',
  249. suffix: '',
  250. labelWidth: 118,
  251. component: 'Input',
  252. slot: 'InputRangeNumber',
  253. /** 借用 */
  254. groupName: '<= T-μT(℃) <=',
  255. colProps: { span: 12 },
  256. },
  257. { field: 'fireWarn2TStart', label: '', show: false, component: 'Input' },
  258. { field: 'fireWarn2TEnd', label: '', show: false, component: 'Input' },
  259. // {
  260. // field: 'fireWarn2CoO2Ratio',
  261. // label: ' ',
  262. // suffix: '',
  263. // labelWidth: 118,
  264. // component: 'Input',
  265. // slot: 'InputRangeNumber',
  266. // /** 借用 */
  267. // groupName: '< 100 x ΔCO / ΔO2 =',
  268. // colProps: { span: 12, style: 'margin-right: 1px' },
  269. // },
  270. // { field: 'fireWarn2CoO2RatioStart', label: '', show: false, component: 'Input' },
  271. // { field: 'fireWarn2CoO2RatioEnd', label: '', show: false, component: 'Input' },
  272. // {
  273. // field: 'fireWarn3CoRzl',
  274. // label: '预警等级(Ⅲ):',
  275. // labelWidth: 118,
  276. // component: 'Input',
  277. // slot: 'InputRangeNumber',
  278. // /** 借用 */
  279. // groupName: '< CO日增率(%) <=',
  280. // colProps: { span: 12 },
  281. // },
  282. // { field: 'fireWarn3CoRzlStart', label: '', show: false, component: 'Input' },
  283. // { field: 'fireWarn3CoRzlEnd', label: '', show: false, component: 'Input' },
  284. // {
  285. // field: 'fireWarn3CoZf',
  286. // label: ' ',
  287. // suffix: '',
  288. // labelWidth: 118,
  289. // component: 'Input',
  290. // slot: 'InputRangeNumber',
  291. // /** 借用 */
  292. // groupName: '< CO增幅(μ) <=',
  293. // colProps: { span: 12 },
  294. // },
  295. // { field: 'fireWarn3CoZfStart', label: '', show: false, component: 'Input' },
  296. // { field: 'fireWarn3CoZfEnd', label: '', show: false, component: 'Input' },
  297. {
  298. field: 'fireWarn3CoNd',
  299. label: '预警等级(Ⅲ):',
  300. suffix: '',
  301. labelWidth: 118,
  302. component: 'Input',
  303. slot: 'InputRangeNumber',
  304. /** 借用 */
  305. groupName: '< CO浓度(ppm) <=',
  306. colProps: { span: 12 },
  307. },
  308. { field: 'fireWarn3CoNdStart', label: '', show: false, component: 'Input' },
  309. { field: 'fireWarn3CoNdEnd', label: '', show: false, component: 'Input' },
  310. {
  311. field: 'fireWarn3T',
  312. label: ' ',
  313. suffix: '',
  314. labelWidth: 118,
  315. component: 'Input',
  316. slot: 'InputRangeNumber',
  317. /** 借用 */
  318. groupName: '< T-μT(℃) <=',
  319. colProps: { span: 12 },
  320. },
  321. { field: 'fireWarn3TStart', label: '', show: false, component: 'Input' },
  322. { field: 'fireWarn3TEnd', label: '', show: false, component: 'Input' },
  323. // {
  324. // field: 'fireWarn3CoO2Ratio',
  325. // label: ' ',
  326. // suffix: '',
  327. // labelWidth: 118,
  328. // component: 'Input',
  329. // slot: 'InputRangeNumber',
  330. // /** 借用 */
  331. // groupName: '< 100 x ΔCO / ΔO2 =',
  332. // colProps: { span: 12 },
  333. // },
  334. // { field: 'fireWarn3CoO2RatioStart', label: '', show: false, component: 'Input' },
  335. // { field: 'fireWarn3CoO2RatioEnd', label: '', show: false, component: 'Input' },
  336. {
  337. field: 'fireWarn3C2h4',
  338. label: ' ',
  339. suffix: '',
  340. labelWidth: 118,
  341. component: 'Input',
  342. slot: 'InputLowerNumber',
  343. /** 借用 */
  344. groupName: '< C2H4(ppm) ',
  345. colProps: { span: 12 },
  346. },
  347. {
  348. field: 'fireWarn3C2h2',
  349. label: ' ',
  350. suffix: '',
  351. labelWidth: 118,
  352. component: 'Input',
  353. slot: 'InputLowerNumber',
  354. /** 借用 */
  355. groupName: '= C2H2(ppm) ',
  356. colProps: { span: 12 },
  357. },
  358. // {
  359. // field: 'fireWarn4CoRzl',
  360. // label: '预警等级(Ⅳ):',
  361. // labelWidth: 118,
  362. // component: 'Input',
  363. // slot: 'InputLowerNumber',
  364. // /** 借用 */
  365. // groupName: '< CO日增率(%) ',
  366. // colProps: { span: 12 },
  367. // },
  368. // // { field: 'fireWarn4CoRzl', label: '', show: false, component: 'Input' },
  369. // {
  370. // field: 'fireWarn4CoZf',
  371. // label: ' ',
  372. // suffix: '',
  373. // labelWidth: 118,
  374. // component: 'Input',
  375. // slot: 'InputLowerNumber',
  376. // /** 借用 */
  377. // groupName: '< CO增幅(μ) ',
  378. // colProps: { span: 12 },
  379. // },
  380. // { field: 'fireWarn4CoZf', label: '', show: false, component: 'Input' },
  381. {
  382. field: 'fireWarn4CoNd',
  383. label: '预警等级(Ⅳ):',
  384. suffix: '',
  385. labelWidth: 118,
  386. component: 'Input',
  387. slot: 'InputLowerNumber',
  388. /** 借用 */
  389. groupName: '< CO浓度(ppm) ',
  390. colProps: { span: 12 },
  391. },
  392. // { field: 'fireWarn4CoNd', label: '', show: false, component: 'Input' },
  393. {
  394. field: 'fireWarn4T',
  395. label: ' ',
  396. suffix: '',
  397. labelWidth: 118,
  398. component: 'Input',
  399. slot: 'InputLowerNumber',
  400. /** 借用 */
  401. groupName: '< T-μT(℃) ',
  402. colProps: { span: 12 },
  403. },
  404. // { field: 'fireWarn4T', label: '', show: false, component: 'Input' },
  405. // {
  406. // field: 'fireWarn4CoO2Ratio',
  407. // label: ' ',
  408. // suffix: '',
  409. // labelWidth: 118,
  410. // component: 'Input',
  411. // slot: 'InputRangeNumber',
  412. // /** 借用 */
  413. // groupName: '< 100 x ΔCO / ΔO2 =',
  414. // colProps: { span: 12 },
  415. // },
  416. // { field: 'fireWarn4CoO2RatioStart', label: '', show: false, component: 'Input' },
  417. // { field: 'fireWarn4CoO2RatioEnd', label: '', show: false, component: 'Input' },
  418. // {
  419. // field: 'fireWarn4C2h4',
  420. // label: ' ',
  421. // suffix: '',
  422. // labelWidth: 118,
  423. // component: 'Input',
  424. // slot: 'InputLowerNumber',
  425. // /** 借用 */
  426. // groupName: '< C2H4(ppm) ',
  427. // colProps: { span: 12 },
  428. // },
  429. {
  430. field: 'fireWarn4C2h2',
  431. label: ' ',
  432. suffix: '',
  433. labelWidth: 118,
  434. component: 'Input',
  435. slot: 'InputLowerNumber',
  436. /** 借用 */
  437. groupName: '< C2H2(ppm) ',
  438. colProps: { span: 12 },
  439. },
  440. {
  441. field: 'm3',
  442. label: '火区密闭启封判定模型',
  443. // labelWidth: 110,
  444. component: 'Divider',
  445. },
  446. // { field: 'ycWarn4', label: '', show: false, component: 'Input' },
  447. {
  448. field: 'openWarn1',
  449. label: '预警等级(Ⅰ):',
  450. labelWidth: 118,
  451. component: 'Input',
  452. slot: 'InputGreaterNumber',
  453. /** 借用 */
  454. groupName: ' 空气温度(℃) <',
  455. colProps: { span: 12 },
  456. },
  457. {
  458. field: 'openWarn2',
  459. label: '预警等级(Ⅱ):',
  460. labelWidth: 118,
  461. component: 'Input',
  462. slot: 'InputGreaterNumber',
  463. /** 借用 */
  464. groupName: ' 氧气浓度(%) <',
  465. colProps: { span: 12 },
  466. },
  467. {
  468. field: 'openWarn3',
  469. label: '预警等级(Ⅲ):',
  470. labelWidth: 118,
  471. component: 'Input',
  472. slot: 'InputGreaterNumber',
  473. /** 借用 */
  474. groupName: '不含甲烷,乙烯,CO浓度(%) <',
  475. colProps: { span: 12 },
  476. },
  477. {
  478. field: 'openWarn4',
  479. label: '预警等级(Ⅳ):',
  480. labelWidth: 118,
  481. component: 'Input',
  482. slot: 'InputGreaterNumber',
  483. /** 借用 */
  484. groupName: ' 出水温度(℃) <',
  485. colProps: { span: 12 },
  486. },
  487. {
  488. field: 'openWarn5',
  489. label: '预警等级(Ⅴ):',
  490. labelWidth: 118,
  491. component: 'Input',
  492. slot: 'InputLowerNumber',
  493. /** 借用 */
  494. groupName: '< 指标稳定时长(天) ',
  495. colProps: { span: 12 },
  496. },
  497. ];
  498. export const goafAlarmModel = {
  499. ch4Val: {
  500. alarmField: 'ch4Val',
  501. lowerLimit: undefined,
  502. upperLimit: undefined,
  503. },
  504. o2Val: {
  505. alarmField: 'o2Val',
  506. lowerLimit: undefined,
  507. upperLimit: undefined,
  508. },
  509. coVal: {
  510. alarmField: 'coVal',
  511. lowerLimit: undefined,
  512. upperLimit: undefined,
  513. },
  514. co2Val: {
  515. alarmField: 'co2Val',
  516. lowerLimit: undefined,
  517. upperLimit: undefined,
  518. },
  519. c2h4Val: {
  520. alarmField: 'c2h4Val',
  521. lowerLimit: undefined,
  522. upperLimit: undefined,
  523. },
  524. c2h2Val: {
  525. alarmField: 'c2h2Val',
  526. lowerLimit: undefined,
  527. upperLimit: undefined,
  528. },
  529. sourcePressure: {
  530. alarmField: 'sourcePressure',
  531. lowerLimit: undefined,
  532. upperLimit: undefined,
  533. },
  534. temperature: {
  535. alarmField: 'temperature',
  536. lowerLimit: undefined,
  537. upperLimit: undefined,
  538. },
  539. };
  540. export const schemasGoafLimit: FormSchema[] = [
  541. {
  542. field: 'id',
  543. label: 'ID',
  544. labelWidth: 118,
  545. component: 'Input',
  546. show: false,
  547. // colProps: { span: 12 },
  548. },
  549. {
  550. field: 'fireAirTemperature',
  551. label: '气温',
  552. labelWidth: 118,
  553. component: 'InputNumber',
  554. // colProps: { span: 12 },
  555. },
  556. {
  557. field: 'fireWaterTemperature',
  558. label: '水温',
  559. labelWidth: 118,
  560. component: 'InputNumber',
  561. // colProps: { span: 12 },
  562. },
  563. {
  564. field: 'size',
  565. label: '尺寸',
  566. labelWidth: 118,
  567. component: 'Input',
  568. // colProps: { span: 12 },
  569. },
  570. {
  571. field: 'material',
  572. label: '材质',
  573. labelWidth: 118,
  574. component: 'Input',
  575. // colProps: { span: 12 },
  576. },
  577. {
  578. field: 'strucure',
  579. label: '结构',
  580. labelWidth: 118,
  581. component: 'Input',
  582. // colProps: { span: 12 },
  583. },
  584. {
  585. field: 'area',
  586. label: '采区',
  587. labelWidth: 118,
  588. component: 'Input',
  589. // colProps: { span: 12 },
  590. },
  591. {
  592. field: 'person',
  593. label: '负责人',
  594. labelWidth: 118,
  595. component: 'Input',
  596. // colProps: { span: 12 },
  597. },
  598. {
  599. field: '',
  600. label: '参数设置',
  601. labelWidth: 118,
  602. component: 'Divider',
  603. // colProps: { span: 12 },
  604. },
  605. {
  606. // 甲烷
  607. field: 'ch4Val',
  608. label: 'CH4(%)',
  609. labelWidth: 118,
  610. component: 'Input',
  611. slot: 'InputRangeGoaf',
  612. defaultValue: goafAlarmModel.ch4Val,
  613. /** 借用 */
  614. groupName: '下限 - 上限',
  615. colProps: { span: 12 },
  616. },
  617. {
  618. // 氧气
  619. field: 'o2Val',
  620. label: 'O2(%)',
  621. labelWidth: 118,
  622. component: 'Input',
  623. slot: 'InputRangeGoaf',
  624. defaultValue: goafAlarmModel.o2Val,
  625. /** 借用 */
  626. groupName: '下限 - 上限',
  627. colProps: { span: 12 },
  628. },
  629. {
  630. // 一氧化碳
  631. field: 'coVal',
  632. label: 'CO(ppm)',
  633. labelWidth: 118,
  634. component: 'Input',
  635. slot: 'InputRangeGoaf',
  636. defaultValue: goafAlarmModel.coVal,
  637. /** 借用 */
  638. groupName: '下限 - 上限',
  639. colProps: { span: 12 },
  640. },
  641. {
  642. // 二氧化碳
  643. field: 'co2Val',
  644. label: 'CO2(%)',
  645. labelWidth: 118,
  646. component: 'Input',
  647. slot: 'InputRangeGoaf',
  648. defaultValue: goafAlarmModel.co2Val,
  649. /** 借用 */
  650. groupName: '下限 - 上限',
  651. colProps: { span: 12 },
  652. },
  653. {
  654. // 乙烯
  655. field: 'c2h4Val',
  656. label: 'C2H4(ppm)',
  657. labelWidth: 118,
  658. component: 'Input',
  659. slot: 'InputRangeGoaf',
  660. defaultValue: goafAlarmModel.c2h4Val,
  661. /** 借用 */
  662. groupName: '下限 - 上限',
  663. colProps: { span: 12 },
  664. },
  665. {
  666. // 乙炔
  667. field: 'c2h2Val',
  668. label: 'C2H2(ppm)',
  669. labelWidth: 118,
  670. component: 'Input',
  671. slot: 'InputRangeGoaf',
  672. defaultValue: goafAlarmModel.c2h2Val,
  673. /** 借用 */
  674. groupName: '下限 - 上限',
  675. colProps: { span: 12 },
  676. },
  677. {
  678. field: 'sourcePressure',
  679. label: '压差(Pa)',
  680. labelWidth: 118,
  681. component: 'Input',
  682. slot: 'InputRangeGoaf',
  683. defaultValue: goafAlarmModel.sourcePressure,
  684. /** 借用 */
  685. groupName: '下限 - 上限',
  686. colProps: { span: 12 },
  687. },
  688. {
  689. field: 'temperature',
  690. label: '温度(℃)',
  691. labelWidth: 118,
  692. component: 'Input',
  693. slot: 'InputRangeGoaf',
  694. defaultValue: goafAlarmModel.temperature,
  695. /** 借用 */
  696. groupName: '下限 - 上限',
  697. colProps: { span: 12 },
  698. },
  699. ];
  700. export const schemasCoalExpression: FormSchema[] = [
  701. // "mineCode": null,
  702. // "coalSeamId": null,
  703. {
  704. label: 'ID',
  705. field: 'id',
  706. show: false,
  707. component: 'Input',
  708. },
  709. {
  710. label: '规则名称:',
  711. field: 'ruleName',
  712. labelWidth: 118,
  713. component: 'Input',
  714. colProps: { span: 24 },
  715. },
  716. {
  717. field: 'm1',
  718. label: '密闭内外压差变化风险提示模型',
  719. // labelWidth: 110,
  720. component: 'Divider',
  721. },
  722. {
  723. field: 'yc_warn1',
  724. label: '预警等级(Ⅰ):',
  725. labelWidth: 118,
  726. component: 'Input',
  727. slot: 'relation',
  728. // required: true,
  729. },
  730. {
  731. field: 'yc_warn2',
  732. label: '预警等级(Ⅱ):',
  733. labelWidth: 118,
  734. component: 'Input',
  735. slot: 'relation',
  736. },
  737. {
  738. field: 'yc_warn3',
  739. label: '预警等级(Ⅲ):',
  740. labelWidth: 118,
  741. component: 'Input',
  742. slot: 'relation',
  743. },
  744. {
  745. field: 'yc_warn4',
  746. label: '预警等级(Ⅳ):',
  747. labelWidth: 118,
  748. component: 'Input',
  749. slot: 'relation',
  750. },
  751. {
  752. field: 'm2',
  753. label: '闭内煤自燃发火隐患分级预警模型',
  754. // labelWidth: 110,
  755. component: 'Divider',
  756. },
  757. {
  758. field: 'fire_warn1',
  759. label: '预警等级(Ⅰ):',
  760. suffix: '',
  761. labelWidth: 118,
  762. component: 'Input',
  763. slot: 'relation',
  764. },
  765. {
  766. field: 'fire_warn2',
  767. label: '预警等级(Ⅱ):',
  768. suffix: '',
  769. labelWidth: 118,
  770. component: 'Input',
  771. slot: 'relation',
  772. },
  773. {
  774. field: 'fire_warn3',
  775. label: '预警等级(Ⅲ):',
  776. suffix: '',
  777. labelWidth: 118,
  778. component: 'Input',
  779. slot: 'relation',
  780. },
  781. {
  782. field: 'fire_warn4',
  783. label: '预警等级(Ⅳ):',
  784. suffix: '',
  785. labelWidth: 118,
  786. component: 'Input',
  787. slot: 'relation',
  788. },
  789. {
  790. field: 'm3',
  791. label: '闭外煤自燃发火隐患分级预警模型',
  792. // labelWidth: 110,
  793. component: 'Divider',
  794. },
  795. {
  796. field: 'fire_out_warn1',
  797. label: '预警等级(Ⅰ):',
  798. labelWidth: 118,
  799. component: 'Input',
  800. slot: 'relation',
  801. },
  802. {
  803. field: 'fire_out_warn2',
  804. label: '预警等级(Ⅱ):',
  805. labelWidth: 118,
  806. component: 'Input',
  807. slot: 'relation',
  808. },
  809. {
  810. field: 'fire_out_warn3',
  811. label: '预警等级(Ⅲ):',
  812. labelWidth: 118,
  813. component: 'Input',
  814. slot: 'relation',
  815. },
  816. {
  817. field: 'fire_out_warn4',
  818. label: '预警等级(Ⅳ):',
  819. labelWidth: 118,
  820. component: 'Input',
  821. slot: 'relation',
  822. },
  823. {
  824. field: 'open_warn',
  825. label: '火区密闭启封判定:',
  826. labelWidth: 118,
  827. component: 'Input',
  828. slot: 'relation',
  829. },
  830. ];