PressureRegulatingBox.vue 39 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262
  1. <template>
  2. <view>
  3. <image src="https://cczdsz.cn/app/images/background.png" class="background"></image>
  4. <view class="project-content">
  5. <u-form :model="form" ref="form">
  6. <view class="top">
  7. <u-icon class="top-icon" name="map-fill"></u-icon>
  8. <u-form-item label=" " borderBottom ref="item1" placeholder=" " labelWidth="20" label-align="left">
  9. <u-input v-model="communityName" disabled placeholder=" " disabled trim="false"></u-input>
  10. </u-form-item>
  11. <u-icon class="top-icon" name="calendar"></u-icon>
  12. <u-form-item label=" " borderBottom ref="item1" placeholder=" " labelWidth="20">
  13. <u-input v-model="time" disabled style="font-size: 2rpx" length='30px' trim="true"
  14. placeholder=" "></u-input>
  15. </u-form-item>
  16. </view>
  17. <view class="small-title">调压箱部分</view>
  18. <u-row gutter="12">
  19. <u-col>
  20. <u-form-item label="管理所" borderBottom ref="item1" labelWidth="140">
  21. <u-input v-model="AdministrativeOfficeLabel" placeholder="请输入管理所名称"
  22. disabled borderBottom @click="showadministrativeOffice= true&&type!=1"></u-input>
  23. <!-- <u-select v-model="showadministrativeOffice" :list="AdministrativeOfficeList" label-name="name"
  24. value-name="value" @confirm="AdministrativeOffice()" disabled> </u-select>
  25. <u-icon slot="right" name="arrow-right"></u-icon> -->
  26. </u-form-item>
  27. </u-col>
  28. <u-col>
  29. <u-form-item label="编号" borderBottom ref="item1" labelWidth="140">
  30. <u-input :disabled="type==1" v-model="form.number" placeholder="请输入编号" ></u-input>
  31. </u-form-item>
  32. </u-col>
  33. <u-col>
  34. <u-form-item label="商服" borderBottom ref="item1" placeholder="请输入编号" labelWidth="140">
  35. <u-radio-group v-model="form.businessService" :disabled="type==1">
  36. <u-radio @change="businessService" v-for="(item, index) in typelist.business_service" :key="index"
  37. :name="item.dictValue">
  38. {{item.dictLabel}}
  39. </u-radio>
  40. </u-radio-group>
  41. </u-form-item>
  42. </u-col>
  43. <u-col>
  44. <u-form-item label="外观" borderBottom ref="item1" placeholder="请输入编号" labelWidth="140">
  45. <u-radio-group v-model="form.appearance" :disabled="type==1">
  46. <u-radio @change="appearance" v-for="(item, index) in typelist.appearance" :key="index"
  47. :name="item.dictValue">
  48. {{item.dictLabel}}
  49. </u-radio>
  50. </u-radio-group>
  51. </u-form-item>
  52. </u-col>
  53. <u-col>
  54. <u-form-item label="方砖" borderBottom ref="item1" placeholder="请输入编号" labelWidth="140">
  55. <u-radio-group v-model="form.squareBrick" :disabled="type==1">
  56. <u-radio @change="squareBrick" v-for="(item, index) in typelist.square_brick"
  57. :key="index" :name="item.dictValue">
  58. {{item.dictLabel}}
  59. </u-radio>
  60. </u-radio-group>
  61. </u-form-item>
  62. </u-col>
  63. <u-col>
  64. <u-form-item label="护栏" borderBottom ref="item1" placeholder="请输入编号" labelWidth="140">
  65. <u-radio-group v-model="form.guardrail" :disabled="type==1">
  66. <u-radio @change="guardrail" v-for="(item, index) in typelist.guardrail" :key="index"
  67. :name="item.dictValue">
  68. {{item.dictLabel}}
  69. </u-radio>
  70. </u-radio-group>
  71. </u-form-item>
  72. </u-col>
  73. <u-col>
  74. <u-form-item label="基础" borderBottom ref="item1" placeholder="请输入编号" labelWidth="140">
  75. <u-radio-group v-model="form.foundation" :disabled="type==1">
  76. <u-radio @change="foundation" v-for="(item, index) in typelist.foundation" :key="index"
  77. :name="item.dictValue">
  78. {{item.dictLabel}}
  79. </u-radio>
  80. </u-radio-group>
  81. </u-form-item>
  82. </u-col>
  83. <u-col>
  84. <u-form-item label="压力表" borderBottom ref="item1" placeholder="请输入编号" labelWidth="140">
  85. <u-radio-group v-model="form.pressureGage" :disabled="type==1">
  86. <u-radio @change="pressureGage" v-for="(item, index) in typelist.pressure_gage"
  87. :key="index" :name="item.dictValue">
  88. {{item.dictLabel}}
  89. </u-radio>
  90. </u-radio-group>
  91. </u-form-item>
  92. </u-col>
  93. <u-col>
  94. <u-form-item label="阀门" borderBottom ref="item1" placeholder="请输入编号" labelWidth="140">
  95. <u-radio-group v-model="form.valve" :disabled="type==1">
  96. <u-radio @change="valve" v-for="(item, index) in typelist.valve" :key="index"
  97. :name="item.dictValue">
  98. {{item.dictLabel}}
  99. </u-radio>
  100. </u-radio-group>
  101. </u-form-item>
  102. </u-col>
  103. <u-col>
  104. <u-form-item label="是否泄露" borderBottom ref="item1" placeholder="请输入编号" labelWidth="140">
  105. <u-radio-group v-model="form.isThereALeak" :disabled="type==1">
  106. <u-radio @change="isThereALeak" v-for="(item, index) in typelist.yes_and_no"
  107. :key="index" :name="item.dictValue">
  108. {{item.dictLabel}}
  109. </u-radio>
  110. </u-radio-group>
  111. </u-form-item>
  112. </u-col>
  113. <u-col>
  114. <u-form-item label="调压器" borderBottom ref="item1" placeholder="请输入编号" labelWidth="140">
  115. <u-radio-group v-model="form.voltageRegulator" :disabled="type==1">
  116. <u-radio @change="voltageRegulator" v-for="(item, index) in typelist.voltage_regulator"
  117. :key="index" :name="item.dictValue">
  118. {{item.dictLabel}}
  119. </u-radio>
  120. </u-radio-group>
  121. </u-form-item>
  122. </u-col>
  123. <u-col>
  124. <u-form-item label="过滤器" borderBottom ref="item1" placeholder="请输入编号" labelWidth="120">
  125. <u-radio-group v-model="form.filter" :disabled="type==1">
  126. <u-radio @change="filter" v-for="(item, index) in typelist.filter" :key="index"
  127. :name="item.dictValue">
  128. {{item.dictLabel}}
  129. </u-radio>
  130. </u-radio-group>
  131. </u-form-item>
  132. </u-col>
  133. </u-row>
  134. <u-row class="un-row" gutter="12" style="text-align:left;">
  135. <u-col span="10">
  136. <u-form-item label="入口压力" borderBottom ref="item1" placeholder="请输入入口压力" labelWidth="140">
  137. <u-input v-model="form.inletPressure" length='20px' placeholder="请输入入口压力"
  138. :disabled="type==1" type="digit" :clearable="false" @input="checkinletPressure"></u-input>
  139. </u-form-item>
  140. </u-col>
  141. <u-col span="2">
  142. <viwe class="danwei">Mpa</viwe>
  143. </u-col>
  144. </u-row>
  145. <u-row gutter="12">
  146. <u-col span="5">
  147. <u-form-item label="出口压力 主路" borderBottom ref="item1" placeholder=" " labelWidth="200">
  148. <u-input v-model="form.exportPressureMain" placeholder="请输入" :disabled="type==1" type="digit" :clearable="false" @input="checkexportPressureMain"></u-input>
  149. </u-form-item>
  150. </u-col>
  151. <u-col span="2">
  152. <viwe class="danwei">KPa</viwe>
  153. </u-col>
  154. <u-col span="3">
  155. <u-form-item label="副路" borderBottom ref="item1" placeholder=" " labelWidth="80">
  156. <u-input v-model="form.exportPressureAccessory" length='20px' trim="false" aceholder="" placeholder="请输入"
  157. :disabled="type==1" type="digit" :clearable="false" @input="checkexportPressureAccessory"></u-input>
  158. </u-form-item>
  159. </u-col>
  160. <u-col span="1">
  161. <viwe class="danwei">KPa</viwe>
  162. </u-col>
  163. </u-row>
  164. <u-row gutter="12">
  165. <u-col span="5">
  166. <u-form-item label="关闭压力 主路" borderBottom ref="item1" placeholder=" " labelWidth="200">
  167. <u-input v-model="form.closingPressureMain" trim="false" placeholder="请输入"
  168. :disabled="type==1" type="digit" :clearable="false" @input="checkclosingPressureMain"></u-input>
  169. </u-form-item>
  170. </u-col>
  171. <u-col span="2">
  172. <viwe class="danwei">KPa</viwe>
  173. </u-col>
  174. <u-col span="3">
  175. <u-form-item label="副路" borderBottom ref="item1" placeholder=" " labelWidth="80">
  176. <u-input v-model="form.closingPressureAccessory" length='20px' trim="false" placeholder="请输入"
  177. :disabled="type==1" type="digit" :clearable="false" @input="checkclosingPressureAccessory"></u-input>
  178. </u-form-item>
  179. </u-col>
  180. <u-col span="1">
  181. <viwe class="danwei">KPa</viwe>
  182. </u-col>
  183. </u-row>
  184. <u-row>
  185. <u-col>
  186. <u-form-item label="是否开启伴热带" labelWidth="140" borderBottom ref="item1">
  187. <u-radio-group v-model="form.isNotXtv" :disabled="type==1">
  188. <u-radio @change="isNotXtv"
  189. v-for="(item, index) in typelist.on_off" :key="index"
  190. :name="item.dictValue">
  191. {{item.dictLabel}}
  192. </u-radio>
  193. </u-radio-group>
  194. </u-form-item>
  195. </u-col>
  196. <u-col>
  197. <u-form-item label="伴热带" labelWidth="140" borderBottom ref="item1">
  198. <u-radio-group v-model="form.xtv" :disabled="type==1">
  199. <u-radio @change="xtv"
  200. v-for="(item, index) in typelist.xtv" :key="index"
  201. :name="item.dictValue">
  202. {{item.dictLabel}}
  203. </u-radio>
  204. </u-radio-group>
  205. </u-form-item>
  206. </u-col>
  207. <u-col>
  208. <u-form-item label="有无温控器" borderBottom ref="item1" placeholder="" labelWidth="180">
  209. <u-radio-group v-model="form.thermostat" :disabled="type==1">
  210. <u-radio @change="thermostat"
  211. v-for="(item, index) in typelist.yes_or_no" :key="index"
  212. :name="item.dictValue">
  213. {{item.dictLabel}}
  214. </u-radio>
  215. </u-radio-group>
  216. </u-form-item>
  217. </u-col>
  218. <u-col>
  219. <u-form-item label="有无防爆开关" borderBottom ref="item1" placeholder="" labelWidth="180">
  220. <u-radio-group v-model="form.explosionProofSwitch" :disabled="type==1">
  221. <u-radio @change="explosionProofSwitch"
  222. v-for="(item, index) in typelist.yes_or_no" :key="index"
  223. :name="item.dictValue">
  224. {{item.dictLabel}}
  225. </u-radio>
  226. </u-radio-group>
  227. </u-form-item>
  228. </u-col>
  229. </u-row>
  230. <view class="small-title">切断器测试部分</view>
  231. <u-row>
  232. <u-col>
  233. <u-form-item label="切断器测试" borderBottom ref="item1" placeholder="" labelWidth="200">
  234. <u-radio-group v-model="form.cutterTested" :disabled="type==1">
  235. <u-radio @change="cutterTested"
  236. v-for="(item, index) in typelist.cutoff_test_certification" :key="index"
  237. :name="item.dictValue">
  238. {{item.dictLabel}}
  239. </u-radio>
  240. </u-radio-group>
  241. </u-form-item>
  242. </u-col>
  243. <u-col>
  244. <u-form-item label="切断器(放散阀)测试情况" borderBottom ref="item1" placeholder="" labelWidth="320" v-if="form.cutterTested==1">
  245. <u-radio-group v-model="form.disconnectorTestStatus" :disabled="type==1">
  246. <u-radio @change="disconnectorTestStatus"
  247. v-for="(item, index) in typelist.disconnector_test_status" :key="index"
  248. :name="item.dictValue">
  249. {{item.dictLabel}}
  250. </u-radio>
  251. </u-radio-group>
  252. </u-form-item>
  253. </u-col>
  254. </u-row>
  255. <u-row gutter="12">
  256. <u-col span="5">
  257. <u-form-item label="切断压力 主路" borderBottom ref="item1" placeholder=" " labelWidth="200" v-if="form.cutterTested==1">
  258. <u-input v-model="form.cutOffPressureMain" placeholder=" " :disabled="type==1" type="digit" :clearable="false" @input="checkcutOffPressureMain"></u-input>
  259. </u-form-item>
  260. </u-col>
  261. <u-col span="2" v-if="form.cutterTested==1">
  262. <viwe class="danwei" >KPa</viwe>
  263. </u-col>
  264. <u-col span="3">
  265. <u-form-item label="副路" borderBottom ref="item1" placeholder="" labelWidth="80" v-if="form.cutterTested==1">
  266. <u-input v-model="form.cutOffPressureAccessory" length='20px' placeholder="请输入副路"
  267. :disabled="type==1" type="digit" :clearable="false" @input="checkcutOffPressureAccessory"></u-input>
  268. </u-form-item>
  269. </u-col>
  270. <u-col span="1" v-if="form.cutterTested==1">
  271. <viwe class="danwei">KPa</viwe>
  272. </u-col>
  273. </u-row>
  274. <u-row gutter="12" style="text-align: center;">
  275. <u-col span="10">
  276. <u-form-item label="放散压力" borderBottom ref="item1" placeholder="请输入放散压力" labelWidth="140" v-if="form.cutterTested==1">
  277. <u-input v-model="form.releasePressure" length='20px' placeholder="请输入放散压力"
  278. :disabled="type==1" type="digit" :clearable="false" @input="checkreleasePressure"></u-input>
  279. </u-form-item>
  280. </u-col>
  281. <u-col span="2" v-if="form.cutterTested==1">
  282. <viwe class="danwei" >Kpa</viwe>
  283. </u-col>
  284. </u-row>
  285. <view class="small-title">主副路交替部分</view>
  286. <u-row>
  287. <u-col>
  288. <u-form-item label="是否交替" borderBottom ref="item1" placeholder="请输入编号" labelWidth="200">
  289. <u-radio-group v-model="form.manOfAccessoryAlternating" :disabled="type==1">
  290. <u-radio @change="manOfAccessoryAlternating" v-for="(item, index) in typelist.secondary_roads" :key="index"
  291. :name="item.dictValue">
  292. {{item.dictLabel}}
  293. </u-radio>
  294. </u-radio-group>
  295. </u-form-item>
  296. </u-col>
  297. </u-row>
  298. <u-row gutter="12" style="text-align: center;" v-if="form.manOfAccessoryAlternating==1">
  299. <u-col span="12">
  300. <u-form-item label="操作结果主副路已交替完毕,现" borderBottom ref="item1" placeholder="请输入编号"
  301. labelWidth="420">
  302. <u-input v-model="form.mainRoad" length='20px' placeholder="请输入"
  303. :disabled="type==1"></u-input>
  304. </u-form-item>
  305. </u-col>
  306. <u-col span="12">
  307. <viwe class="danwei">路为主路</viwe>
  308. </u-col>
  309. </u-row>
  310. <view class="small-title">特殊情况说明</view>
  311. <u-row>
  312. <u-col>
  313. <u-form-item label="调压设施特例" borderBottom ref="item1" placeholder="请输入编号" labelWidth="200">
  314. <u-radio-group v-model="form.specialCaseOfPressureRegulatingFacilities" :disabled="type==1">
  315. <u-radio @change="specialCaseOfPressureRegulatingFacilities"
  316. v-for="(item, index) in typelist.special_case_of_pressure_regulating_facilities"
  317. :key="index" :name="item.dictValue">
  318. {{item.dictLabel}}
  319. </u-radio>
  320. </u-radio-group>
  321. </u-form-item>
  322. </u-col>
  323. <u-col>
  324. <u-form-item label="超期巡检天数" borderBottom ref="item1" placeholder="请输入编号" labelWidth="200">
  325. <u-radio-group v-model="form.overdueInspectionDays" :disabled="type==1">
  326. <u-radio @change="overdueInspectionDays"
  327. v-for="(item, index) in typelist.overdue_inspection_days" :key="index"
  328. :name="item.dictValue">
  329. {{item.dictLabel}}
  330. </u-radio>
  331. </u-radio-group>
  332. </u-form-item>
  333. </u-col>
  334. <!-- <u-col>
  335. <u-form-item label="超期巡检原因" borderBottom ref="item1" placeholder="请输入编号" labelWidth="200">
  336. <u-radio-group v-model="form.reasonForOverdueInspection" :disabled="type==1">
  337. <u-radio @change="reasonForOverdueInspection"
  338. v-for="(item, index) in typelist.reason_for_overdue_inspection" :key="index"
  339. :name="item.dictValue">
  340. {{item.dictLabel}}
  341. </u-radio>
  342. </u-radio-group>
  343. </u-form-item>
  344. </u-col> -->
  345. <u-col>
  346. <u-form-item label="超期巡检原因" borderBottom ref="item1" labelWidth="200" v-if="form.overdueInspectionDays!=undefined&&form.overdueInspectionDays!=3">
  347. <u-input v-model="form.reasonForOverdueInspection" placeholder="请输入超期巡检原因"
  348. :disabled="type==1"></u-input>
  349. </u-form-item>
  350. </u-col>
  351. </u-row>
  352. <!-- <view class="small-title">阀井测试部分</view>
  353. <u-row>
  354. <u-col>
  355. <u-form-item label="未测试" borderBottom ref="item1" placeholder="请输入编号" labelWidth="120">
  356. <u-switch v-model="form.valveWellTesting" :disabled="type==1"></u-switch>
  357. </u-form-item>
  358. </u-col>
  359. <u-col>
  360. <u-form-item label="阀井情况" labelWidth="140" borderBottom ref="item1">
  361. <u-input v-model="valveWellConditioLabel" disabled
  362. @click=" showvalveWellCondition= true&& type!=1" borderBottom
  363. placeholder="请选择阀井情况"></u-input>
  364. <u-select v-model="showvalveWellCondition" :list="typelist.valve_well_condition"
  365. @confirm="valveWellCondition()" label-name="dictLabel" value-name="dictValue">
  366. </u-select>
  367. <u-icon slot="right" name="arrow-right"></u-icon>
  368. </u-form-item>
  369. </u-col>
  370. </u-row> -->
  371. <view class="small-title">备注信息</view>
  372. <u-row>
  373. <u-col>
  374. <u-form-item label=" " labelWidth="0" borderBottom ref="item1">
  375. <u-input v-model="form.remarks" type="textarea" borderBottom placeholder="请填写备注信息内容"
  376. :disabled="type==1"></u-input>
  377. </u-form-item>
  378. </u-col>
  379. <u-col>
  380. <u-form-item label=" " labelWidth="0" borderBottom ref="item1">
  381. <u-input v-model="form.WarningColumnInformation" disabled placeholder="请上传巡检照片"></u-input>
  382. <view class="" style="display: flex; flex-wrap: wrap; margin: 0 55rpx;">
  383. <image src="https://cczdsz.cn/app/images/chooseimg.png" mode=""
  384. style="width: 190rpx; height: 190rpx; margin: 0 12rpx; " @click="choose()"
  385. v-if="type!=1"></image>
  386. <view v-for="(item,index) in imgymxs" :key="index" style="position: relative;">
  387. <view v-if="item.type == 'image'">
  388. <image :src="item.url" mode=""
  389. style="width: 190rpx; height: 190rpx; margin: 0 20rpx;"
  390. @click="showPhoto(index)">
  391. </image>
  392. </view>
  393. <view v-else>
  394. <video :src="item"
  395. style="width: 190rpx; height: 190rpx; margin: 0 20rpx;"></video>
  396. </view>
  397. <view @click="remove(index)" v-if="type!=1"
  398. style="position: absolute; top: 0; right: 14rpx; border-radius: 50%; background-color: #FF0000;">
  399. <u-icon name="close" color="#FFFFFF" size="35" v-if="type!=1"></u-icon>
  400. </view>
  401. </view>
  402. </view>
  403. </u-form-item>
  404. </u-col>
  405. </u-row>
  406. </u-form>
  407. <u-button class="from-but" style="margin: 40rpx 0;" @click="save()" v-if="type!=1"
  408. type='primary'>确认上传</u-button>
  409. </view>
  410. </u-form>
  411. </view>
  412. </view>
  413. </template>
  414. <script>
  415. import service from '@/api/index.js'
  416. export default {
  417. data() {
  418. return {
  419. action: this.$HTTP.webUrl + `/obs`,
  420. headers: {
  421. MAuthorization: "wxBearer " + uni.getStorageSync('token')
  422. },
  423. url: [],
  424. showadministrativeOffice:false,
  425. uploading: false,
  426. imgArr: [],
  427. PhotoList: [],
  428. community: '',
  429. building: '',
  430. unit: '',
  431. imgymxs: [],
  432. progress: 0, //图片或视频上传百分比
  433. showxtv: false,
  434. showvalveWellCondition: false,
  435. form: {
  436. businessService:0,
  437. administrativeOffice:0,
  438. businessService:0,
  439. isNotXtv:null,
  440. appearance:0,
  441. squareBrick:0,
  442. foundation:0,
  443. pressureGage:0,
  444. valve:0,
  445. isThereALeak:0,
  446. voltageRegulator:0,
  447. xtv:0,
  448. thermostat:0,
  449. explosionProofSwitch:0,
  450. cutterTested:0,
  451. manOfAccessoryAlternating:0,
  452. filter:0,
  453. specialCaseOfPressureRegulatingFacilities:0,
  454. overdueInspectionDays:3,
  455. valveWellTesting:true,
  456. guardrail:0
  457. },
  458. xtvLabel: null,
  459. valveWellConditioLabel: null,
  460. // 表单校验
  461. rules: {
  462. areaId: [{
  463. required: true,
  464. message: "所属小区不能为空",
  465. trigger: "blur"
  466. }],
  467. buildingId: [{
  468. required: true,
  469. message: "所属楼宇不能为空",
  470. trigger: "blur"
  471. }],
  472. unitId: [{
  473. required: true,
  474. message: "单元id不能为空",
  475. trigger: "change"
  476. }],
  477. number: [{
  478. required: true,
  479. message: "编号不能为空",
  480. trigger: "blur"
  481. }],
  482. businessService: [{
  483. required: true,
  484. message: "商服不能为空",
  485. trigger: "blur"
  486. }],
  487. appearance: [{
  488. required: true,
  489. message: "外观不能为空",
  490. trigger: "change"
  491. }],
  492. squareBrick: [{
  493. required: true,
  494. message: "方砖不能为空",
  495. trigger: "change"
  496. }],
  497. guardrail: [{
  498. required: true,
  499. message: "护栏不能为空",
  500. trigger: "change"
  501. }],
  502. foundation: [{
  503. required: true,
  504. message: "基础不能为空",
  505. trigger: "change"
  506. }],
  507. pressureGage: [{
  508. required: true,
  509. message: "压力表不能为空",
  510. trigger: "change"
  511. }],
  512. mainRoad: [{
  513. required: true,
  514. message: "当前主路不能为空",
  515. trigger: "change"
  516. }],
  517. valve: [{
  518. required: true,
  519. message: "阀门不能为空",
  520. trigger: "change"
  521. }],
  522. isThereALeak: [{
  523. required: true,
  524. message: "是否泄露不能为空",
  525. trigger: "blur"
  526. }],
  527. voltageRegulator: [{
  528. required: true,
  529. message: "调压器不能为空",
  530. trigger: "change"
  531. }],
  532. inletPressure: [{
  533. required: true,
  534. message: "入口压力不能为空",
  535. trigger: "blur"
  536. }],
  537. exportPressureMain: [{
  538. required: true,
  539. message: "出口压力(主路)不能为空",
  540. trigger: "blur"
  541. }],
  542. exportPressureAccessory: [{
  543. required: true,
  544. message: "出口压力(副路)不能为空",
  545. trigger: "blur"
  546. }],
  547. closingPressureMain: [{
  548. required: true,
  549. message: "关闭压力(主路)不能为空",
  550. trigger: "blur"
  551. }],
  552. closingPressureAccessory: [{
  553. required: true,
  554. message: "关闭压力(副路)不能为空",
  555. trigger: "blur"
  556. }],
  557. xtv: [{
  558. required: true,
  559. message: "伴热带不能为空",
  560. trigger: "change"
  561. }],
  562. isNotXtv: [{
  563. required: true,
  564. message: "是否开启伴热带不能为空",
  565. trigger: "change"
  566. }],
  567. thermostat: [{
  568. required: true,
  569. message: "有无控温器不能为空",
  570. trigger: "blur"
  571. }],
  572. explosionProofSwitch: [{
  573. required: true,
  574. message: "有无防爆开关不能为空",
  575. trigger: "blur"
  576. }],
  577. cutterTested: [{
  578. required: true,
  579. message: "切断器测试不能为空",
  580. trigger: "blur"
  581. }],
  582. disconnectorTestStatus: [{
  583. required: true,
  584. message: "切断器(放散阀)测试情况不能为空",
  585. trigger: "change"
  586. }],
  587. cutOffPressureMain: [{
  588. required: true,
  589. message: "切断压力(主路)不能为空",
  590. trigger: "blur"
  591. }],
  592. cutOffPressureAccessory: [{
  593. required: true,
  594. message: "切断压力(副路)不能为空",
  595. trigger: "blur"
  596. }],
  597. releasePressure: [{
  598. required: true,
  599. message: "放散压力不能为空",
  600. trigger: "blur"
  601. }],
  602. manOfAccessoryAlternating: [{
  603. required: true,
  604. message: "主副路交替不能为空",
  605. trigger: "blur"
  606. }],
  607. filter: [{
  608. required: true,
  609. message: "过滤器不能为空",
  610. trigger: "change"
  611. }],
  612. specialCaseOfPressureRegulatingFacilities: [{
  613. required: true,
  614. message: "调压设施特例不能为空",
  615. trigger: "change"
  616. }],
  617. overdueInspectionDays: [{
  618. required: true,
  619. message: "超期巡检天数不能为空",
  620. trigger: "change"
  621. }],
  622. reasonForOverdueInspection: [{
  623. required: true,
  624. message: "超期巡检原因不能为空",
  625. trigger: "change"
  626. }],
  627. otherReasonsForOverdueInspection: [{
  628. required: true,
  629. message: "超期巡检其他原因不能为空",
  630. trigger: "blur"
  631. }],
  632. valveWellTesting: [{
  633. required: true,
  634. message: "阀井测试不能为空",
  635. trigger: "blur"
  636. }],
  637. valveWellCondition: [{
  638. required: true,
  639. message: "阀井情况不能为空",
  640. trigger: "change"
  641. }]
  642. },
  643. communityName: '',
  644. communityId:'',
  645. time: '',
  646. showrepairType: false,
  647. showrepairType: null,
  648. checked: true,
  649. typelist: {},
  650. dictlist: ['appearance', 'square_brick', 'guardrail', 'foundation', 'pressure_gage', 'valve',
  651. 'voltage_regulator', 'xtv', 'disconnector_test_status', 'filter','cutoff_test_certification','secondary_roads',
  652. 'special_case_of_pressure_regulating_facilities', 'overdue_inspection_days',
  653. 'reason_for_overdue_inspection', 'valve_well_condition', 'find_problem', 'on_off','administrative_office','yes_and_no','business_service','yes_or_no'
  654. ],
  655. type: 2,
  656. id: null,
  657. AdministrativeOfficeList:[],
  658. AdministrativeOfficeLabel:null,
  659. userId:null,createBy:null,
  660. administrativeOffice:null,
  661. code:null,
  662. name:null
  663. }
  664. },
  665. // onReady() {
  666. // uni.setNavigationBarTitle({
  667. // title: '调压箱表单'
  668. // });
  669. // },
  670. showPhoto(index) {
  671. uni.previewImage({
  672. current: index,
  673. urls: this.imgArr,
  674. })
  675. },
  676. showPhotos(index) {
  677. uni.previewImage({
  678. current: index,
  679. urls: this.photo,
  680. })
  681. },
  682. onLoad(e) {
  683. uni.setNavigationBarTitle({
  684. title: '调压箱表单'
  685. });
  686. uni.setNavigationBarColor({
  687. frontColor: '#ffffff',
  688. backgroundColor: '#2d95f4',
  689. })
  690. let time1 = new Date()
  691. console.log(time1.toLocaleString())
  692. var year = time1.getFullYear(); //得到年份
  693. var month = time1.getMonth() + 1; //得到月份
  694. var date = time1.getDate(); //得到日期
  695. var hours = time1.getHours(); //获取系统时
  696. var Min = time1.getMinutes(); //分
  697. this.type = e.type
  698. this.id = e.id
  699. this.time = year + "/" + month + "/" + date + "-" + hours + ":" + Min
  700. this.getdictsysinfo()
  701. this.getUserName()
  702. this.form.areaId = e.id
  703. this.communityId=e.id
  704. this.communityName = e.name
  705. this.form.number=e.number
  706. this.administrativeOffice=e.managementOffice
  707. this.form.administrativeOffice=e.managementOffice
  708. this.form.name=e.name
  709. this.name=e.name
  710. this.code=e.number
  711. //this.getAdministrativeOffice(this.userId)
  712. },
  713. methods: {
  714. checkinletPressure(e) {
  715. console.log(e)
  716. //正则表达试
  717. e = (e.match(/^\d*(\.?\d{0,2})/g)[0]) || null
  718. //重新赋值给input
  719. this.$nextTick(() => {
  720. this.form.inletPressure= e
  721. })
  722. },
  723. checkexportPressureMain(e) {
  724. console.log(e)
  725. //正则表达试
  726. e = (e.match(/^\d*(\.?\d{0,2})/g)[0]) || null
  727. //重新赋值给input
  728. this.$nextTick(() => {
  729. this.form.exportPressureMain= e
  730. })
  731. },
  732. checkclosingPressureAccessory(e) {
  733. console.log(e)
  734. //正则表达试
  735. e = (e.match(/^\d*(\.?\d{0,2})/g)[0]) || null
  736. //重新赋值给input
  737. this.$nextTick(() => {
  738. this.form.closingPressureAccessory= e
  739. })
  740. },
  741. checkexportPressureAccessory(e) {
  742. console.log(e)
  743. //正则表达试
  744. e = (e.match(/^\d*(\.?\d{0,2})/g)[0]) || null
  745. //重新赋值给input
  746. this.$nextTick(() => {
  747. this.form.exportPressureAccessory= e
  748. })
  749. },
  750. checkclosingPressureMain(e) {
  751. console.log(e)
  752. //正则表达试
  753. e = (e.match(/^\d*(\.?\d{0,2})/g)[0]) || null
  754. //重新赋值给input
  755. this.$nextTick(() => {
  756. this.form.closingPressureMain= e
  757. })
  758. },
  759. checkcutOffPressureMain(e) {
  760. console.log(e)
  761. //正则表达试
  762. e = (e.match(/^\d*(\.?\d{0,2})/g)[0]) || null
  763. //重新赋值给input
  764. this.$nextTick(() => {
  765. this.form.cutOffPressureMain= e
  766. })
  767. },
  768. checkcutOffPressureAccessory(e) {
  769. console.log(e)
  770. //正则表达试
  771. e = (e.match(/^\d*(\.?\d{0,2})/g)[0]) || null
  772. //重新赋值给input
  773. this.$nextTick(() => {
  774. this.form.cutOffPressureAccessory= e
  775. })
  776. },
  777. checkreleasePressure(e) {
  778. console.log(e)
  779. //正则表达试
  780. e = (e.match(/^\d*(\.?\d{0,2})/g)[0]) || null
  781. //重新赋值给input
  782. this.$nextTick(() => {
  783. this.form.releasePressure= e
  784. })
  785. },
  786. getUserName(){
  787. service.getUserName().then(res=>{
  788. this.userId=res.id
  789. this.createBy=res.name
  790. this.getAdministrativeOffice(res.id)
  791. console.log(this.communityName)
  792. })
  793. },
  794. getAdministrativeOffice(userId){
  795. service.getAdministrativeOffice({userId:userId}).then(res=>{
  796. this.AdministrativeOfficeList=res
  797. if(this.type!=1)
  798. {
  799. this.AdministrativeOfficeLabel=this.AdministrativeOfficeList.filter(item=>item.value==this.administrativeOffice)[0].name
  800. }
  801. })
  802. },
  803. getdictsysinfo() {
  804. let _this = this
  805. service.getDictInfoList({
  806. type: this.dictlist
  807. }).then(res => {
  808. _this.typelist = res
  809. if (this.type == 1) {
  810. service.getregulatorBox(this.id).then(res => {
  811. this.communityName = res.name
  812. this.time = res.createTime
  813. if (null != res.photoList) {
  814. res.photoList.forEach(item => {
  815. let url = {}
  816. url.url = item
  817. url.type = 'image'
  818. this.imgymxs.push(url)
  819. })
  820. }
  821. let list = []
  822. list = _this.typelist.xtv
  823. list.forEach((item) => {
  824. if (item.dictValue == res.xtv) {
  825. _this.xtvLabel = item.dictLabel
  826. }
  827. })
  828. let list2 = []
  829. list2 = _this.typelist.valve_well_condition
  830. list2.forEach((item) => {
  831. if (item.dictValue == res.valveWellCondition) {
  832. _this.valveWellConditioLabel = item.dictLabel
  833. }
  834. })
  835. let list3 = []
  836. list3 = _this.typelist.administrative_office
  837. list3.forEach((item) => {
  838. if (item.dictValue == res.administrativeOffice) {
  839. _this.AdministrativeOfficeLabel = item.dictLabel
  840. }
  841. })
  842. this.form = res
  843. })
  844. console.log(res)
  845. }
  846. })
  847. },
  848. //外观
  849. appearance(e) {
  850. this.$refs.form.appearance = e
  851. console.log(e)
  852. },
  853. explosionProofSwitch(e)
  854. {
  855. this.$refs.form.explosionProofSwitch = e
  856. console.log(e)
  857. },
  858. thermostat(e)
  859. {
  860. this.$refs.form.thermostat = e
  861. console.log(e)
  862. },
  863. businessService(e)
  864. {
  865. this.$refs.form.businessService = e
  866. console.log(e)
  867. },
  868. //方砖
  869. squareBrick(e) {
  870. this.$refs.form.squareBrick = e
  871. console.log(e)
  872. },
  873. //护栏
  874. guardrail(e) {
  875. this.$refs.form.guardrail = e
  876. console.log(e)
  877. },
  878. //基础
  879. foundation(e) {
  880. this.$refs.form.foundation = e
  881. console.log(e)
  882. },
  883. //压力表
  884. pressureGage(e) {
  885. this.$refs.form.pressureGage = e
  886. console.log(e)
  887. },
  888. //阀门
  889. valve(e) {
  890. this.$refs.form.valve = e
  891. console.log(e)
  892. },
  893. //调压器
  894. voltageRegulator(e) {
  895. this.$refs.form.voltageRegulator = e
  896. console.log(e)
  897. },
  898. isThereALeak(e)
  899. {
  900. this.$refs.form.isThereALeak = e
  901. console.log(e)
  902. },
  903. //切断器(放散阀)测试情况
  904. disconnectorTestStatus(e) {
  905. this.$refs.form.disconnectorTestStatus = e
  906. console.log(e)
  907. },
  908. cutterTested(e)
  909. {
  910. this.$refs.form.cutterTested = e
  911. console.log(e)
  912. },
  913. //过滤器
  914. filter(e) {
  915. this.$refs.form.filter = e
  916. console.log(e)
  917. },
  918. manOfAccessoryAlternating(e)
  919. {
  920. this.$refs.form.manOfAccessoryAlternating = e
  921. console.log(e)
  922. },
  923. specialCaseOfPressureRegulatingFacilities(e) {
  924. this.$refs.form.specialCaseOfPressureRegulatingFacilities = e
  925. console.log(e)
  926. },
  927. overdueInspectionDays(e) {
  928. this.$refs.form.overdueInspectionDays = e
  929. console.log(e)
  930. },
  931. reasonForOverdueInspection(e) {
  932. this.$refs.form.reasonForOverdueInspection = e
  933. console.log(e)
  934. },
  935. isNotXtv(e) {
  936. this.$refs.form.isNotXtv = e
  937. },
  938. xtv(e) {
  939. this.$refs.form.xtv = e
  940. },
  941. AdministrativeOffice(e)
  942. {
  943. this.form.administrativeOffice=e[0].value
  944. this.AdministrativeOfficeLabel = e[0].label
  945. console.log('11111',e)
  946. },
  947. valveWellCondition(e) {
  948. this.form.valveWellCondition = e[0].value
  949. this.valveWellConditioLabel = e[0].label
  950. console.log(this.$refs.form.valveWellCondition)
  951. },
  952. save() {
  953. let _this = this
  954. if(this.imgArr.length==0){
  955. this.$UTILS.showPrompt('请上传照片或视频!')
  956. return
  957. }
  958. if(this.form.isNotXtv==null){
  959. this.$UTILS.showPrompt('请选择是否开启伴热带!')
  960. return
  961. }
  962. if(this.form.inletPressure==null){
  963. this.$UTILS.showPrompt('请输入入口压力!')
  964. return
  965. }
  966. if(this.form.exportPressureMain==null){
  967. this.$UTILS.showPrompt('请输入出口压力主路!')
  968. return
  969. }
  970. if(this.form.exportPressureAccessory==null){
  971. this.$UTILS.showPrompt('请输入出口压力副路!')
  972. return
  973. }
  974. if(this.form.closingPressureMain==null){
  975. this.$UTILS.showPrompt('请输入关闭压力主路!')
  976. return
  977. }
  978. if(this.form.closingPressureAccessory==null){
  979. this.$UTILS.showPrompt('请输入管理压力副路!')
  980. return
  981. }
  982. this.form.photoList = this.imgArr
  983. this.form.unitId = this.unit
  984. this.form.areaId = this.id
  985. this.form.userId=this.userId
  986. this.form.createBy=this.userId
  987. this.form.name=this.name
  988. // this.form.administrativeOffice=this.administrativeOffice
  989. // this.form.code=this.code
  990. // this.form.name=this.name
  991. // this.form.number=this.code
  992. service.setregulatorBox(this.form).then(res => {
  993. console.log(res)
  994. _this.$UTILS.showPrompt('上报成功!')
  995. // setTimeout(() => {
  996. // console.log('跳')
  997. // uni.switchTab({
  998. // url: '/pages/index/index'
  999. // })
  1000. // }, 2000)
  1001. this.form={businessService:0,
  1002. administrativeOffice:0,
  1003. businessService:0,
  1004. isNotXtv:null,
  1005. appearance:0,
  1006. squareBrick:0,
  1007. foundation:0,
  1008. pressureGage:0,
  1009. valve:0,
  1010. isThereALeak:0,
  1011. voltageRegulator:0,
  1012. xtv:0,
  1013. thermostat:0,
  1014. explosionProofSwitch:0,
  1015. cutterTested:0,
  1016. manOfAccessoryAlternating:0,
  1017. filter:0,
  1018. specialCaseOfPressureRegulatingFacilities:0,
  1019. overdueInspectionDays:3,
  1020. valveWellTesting:true,
  1021. guardrail:0}
  1022. this.AdministrativeOfficeLabel=this.AdministrativeOfficeList.filter(item=>item.value==this.administrativeOffice)[0].name
  1023. this.valveWellConditioLabel=''
  1024. this.xtvLabel=''
  1025. this.valveWellConditioLabel=''
  1026. //this.AdministrativeOfficeLabel=''
  1027. this.form.administrativeOffice=this.administrativeOffice
  1028. this.form.number=this.code
  1029. this.imgArr=[]
  1030. this.imgymxs=[]
  1031. })
  1032. },
  1033. choose() {
  1034. let _this = this;
  1035. uni.showActionSheet({
  1036. title: '上传',
  1037. itemList: ['图片', '视频'],
  1038. success: (res) => {
  1039. // console.log(res)
  1040. if (res.tapIndex == 0) {
  1041. this.chooseimage()
  1042. } else {
  1043. this.choosevideo()
  1044. }
  1045. }
  1046. })
  1047. },
  1048. chooseimage() {
  1049. console.log('图片')
  1050. let _this = this;
  1051. uni.chooseImage({
  1052. sourceType: ['camera'],
  1053. success(resp) {
  1054. console.log('res--uni.chooseMedia', resp);
  1055. resp.tempFiles.forEach((item, index) => {
  1056. const task = uni.uploadFile({
  1057. url: _this.$HTTP.webUrl + `/obs`,
  1058. filePath: item.path,
  1059. name: 'file',
  1060. formData: {},
  1061. header: _this.headers,
  1062. success: res => {
  1063. // 判断是否json字符串,将其转为json格式
  1064. let data = _this.$u.test.jsonString(res.data) ? JSON.parse(
  1065. res.data) : res.data;
  1066. if (![200, 201, 204].includes(res.statusCode)) {
  1067. // this.uploadError(index, data);
  1068. _this.$UTILS.showPrompt('选取失败!')
  1069. } else {
  1070. // 上传成功
  1071. // this.lists[index].response = data;
  1072. // this.lists[index].progress = 100;
  1073. // this.lists[index].error = false;
  1074. // this.$emit('on-success', data, index, this.lists, this
  1075. // .index);
  1076. if (_this.progress === 100) {
  1077. // console.log('_this.progress', _this.progress)
  1078. // console.log('data----', data)
  1079. // console.log('res--', res)
  1080. _this.imgymxs.push({
  1081. url: data.data.url,
  1082. type: 'image'
  1083. })
  1084. _this.imgArr.push(data.data.url)
  1085. // console.log('imgArr', _this.imgArr)
  1086. _this.$UTILS.showPrompt('选取成功!')
  1087. }
  1088. }
  1089. },
  1090. fail: e => {
  1091. _this.$UTILS.showPrompt('选取失败!')
  1092. this.uploadError(index, e);
  1093. },
  1094. complete: res => {
  1095. _this.uploading = false;
  1096. // _this.uploadFile(index + 1);
  1097. // this.$emit('on-change', res, index, this.lists, this
  1098. // .index);
  1099. }
  1100. });
  1101. task.onProgressUpdate(res => {
  1102. // if (res.progress > 0) {
  1103. // this.lists[index].progress = res.progress;
  1104. // this.$emit('on-progress', res, index, this.lists, this.index);
  1105. // }
  1106. _this.progress = res.progress;
  1107. console.log('onProgressUpdate', res)
  1108. uni.showLoading({
  1109. title: '选取中'
  1110. })
  1111. });
  1112. })
  1113. },
  1114. })
  1115. },
  1116. choosevideo() {
  1117. let _this = this;
  1118. console.log('视频')
  1119. uni.chooseVideo({
  1120. sourceType: ['camera'],
  1121. maxDuration: 30,
  1122. success(resp) {
  1123. const task = uni.uploadFile({
  1124. url: _this.$HTTP.webUrl + `/obs`,
  1125. filePath: resp.tempFilePath,
  1126. name: 'file',
  1127. formData: {},
  1128. header: _this.headers,
  1129. success: res => {
  1130. // 判断是否json字符串,将其转为json格式
  1131. let data = _this.$u.test.jsonString(res.data) ? JSON.parse(res.data) :
  1132. res.data;
  1133. if (![200, 201, 204].includes(res.statusCode)) {
  1134. this.uploadError(index, data);
  1135. } else {
  1136. // 上传成功
  1137. // this.lists[index].response = data;
  1138. // this.lists[index].progress = 100;
  1139. // this.lists[index].error = false;
  1140. // this.$emit('on-success', data, index, this.lists, this
  1141. // .index);
  1142. if (_this.progress === 100) {
  1143. console.log('_this.progress', _this.progress)
  1144. console.log('data----', data)
  1145. console.log('res--', res)
  1146. // _this.imgArr.push(data.data.url)
  1147. _this.imgymxs.push({
  1148. url: data.data.url,
  1149. type: 'video'
  1150. })
  1151. _this.imgArr.push(data.data.url)
  1152. console.log('imgArr', _this.imgArr)
  1153. _this.$UTILS.showPrompt('选取成功!')
  1154. }
  1155. }
  1156. },
  1157. fail: e => {
  1158. _this.$UTILS.showPrompt('选取失败!')
  1159. this.uploadError(index, e);
  1160. },
  1161. complete: res => {
  1162. uni.hideLoading();
  1163. _this.uploading = false;
  1164. // _this.uploadFile(index + 1);
  1165. // this.$emit('on-change', res, index, this.lists, this
  1166. // .index);
  1167. }
  1168. });
  1169. task.onProgressUpdate(res => {
  1170. // if (res.progress > 0) {
  1171. // this.lists[index].progress = res.progress;
  1172. // this.$emit('on-progress', res, index, this.lists, this.index);
  1173. // }
  1174. _this.progress = res.progress;
  1175. console.log('onProgressUpdate', res)
  1176. uni.showLoading({
  1177. title: '选取中'
  1178. })
  1179. });
  1180. },
  1181. })
  1182. },
  1183. remove(index) {
  1184. uni.showModal({
  1185. title: '提示',
  1186. content: '是否删除该图片或视频?',
  1187. success: (res) => {
  1188. if (res.confirm) {
  1189. this.imgArr.splice(index, 1);
  1190. this.imgymxs.splice(index, 1);
  1191. console.log('this.imgArr', this.imgArr)
  1192. }
  1193. }
  1194. })
  1195. },
  1196. }
  1197. }
  1198. </script>
  1199. <style>
  1200. .project-content {
  1201. padding: 0rpx 20rpx;
  1202. border-radius: 20rpx;
  1203. width: 90%;
  1204. margin: 0 auto;
  1205. background: #fff;
  1206. }
  1207. .background {
  1208. z-index: -1;
  1209. position: fixed;
  1210. width: 100%;
  1211. height: 100%;
  1212. background-size: 100% 100%;
  1213. }
  1214. .top-left {
  1215. display: flex;
  1216. align-items: center;
  1217. }
  1218. .small-title {
  1219. font-size: 38rpx;
  1220. color: #2d95f4;
  1221. margin: 20rpx 0;
  1222. }
  1223. .form-item {
  1224. display: flex;
  1225. align-items: center;
  1226. font-size: 32rpx;
  1227. border: none;
  1228. }
  1229. .danwei {
  1230. text-align: center;
  1231. line-height: 110rpx;
  1232. }
  1233. .un-row {
  1234. text-align: left;
  1235. }
  1236. .top {
  1237. display: flex;
  1238. align-items: center;
  1239. justify-content: space-between;
  1240. }
  1241. .top-icon {
  1242. font-size: 40rpx;
  1243. color: #2d95f4;
  1244. }
  1245. </style>