gas-detail.vue 48 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352
  1. <template>
  2. <view class="gas-detail">
  3. <u-tabs class="devic-box-tab" :current="PageCur" :list="tabList" @click="NavChange"></u-tabs>
  4. <view class="gas-content" v-if="PageCur == 0">
  5. <view class="search-area">
  6. <view class="search-l">
  7. <view class="search-item" @click="getChangeJcd">
  8. <text class="search-label">监测点:</text>
  9. <u--input inputAlign="center" v-model="searchText" placeholder="请选择监测点" suffixIcon="arrow-right"
  10. suffixIconStyle="color: #909399"></u--input>
  11. <u-action-sheet :show="showJcd" :actions="selectList" title="请选择监测点" @close="showJcd = false"
  12. @select="selectChangeJcd">
  13. </u-action-sheet>
  14. </view>
  15. </view>
  16. <view class="search-r">
  17. <!-- <image src="/static/model/alarmTrue.svg" alt="" class="icon-style" /> -->
  18. <u-icon name="warning-fill" color="#0eb4fc" size="18"></u-icon>
  19. <text class="icon-text">低风险</text>
  20. </view>
  21. </view>
  22. <view class="top-area">
  23. <view class="top-title">
  24. <view style="font-weight: bold;">瓦斯抽采泵信息</view>
  25. </view>
  26. <view class="top-content" v-for="(item, index) in topContentList" :key="index">
  27. <view class="content-title">{{ item.strinstallpos }}</view>
  28. <view class="content-item-box">
  29. <view class="content-item">
  30. <view class="item-l">
  31. <view class="item-value">{{ item.warnLevel }}</view>
  32. <view class="item-label">报警状态</view>
  33. </view>
  34. <view class="item-c"></view>
  35. <view class="item-r">
  36. <view class="item-value">{{ item.readData.coVal || '--' }}</view>
  37. <view class="item-label">输入管道内一氧化碳(ppm)</view>
  38. </view>
  39. </view>
  40. <view class="content-item">
  41. <view class="item-l">
  42. <view class="item-value">{{ item.readData.gas1 || '--' }}</view>
  43. <view class="item-label">管路出口处瓦斯</view>
  44. </view>
  45. <view class="item-c"></view>
  46. <view class="item-r">
  47. <view class="item-value">{{ item.readData.gas2 || '--' }}</view>
  48. <view class="item-label">泵站内瓦斯</view>
  49. </view>
  50. </view>
  51. <view class="content-item">
  52. <view class="item-l">
  53. <view class="item-value">{{ item.readData.gas3 || '--' }}</view>
  54. <view class="item-label">输入管道内瓦斯</view>
  55. </view>
  56. <view class="item-c"></view>
  57. <view class="item-r">
  58. <view class="item-value">{{ item.readData.gas4 || '--' }}</view>
  59. <view class="item-label">管道输出瓦斯</view>
  60. </view>
  61. </view>
  62. <view class="content-item">
  63. <view class="item-l">
  64. <view class="item-value">{{ item.readData.mixedTraffic || '--' }}</view>
  65. <view class="item-label">输入管道内工混流量</view>
  66. </view>
  67. <view class="item-c"></view>
  68. <view class="item-r">
  69. <view class="item-value">{{ item.readData.standardTraffic || '--' }}</view>
  70. <view class="item-label">输入管道内标况流量</view>
  71. </view>
  72. </view>
  73. <view class="content-item">
  74. <view class="item-l">
  75. <view class="item-value">{{ item.readData.totalGasDrainage || '--' }}</view>
  76. <view class="item-label">瓦斯抽放量</view>
  77. </view>
  78. <view class="item-c"></view>
  79. <view class="item-r">
  80. <!-- <view class="item-value">{{ item.coVal }}</view>
  81. <view class="item-label">输入管道内一氧化碳(ppm)</view> -->
  82. </view>
  83. </view>
  84. </view>
  85. </view>
  86. </view>
  87. <view class="bot-area">
  88. <view class="top-title">
  89. <view style="font-weight: bold;">安全监测点信息</view>
  90. </view>
  91. <view class="top-content" v-for="(item, index) in botContentList" :key="index">
  92. <view class="content-title">{{ item.strinstallpos || '--' }}</view>
  93. <view class="content-item-box">
  94. <view class="content-item">
  95. <view class="item-l">
  96. <view class="item-value">瓦斯</view>
  97. <view class="item-label">测点类型</view>
  98. </view>
  99. <view class="item-c"></view>
  100. <view class="item-r">
  101. <view class="item-value">{{ item.readData.gasC || '--' }}</view>
  102. <view class="item-label">甲烷</view>
  103. </view>
  104. </view>
  105. <view class="content-item">
  106. <view class="item-l">
  107. <view class="item-value">{{ item.warnFlag || '--' }}</view>
  108. <view class="item-label">测点状态</view>
  109. </view>
  110. <view class="item-c"></view>
  111. <view class="item-r">
  112. <view class="item-value">{{ item.readTime || '--' }}</view>
  113. <view class="item-label">数据时间</view>
  114. </view>
  115. </view>
  116. </view>
  117. </view>
  118. </view>
  119. </view>
  120. <view class="gas-content" v-if="PageCur == 2">
  121. <!-- 瓦斯上报列表 -->
  122. <view v-if="!isShowAdd">
  123. <view class="top-gas-list">
  124. <view class="search-box" @click="getChangeTimeTb">
  125. <text class="dialog-label">填报时间:</text>
  126. <u--input v-model="tbTime" placeholder="请选择填报时间" inputAlign="center" suffixIcon="arrow-right"></u--input>
  127. <u-datetime-picker :show="showCalendarTb" v-model="timeRan" mode="datetime" closeOnClickOverlay
  128. @confirm="confirmTb" @cancel="showCalendarTb = false" @change="changeTb"
  129. @close="showCalendarTb = false"></u-datetime-picker>
  130. </view>
  131. <u-button type="primary" size="small" style="margin: 2px 0px;" @click="getAdd">新增</u-button>
  132. </view>
  133. <view class="bot-gas-list">
  134. <view class="top-title">
  135. <view style="font-weight: bold;">瓦斯填报列表</view>
  136. </view>
  137. <view class="top-content" v-for="(item, index) in gasList" :key="index">
  138. <view class="content-title-gas">
  139. <text>
  140. {{ item.districtTeam_dictText || '--' }}
  141. </text>
  142. <u-icon class="icon-gas-edit" name="edit-pen-fill" color="#0eb4fc" size="16"
  143. @click="getEdit(item)"></u-icon>
  144. <u-icon class="icon-gas-del" name="trash" color="#0eb4fc" size="16" @click="getDel(item)"></u-icon>
  145. </view>
  146. <view class="content-item-box">
  147. <view class="content-item">
  148. <view class="item-l">
  149. <view class="item-value">{{ item.bxySdzEarly1 || '--' }}</view>
  150. <view class="item-label">早班便携仪测量数据一</view>
  151. </view>
  152. <view class="item-c"></view>
  153. <view class="item-r">
  154. <view class="item-value">{{ item.bxySdzEarly2 || '--' }}</view>
  155. <view class="item-label">早班便携仪测量数据二</view>
  156. </view>
  157. </view>
  158. <view class="content-item">
  159. <view class="item-l">
  160. <view class="item-value">{{ item.bxySdzNoon1 || '--' }}</view>
  161. <view class="item-label">午班便携仪测量数据一</view>
  162. </view>
  163. <view class="item-c"></view>
  164. <view class="item-r">
  165. <view class="item-value">{{ item.bxySdzNoon2 || '--' }}</view>
  166. <view class="item-label">午班便携仪测量数据二</view>
  167. </view>
  168. </view>
  169. <view class="content-item">
  170. <view class="item-l">
  171. <view class="item-value">{{ item.bxySdzNight1 || '--' }}</view>
  172. <view class="item-label">晚班便携仪测量数据一</view>
  173. </view>
  174. <view class="item-c"></view>
  175. <view class="item-r">
  176. <view class="item-value">{{ item.bxySdzNight2 || '--' }}</view>
  177. <view class="item-label">晚班便携仪测量数据二</view>
  178. </view>
  179. </view>
  180. <view class="content-item">
  181. <view class="item-l">
  182. <view class="item-value">{{ item.ch4Early1 || '--' }}</view>
  183. <view class="item-label">早班CH4(%)一</view>
  184. </view>
  185. <view class="item-c"></view>
  186. <view class="item-r">
  187. <view class="item-value">{{ item.ch4Early2 || '--' }}</view>
  188. <view class="item-label">早班CH4(%)二</view>
  189. </view>
  190. </view>
  191. <view class="content-item">
  192. <view class="item-l">
  193. <view class="item-value">{{ item.ch4Noon1 || '--' }}</view>
  194. <view class="item-label">午班CH4(%)一</view>
  195. </view>
  196. <view class="item-c"></view>
  197. <view class="item-r">
  198. <view class="item-value">{{ item.ch4Noon2 || '--' }}</view>
  199. <view class="item-label">午班CH4(%)二</view>
  200. </view>
  201. </view>
  202. <view class="content-item">
  203. <view class="item-l">
  204. <view class="item-value">{{ item.ch4Night1 || '--' }}</view>
  205. <view class="item-label">晚班CH4(%)一</view>
  206. </view>
  207. <view class="item-c"></view>
  208. <view class="item-r">
  209. <view class="item-value">{{ item.ch4Night2 || '--' }}</view>
  210. <view class="item-label">晚班CH4(%)二</view>
  211. </view>
  212. </view>
  213. <view class="content-item">
  214. <view class="item-l">
  215. <view class="item-value">{{ item.co2Early1 || '--' }}</view>
  216. <view class="item-label">早班CO2(%)一</view>
  217. </view>
  218. <view class="item-c"></view>
  219. <view class="item-r">
  220. <view class="item-value">{{ item.co2Early2 || '--' }}</view>
  221. <view class="item-label">早班CO2(%)二</view>
  222. </view>
  223. </view>
  224. <view class="content-item">
  225. <view class="item-l">
  226. <view class="item-value">{{ item.co2Noon1 || '--' }}</view>
  227. <view class="item-label">午班CO2(%)一</view>
  228. </view>
  229. <view class="item-c"></view>
  230. <view class="item-r">
  231. <view class="item-value">{{ item.co2Noon2 || '--' }}</view>
  232. <view class="item-label">午班CO2(%)二</view>
  233. </view>
  234. </view>
  235. <view class="content-item">
  236. <view class="item-l">
  237. <view class="item-value">{{ item.co2Night1 || '--' }}</view>
  238. <view class="item-label">晚班CO2(%)一</view>
  239. </view>
  240. <view class="item-c"></view>
  241. <view class="item-r">
  242. <view class="item-value">{{ item.co2Night2 || '--' }}</view>
  243. <view class="item-label">晚班CO2(%)二</view>
  244. </view>
  245. </view>
  246. <view class="content-item">
  247. <view class="item-l">
  248. <view class="item-value">{{ item.coEarly1 || '--' }}</view>
  249. <view class="item-label">早班CO(ppm)一</view>
  250. </view>
  251. <view class="item-c"></view>
  252. <view class="item-r">
  253. <view class="item-value">{{ item.coEarly2 || '--' }}</view>
  254. <view class="item-label">早班CO(ppm)二</view>
  255. </view>
  256. </view>
  257. <view class="content-item">
  258. <view class="item-l">
  259. <view class="item-value">{{ item.coNoon1 || '--' }}</view>
  260. <view class="item-label">午班CO(ppm)一</view>
  261. </view>
  262. <view class="item-c"></view>
  263. <view class="item-r">
  264. <view class="item-value">{{ item.coNoon2 || '--' }}</view>
  265. <view class="item-label">午班CO(ppm)二</view>
  266. </view>
  267. </view>
  268. <view class="content-item">
  269. <view class="item-l">
  270. <view class="item-value">{{ item.coNight1 || '--' }}</view>
  271. <view class="item-label">晚班CO(ppm)一</view>
  272. </view>
  273. <view class="item-c"></view>
  274. <view class="item-r">
  275. <view class="item-value">{{ item.coNight2 || '--' }}</view>
  276. <view class="item-label">晚班CO(ppm)二</view>
  277. </view>
  278. </view>
  279. <view class="content-item">
  280. <view class="item-l">
  281. <view class="item-value">{{ item.gwSdzEarly1 || '--' }}</view>
  282. <view class="item-label">早班光瓦测量一</view>
  283. </view>
  284. <view class="item-c"></view>
  285. <view class="item-r">
  286. <view class="item-value">{{ item.gwSdzEarly2 || '--' }}</view>
  287. <view class="item-label">早班光瓦测量二</view>
  288. </view>
  289. </view>
  290. <view class="content-item">
  291. <view class="item-l">
  292. <view class="item-value">{{ item.gwSdzNoon1 || '--' }}</view>
  293. <view class="item-label">午班光瓦测量一</view>
  294. </view>
  295. <view class="item-c"></view>
  296. <view class="item-r">
  297. <view class="item-value">{{ item.gwSdzNoon2 || '--' }}</view>
  298. <view class="item-label">午班光瓦测量二</view>
  299. </view>
  300. </view>
  301. <view class="content-item">
  302. <view class="item-l">
  303. <view class="item-value">{{ item.gwSdzNight1 || '--' }}</view>
  304. <view class="item-label">晚班光瓦测量一</view>
  305. </view>
  306. <view class="item-c"></view>
  307. <view class="item-r">
  308. <view class="item-value">{{ item.gwSdzNight2 || '--' }}</view>
  309. <view class="item-label">晚班光瓦测量二</view>
  310. </view>
  311. </view>
  312. <view class="content-item">
  313. <view class="item-l">
  314. <view class="item-value">{{ item.jwSdzEarly1 || '--' }}</view>
  315. <view class="item-label">早班甲烷传感器一</view>
  316. </view>
  317. <view class="item-c"></view>
  318. <view class="item-r">
  319. <view class="item-value">{{ item.jwSdzEarly2 || '--' }}</view>
  320. <view class="item-label">早班甲烷传感器二</view>
  321. </view>
  322. </view>
  323. <view class="content-item">
  324. <view class="item-l">
  325. <view class="item-value">{{ item.jwSdzNoon1 || '--' }}</view>
  326. <view class="item-label">午班甲烷传感器一</view>
  327. </view>
  328. <view class="item-c"></view>
  329. <view class="item-r">
  330. <view class="item-value">{{ item.jwSdzNoon2 || '--' }}</view>
  331. <view class="item-label">午班甲烷传感器二</view>
  332. </view>
  333. </view>
  334. <view class="content-item">
  335. <view class="item-l">
  336. <view class="item-value">{{ item.jwSdzNight1 || '--' }}</view>
  337. <view class="item-label">晚班甲烷传感器一</view>
  338. </view>
  339. <view class="item-c"></view>
  340. <view class="item-r">
  341. <view class="item-value">{{ item.jwSdzNight2 || '--' }}</view>
  342. <view class="item-label">晚班甲烷传感器二</view>
  343. </view>
  344. </view>
  345. <view class="content-item">
  346. <view class="item-l">
  347. <view class="item-value">{{ item.o2Early1 || '--' }}</view>
  348. <view class="item-label">早班O2(%)一</view>
  349. </view>
  350. <view class="item-c"></view>
  351. <view class="item-r">
  352. <view class="item-value">{{ item.o2Early2 || '--' }}</view>
  353. <view class="item-label">早班O2(%)二</view>
  354. </view>
  355. </view>
  356. <view class="content-item">
  357. <view class="item-l">
  358. <view class="item-value">{{ item.o2Noon1 || '--' }}</view>
  359. <view class="item-label">午班O2(%)一</view>
  360. </view>
  361. <view class="item-c"></view>
  362. <view class="item-r">
  363. <view class="item-value">{{ item.o2Noon2 || '--' }}</view>
  364. <view class="item-label">午班O2(%)二</view>
  365. </view>
  366. </view>
  367. <view class="content-item">
  368. <view class="item-l">
  369. <view class="item-value">{{ item.o2Night1 || '--' }}</view>
  370. <view class="item-label">晚班O2(%)一</view>
  371. </view>
  372. <view class="item-c"></view>
  373. <view class="item-r">
  374. <view class="item-value">{{ item.o2Night2 || '--' }}</view>
  375. <view class="item-label">晚班O2(%)二</view>
  376. </view>
  377. </view>
  378. <view class="content-item">
  379. <view class="item-l">
  380. <view class="item-value">{{ item.timeEarly1 || '--' }}</view>
  381. <view class="item-label">早班测量时间一</view>
  382. </view>
  383. <view class="item-c"></view>
  384. <view class="item-r">
  385. <view class="item-value">{{ item.timeEarly2 || '--' }}</view>
  386. <view class="item-label">早班测量时间二</view>
  387. </view>
  388. </view>
  389. <view class="content-item">
  390. <view class="item-l">
  391. <view class="item-value">{{ item.timeNoon1 || '--' }}</view>
  392. <view class="item-label">午班测量时间一</view>
  393. </view>
  394. <view class="item-c"></view>
  395. <view class="item-r">
  396. <view class="item-value">{{ item.timeNoon2 || '--' }}</view>
  397. <view class="item-label">午班测量时间二</view>
  398. </view>
  399. </view>
  400. <view class="content-item">
  401. <view class="item-l">
  402. <view class="item-value">{{ item.timeNight1 || '--' }}</view>
  403. <view class="item-label">晚班测量时间一</view>
  404. </view>
  405. <view class="item-c"></view>
  406. <view class="item-r">
  407. <view class="item-value">{{ item.timeNight2 || '--' }}</view>
  408. <view class="item-label">晚班测量时间二</view>
  409. </view>
  410. </view>
  411. <view class="content-item">
  412. <view class="item-l">
  413. <view class="item-value">{{ item.checkPersonEarly || '--' }}</view>
  414. <view class="item-label">早班检修员</view>
  415. </view>
  416. <view class="item-c"></view>
  417. <view class="item-r">
  418. <view class="item-value">{{ item.checkPersonNoon || '--' }}</view>
  419. <view class="item-label">午班检修员</view>
  420. </view>
  421. </view>
  422. <view class="content-item">
  423. <view class="item-l">
  424. <view class="item-value">{{ item.checkPersonNight || '--' }}</view>
  425. <view class="item-label">晚班检修员</view>
  426. </view>
  427. <view class="item-c"></view>
  428. <view class="item-r">
  429. <view class="item-value">{{ item.strInstallPos || '--' }}</view>
  430. <view class="item-label">安装位置</view>
  431. </view>
  432. </view>
  433. </view>
  434. </view>
  435. </view>
  436. </view>
  437. <!-- 新增弹窗 -->
  438. <view v-if="isShowAdd">
  439. <view class="top-dialog-area">
  440. <view class="dialog-item" @click="getChange('班次')">
  441. <text class="dialog-label">班次:</text>
  442. <u--input inputAlign="center" v-model="formState.bc" placeholder="请选择班次" suffixIcon="arrow-right"
  443. suffixIconStyle="color: #909399"></u--input>
  444. <u-action-sheet :show="showDialogBc" :actions="dialogAction" :title="dialogTitle"
  445. @close="showDialogBc = false" @select="selectChangeBc">
  446. </u-action-sheet>
  447. </view>
  448. <view class="dialog-item" @click="getChange('测量次数')">
  449. <text class="dialog-label">测量次数:</text>
  450. <u--input inputAlign="center" v-model="formState.count" placeholder="请选择测量次数" suffixIcon="arrow-right"
  451. suffixIconStyle="color: #909399"></u--input>
  452. <u-action-sheet :show="showDialogCl" :actions="dialogAction" :title="dialogTitle"
  453. @close="showDialogCl = false" @select="selectChangeCl">
  454. </u-action-sheet>
  455. </view>
  456. <view class="dialog-item" @click="getChange('检测地点')">
  457. <text class="dialog-label">检测地点:</text>
  458. <u--input inputAlign="center" v-model="formState.jcdd" placeholder="请选择检测地点" suffixIcon="arrow-right"
  459. suffixIconStyle="color: #909399"></u--input>
  460. <u-action-sheet :show="showDialogJc" :actions="dialogAction" :title="dialogTitle"
  461. @close="showDialogJc = false" @select="selectChangeJc">
  462. </u-action-sheet>
  463. </view>
  464. <view class="dialog-item">
  465. <text class="dialog-label">检测员:</text>
  466. <u--input inputAlign="center" v-model="formState.jcy" placeholder="请输入"></u--input>
  467. </view>
  468. </view>
  469. <view>
  470. <view class="center-dialog-area">
  471. <div class="dialog-title">气体监测数据</div>
  472. <view class="dialog-item" @click="getChangeTime">
  473. <text class="dialog-label">第一次检测时间:</text>
  474. <u--input v-model="formState.time" placeholder="请选择检测时间" inputAlign="center"
  475. suffixIcon="arrow-right"></u--input>
  476. <u-datetime-picker :show="showCalendar" v-model="timeRan" mode="datetime" closeOnClickOverlay
  477. @confirm="showCalendar = false" @cancel="showCalendar = false" @change="change"
  478. @close="showCalendar = false"></u-datetime-picker>
  479. </view>
  480. <view class="dialog-item">
  481. <text class="dialog-label">CH₄:</text>
  482. <u--input inputAlign="center" v-model="formState.ch4" placeholder="请输入"></u--input>
  483. </view>
  484. <view class="dialog-item">
  485. <text class="dialog-label">CO₂:</text>
  486. <u--input inputAlign="center" v-model="formState.co2" placeholder="请输入"></u--input>
  487. </view>
  488. <view class="dialog-item">
  489. <text class="dialog-label">CO:</text>
  490. <u--input inputAlign="center" v-model="formState.co" placeholder="请输入"></u--input>
  491. </view>
  492. <view class="dialog-item">
  493. <text class="dialog-label">O₂:</text>
  494. <u--input inputAlign="center" v-model="formState.o2" placeholder="请输入"></u--input>
  495. </view>
  496. </view>
  497. <view class="bottom-dialog-area">
  498. <div class="dialog-title">三对照数据</div>
  499. <view class="dialog-item">
  500. <text class="dialog-label">甲烷传感器:</text>
  501. <u--input inputAlign="center" v-model="formState.jw" placeholder="请输入"></u--input>
  502. </view>
  503. <view class="dialog-item">
  504. <text class="dialog-label">光瓦测量数据:</text>
  505. <u--input inputAlign="center" v-model="formState.gw" placeholder="请输入"></u--input>
  506. </view>
  507. <view class="dialog-item">
  508. <text class="dialog-label">便携仪测量数据:</text>
  509. <u--input inputAlign="center" v-model="formState.bxy" placeholder="请输入"></u--input>
  510. </view>
  511. </view>
  512. </view>
  513. <view v-if="paramCount == 2">
  514. <view class="center-dialog-area">
  515. <div class="dialog-title">气体监测数据</div>
  516. <view class="dialog-item" @click="getChangeTime1">
  517. <text class="dialog-label">第二次检测时间:</text>
  518. <u--input v-model="formState.time0" placeholder="请选择检测时间" inputAlign="center"
  519. suffixIcon="arrow-right"></u--input>
  520. <u-datetime-picker :show="showCalendar1" v-model="timeRan" mode="datetime" closeOnClickOverlay
  521. @confirm="showCalendar1 = false" @cancel="showCalendar1 = false" @change="change1"
  522. @close="showCalendar1 = false"></u-datetime-picker>
  523. </view>
  524. <view class="dialog-item">
  525. <text class="dialog-label">CH₄:</text>
  526. <u--input inputAlign="center" v-model="formState.ch40" placeholder="请输入"></u--input>
  527. </view>
  528. <view class="dialog-item">
  529. <text class="dialog-label">CO₂:</text>
  530. <u--input inputAlign="center" v-model="formState.co20" placeholder="请输入"></u--input>
  531. </view>
  532. <view class="dialog-item">
  533. <text class="dialog-label">CO:</text>
  534. <u--input inputAlign="center" v-model="formState.co0" placeholder="请输入"></u--input>
  535. </view>
  536. <view class="dialog-item">
  537. <text class="dialog-label">O₂:</text>
  538. <u--input inputAlign="center" v-model="formState.o20" placeholder="请输入"></u--input>
  539. </view>
  540. <view class="dialog-item">
  541. <text class="dialog-label">T:</text>
  542. <u--input inputAlign="center" v-model="formState.t0" placeholder="请输入"></u--input>
  543. </view>
  544. </view>
  545. <view class="bottom-dialog-area">
  546. <div class="dialog-title">三对照数据</div>
  547. <view class="dialog-item">
  548. <text class="dialog-label">甲烷传感器:</text>
  549. <u--input inputAlign="center" v-model="formState.jw0" placeholder="请输入"></u--input>
  550. </view>
  551. <view class="dialog-item">
  552. <text class="dialog-label">光瓦测量数据:</text>
  553. <u--input inputAlign="center" v-model="formState.gw0" placeholder="请输入"></u--input>
  554. </view>
  555. <view class="dialog-item">
  556. <text class="dialog-label">便携仪测量数据:</text>
  557. <u--input inputAlign="center" v-model="formState.bxy0" placeholder="请输入"></u--input>
  558. </view>
  559. </view>
  560. </view>
  561. <view class="dialog-btn">
  562. <u-button type="success" size="small" @click="getConfirm">保存</u-button>
  563. <u-button type="primary" size="small" @click="getCancel">取消</u-button>
  564. </view>
  565. </view>
  566. </view>
  567. </view>
  568. </template>
  569. <script>
  570. import api from "@/api/api";
  571. import moment from 'moment'
  572. export default {
  573. name: 'gasDetail',
  574. props: {},
  575. watch: {},
  576. data() {
  577. return {
  578. timer: '',
  579. PageCur: "0",
  580. tabList: [
  581. { name: '预警监测' },
  582. { name: '预警指标' },
  583. { name: '瓦斯上报' },
  584. ],
  585. // isShowSelect: true,
  586. showJcd: false,
  587. searchText: '',
  588. selectList: [],
  589. topContentList: [],
  590. botContentList: [],
  591. //新增参数信息
  592. isShowAdd: false,//是否显示新增弹窗
  593. formState: {
  594. bc: '',
  595. count: '',
  596. jcdd: '',
  597. jcy: '',
  598. time: '',
  599. time0: '',
  600. ch4: '',
  601. ch40: '',
  602. co2: '',
  603. co20: '',
  604. co: '',
  605. co0: '',
  606. o2: '',
  607. o20: '',
  608. jw: '',
  609. jw0: '',
  610. gw: '',
  611. gw0: '',
  612. bxy: '',
  613. bxy0: ''
  614. },
  615. showDialogBc: false,//控制班次选型下拉开启
  616. showDialogCl: false,//控制测量次数选型下拉开启
  617. showDialogJc: false,//控制监测地点选型下拉开启
  618. paramCount: 1,
  619. dialogTitle: '',
  620. dialogAction: [],//下拉选项列表
  621. showCalendar: false,//控制日期选型下拉开启
  622. showCalendar1: false,
  623. timeRan: Number(new Date()),
  624. gasList: [],//瓦斯填报列表数据
  625. tbTime: null,//查询条件-填报时间
  626. showCalendarTb: false,//控制填报时间组件弹出
  627. dialogLabel: '',
  628. };
  629. },
  630. beforeDestroy() {
  631. this.timer = null
  632. clearTimeout(this.timer)
  633. },
  634. mounted() {
  635. this.getTabList()
  636. },
  637. methods: {
  638. NavChange: function (item) {
  639. clearTimeout(this.timer)
  640. this.PageCur = item.index;
  641. if (this.PageCur == 0) {
  642. this.getMonitor(this.selectList[this.PageCur].deviceID, true);
  643. } else if (this.PageCur == 2) {
  644. this.getGasList()
  645. }
  646. },
  647. // changeSelect() {
  648. // clearTimeout(this.timer)
  649. // this.isShowSelect = !this.isShowSelect
  650. // },
  651. // choiceSelect(val) {
  652. // this.searchText = val.name
  653. // this.isShowSelect = true
  654. // this.getMonitor(val.deviceID, true);
  655. // },
  656. getChangeJcd() {
  657. this.showJcd = true
  658. },
  659. selectChangeJcd(e) {
  660. clearTimeout(this.timer)
  661. this.searchText = e.name
  662. this.getMonitor(e.deviceID, true);
  663. },
  664. getMonitor(deviceID, flag) {
  665. let than = this
  666. than.timer = setTimeout(
  667. async () => {
  668. await than.getSysWarnList(deviceID, 'gas');
  669. if (than.timer) {
  670. than.timer = null;
  671. }
  672. than.getMonitor(deviceID);
  673. },
  674. flag ? 0 : 3000
  675. );
  676. },
  677. //获取顶部tab选项数据
  678. getTabList() {
  679. new Promise((resolve, reject) => {
  680. api
  681. .sysTypeWarn({ type: 'gas' })
  682. .then((response) => {
  683. if (response.data.code == 200 && response.data.result.length != 0) {
  684. let result = response.data.result
  685. this.selectList = result.map((el) => {//lxh
  686. return {
  687. name: el.systemname,
  688. deviceID: el.id,
  689. };
  690. });
  691. this.searchText = this.selectList[0].name
  692. this.getMonitor(this.selectList[0].deviceID, true);
  693. } else {
  694. reject(response);
  695. }
  696. })
  697. .catch((error) => {
  698. console.log("catch===>response", response);
  699. reject(error);
  700. });
  701. });
  702. },
  703. //获取瓦斯详情数据
  704. getSysWarnList(id, type) {
  705. new Promise((resolve, reject) => {
  706. api
  707. .sysWarn({ sysid: id, type: type })
  708. .then((response) => {
  709. if (response.data.code == 200) {
  710. let data = response.data.result
  711. this.topContentList = data.pump
  712. this.botContentList = data.gas
  713. } else {
  714. reject(response);
  715. }
  716. })
  717. .catch((error) => {
  718. console.log("catch===>response", response);
  719. reject(error);
  720. });
  721. });
  722. },
  723. //获取安装位置下拉选项
  724. getSelectList() {
  725. new Promise((resolve, reject) => {
  726. api
  727. .getSelect({ devicekind: 'gasDayReport' })
  728. .then((response) => {
  729. if (response.data.code == 200) {
  730. let data = response.data.result
  731. this.dialogAction = data.map(v => {
  732. return {
  733. name: v.strinstallpos,
  734. id: v.devicekind
  735. }
  736. })
  737. } else {
  738. reject(response);
  739. }
  740. })
  741. .catch((error) => {
  742. console.log("catch===>response", response);
  743. reject(error);
  744. });
  745. });
  746. },
  747. //班次下拉选项切换
  748. selectChangeBc(e) {
  749. this.formState.bc = e.name
  750. },
  751. //监测次数选项切换
  752. selectChangeCl(e) {
  753. this.formState.count = e.name
  754. this.paramCount = e.id
  755. },
  756. //检测地点拉选项切换
  757. selectChangeJc(e) {
  758. this.formState.jcdd = e.name
  759. },
  760. //点击弹出下拉选型
  761. getChange(data) {
  762. switch (data) {
  763. case '班次':
  764. this.dialogTitle = `请选择${data}`
  765. this.showDialogBc = true
  766. this.dialogAction = [
  767. { name: '早班', },
  768. { name: '午班', },
  769. { name: '晚班', },
  770. ]
  771. break;
  772. case '测量次数':
  773. this.dialogTitle = `请选择${data}`
  774. this.showDialogCl = true
  775. this.dialogAction = [
  776. { name: '一次', id: 1 },
  777. { name: '二次', id: 2 },
  778. ]
  779. break;
  780. case '检测地点':
  781. this.dialogTitle = `请选择${data}`
  782. this.showDialogJc = true
  783. this.getSelectList()
  784. break;
  785. }
  786. },
  787. //点击弹出日期下拉选项
  788. getChangeTime() {
  789. this.showCalendar = true
  790. },
  791. getChangeTime1() {
  792. this.showCalendar1 = true
  793. },
  794. getChangeTimeTb() {
  795. this.showCalendarTb = true
  796. },
  797. confirmTb() {
  798. this.showCalendarTb = false
  799. this.getGasList()
  800. },
  801. change(e) {
  802. this.formState.time = moment(e.value).format('YYYY-MM-DD HH:mm:ss')
  803. },
  804. change1(e) {
  805. this.formState.time0 = moment(e.value).format('YYYY-MM-DD HH:mm:ss')
  806. },
  807. changeTb(e) {
  808. this.tbTime = moment(e.value).format('YYYY-MM-DD HH:mm:ss')
  809. },
  810. //瓦斯新增
  811. getAdd() {
  812. this.isShowAdd = true
  813. this.dialogLabel = 'add'
  814. },
  815. //新增保存
  816. getConfirm() {
  817. let that = this
  818. let param = {}
  819. if (that.formState.bc == '早班' && that.formState.count == '一次') {
  820. param = {
  821. id: that.formState.id,
  822. bxySdzEarly1: that.formState.bxy,
  823. ch4Early1: that.formState.ch4,
  824. checkPersonEarly: that.formState.jcy,
  825. co2Early1: that.formState.co2,
  826. coEarly1: that.formState.co,
  827. gwSdzEarly1: that.formState.gw,
  828. jwSdzEarly1: that.formState.jw,
  829. o2Early1: that.formState.o2,
  830. strInstallPos: that.formState.jcdd,
  831. timeEarly1: that.formState.time
  832. }
  833. } else if (that.formState.bc == '早班' && that.formState.count == '二次') {
  834. param = {
  835. id: that.formState.id,
  836. bxySdzEarly1: that.formState.bxy,
  837. bxySdzEarly2: that.formState.bxy0,
  838. ch4Early1: that.formState.ch4,
  839. ch4Early2: that.formState.ch40,
  840. checkPersonEarly: that.formState.jcy,
  841. co2Early1: that.formState.co2,
  842. co2Early2: that.formState.co20,
  843. coEarly1: that.formState.co,
  844. coEarly2: that.formState.co0,
  845. gwSdzEarly1: that.formState.gw,
  846. gwSdzEarly2: that.formState.gw0,
  847. jwSdzEarly1: that.formState.jw,
  848. jwSdzEarly2: that.formState.jw0,
  849. o2Early1: that.formState.o2,
  850. o2Early2: that.formState.o20,
  851. strInstallPos: that.formState.jcdd,
  852. timeEarly1: that.formState.time,
  853. timeEarly2: that.formState.time0
  854. }
  855. } else if (that.formState.bc == '午班' && that.formState.count == '一次') {
  856. param = {
  857. id: that.formState.id,
  858. bxySdzNoon1: that.formState.bxy,
  859. ch4Noon1: that.formState.ch4,
  860. checkPersonNoon: that.formState.jcy,
  861. co2Noon1: that.formState.co2,
  862. coNoon1: that.formState.co,
  863. gwSdzNoon1: that.formState.gw,
  864. jwSdzNoon1: that.formState.jw,
  865. o2Noon1: that.formState.o2,
  866. strInstallPos: that.formState.jcdd,
  867. timeNoon1: that.formState.time
  868. }
  869. } else if (that.formState.bc == '午班' && that.formState.count == '二次') {
  870. param = {
  871. id: that.formState.id,
  872. bxySdzNoon1: that.formState.bxy,
  873. bxySdzNoon2: that.formState.bxy0,
  874. ch4Noon1: that.formState.ch4,
  875. ch4Noon2: that.formState.ch40,
  876. checkPersonNoon: that.formState.jcy,
  877. co2Noon1: that.formState.co2,
  878. co2Noon2: that.formState.co20,
  879. coNoon1: that.formState.co,
  880. coNoon2: that.formState.co0,
  881. gwSdzNoon1: that.formState.gw,
  882. gwSdzNoon2: that.formState.gw0,
  883. jwSdzNoon1: that.formState.jw,
  884. jwSdzNoon2: that.formState.jw0,
  885. o2Noon1: that.formState.o2,
  886. o2Noon2: that.formState.o20,
  887. strInstallPos: that.formState.jcdd,
  888. timeNoon1: that.formState.time,
  889. timeNoon2: that.formState.time0
  890. }
  891. } else if (that.formState.bc == '晚班' && that.formState.count == '一次') {
  892. param = {
  893. id: that.formState.id,
  894. bxySdzNight1: that.formState.bxy,
  895. ch4Night1: that.formState.ch4,
  896. checkPersonNight: that.formState.jcy,
  897. co2Night1: that.formState.co2,
  898. coNight1: that.formState.co,
  899. gwSdzNight1: that.formState.gw,
  900. jwSdzNight1: that.formState.jw,
  901. o2Night1: that.formState.o2,
  902. strInstallPos: that.formState.jcdd,
  903. timeNight1: that.formState.time
  904. }
  905. } else if (that.formState.bc == '晚班' && that.formState.count == '二次') {
  906. param = {
  907. id: that.formState.id,
  908. bxySdzNight1: that.formState.bxy,
  909. bxySdzNight2: that.formState.bxy0,
  910. ch4Night1: that.formState.ch4,
  911. ch4Night2: that.formState.ch40,
  912. checkPersonNoon: that.formState.jcy,
  913. co2Night1: that.formState.co2,
  914. co2Night2: that.formState.co20,
  915. coNight1: that.formState.co,
  916. coNight2: that.formState.co0,
  917. gwSdzNight1: that.formState.gw,
  918. gwSdzNight2: that.formState.gw0,
  919. jwSdzNight1: that.formState.jw,
  920. jwSdzNight2: that.formState.jw0,
  921. o2Night1: that.formState.o2,
  922. o2Night2: that.formState.o20,
  923. strInstallPos: that.formState.jcdd,
  924. timeNight1: that.formState.time,
  925. timeNight2: that.formState.time0
  926. }
  927. }
  928. if (that.dialogLabel == 'add') {
  929. console.log('add---------------')
  930. new Promise((resolve, reject) => {
  931. api
  932. .getAdd({ ...param })
  933. .then((response) => {
  934. if (response.data.code == 200) {
  935. this.getGasList()
  936. this.isShowAdd = false
  937. this.clearData()
  938. } else {
  939. reject(response);
  940. }
  941. })
  942. .catch((error) => {
  943. console.log("catch===>response", response);
  944. reject(error);
  945. });
  946. });
  947. } else {
  948. console.log('edit----------------')
  949. new Promise((resolve, reject) => {
  950. api
  951. .getEdit({ ...param })
  952. .then((response) => {
  953. if (response.data.code == 200) {
  954. this.getGasList()
  955. this.isShowAdd = false
  956. this.clearData()
  957. } else {
  958. reject(response);
  959. }
  960. })
  961. .catch((error) => {
  962. console.log("catch===>response", response);
  963. reject(error);
  964. });
  965. });
  966. }
  967. },
  968. clearData() {
  969. this.formState = {
  970. bc: '',
  971. count: '',
  972. jcdd: '',
  973. jcy: '',
  974. time: '',
  975. time0: '',
  976. ch4: '',
  977. ch40: '',
  978. co2: '',
  979. co20: '',
  980. co: '',
  981. co0: '',
  982. o2: '',
  983. o20: '',
  984. jw: '',
  985. jw0: '',
  986. gw: '',
  987. gw0: '',
  988. bxy: '',
  989. bxy0: ''
  990. }
  991. },
  992. //新增取消
  993. getCancel() {
  994. this.isShowAdd = false
  995. this.paramCount = 1
  996. this.clearData()
  997. },
  998. //瓦斯编辑
  999. getEdit(item) {
  1000. this.isShowAdd = true
  1001. this.dialogLabel = 'edit'
  1002. this.paramCount = 2
  1003. this.formState = {
  1004. id: item.id,
  1005. bc: item.checkPersonEarly ? '早班' : item.checkPersonNoon ? '午班' : item.checkPersonNight ? '晚班' : '',
  1006. count: '二次',
  1007. jcdd: item.strInstallPos,
  1008. jcy: item.checkPersonEarly || item.checkPersonNoon || item.checkPersonNight,
  1009. time: item.timeEarly1 || item.timeNoon1 || item.timeNight1,
  1010. time0: item.timeEarly2 || item.timeNoon2 || item.timeNight2,
  1011. ch4: item.ch4Early1 || item.ch4Noon1 || item.ch4Night1,
  1012. ch40: item.ch4Early2 || item.ch4Noon2 || item.ch4Night2,
  1013. co2: item.co2Early1 || item.co2Noon1 || item.co2Night1,
  1014. co20: item.co2Early2 || item.co2Noon2 || item.co2Night2,
  1015. co: item.coEarly1 || item.coNoon1 || item.coNight1,
  1016. co0: item.coEarly2 || item.coNoon2 || item.coNight2,
  1017. o2: item.o2Early1 || item.o2Noon1 || item.o2Night1,
  1018. o20: item.o2Early2 || item.o2Noon2 || item.o2Night2,
  1019. jw: item.jwSdzEarly1 || item.jwSdzNoon1 || item.jwSdzNight1,
  1020. jw0: item.jwSdzEarly2 || item.jwSdzNoon2 || item.jwSdzNight2,
  1021. gw: item.gwSdzEarly1 || item.gwSdzNoon1 || item.gwSdzNight1,
  1022. gw0: item.gwSdzEarly2 || item.gwSdzNoon2 || item.gwSdzNight2,
  1023. bxy: item.bxySdzEarly1 || item.bxySdzNoon1 || item.bxySdzNight1,
  1024. bxy0: item.bxySdzEarly2 || item.bxySdzNoon2 || item.bxySdzNight2
  1025. }
  1026. },
  1027. //瓦斯删除
  1028. getDel(item) {
  1029. new Promise((resolve, reject) => {
  1030. api
  1031. .delGas({ id: item.id })
  1032. .then((response) => {
  1033. if (response.data.code == 200) {
  1034. this.getGasList()
  1035. } else {
  1036. reject(response);
  1037. }
  1038. })
  1039. .catch((error) => {
  1040. console.log("catch===>response", response);
  1041. reject(error);
  1042. });
  1043. });
  1044. },
  1045. //获取瓦斯上报列表数据
  1046. getGasList() {
  1047. new Promise((resolve, reject) => {
  1048. api
  1049. .getGas({ reportTime: this.tbTime })
  1050. .then((response) => {
  1051. if (response.data.code == 200) {
  1052. let data = response.data.result.records
  1053. this.gasList = data
  1054. } else {
  1055. reject(response);
  1056. }
  1057. })
  1058. .catch((error) => {
  1059. console.log("catch===>response", response);
  1060. reject(error);
  1061. });
  1062. });
  1063. }
  1064. },
  1065. computed: {},
  1066. };
  1067. </script>
  1068. <style lang="scss" scoped>
  1069. .gas-detail {
  1070. position: relative;
  1071. box-sizing: border-box;
  1072. .devic-box-tab {
  1073. padding: 0px 10px !important;
  1074. }
  1075. .gas-content {
  1076. height: 704px;
  1077. box-sizing: border-box;
  1078. overflow-y: auto;
  1079. .search-area {
  1080. width: 100%;
  1081. padding: 10px 20px;
  1082. display: flex;
  1083. justify-content: center;
  1084. align-items: center;
  1085. box-sizing: border-box;
  1086. background-color: #FFF;
  1087. margin-bottom: 2px;
  1088. .search-l {
  1089. width: calc(100% - 100px);
  1090. position: relative;
  1091. display: flex;
  1092. align-items: center;
  1093. margin-right: 10px;
  1094. .search-item {
  1095. display: flex;
  1096. align-items: center;
  1097. .search-label {
  1098. text-align: right;
  1099. }
  1100. }
  1101. }
  1102. .search-r {
  1103. display: flex;
  1104. justify-content: space-between;
  1105. align-items: center;
  1106. width: 80px;
  1107. padding: 4px 10px;
  1108. border-radius: 5px;
  1109. background: #d4ecff;
  1110. .icon-style {
  1111. width: 14px;
  1112. height: 14px;
  1113. }
  1114. .icon-text {
  1115. font-size: 14px;
  1116. font-weight: bold;
  1117. color: #0eb4fc;
  1118. }
  1119. }
  1120. }
  1121. .top-area {
  1122. width: 100%;
  1123. padding: 0px 10px;
  1124. background-color: #FFF;
  1125. margin-bottom: 2px;
  1126. box-sizing: border-box;
  1127. }
  1128. .bot-area {
  1129. width: 100%;
  1130. padding: 0px 10px;
  1131. background-color: #FFF;
  1132. margin-bottom: 2px;
  1133. box-sizing: border-box;
  1134. }
  1135. .top-title {
  1136. height: 28px;
  1137. margin-bottom: 5px;
  1138. display: flex;
  1139. justify-content: space-between;
  1140. align-items: center;
  1141. }
  1142. .top-content {
  1143. .content-title {
  1144. height: 26px;
  1145. line-height: 26px;
  1146. padding: 0px 20px;
  1147. font-size: 12px;
  1148. background: url('/static/warndata/title.png') no-repeat;
  1149. background-size: 100% 100%;
  1150. }
  1151. .content-item-box {
  1152. padding: 10px 0px;
  1153. .content-item {
  1154. height: 50px;
  1155. display: flex;
  1156. justify-content: space-between;
  1157. align-items: center;
  1158. background: linear-gradient(to right, rgba(55, 135, 254, 0.08), rgba(4, 184, 255, 0.08), rgba(60, 161, 237, 0.08));
  1159. border-radius: 10px;
  1160. margin-bottom: 5px;
  1161. .item-l {
  1162. width: calc(50% - 2px);
  1163. height: 100%;
  1164. display: flex;
  1165. flex-direction: column;
  1166. justify-content: center;
  1167. align-items: center;
  1168. }
  1169. .item-c {
  1170. width: 4px;
  1171. height: 70%;
  1172. border-left: 2px solid;
  1173. border-image: linear-gradient(to bottom, transparent, rgba(140, 203, 254, 1), transparent) 1 1 1;
  1174. }
  1175. .item-r {
  1176. width: calc(50% - 2px);
  1177. height: 100%;
  1178. display: flex;
  1179. flex-direction: column;
  1180. justify-content: center;
  1181. align-items: center;
  1182. }
  1183. }
  1184. }
  1185. }
  1186. .item-value {
  1187. height: 20px;
  1188. line-height: 20px;
  1189. color: #0eb4fc;
  1190. font-weight: bold;
  1191. }
  1192. .item-label {
  1193. font-size: 12px;
  1194. }
  1195. .top-dialog-area,
  1196. .center-dialog-area,
  1197. .bottom-dialog-area {
  1198. width: 100%;
  1199. padding: 10px;
  1200. box-sizing: border-box;
  1201. background-color: #FFF;
  1202. margin-bottom: 2px;
  1203. }
  1204. .top-gas-list {
  1205. width: 100%;
  1206. padding: 10px 40px;
  1207. box-sizing: border-box;
  1208. background-color: #FFF;
  1209. margin-bottom: 2px;
  1210. }
  1211. .bot-gas-list {
  1212. width: 100%;
  1213. padding: 10px;
  1214. box-sizing: border-box;
  1215. background-color: #FFF;
  1216. margin-bottom: 2px;
  1217. }
  1218. .dialog-btn {
  1219. display: flex;
  1220. width: 100%;
  1221. padding: 8px 10px;
  1222. box-sizing: border-box;
  1223. background-color: #FFF;
  1224. // margin-bottom: 2px;
  1225. .u-button {
  1226. margin: 0px 10px;
  1227. }
  1228. }
  1229. .dialog-title {
  1230. height: 26px;
  1231. line-height: 26px;
  1232. padding: 0px 20px;
  1233. margin-bottom: 10px;
  1234. font-size: 12px;
  1235. background: url('/static/warndata/title.png') no-repeat;
  1236. background-size: 100% 100%;
  1237. }
  1238. .dialog-item {
  1239. display: flex;
  1240. align-items: center;
  1241. justify-content: center;
  1242. margin-bottom: 10px;
  1243. .dialog-label {
  1244. width: 120px;
  1245. text-align: right;
  1246. }
  1247. }
  1248. .search-box {
  1249. display: flex;
  1250. align-items: center;
  1251. justify-content: center;
  1252. margin-bottom: 10px;
  1253. .dialog-label {
  1254. width: 80px;
  1255. text-align: right;
  1256. }
  1257. }
  1258. .content-title-gas {
  1259. position: relative;
  1260. height: 26px;
  1261. line-height: 26px;
  1262. padding-left: 20px;
  1263. font-size: 12px;
  1264. background: url('/static/warndata/title.png') no-repeat;
  1265. background-size: 100% 100%;
  1266. }
  1267. .icon-gas-edit {
  1268. position: absolute;
  1269. right: 35px;
  1270. top: 0;
  1271. cursor: pointer;
  1272. }
  1273. .icon-gas-del {
  1274. position: absolute;
  1275. right: 10px;
  1276. top: 0;
  1277. cursor: pointer;
  1278. }
  1279. }
  1280. }
  1281. ::v-deep .u-input {
  1282. padding: 2px 6px !important;
  1283. }
  1284. ::v-deep .u-popup {
  1285. flex: 0;
  1286. }
  1287. </style>