Elizabeth's proactive approach involves introducing urinal toilet attachment , an ingenious concept that optimizes space and functionality.

objectTableDisinfectTwo.vue 111KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393
  1. <template>
  2. <div id="main-contain">
  3. <div class="position">
  4. <bread-crumb :crumbs='crumbs'></bread-crumb>
  5. </div>
  6. <div class="app-container">
  7. <div style="float: left; margin-bottom: 10px;">
  8. <el-date-picker
  9. v-model="startvalue"
  10. value-format="yyyy-MM-dd"
  11. type="date"
  12. placeholder="选择日期"
  13. style="width: 150px;">
  14. </el-date-picker>
  15. <span>-</span>
  16. <el-date-picker
  17. v-model="endvalue"
  18. type="date"
  19. placeholder="选择日期"
  20. style="width: 150px;"
  21. value-format="yyyy-MM-dd">
  22. </el-date-picker>
  23. <el-select v-model="storey" placeholder="请选择楼层" v-if="art_way_one==0||art_way_one == 1" @chang="changeStore">
  24. <el-option
  25. v-for="(item,index) in storeyList"
  26. :key="index"
  27. :label="item.name"
  28. :value="item.name">
  29. </el-option>
  30. </el-select>
  31. <el-button type="primary" style="margin-left: 10px;" @click="toSeach">搜索</el-button>
  32. </div>
  33. <div style="float:right;margin-bottom:10px;">
  34. <el-button type="primary" @click="toSetting">设置</el-button>
  35. <el-button type="primary" @click="printCard" v-if="art_way_one==0 || art_way_one ==1">打印</el-button>
  36. <el-button type="primary" @click="printCardOne" v-if=" art_way_one ==2">打印</el-button>
  37. <el-button type="primary" @click="dialogFormVisible = true" v-if="art_way_one == 0 || art_way_one == 1">新增</el-button>
  38. <el-button type="primary" @click="newdialogFormVisible = true" v-if="art_way_one == 2">新增</el-button>
  39. </div>
  40. <div class="tab_air" v-if="art_way_one == 0 || art_way_one ==1">
  41. <el-table :data="tableData" :fit="true" stripe>
  42. <el-table-column prop="year" label="名称" width="150" align="center">
  43. <el-table-column prop="year" label="消毒时间" align="center" width="150">
  44. <el-table-column prop="year" label="日期" align="center" width="150">
  45. <template slot-scope="scope">
  46. {{getTimes(scope.row.record_date) }}
  47. </template>
  48. </el-table-column>
  49. </el-table-column>
  50. </el-table-column>
  51. <el-table-column label="楼层" width="100" align="center">
  52. <template slot-scope="scope">
  53. {{ scope.row.storey }}
  54. </template>
  55. </el-table-column>
  56. <el-table-column prop="fenopda" :label="'湿化瓶'+'\n'+'500mg/l含氯制剂'" align="center" min-width="60">
  57. <template slot-scope="scope">
  58. {{ getTimeTwo(scope.row.first_start_time) }} - {{ getTimeTwo(scope.row.first_end_time) }}
  59. </template>
  60. </el-table-column>
  61. <el-table-column prop="dwaiod" label="责任人" align="center" min-width="60">
  62. <template slot-scope="scope">
  63. {{getName(scope.row.first_creator)}}
  64. </template>
  65. </el-table-column>
  66. <el-table-column prop="date" :label="'止血带'+'\n'+'500mg/l含氯制剂'" align="center" min-width="60">
  67. <template slot-scope="scope">
  68. <!-- {{scope.row.sencond_total_time?scope.row.sencond_total_time:""}} -->
  69. <!-- {{ scope.row.sencond_disinfection_time }} -->
  70. {{ getTimeTwo(scope.row.sencond_start_time) }} - {{ getTimeTwo(scope.row.sencond_end_time) }}
  71. </template>
  72. </el-table-column>
  73. <el-table-column prop="name" label="责任人" align="center" min-width="60">
  74. <template slot-scope="scope">
  75. {{getName(scope.row.sencond_creator)}}
  76. </template>
  77. </el-table-column>
  78. <el-table-column prop="province" :label="'医疗垃圾桶'+'\n'+'1000mg/l含氯制剂'" align="center" min-width="60">
  79. <template slot-scope="scope">
  80. <!-- {{scope.row.third_total_time?scope.row.third_total_time:""}} -->
  81. <!-- {{ scope.row.third_disinfection_time }} -->
  82. {{ getTimeTwo(scope.row.third_start_time) }} - {{ getTimeTwo(scope.row.third_end_time) }}
  83. </template>
  84. </el-table-column>
  85. <el-table-column prop="city" label="负责人" align="center" min-width="60">
  86. <template slot-scope="scope">
  87. {{getName(scope.row.third_creator)}}
  88. </template>
  89. </el-table-column>
  90. <el-table-column prop="name" :label="'体温计'+'\n'+'75%酒精浸泡'" align="center" min-width="60">
  91. <template slot-scope="scope">
  92. <!-- {{scope.row.fourth_total_time?scope.row.fourth_total_time:""}} -->
  93. <!-- {{ scope.row.fourth_disinfection_time }} -->
  94. {{ getTimeTwo(scope.row.fourth_start_time) }} - {{ getTimeTwo(scope.row.fourth_end_time) }}
  95. </template>
  96. </el-table-column>
  97. <el-table-column prop="province" label="负责人" align="center" min-width="60">
  98. <template slot-scope="scope">
  99. {{getName(scope.row.fourth_creator)}}
  100. </template>
  101. </el-table-column>
  102. <el-table-column prop="city" :label="'体温枪'+'\n'+'75%酒精擦拭'" align="center" min-width="60">
  103. <template slot-scope="scope">
  104. <!-- {{scope.row.fourth_total_time?scope.row.fourth_total_time:""}} -->
  105. <!-- {{ scope.row.last_disinfection_time }} -->
  106. {{ getTimeTwo(scope.row.last_start_time) }} - {{ getTimeTwo(scope.row.last_end_time) }}
  107. </template>
  108. </el-table-column>
  109. <el-table-column prop="province" label="负责人" align="center" min-width="60">
  110. <template slot-scope="scope">
  111. {{getName(scope.row.last_creator)}}
  112. </template>
  113. </el-table-column>
  114. <el-table-column prop="city" label="操作" align="center" min-width="100">
  115. <template slot-scope="scope">
  116. <el-button
  117. size="mini"
  118. type="primary"
  119. @click="handleEdit(scope.row.id)">编辑</el-button>
  120. <el-button
  121. size="mini"
  122. type="danger"
  123. @click="handleDelete(scope.row.id)">删除</el-button>
  124. </template>
  125. </el-table-column>
  126. </el-table>
  127. <el-pagination
  128. :page-sizes="[10, 20, 50, 100]"
  129. :page-size="10"
  130. background
  131. style="margin-top:20px;float: right"
  132. layout="total, sizes, prev, pager, next, jumper"
  133. :total="total"
  134. @size-change="handleSizeChange"
  135. @current-change="handleCurrentChange"
  136. >
  137. </el-pagination>
  138. </div>
  139. <div v-if="art_way_one == 2">
  140. <el-table :data="tableDataOne" :fit="true" stripe style="width: 100%"
  141. row-key="id"
  142. border
  143. lazy
  144. :tree-props="{children: 'children', hasChildren: 'hasChildren'}">
  145. <el-table-column prop="year" label="消毒日期" align="center" width="150">
  146. <template slot-scope="scope">
  147. {{getTimes(scope.row.record_date) }}
  148. </template>
  149. </el-table-column>
  150. <el-table-column prop="year" label="消毒物品" align="center" width="150">
  151. <template slot-scope="scope">
  152. {{scope.row.department }}
  153. </template>
  154. </el-table-column>
  155. <el-table-column prop="fenopda" :label="'500mg/l含氯制剂'" align="center" min-width="60">
  156. <template slot-scope="scope">
  157. {{ getTimeTwo(scope.row.first_start_time) }} - {{ getTimeTwo(scope.row.first_end_time) }}
  158. </template>
  159. </el-table-column>
  160. <el-table-column prop="dwaiod" label="责任人" align="center" min-width="60">
  161. <template slot-scope="scope">
  162. {{getName(scope.row.first_creator)}}
  163. </template>
  164. </el-table-column>
  165. <el-table-column prop="city" label="操作" align="center" min-width="100">
  166. <template slot-scope="scope">
  167. <el-button
  168. size="mini"
  169. type="primary"
  170. @click="handleEditOne(scope.row.id)">编辑</el-button>
  171. <el-button
  172. size="mini"
  173. type="danger"
  174. @click="handleDeleteOne(scope.row.id)">删除</el-button>
  175. </template>
  176. </el-table-column>
  177. </el-table>
  178. <el-pagination
  179. :page-sizes="[10, 20, 50, 100]"
  180. :page-size="10"
  181. background
  182. style="margin-top:20px;float: right"
  183. layout="total, sizes, prev, pager, next, jumper"
  184. :total="total"
  185. @size-change="handleSizeChangeOne"
  186. @current-change="handleCurrentChangeOne"
  187. >
  188. </el-pagination>
  189. </div>
  190. <!-- 新增 -->
  191. <el-dialog
  192. class="centerDialog"
  193. width="1000px"
  194. title="新增物表消毒表"
  195. :visible.sync="dialogFormVisible">
  196. <el-form :model="form" ref="form" class="airForm" :rules="airRules">
  197. <div style="width: 100%;">
  198. <el-form-item label="创建日期" label-width="110px" required prop="record_date">
  199. <el-date-picker
  200. value-format="yyyy-MM-dd"
  201. v-model="form.record_date"
  202. type="date"
  203. placeholder="选择日期时间">
  204. </el-date-picker>
  205. </el-form-item>
  206. </div>
  207. <div style="width: 100%;">
  208. <el-form-item label="楼层">
  209. <el-select v-model="form.storey" placeholder="请选择">
  210. <el-option
  211. v-for="(item,index) in storeyList"
  212. :key="index"
  213. :label="item.name"
  214. :value="item.name">
  215. </el-option>
  216. </el-select>
  217. </el-form-item>
  218. </div>
  219. <div class="form_title"><span >湿化瓶</span></div>
  220. <el-form-item label="消毒方式" label-width="110px">
  221. <!-- <el-input v-model="form.first_disinfection_methods"></el-input> -->
  222. <el-select v-model="form.first_disinfection_methods" placeholder="请选择">
  223. <el-option
  224. v-for="(item,index) in DisinfectionMode"
  225. :key="index"
  226. :label="item.name"
  227. :value="item.name">
  228. </el-option>
  229. </el-select>
  230. </el-form-item>
  231. <el-form-item label="消毒液" label-width="110px">
  232. <!-- <el-input v-model="form.first_disinfection_water"></el-input> -->
  233. <el-select v-model="form.first_disinfection_water" placeholder="请选择">
  234. <el-option
  235. v-for="(item,index) in disInfectionWaterList"
  236. :key="index"
  237. :label="item.name"
  238. :value="item.name">
  239. </el-option>
  240. </el-select>
  241. </el-form-item>
  242. <el-form-item label="消毒时间(h)" label-width="110px">
  243. <el-input v-model="form.first_disinfection_time " :disabled="true"></el-input>
  244. </el-form-item>
  245. <el-form-item label="开始时间" label-width="110px">
  246. <el-date-picker
  247. type="datetime"
  248. format="yyyy-MM-dd HH:mm"
  249. value-format="yyyy-MM-dd HH:mm"
  250. placeholder="选择时间"
  251. v-model="form.first_start_time"
  252. @change="firststartime"
  253. style="width:100%;"
  254. ></el-date-picker>
  255. </el-form-item>
  256. <el-form-item label="结束时间" label-width="110px">
  257. <el-date-picker
  258. type="datetime"
  259. format="yyyy-MM-dd HH:mm"
  260. value-format="yyyy-MM-dd HH:mm"
  261. placeholder="选择时间"
  262. v-model="form.first_end_time"
  263. @change="firstendtime"
  264. style="width:100%;"
  265. ></el-date-picker>
  266. </el-form-item>
  267. <!-- <el-form-item label="累计时间(h)" label-width="110px">
  268. <el-input v-model= "form.first_total_time" ></el-input>
  269. </el-form-item> -->
  270. <el-form-item label="检测合格" label-width="110px">
  271. <div>
  272. <el-radio v-model="form.first_is_check" label="1">是</el-radio>
  273. <el-radio v-model="form.first_is_check" label="2">否</el-radio>
  274. </div>
  275. </el-form-item>
  276. <el-form-item label="修改标志" label-width="110px" >
  277. <el-select v-model="form.first_modifications" placeholder="请选择">
  278. <el-option
  279. v-for="(item,index) in options"
  280. :key="index"
  281. :label="item.name"
  282. :value="item.id">
  283. </el-option>
  284. </el-select>
  285. </el-form-item>
  286. <el-form-item label="责任人" label-width="110px">
  287. <el-select v-model="form.first_creator" placeholder="请选择">
  288. <el-option
  289. v-for="(item,index) in docList"
  290. :key="index"
  291. :label="item.user_name"
  292. :value="item.admin_user_id">
  293. </el-option>
  294. </el-select>
  295. </el-form-item>
  296. <div class="form_title"><span >止血带</span></div>
  297. <el-form-item label="消毒方式" label-width="110px">
  298. <!-- <el-input v-model="form.sencond_disinfection_methods"></el-input> -->
  299. <el-select v-model="form.sencond_disinfection_methods" placeholder="请选择">
  300. <el-option
  301. v-for="(item,index) in DisinfectionMode"
  302. :key="index"
  303. :label="item.name"
  304. :value="item.name">
  305. </el-option>
  306. </el-select>
  307. </el-form-item>
  308. <el-form-item label="消毒液" label-width="110px">
  309. <!-- <el-input v-model="form.sencond_disinfection_water"></el-input> -->
  310. <el-select v-model="form.sencond_disinfection_water" placeholder="请选择">
  311. <el-option
  312. v-for="(item,index) in disInfectionWaterList"
  313. :key="index"
  314. :label="item.name"
  315. :value="item.name">
  316. </el-option>
  317. </el-select>
  318. </el-form-item>
  319. <el-form-item label="消毒时间(h)" label-width="110px">
  320. <el-input v-model="form.sencond_disinfection_time " :disabled="true"></el-input>
  321. </el-form-item>
  322. <el-form-item label="开始时间" label-width="110px">
  323. <el-date-picker
  324. type="datetime"
  325. format="yyyy-MM-dd HH:mm"
  326. value-format="yyyy-MM-dd HH:mm"
  327. placeholder="选择时间"
  328. v-model="form.sencond_start_time"
  329. @change="sencondstarttime"
  330. style="width:100%;"
  331. ></el-date-picker>
  332. </el-form-item>
  333. <el-form-item label="结束时间" label-width="110px">
  334. <el-date-picker
  335. type="datetime"
  336. format="yyyy-MM-dd HH:mm"
  337. value-format="yyyy-MM-dd HH:mm"
  338. placeholder="选择时间"
  339. v-model="form.sencond_end_time"
  340. @change="sencondendtime"
  341. style="width:100%;"
  342. ></el-date-picker>
  343. </el-form-item>
  344. <!-- <el-form-item label="累计时间(h)" label-width="110px">
  345. <el-input v-model= "form.sencond_total_time"></el-input>
  346. </el-form-item> -->
  347. <el-form-item label="检测合格" label-width="110px">
  348. <div>
  349. <el-radio v-model="form.sencond_is_check" label="1">是</el-radio>
  350. <el-radio v-model="form.sencond_is_check" label="2">否</el-radio>
  351. </div>
  352. </el-form-item>
  353. <el-form-item label="修改标志" label-width="110px">
  354. <el-select v-model="form.sencond_modifications" placeholder="请选择">
  355. <el-option
  356. v-for="(item,index) in options"
  357. :key="index"
  358. :label="item.name"
  359. :value="item.id">
  360. </el-option>
  361. </el-select>
  362. </el-form-item>
  363. <el-form-item label="责任人" label-width="110px" >
  364. <el-select v-model="form.sencond_creator" placeholder="请选择">
  365. <el-option
  366. v-for="(item,index) in docList"
  367. :key="index"
  368. :label="item.user_name"
  369. :value="item.admin_user_id">
  370. </el-option>
  371. </el-select>
  372. </el-form-item>
  373. <div class="form_title"><span >医疗垃圾桶</span></div>
  374. <el-form-item label="消毒方式" label-width="110px">
  375. <!-- <el-input v-model="form.third_disinfection_methods"></el-input> -->
  376. <el-select v-model="form.third_disinfection_methods" placeholder="请选择">
  377. <el-option
  378. v-for="(item,index) in DisinfectionMode"
  379. :key="index"
  380. :label="item.name"
  381. :value="item.name">
  382. </el-option>
  383. </el-select>
  384. </el-form-item>
  385. <el-form-item label="消毒液" label-width="110px">
  386. <!-- <el-input v-model="form.third_disinfection_water"></el-input> -->
  387. <el-select v-model="form.third_disinfection_water" placeholder="请选择">
  388. <el-option
  389. v-for="(item,index) in disInfectionWaterList"
  390. :key="index"
  391. :label="item.name"
  392. :value="item.name">
  393. </el-option>
  394. </el-select>
  395. </el-form-item>
  396. <el-form-item label="消毒时间(h)" label-width="110px">
  397. <el-input v-model="form.third_disinfection_time " :disabled="true"></el-input>
  398. </el-form-item>
  399. <el-form-item label="开始时间" label-width="110px">
  400. <el-date-picker
  401. type="datetime"
  402. format="yyyy-MM-dd HH:mm"
  403. value-format="yyyy-MM-dd HH:mm"
  404. placeholder="选择时间"
  405. v-model="form.third_start_time"
  406. @change="thirdstarttime"
  407. style="width:100%;"
  408. ></el-date-picker>
  409. </el-form-item>
  410. <el-form-item label="结束时间" label-width="110px">
  411. <el-date-picker
  412. type="datetime"
  413. format="yyyy-MM-dd HH:mm"
  414. value-format="yyyy-MM-dd HH:mm"
  415. placeholder="选择时间"
  416. v-model="form.third_end_time"
  417. @change="thirdendtime"
  418. style="width:100%;"
  419. ></el-date-picker>
  420. </el-form-item>
  421. <!-- <el-form-item label="累计时间(h)" label-width="110px">
  422. <el-input v-model= "form.third_total_time" ></el-input>
  423. </el-form-item> -->
  424. <el-form-item label="检测合格" label-width="110px" >
  425. <div>
  426. <el-radio v-model="form.third_is_check" label="1">是</el-radio>
  427. <el-radio v-model="form.third_is_check" label="2">否</el-radio>
  428. </div>
  429. </el-form-item>
  430. <el-form-item label="修改标志" label-width="110px">
  431. <el-select v-model="form.third_modifications" placeholder="请选择">
  432. <el-option
  433. v-for="(item,index) in options"
  434. :key="index"
  435. :label="item.name"
  436. :value="item.id">
  437. </el-option>
  438. </el-select>
  439. </el-form-item>
  440. <el-form-item label="责任人" label-width="110px">
  441. <el-select v-model="form.third_creator" placeholder="请选择">
  442. <el-option
  443. v-for="(item,index) in docList"
  444. :key="index"
  445. :label="item.user_name"
  446. :value="item.admin_user_id">
  447. </el-option>
  448. </el-select>
  449. </el-form-item>
  450. <div class="form_title"><span >体温计</span></div>
  451. <el-form-item label="消毒方式" label-width="110px">
  452. <!-- <el-input v-model="form.fourth_disinfection_methods"></el-input> -->
  453. <el-select v-model="form.fourth_disinfection_methods" placeholder="请选择">
  454. <el-option
  455. v-for="(item,index) in DisinfectionMode"
  456. :key="index"
  457. :label="item.name"
  458. :value="item.name">
  459. </el-option>
  460. </el-select>
  461. </el-form-item>
  462. <el-form-item label="消毒液" label-width="110px">
  463. <!-- <el-input v-model="form.fourth_disinfection_water"></el-input> -->
  464. <el-select v-model="form.fourth_disinfection_water" placeholder="请选择">
  465. <el-option
  466. v-for="(item,index) in disInfectionWaterList"
  467. :key="index"
  468. :label="item.name"
  469. :value="item.name">
  470. </el-option>
  471. </el-select>
  472. </el-form-item>
  473. <el-form-item label="消毒时间(h)" label-width="110px">
  474. <el-input v-model="form.fourth_disinfection_time " :disabled="true"></el-input>
  475. </el-form-item>
  476. <el-form-item label="开始时间" label-width="110px">
  477. <el-date-picker
  478. type="datetime"
  479. format="yyyy-MM-dd HH:mm"
  480. value-format="yyyy-MM-dd HH:mm"
  481. placeholder="选择时间"
  482. v-model="form.fourth_start_time"
  483. @change="fourthstarttime"
  484. style="width:100%;"
  485. ></el-date-picker>
  486. </el-form-item>
  487. <el-form-item label="结束时间" label-width="110px">
  488. <el-date-picker
  489. type="datetime"
  490. format="yyyy-MM-dd HH:mm"
  491. value-format="yyyy-MM-dd HH:mm"
  492. placeholder="选择时间"
  493. v-model="form.fourth_end_time"
  494. @change="fourthendtime"
  495. style="width:100%;"
  496. ></el-date-picker>
  497. </el-form-item>
  498. <!-- <el-form-item label="累计时间(h)" label-width="110px">
  499. <el-input v-model= "form.fourth_total_time" ></el-input>
  500. </el-form-item> -->
  501. <el-form-item label="检测合格" label-width="110px">
  502. <div>
  503. <el-radio v-model="form.fourth_is_check" label="1">是</el-radio>
  504. <el-radio v-model="form.fourth_is_check" label="2">否</el-radio>
  505. </div>
  506. </el-form-item>
  507. <el-form-item label="修改标志" label-width="110px">
  508. <el-select v-model="form.fourth_modifications" placeholder="请选择">
  509. <el-option
  510. v-for="(item,index) in options"
  511. :key="index"
  512. :label="item.name"
  513. :value="item.id">
  514. </el-option>
  515. </el-select>
  516. </el-form-item>
  517. <el-form-item label="责任人" label-width="110px">
  518. <el-select v-model="form.fourth_creator" placeholder="请选择">
  519. <el-option
  520. v-for="(item,index) in docList"
  521. :key="index"
  522. :label="item.user_name"
  523. :value="item.admin_user_id">
  524. </el-option>
  525. </el-select>
  526. </el-form-item>
  527. <div class="form_title"><span >体温枪</span></div>
  528. <el-form-item label="消毒方式" label-width="110px">
  529. <!-- <el-input v-model="form.last_disinfection_methods"></el-input> -->
  530. <el-select v-model="form.last_disinfection_methods" placeholder="请选择">
  531. <el-option
  532. v-for="(item,index) in DisinfectionMode"
  533. :key="index"
  534. :label="item.name"
  535. :value="item.name">
  536. </el-option>
  537. </el-select>
  538. </el-form-item>
  539. <el-form-item label="消毒液" label-width="110px">
  540. <!-- <el-input v-model="form.last_disinfection_water"></el-input> -->
  541. <el-select v-model="form.last_disinfection_water" placeholder="请选择">
  542. <el-option
  543. v-for="(item,index) in disInfectionWaterList"
  544. :key="index"
  545. :label="item.name"
  546. :value="item.name">
  547. </el-option>
  548. </el-select>
  549. </el-form-item>
  550. <el-form-item label="消毒时间(h)" label-width="110px">
  551. <el-input v-model="form.last_disinfection_time " :disabled="true"></el-input>
  552. </el-form-item>
  553. <el-form-item label="开始时间" label-width="110px">
  554. <el-date-picker
  555. type="datetime"
  556. format="yyyy-MM-dd HH:mm"
  557. value-format="yyyy-MM-dd HH:mm"
  558. placeholder="选择时间"
  559. v-model="form.last_start_time"
  560. @change="laststarttime"
  561. style="width:100%;"
  562. ></el-date-picker>
  563. </el-form-item>
  564. <el-form-item label="结束时间" label-width="110px">
  565. <el-date-picker
  566. type="datetime"
  567. format="yyyy-MM-dd HH:mm"
  568. value-format="yyyy-MM-dd HH:mm"
  569. placeholder="选择时间"
  570. v-model="form.last_end_time"
  571. @change="lastendtime"
  572. style="width:100%;"
  573. ></el-date-picker>
  574. </el-form-item>
  575. <!-- <el-form-item label="累计时间(h)" label-width="110px">
  576. <el-input v-model= "form.last_total_time" ></el-input>
  577. </el-form-item> -->
  578. <el-form-item label="检测合格" label-width="110px">
  579. <div>
  580. <el-radio v-model="form.last_is_check" label="1">是</el-radio>
  581. <el-radio v-model="form.last_is_check" label="2">否</el-radio>
  582. </div>
  583. </el-form-item>
  584. <el-form-item label="修改标志" label-width="110px">
  585. <el-select v-model="form.last_modifications" placeholder="请选择">
  586. <el-option
  587. v-for="(item,index) in options"
  588. :key="index"
  589. :label="item.name"
  590. :value="item.id">
  591. </el-option>
  592. </el-select>
  593. </el-form-item>
  594. <el-form-item label="责任人" label-width="110px">
  595. <el-select v-model="form.last_creator" placeholder="请选择">
  596. <el-option
  597. v-for="(item,index) in docList"
  598. :key="index"
  599. :label="item.user_name"
  600. :value="item.admin_user_id">
  601. </el-option>
  602. </el-select>
  603. </el-form-item>
  604. </el-form>
  605. <div slot="footer" class="dialog-footer">
  606. <el-button @click="dialogFormVisible = false">取 消</el-button>
  607. <el-button type="primary" @click="saveObjectTableDisinfect('form')">保 存</el-button>
  608. </div>
  609. </el-dialog>
  610. <!-- 编辑 -->
  611. <el-dialog
  612. class="centerDialog"
  613. width="1000px"
  614. title="编辑物表消毒表"
  615. :visible.sync="editDialogFormVisible">
  616. <el-form :model="form" ref="form" class="airForm" :rules="airRules">
  617. <div style="width: 100%;">
  618. <el-form-item label="创建日期" label-width="110px" required prop="record_date">
  619. <el-date-picker
  620. value-format="yyyy-MM-dd"
  621. v-model="form.record_date"
  622. type="date"
  623. placeholder="选择日期时间">
  624. </el-date-picker>
  625. </el-form-item>
  626. </div>
  627. <div style="width: 100%;">
  628. <el-form-item label="楼层">
  629. <el-select v-model="form.storey" placeholder="请选择">
  630. <el-option
  631. v-for="(item,index) in storeyList"
  632. :key="index"
  633. :label="item.name"
  634. :value="item.name">
  635. </el-option>
  636. </el-select>
  637. </el-form-item>
  638. </div>
  639. <div class="form_title"><span >湿化瓶</span></div>
  640. <el-form-item label="消毒方式" label-width="110px">
  641. <!-- <el-input v-model="form.first_disinfection_methods"></el-input> -->
  642. <el-select v-model="form.first_disinfection_methods" placeholder="请选择">
  643. <el-option
  644. v-for="(item,index) in DisinfectionMode"
  645. :key="index"
  646. :label="item.name"
  647. :value="item.name">
  648. </el-option>
  649. </el-select>
  650. </el-form-item>
  651. <el-form-item label="消毒液" label-width="110px">
  652. <!-- <el-input v-model="form.first_disinfection_water"></el-input> -->
  653. <el-select v-model="form.first_disinfection_water" placeholder="请选择">
  654. <el-option
  655. v-for="(item,index) in disInfectionWaterList"
  656. :key="index"
  657. :label="item.name"
  658. :value="item.name">
  659. </el-option>
  660. </el-select>
  661. </el-form-item>
  662. <el-form-item label="消毒时间(h)" label-width="110px">
  663. <el-input v-model="form.first_disinfection_time " :disabled="true"></el-input>
  664. </el-form-item>
  665. <el-form-item label="开始时间" label-width="110px">
  666. <el-date-picker
  667. type="datetime"
  668. format="yyyy-MM-dd HH:mm"
  669. value-format="yyyy-MM-dd HH:mm"
  670. placeholder="选择时间"
  671. v-model="form.first_start_time"
  672. @change="firststartime"
  673. style="width:100%;"
  674. ></el-date-picker>
  675. </el-form-item>
  676. <el-form-item label="结束时间" label-width="110px">
  677. <el-date-picker
  678. type="datetime"
  679. format="yyyy-MM-dd HH:mm"
  680. value-format="yyyy-MM-dd HH:mm"
  681. placeholder="选择时间"
  682. v-model="form.first_end_time"
  683. @change="firstendtime"
  684. style="width:100%;"
  685. ></el-date-picker>
  686. </el-form-item>
  687. <!-- <el-form-item label="累计时间(h)" label-width="110px">
  688. <el-input v-model= "form.first_total_time" ></el-input>
  689. </el-form-item> -->
  690. <el-form-item label="检测合格" label-width="110px">
  691. <div>
  692. <el-radio v-model="form.first_is_check" label="1">是</el-radio>
  693. <el-radio v-model="form.first_is_check" label="2">否</el-radio>
  694. </div>
  695. </el-form-item>
  696. <el-form-item label="修改标志" label-width="110px" >
  697. <el-select v-model="form.first_modifications" placeholder="请选择">
  698. <el-option
  699. v-for="(item,index) in options"
  700. :key="index"
  701. :label="item.name"
  702. :value="item.id">
  703. </el-option>
  704. </el-select>
  705. </el-form-item>
  706. <el-form-item label="责任人" label-width="110px">
  707. <el-select v-model="form.first_creator" placeholder="请选择">
  708. <el-option
  709. v-for="(item,index) in docList"
  710. :key="index"
  711. :label="item.user_name"
  712. :value="item.admin_user_id">
  713. </el-option>
  714. </el-select>
  715. </el-form-item>
  716. <div class="form_title"><span >止血带</span></div>
  717. <el-form-item label="消毒方式" label-width="110px">
  718. <!-- <el-input v-model="form.sencond_disinfection_methods"></el-input> -->
  719. <el-select v-model="form.sencond_disinfection_methods" placeholder="请选择">
  720. <el-option
  721. v-for="(item,index) in DisinfectionMode"
  722. :key="index"
  723. :label="item.name"
  724. :value="item.name">
  725. </el-option>
  726. </el-select>
  727. </el-form-item>
  728. <el-form-item label="消毒液" label-width="110px">
  729. <!-- <el-input v-model="form.sencond_disinfection_water"></el-input> -->
  730. <el-select v-model="form.sencond_disinfection_water" placeholder="请选择">
  731. <el-option
  732. v-for="(item,index) in disInfectionWaterList"
  733. :key="index"
  734. :label="item.name"
  735. :value="item.name">
  736. </el-option>
  737. </el-select>
  738. </el-form-item>
  739. <el-form-item label="消毒时间(h)" label-width="110px">
  740. <el-input v-model="form.sencond_disinfection_time " :disabled="true"></el-input>
  741. </el-form-item>
  742. <el-form-item label="开始时间" label-width="110px">
  743. <el-date-picker
  744. type="datetime"
  745. format="yyyy-MM-dd HH:mm"
  746. value-format="yyyy-MM-dd HH:mm"
  747. placeholder="选择时间"
  748. v-model="form.sencond_start_time"
  749. @change="sencondstarttime"
  750. style="width:100%;"
  751. ></el-date-picker>
  752. </el-form-item>
  753. <el-form-item label="结束时间" label-width="110px">
  754. <el-date-picker
  755. type="datetime"
  756. format="yyyy-MM-dd HH:mm"
  757. value-format="yyyy-MM-dd HH:mm"
  758. placeholder="选择时间"
  759. v-model="form.sencond_end_time"
  760. @change="sencondendtime"
  761. style="width:100%;"
  762. ></el-date-picker>
  763. </el-form-item>
  764. <!-- <el-form-item label="累计时间(h)" label-width="110px">
  765. <el-input v-model= "form.sencond_total_time"></el-input>
  766. </el-form-item> -->
  767. <el-form-item label="检测合格" label-width="110px">
  768. <div>
  769. <el-radio v-model="form.sencond_is_check" label="1">是</el-radio>
  770. <el-radio v-model="form.sencond_is_check" label="2">否</el-radio>
  771. </div>
  772. </el-form-item>
  773. <el-form-item label="修改标志" label-width="110px">
  774. <el-select v-model="form.sencond_modifications" placeholder="请选择">
  775. <el-option
  776. v-for="(item,index) in options"
  777. :key="index"
  778. :label="item.name"
  779. :value="item.id">
  780. </el-option>
  781. </el-select>
  782. </el-form-item>
  783. <el-form-item label="责任人" label-width="110px" >
  784. <el-select v-model="form.sencond_creator" placeholder="请选择">
  785. <el-option
  786. v-for="(item,index) in docList"
  787. :key="index"
  788. :label="item.user_name"
  789. :value="item.admin_user_id">
  790. </el-option>
  791. </el-select>
  792. </el-form-item>
  793. <div class="form_title"><span >医疗垃圾桶</span></div>
  794. <el-form-item label="消毒方式" label-width="110px">
  795. <!-- <el-input v-model="form.third_disinfection_methods"></el-input> -->
  796. <el-select v-model="form.third_disinfection_methods" placeholder="请选择">
  797. <el-option
  798. v-for="(item,index) in DisinfectionMode"
  799. :key="index"
  800. :label="item.name"
  801. :value="item.name">
  802. </el-option>
  803. </el-select>
  804. </el-form-item>
  805. <el-form-item label="消毒液" label-width="110px">
  806. <!-- <el-input v-model="form.third_disinfection_water"></el-input> -->
  807. <el-select v-model="form.third_disinfection_water" placeholder="请选择">
  808. <el-option
  809. v-for="(item,index) in disInfectionWaterList"
  810. :key="index"
  811. :label="item.name"
  812. :value="item.name">
  813. </el-option>
  814. </el-select>
  815. </el-form-item>
  816. <el-form-item label="消毒时间(h)" label-width="110px">
  817. <el-input v-model="form.third_disinfection_time " :disabled="true"></el-input>
  818. </el-form-item>
  819. <el-form-item label="开始时间" label-width="110px">
  820. <el-date-picker
  821. type="datetime"
  822. format="yyyy-MM-dd HH:mm"
  823. value-format="yyyy-MM-dd HH:mm"
  824. placeholder="选择时间"
  825. v-model="form.third_start_time"
  826. @change="thirdstarttime"
  827. style="width:100%;"
  828. ></el-date-picker>
  829. </el-form-item>
  830. <el-form-item label="结束时间" label-width="110px">
  831. <el-date-picker
  832. type="datetime"
  833. format="yyyy-MM-dd HH:mm"
  834. value-format="yyyy-MM-dd HH:mm"
  835. placeholder="选择时间"
  836. v-model="form.third_end_time"
  837. @change="thirdendtime"
  838. style="width:100%;"
  839. ></el-date-picker>
  840. </el-form-item>
  841. <!-- <el-form-item label="累计时间(h)" label-width="110px">
  842. <el-input v-model= "form.third_total_time" ></el-input>
  843. </el-form-item> -->
  844. <el-form-item label="检测合格" label-width="110px" >
  845. <div>
  846. <el-radio v-model="form.third_is_check" label="1">是</el-radio>
  847. <el-radio v-model="form.third_is_check" label="2">否</el-radio>
  848. </div>
  849. </el-form-item>
  850. <el-form-item label="修改标志" label-width="110px">
  851. <el-select v-model="form.third_modifications" placeholder="请选择">
  852. <el-option
  853. v-for="(item,index) in options"
  854. :key="index"
  855. :label="item.name"
  856. :value="item.id">
  857. </el-option>
  858. </el-select>
  859. </el-form-item>
  860. <el-form-item label="责任人" label-width="110px">
  861. <el-select v-model="form.third_creator" placeholder="请选择">
  862. <el-option
  863. v-for="(item,index) in docList"
  864. :key="index"
  865. :label="item.user_name"
  866. :value="item.admin_user_id">
  867. </el-option>
  868. </el-select>
  869. </el-form-item>
  870. <div class="form_title"><span >体温计</span></div>
  871. <el-form-item label="消毒方式" label-width="110px">
  872. <!-- <el-input v-model="form.fourth_disinfection_methods"></el-input> -->
  873. <el-select v-model="form.fourth_disinfection_methods" placeholder="请选择">
  874. <el-option
  875. v-for="(item,index) in DisinfectionMode"
  876. :key="index"
  877. :label="item.name"
  878. :value="item.name">
  879. </el-option>
  880. </el-select>
  881. </el-form-item>
  882. <el-form-item label="消毒液" label-width="110px">
  883. <!-- <el-input v-model="form.fourth_disinfection_water"></el-input> -->
  884. <el-select v-model="form.fourth_disinfection_water" placeholder="请选择">
  885. <el-option
  886. v-for="(item,index) in disInfectionWaterList"
  887. :key="index"
  888. :label="item.name"
  889. :value="item.name">
  890. </el-option>
  891. </el-select>
  892. </el-form-item>
  893. <el-form-item label="消毒时间(h)" label-width="110px">
  894. <el-input v-model="form.fourth_disinfection_time " :disabled="true"></el-input>
  895. </el-form-item>
  896. <el-form-item label="开始时间" label-width="110px">
  897. <el-date-picker
  898. type="datetime"
  899. format="yyyy-MM-dd HH:mm"
  900. value-format="yyyy-MM-dd HH:mm"
  901. placeholder="选择时间"
  902. v-model="form.fourth_start_time"
  903. @change="fourthstarttime"
  904. style="width:100%;"
  905. ></el-date-picker>
  906. </el-form-item>
  907. <el-form-item label="结束时间" label-width="110px">
  908. <el-date-picker
  909. type="datetime"
  910. format="yyyy-MM-dd HH:mm"
  911. value-format="yyyy-MM-dd HH:mm"
  912. placeholder="选择时间"
  913. v-model="form.fourth_end_time"
  914. @change="fourthendtime"
  915. style="width:100%;"
  916. ></el-date-picker>
  917. </el-form-item>
  918. <!-- <el-form-item label="累计时间(h)" label-width="110px">
  919. <el-input v-model= "form.fourth_total_time" ></el-input>
  920. </el-form-item> -->
  921. <el-form-item label="检测合格" label-width="110px">
  922. <div>
  923. <el-radio v-model="form.fourth_is_check" label="1">是</el-radio>
  924. <el-radio v-model="form.fourth_is_check" label="2">否</el-radio>
  925. </div>
  926. </el-form-item>
  927. <el-form-item label="修改标志" label-width="110px">
  928. <el-select v-model="form.fourth_modifications" placeholder="请选择">
  929. <el-option
  930. v-for="(item,index) in options"
  931. :key="index"
  932. :label="item.name"
  933. :value="item.id">
  934. </el-option>
  935. </el-select>
  936. </el-form-item>
  937. <el-form-item label="责任人" label-width="110px">
  938. <el-select v-model="form.fourth_creator" placeholder="请选择">
  939. <el-option
  940. v-for="(item,index) in docList"
  941. :key="index"
  942. :label="item.user_name"
  943. :value="item.admin_user_id">
  944. </el-option>
  945. </el-select>
  946. </el-form-item>
  947. <div class="form_title"><span >体温枪</span></div>
  948. <el-form-item label="消毒方式" label-width="110px">
  949. <!-- <el-input v-model="form.last_disinfection_methods"></el-input> -->
  950. <el-select v-model="form.last_disinfection_methods" placeholder="请选择">
  951. <el-option
  952. v-for="(item,index) in DisinfectionMode"
  953. :key="index"
  954. :label="item.name"
  955. :value="item.name">
  956. </el-option>
  957. </el-select>
  958. </el-form-item>
  959. <el-form-item label="消毒液" label-width="110px">
  960. <!-- <el-input v-model="form.last_disinfection_water"></el-input> -->
  961. <el-select v-model="form.last_disinfection_water" placeholder="请选择">
  962. <el-option
  963. v-for="(item,index) in disInfectionWaterList"
  964. :key="index"
  965. :label="item.name"
  966. :value="item.name">
  967. </el-option>
  968. </el-select>
  969. </el-form-item>
  970. <el-form-item label="消毒时间(h)" label-width="110px">
  971. <el-input v-model="form.last_disinfection_time " :disabled="true"></el-input>
  972. </el-form-item>
  973. <el-form-item label="开始时间" label-width="110px">
  974. <el-date-picker
  975. type="datetime"
  976. format="yyyy-MM-dd HH:mm"
  977. value-format="yyyy-MM-dd HH:mm"
  978. placeholder="选择时间"
  979. v-model="form.last_start_time"
  980. @change="laststarttime"
  981. style="width:100%;"
  982. ></el-date-picker>
  983. </el-form-item>
  984. <el-form-item label="结束时间" label-width="110px">
  985. <el-date-picker
  986. type="datetime"
  987. format="yyyy-MM-dd HH:mm"
  988. value-format="yyyy-MM-dd HH:mm"
  989. placeholder="选择时间"
  990. v-model="form.last_end_time"
  991. @change="lastendtime"
  992. style="width:100%;"
  993. ></el-date-picker>
  994. </el-form-item>
  995. <!-- <el-form-item label="累计时间(h)" label-width="110px">
  996. <el-input v-model= "form.last_total_time" ></el-input>
  997. </el-form-item> -->
  998. <el-form-item label="检测合格" label-width="110px">
  999. <div>
  1000. <el-radio v-model="form.last_is_check" label="1">是</el-radio>
  1001. <el-radio v-model="form.last_is_check" label="2">否</el-radio>
  1002. </div>
  1003. </el-form-item>
  1004. <el-form-item label="修改标志" label-width="110px">
  1005. <el-select v-model="form.last_modifications" placeholder="请选择">
  1006. <el-option
  1007. v-for="(item,index) in options"
  1008. :key="index"
  1009. :label="item.name"
  1010. :value="item.id">
  1011. </el-option>
  1012. </el-select>
  1013. </el-form-item>
  1014. <el-form-item label="责任人" label-width="110px">
  1015. <el-select v-model="form.last_creator" placeholder="请选择">
  1016. <el-option
  1017. v-for="(item,index) in docList"
  1018. :key="index"
  1019. :label="item.user_name"
  1020. :value="item.admin_user_id">
  1021. </el-option>
  1022. </el-select>
  1023. </el-form-item>
  1024. </el-form>
  1025. <div slot="footer" class="dialog-footer">
  1026. <el-button @click="editDialogFormVisible = false">取 消</el-button>
  1027. <el-button type="primary" @click="updateObjectTableDisinfect('form')">保 存</el-button>
  1028. </div>
  1029. </el-dialog>
  1030. <div hidden="hidden">
  1031. <div id="print-card-info" v-show="hiddenShow">
  1032. <div>
  1033. <h1 style="text-align: center;">物表消毒登记</h1>
  1034. <div>
  1035. <table border="1" style="text-align: center;margin: auto;border-collapse: collapse;">
  1036. <tr>
  1037. <td style="position: relative;box-sizing: border-box;width: 107px;
  1038. height: 80px;">
  1039. <span style="position: absolute; right: 10px; top: 10px; font-size: 12px;">名称</span>
  1040. <span style="position: absolute; display: block; top: 0; left: 46px; width: 100px;
  1041. border-bottom:1px solid black ;transform: rotate(52deg);
  1042. transform-origin: top left;"></span>
  1043. <span style="position: absolute; right: 45px; top: 23px;font-size: 12px;">消毒 <br/>时间</span>
  1044. <span style="position: absolute; display: block; top: 46px; left: 0; width: 113px;
  1045. border-bottom:1px solid black ;transform: rotate(17deg);
  1046. transform-origin: top left;"></span>
  1047. <span style="position: absolute; left: 6px; bottom: 6px;font-size: 12px;">日期</span>
  1048. </td>
  1049. <td>楼层</td>
  1050. <td>湿化瓶<br/>500mg/l含氯制剂</td>
  1051. <td>负责人</td>
  1052. <td width="40">消毒液浓度合格<br/></td>
  1053. <td>止血带<br/>500mg/l含氯制剂</td>
  1054. <td>负责人</td>
  1055. <td width="40">消毒液浓度合格<br/></td>
  1056. <td>医疗垃圾桶<br/>1000mg/l含<br/>氯制剂</td>
  1057. <td>负责人</td>
  1058. <td width="40">消毒液浓度合格<br/></td>
  1059. <td>体温计<br/>75%酒精浸泡</td>
  1060. <td>负责人</td>
  1061. <td width="40">消毒液浓度合格<br/></td>
  1062. <td>体温枪<br/>75%酒精擦拭</td>
  1063. <td>负责人</td>
  1064. <td width="40">消毒液浓度合格<br/></td>
  1065. </tr>
  1066. <tr v-for="(item,index) in tableData" :key="index">
  1067. <td>{{item.storey }}</td>
  1068. <td>{{getTimes(item.record_date) }}</td>
  1069. <td>{{getTimeTwo( item.first_start_time)}}- {{getTimeTwo(item.first_end_time) }}</td>
  1070. <td>
  1071. <span v-if="setAdminUserES(item.first_creator?item.last_creator:item.first_creator) == ''">
  1072. {{getName(item.first_creator)}}
  1073. </span>
  1074. <span v-else>
  1075. <img style="height:30px;" :src="setAdminUserES(item.last_creator?item.last_creator:item.last_creator)" alt="" srcset="">
  1076. </span>
  1077. </td>
  1078. <td>是<br/></td>
  1079. <td>{{getTimeTwo(item.sencond_start_time) }} - {{getTimeTwo( item.sencond_end_time) }}</td>
  1080. <td>
  1081. <span v-if="setAdminUserES(item.sencond_creator?item.sencond_creator:item.sencond_creator) == ''">
  1082. {{getName(item.sencond_creator)}}
  1083. </span>
  1084. <span v-else>
  1085. <img style="height:30px;" :src="setAdminUserES(item.sencond_creator?item.sencond_creator:item.sencond_creator)" alt="" srcset="">
  1086. </span>
  1087. </td>
  1088. <td>是<br/></td>
  1089. <td>{{getTimeTwo(item.third_start_time) }} - {{getTimeTwo(item.third_end_time) }}</td>
  1090. <td>
  1091. <span v-if="setAdminUserES(item.third_creator?item.third_creator:item.third_creator) == ''">
  1092. {{getName(item.third_creator)}}
  1093. </span>
  1094. <span v-else>
  1095. <img style="height:30px;" :src="setAdminUserES(item.third_creator?item.third_creator:item.third_creator)" alt="" srcset="">
  1096. </span>
  1097. </td>
  1098. <td>是<br/></td>
  1099. <td>{{getTimeTwo(item.fourth_start_time) }} - {{getTimeTwo(item.fourth_end_time) }}</td>
  1100. <td>
  1101. <span v-if="setAdminUserES(item.fourth_creator?item.fourth_creator:item.fourth_creator) == ''">
  1102. {{getName(item.fourth_creator)}}
  1103. </span>
  1104. <span v-else>
  1105. <img style="height:30px;" :src="setAdminUserES(item.fourth_creator?item.fourth_creator:item.fourth_creator)" alt="" srcset="">
  1106. </span>
  1107. </td>
  1108. <td>是<br/></td>
  1109. <td>{{getTimeTwo(item.last_start_time) }} - {{getTimeTwo( item.last_end_time) }}</td>
  1110. <td>
  1111. <span v-if="setAdminUserES(item.last_creator?item.last_creator:item.last_creator) == ''">
  1112. {{getName(item.last_creator)}}
  1113. </span>
  1114. <span v-else>
  1115. <img style="height:30px;" :src="setAdminUserES(item.last_creator?item.last_creator:item.last_creator)" alt="" srcset="">
  1116. </span>
  1117. </td>
  1118. <td>是<br/></td>
  1119. </tr>
  1120. </table>
  1121. </div>
  1122. </div>
  1123. </div>
  1124. </div>
  1125. <div hidden="hiddenShowOne">
  1126. <div id="print-card-info_one" v-show="hiddenShowOne">
  1127. <div>
  1128. <h1 style="text-align: center;">物表消毒登记</h1>
  1129. <div>
  1130. <table border="1" style="text-align: center;margin: auto;border-collapse: collapse;">
  1131. <tr>
  1132. <td>消毒时间</td>
  1133. <td>消毒物品</td>
  1134. <td>500mg/l含氯制剂</td>
  1135. <td>负责人</td>
  1136. </tr>
  1137. <tr v-for="(item,index) in tableDataOne" :key="index">
  1138. <td>{{getTimes(item.record_date) }}</td>
  1139. <td>{{item.department}}</td>
  1140. <td>{{getTimeTwo( item.first_start_time)}}- {{getTimeTwo(item.first_end_time) }}</td>
  1141. <td>
  1142. <span v-if="setAdminUserES(item.first_creator?item.last_creator:item.first_creator) == ''">
  1143. {{getName(item.first_creator)}}
  1144. </span>
  1145. <span v-else>
  1146. <img style="height:30px;" :src="setAdminUserES(item.last_creator?item.last_creator:item.last_creator)" alt="" srcset="">
  1147. </span>
  1148. </td>
  1149. </tr>
  1150. </table>
  1151. </div>
  1152. </div>
  1153. </div>
  1154. </div>
  1155. <el-dialog
  1156. title="请选择版本"
  1157. :visible.sync="setEditDialog"
  1158. width="60%">
  1159. <span>
  1160. <el-radio v-model="air_way" label="1">版本一</el-radio>
  1161. <el-radio v-model="air_way" label="2">版本二</el-radio>
  1162. </span>
  1163. <span slot="footer" class="dialog-footer">
  1164. <el-button @click="setEditDialog = false">取 消</el-button>
  1165. <el-button type="primary" @click="saveSetObjectTable()">保 存</el-button>
  1166. </span>
  1167. </el-dialog>
  1168. <el-dialog
  1169. class="centerDialog"
  1170. width="1000px"
  1171. title="新增物表消毒表"
  1172. :visible.sync="newdialogFormVisible">
  1173. <el-form :model="form" ref="form" class="airForm" :rules="airRules">
  1174. <div style="width: 100%;">
  1175. <el-form-item label="创建日期" label-width="110px" required prop="record_date">
  1176. <el-date-picker
  1177. value-format="yyyy-MM-dd"
  1178. v-model="form.record_date"
  1179. type="date"
  1180. placeholder="选择日期时间">
  1181. </el-date-picker>
  1182. </el-form-item>
  1183. <el-form-item label="消毒物品" label-width="110px" required prop="department">
  1184. <el-select v-model="form.department" placeholder="请选择">
  1185. <el-option
  1186. v-for="(item,index) in disinfectionOfficeList"
  1187. :key="index"
  1188. :label="item.name"
  1189. :value="item.name">
  1190. </el-option>
  1191. </el-select>
  1192. </el-form-item>
  1193. </div>
  1194. <div class="form_title">
  1195. <span >
  1196. {{ form.department }}
  1197. </span>
  1198. </div>
  1199. <el-form-item label="消毒方式" label-width="110px">
  1200. <!-- <el-input v-model="form.first_disinfection_methods"></el-input> -->
  1201. <el-select v-model="form.first_disinfection_methods" placeholder="请选择">
  1202. <el-option
  1203. v-for="(item,index) in DisinfectionMode"
  1204. :key="index"
  1205. :label="item.name"
  1206. :value="item.name">
  1207. </el-option>
  1208. </el-select>
  1209. </el-form-item>
  1210. <el-form-item label="消毒液" label-width="110px">
  1211. <!-- <el-input v-model="form.first_disinfection_water"></el-input> -->
  1212. <el-select v-model="form.first_disinfection_water" placeholder="请选择">
  1213. <el-option
  1214. v-for="(item,index) in disInfectionWaterList"
  1215. :key="index"
  1216. :label="item.name"
  1217. :value="item.name">
  1218. </el-option>
  1219. </el-select>
  1220. </el-form-item>
  1221. <el-form-item label="消毒时间(h)" label-width="110px">
  1222. <el-input v-model="form.first_disinfection_time " :disabled="true"></el-input>
  1223. </el-form-item>
  1224. <el-form-item label="开始时间" label-width="110px">
  1225. <el-date-picker
  1226. type="datetime"
  1227. format="yyyy-MM-dd HH:mm"
  1228. value-format="yyyy-MM-dd HH:mm"
  1229. placeholder="选择时间"
  1230. v-model="form.first_start_time"
  1231. @change="firststartime"
  1232. style="width:100%;"
  1233. ></el-date-picker>
  1234. </el-form-item>
  1235. <el-form-item label="结束时间" label-width="110px">
  1236. <el-date-picker
  1237. type="datetime"
  1238. format="yyyy-MM-dd HH:mm"
  1239. value-format="yyyy-MM-dd HH:mm"
  1240. placeholder="选择时间"
  1241. v-model="form.first_end_time"
  1242. @change="firstendtime"
  1243. style="width:100%;"
  1244. ></el-date-picker>
  1245. </el-form-item>
  1246. <el-form-item label="检测合格" label-width="110px">
  1247. <div>
  1248. <el-radio v-model="form.first_is_check" label="1">是</el-radio>
  1249. <el-radio v-model="form.first_is_check" label="2">否</el-radio>
  1250. </div>
  1251. </el-form-item>
  1252. <el-form-item label="修改标志" label-width="110px" >
  1253. <el-select v-model="form.first_modifications" placeholder="请选择">
  1254. <el-option
  1255. v-for="(item,index) in options"
  1256. :key="index"
  1257. :label="item.name"
  1258. :value="item.id">
  1259. </el-option>
  1260. </el-select>
  1261. </el-form-item>
  1262. <el-form-item label="责任人" label-width="110px">
  1263. <el-select v-model="form.first_creator" placeholder="请选择">
  1264. <el-option
  1265. v-for="(item,index) in docList"
  1266. :key="index"
  1267. :label="item.user_name"
  1268. :value="item.admin_user_id">
  1269. </el-option>
  1270. </el-select>
  1271. </el-form-item>
  1272. </el-form>
  1273. <div slot="footer" class="dialog-footer">
  1274. <el-button @click="newdialogFormVisible = false">取 消</el-button>
  1275. <el-button type="primary" @click="saveObjectWayTableDisinfect('form')">保 存</el-button>
  1276. </div>
  1277. </el-dialog>
  1278. <el-dialog
  1279. class="centerDialog"
  1280. width="1000px"
  1281. title="编辑物表消毒表"
  1282. :visible.sync="editnewdialogFormVisible">
  1283. <el-form :model="form" ref="form" class="airForm" :rules="airRules">
  1284. <div style="width: 100%;">
  1285. <el-form-item label="创建日期" label-width="110px" required prop="record_date">
  1286. <el-date-picker
  1287. value-format="yyyy-MM-dd"
  1288. v-model="form.record_date"
  1289. type="date"
  1290. placeholder="选择日期时间">
  1291. </el-date-picker>
  1292. </el-form-item>
  1293. <el-form-item label="消毒物品" label-width="110px" required prop="department">
  1294. <el-select v-model="form.department" placeholder="请选择">
  1295. <el-option
  1296. v-for="(item,index) in disinfectionOfficeList"
  1297. :key="index"
  1298. :label="item.name"
  1299. :value="item.name">
  1300. </el-option>
  1301. </el-select>
  1302. </el-form-item>
  1303. </div>
  1304. <div class="form_title">
  1305. <span >
  1306. {{ form.department }}
  1307. </span>
  1308. </div>
  1309. <el-form-item label="消毒方式" label-width="110px">
  1310. <!-- <el-input v-model="form.first_disinfection_methods"></el-input> -->
  1311. <el-select v-model="form.first_disinfection_methods" placeholder="请选择">
  1312. <el-option
  1313. v-for="(item,index) in DisinfectionMode"
  1314. :key="index"
  1315. :label="item.name"
  1316. :value="item.name">
  1317. </el-option>
  1318. </el-select>
  1319. </el-form-item>
  1320. <el-form-item label="消毒液" label-width="110px">
  1321. <!-- <el-input v-model="form.first_disinfection_water"></el-input> -->
  1322. <el-select v-model="form.first_disinfection_water" placeholder="请选择">
  1323. <el-option
  1324. v-for="(item,index) in disInfectionWaterList"
  1325. :key="index"
  1326. :label="item.name"
  1327. :value="item.name">
  1328. </el-option>
  1329. </el-select>
  1330. </el-form-item>
  1331. <el-form-item label="消毒时间(h)" label-width="110px">
  1332. <el-input v-model="form.first_disinfection_time " :disabled="true"></el-input>
  1333. </el-form-item>
  1334. <el-form-item label="开始时间" label-width="110px">
  1335. <el-date-picker
  1336. type="datetime"
  1337. format="yyyy-MM-dd HH:mm"
  1338. value-format="yyyy-MM-dd HH:mm"
  1339. placeholder="选择时间"
  1340. v-model="form.first_start_time"
  1341. @change="firststartime"
  1342. style="width:100%;"
  1343. ></el-date-picker>
  1344. </el-form-item>
  1345. <el-form-item label="结束时间" label-width="110px">
  1346. <el-date-picker
  1347. type="datetime"
  1348. format="yyyy-MM-dd HH:mm"
  1349. value-format="yyyy-MM-dd HH:mm"
  1350. placeholder="选择时间"
  1351. v-model="form.first_end_time"
  1352. @change="firstendtime"
  1353. style="width:100%;"
  1354. ></el-date-picker>
  1355. </el-form-item>
  1356. <el-form-item label="检测合格" label-width="110px">
  1357. <div>
  1358. <el-radio v-model="form.first_is_check" label="1">是</el-radio>
  1359. <el-radio v-model="form.first_is_check" label="2">否</el-radio>
  1360. </div>
  1361. </el-form-item>
  1362. <el-form-item label="修改标志" label-width="110px" >
  1363. <el-select v-model="form.first_modifications" placeholder="请选择">
  1364. <el-option
  1365. v-for="(item,index) in options"
  1366. :key="index"
  1367. :label="item.name"
  1368. :value="item.id">
  1369. </el-option>
  1370. </el-select>
  1371. </el-form-item>
  1372. <el-form-item label="责任人" label-width="110px">
  1373. <el-select v-model="form.first_creator" placeholder="请选择">
  1374. <el-option
  1375. v-for="(item,index) in docList"
  1376. :key="index"
  1377. :label="item.user_name"
  1378. :value="item.admin_user_id">
  1379. </el-option>
  1380. </el-select>
  1381. </el-form-item>
  1382. </el-form>
  1383. <div slot="footer" class="dialog-footer">
  1384. <el-button @click="editnewdialogFormVisible = false">取 消</el-button>
  1385. <el-button type="primary" @click="updateObjectWayTableDisinfect('form')">保 存</el-button>
  1386. </div>
  1387. </el-dialog>
  1388. </div>
  1389. </div>
  1390. </template>
  1391. <script>
  1392. import print from "print-js";
  1393. import BreadCrumb from '@/xt_pages/components/bread-crumb'
  1394. import { getAllDoctorList,
  1395. saveObjectTableDisinfect,
  1396. getObjectTableDisInfectList,
  1397. getObjectTableDisInfectByIdList,
  1398. updateObjectTableDisinfect,
  1399. deleteObjectTableDisinfect,
  1400. setObjectDisinfect,
  1401. getObjectWayDisinfect,
  1402. saveObjectWayTableDisinfect,
  1403. getObjectTableDisInfectWayList,
  1404. getObjectTableDisInfectWayByIdList,
  1405. updateObjectWayTableDisinfect,
  1406. deleteObjectTableWayDisinfect
  1407. } from "@/api/device"
  1408. import { getManageMentDataConfig } from '@/utils/data'
  1409. import { uParseTime } from '@/utils/tools'
  1410. const moment = require('moment')
  1411. export default {
  1412. name: 'airDisinfect',
  1413. components: {
  1414. BreadCrumb
  1415. },
  1416. data() {
  1417. return {
  1418. crumbs: [
  1419. { path: false, name: '院感管理' },
  1420. { path: false, name: '透析室物表消毒记录表' }
  1421. ],
  1422. dialogFormVisible:false,
  1423. editDialogFormVisible:false,
  1424. newdialogFormVisible:false,
  1425. editnewdialogFormVisible:false,
  1426. setEditDialog:false,
  1427. startvalue:'',
  1428. endvalue:'',
  1429. form: {
  1430. id:0,
  1431. record_date:moment(new Date()).add('year',0).format("YYYY-MM-DD"), //创建日期
  1432. first_disinfection_water:"",// 消毒液
  1433. first_disinfection_methods:"",//消毒方式
  1434. first_disinfection_time:"",//消毒时长
  1435. first_start_time:moment(new Date()).format('YYYY-MM-DD HH:mm'),//开始时间
  1436. first_end_time:moment(new Date()).format('YYYY-MM-DD HH:mm'),//结束时间
  1437. first_total_time:"",//累计时间
  1438. first_is_check:"1",//检验合格
  1439. first_modifications:"",//修改标志
  1440. first_creator:this.$store.getters.xt_user.user.id,//第一责任人
  1441. sencond_disinfection_water:"",// 消毒液
  1442. sencond_disinfection_methods:"",//消毒方式
  1443. sencond_disinfection_time:"",//消毒时长
  1444. sencond_start_time:moment(new Date()).format('YYYY-MM-DD HH:mm'),//开始时间
  1445. sencond_end_time:moment(new Date()).format('YYYY-MM-DD HH:mm'),//结束时间
  1446. sencond_total_time:"",//累计时间
  1447. sencond_is_check:"1",//检验合格
  1448. sencond_modifications:"",//修改标志
  1449. sencond_creator:this.$store.getters.xt_user.user.id,//第一责任人
  1450. third_disinfection_water:"",// 消毒液
  1451. third_disinfection_methods:"",//消毒方式
  1452. third_disinfection_time:"",//消毒时长
  1453. third_start_time:moment(new Date()).format('YYYY-MM-DD HH:mm'),//开始时间
  1454. third_end_time:moment(new Date()).format('YYYY-MM-DD HH:mm'),//结束时间
  1455. third_total_time:"",//累计时间
  1456. third_is_check:"1",//检验合格
  1457. third_modifications:"",//修改标志
  1458. third_creator:this.$store.getters.xt_user.user.id,//第一责任人
  1459. fourth_disinfection_water:"",// 消毒液
  1460. fourth_disinfection_methods:"",//消毒方式
  1461. fourth_disinfection_time:"",//消毒时长
  1462. fourth_start_time:moment(new Date()).format('YYYY-MM-DD HH:mm'),//开始时间
  1463. fourth_end_time:moment(new Date()).format('YYYY-MM-DD HH:mm'),//结束时间
  1464. fourth_total_time:"",//累计时间
  1465. fourth_is_check:"1",//检验合格
  1466. fourth_modifications:"",//修改标志
  1467. fourth_creator:this.$store.getters.xt_user.user.id,//第一责任人
  1468. last_disinfection_water:"",// 消毒液
  1469. last_disinfection_methods:"",//消毒方式
  1470. last_disinfection_time:"",//消毒时长
  1471. last_start_time:moment(new Date()).format('YYYY-MM-DD HH:mm'),//开始时间
  1472. last_end_time:moment(new Date()).format('YYYY-MM-DD HH:mm'),//结束时间
  1473. last_total_time:"",//累计时间
  1474. last_is_check:"1",//检验合格
  1475. last_modifications:"",//修改标志
  1476. last_creator:this.$store.getters.xt_user.user.id,//第一责任人
  1477. department:"",
  1478. storey:"",
  1479. },
  1480. // value1:'',
  1481. docList:[],
  1482. options:[
  1483. {id:1,name:"正常"},
  1484. {id:2,name:"撤销"}
  1485. ],
  1486. airRules: {
  1487. created_time:[{required:true,message:"请选择创建时间",trigger:"blur"}],
  1488. start_time:[{required:true,message:"请选择开始时间",trigger:"blur"}],
  1489. end_time:[{required:true,message:"请选择结束时间",trigger:"blur"}]
  1490. },
  1491. limit:10,
  1492. page:1,
  1493. total:0,
  1494. tableData: [],
  1495. hiddenShow:false,
  1496. disInfectionWaterList:[
  1497. // { id: 1, name: "0.22%季铵盐" },
  1498. // { id: 2, name: "500mg/l含氯消毒剂" },
  1499. // { id: 3, name: "1000mg/l含氯消毒剂" },
  1500. // { id: 4, name: "1500mg/l含氯消毒剂" },
  1501. // { id: 5, name: "消毒湿巾" },
  1502. // { id:6, name:"75%酒精"}
  1503. ],
  1504. DisinfectionMode: [
  1505. // { id: 1, name: "擦拭" },
  1506. // { id: 2, name: "浸泡" },
  1507. // { id: 3, name: "喷洒" }
  1508. ],
  1509. operators: [],
  1510. operatorMaps:{},
  1511. setEditDialog:false,
  1512. air_way:"2",
  1513. disinfectionOfficeList:[],
  1514. tableDataOne:[],
  1515. hiddenShowOne:false,
  1516. art_way_one:0,
  1517. storeyList:[],
  1518. storey:""
  1519. }
  1520. },
  1521. created(){
  1522. var disinfection_fluid = getManageMentDataConfig('management', 'disinfection_fluid')
  1523. for(let i=0;i<disinfection_fluid.length;i++){
  1524. this.disInfectionWaterList.push(disinfection_fluid[i])
  1525. }
  1526. var disinfection_methods = getManageMentDataConfig('management', 'disinfection_methods')
  1527. for(let i=0;i<disinfection_methods.length;i++){
  1528. this.DisinfectionMode.push(disinfection_methods[i])
  1529. }
  1530. var disinfection_offices = getManageMentDataConfig('management', 'disinfection_object')
  1531. for(let i=0;i<disinfection_offices.length;i++){
  1532. this.disinfectionOfficeList.push(disinfection_offices[i])
  1533. }
  1534. var storey = getManageMentDataConfig('management', 'storey')
  1535. for(let i=0;i<storey.length;i++){
  1536. this.storeyList.push(storey[i])
  1537. }
  1538. this.getAllDoctorList()
  1539. this.getObjectTableDisInfectList()
  1540. this.getObjectTableDisInfectWayList()
  1541. this.getObjectWayDisinfect()
  1542. },
  1543. computed:{
  1544. firstdisinfection_time (){
  1545. const firststart= Date.parse(new Date(this.form.first_start_time))
  1546. console.log('开始时间',firststart);
  1547. const firstend= Date.parse(new Date(this.form.first_end_time))
  1548. console.log('结束时间',firstend);
  1549. const time_interval = ((firstend - firststart)/(60*60*1000)).toFixed(1)
  1550. console.log('结束时间',time_interval,Math.floor((firstend - firststart)/(60*60*1000)).toFixed(1));
  1551. return time_interval
  1552. },
  1553. senconddisinfection_time (){
  1554. const sencondstart= Date.parse(new Date(this.form.sencond_start_time))
  1555. const sencondend= Date.parse(new Date(this.form.sencond_end_time))
  1556. const time_interval = ((sencondend - sencondstart)/(60*60*1000)).toFixed(1)
  1557. return time_interval
  1558. },
  1559. thirddisinfection_time (){
  1560. const thirdstart= Date.parse(new Date(this.form.third_start_time))
  1561. const thirdend= Date.parse(new Date(this.form.third_end_time))
  1562. const time_interval = ((thirdend - thirdstart)/(60*60*1000)).toFixed(1)
  1563. return time_interval
  1564. },
  1565. fourthdisinfection_time (){
  1566. const fourthstart= Date.parse(new Date(this.form.fourth_start_time))
  1567. const fourthend= Date.parse(new Date(this.form.fourth_end_time))
  1568. const time_interval = ((fourthend - fourthstart)/(60*60*1000)).toFixed(1)
  1569. return time_interval
  1570. },
  1571. lastdisinfection_time (){
  1572. const laststart= Date.parse(new Date(this.form.last_start_time))
  1573. const lastend= Date.parse(new Date(this.form.last_end_time))
  1574. const time_interval = ((lastend - laststart)/(60*60*1000)).toFixed(1)
  1575. return time_interval
  1576. },
  1577. },
  1578. methods:{
  1579. changeStore(val){
  1580. this.getObjectTableDisInfectList()
  1581. },
  1582. printCard() {
  1583. this.hiddenShow = true;
  1584. var ptime = Math.round(new Date().getTime() / 1000);
  1585. this.print_time = uParseTime(ptime, "{y}年{m}月{d}日");
  1586. const style =
  1587. "@media print { .print_main_content { background-color: white; width:960px; margin:0 auto; padding: 0 0 20px 0;font-size:15px } .print_main_content .order_title { text-align: center; font-size: 15px; line-height: 50px;} .print_main_content table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px;font-size:15px } .print_main_content table tbody tr td { border: 1px solid; text-align: center; padding: 10px 8px;font-size:15px } .td_proj_title { font-size: 15px; line-height: 25px;} .td_proj_content { font-size: 15px; line-height: 25px; } .td_align_left { text-align: left; } .print_footnote_panel { font-size: 15px; line-height: 40px; } .print_footnote_panel .proj { display: inline-block; width: 49%; } .print_footnote_panel .proj}";
  1588. setTimeout(() => {
  1589. printJS({
  1590. printable: "print-card-info",
  1591. type: "html",
  1592. style: style,
  1593. scanStyles: false
  1594. });
  1595. }, 1);
  1596. },
  1597. printCardOne(){
  1598. this.hiddenShowOne = true;
  1599. var ptime = Math.round(new Date().getTime() / 1000);
  1600. this.print_time = uParseTime(ptime, "{y}年{m}月{d}日");
  1601. const style =
  1602. "@media print { .print_main_content { background-color: white; width:960px; margin:0 auto; padding: 0 0 20px 0;font-size:15px } .print_main_content .order_title { text-align: center; font-size: 15px; line-height: 50px;} .print_main_content table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px;font-size:15px } .print_main_content table tbody tr td { border: 1px solid; text-align: center; padding: 10px 8px;font-size:15px } .td_proj_title { font-size: 15px; line-height: 25px;} .td_proj_content { font-size: 15px; line-height: 25px; } .td_align_left { text-align: left; } .print_footnote_panel { font-size: 15px; line-height: 40px; } .print_footnote_panel .proj { display: inline-block; width: 49%; } .print_footnote_panel .proj}";
  1603. setTimeout(() => {
  1604. printJS({
  1605. printable: "print-card-info_one",
  1606. type: "html",
  1607. style: style,
  1608. scanStyles: false
  1609. });
  1610. }, 1);
  1611. },
  1612. getTimes(time) {
  1613. return uParseTime(time, '{y}-{m}-{d}')
  1614. },
  1615. getTimeTwo(time) {
  1616. return uParseTime(time, '{h}:{i}')
  1617. },
  1618. getTimeThree(time) {
  1619. return uParseTime(time, '{y}-{m}-{d} {h}:{i}')
  1620. },
  1621. getName(creator){
  1622. var name = ""
  1623. for(let i=0;i<this.docList.length;i++){
  1624. if(creator == this.docList[i].admin_user_id){
  1625. name = this.docList[i].user_name
  1626. }
  1627. }
  1628. return name
  1629. },
  1630. getAllDoctorList(){
  1631. getAllDoctorList().then(response=>{
  1632. if(response.data.state == 1){
  1633. var list = response.data.data.list
  1634. console.log("list222222",list)
  1635. this.docList = list
  1636. this.operators = response.data.data.operators
  1637. }
  1638. })
  1639. },
  1640. saveObjectTableDisinfect(formName){
  1641. this.$refs[formName].validate((valid=>{
  1642. if(valid){
  1643. if(this.form.first_is_check!=""){
  1644. this.form.first_is_check = parseInt(this.form.first_is_check)
  1645. }else{
  1646. this.form.first_is_check=0
  1647. }
  1648. if(this.form.sencond_is_check!=""){
  1649. this.form.sencond_is_check = parseInt(this.form.sencond_is_check)
  1650. }else{
  1651. this.form.sencond_is_check=0
  1652. }
  1653. if(this.form.third_is_check!=""){
  1654. this.form.third_is_check = parseInt(this.form.third_is_check)
  1655. }else{
  1656. this.form.third_is_check = 0
  1657. }
  1658. if(this.form.fourth_is_check!=""){
  1659. this.form.fourth_is_check = parseInt(this.form.fourth_is_check)
  1660. }else{
  1661. this.form.fourth_is_check =0
  1662. }
  1663. if(this.form.last_is_check!=""){
  1664. this.form.last_is_check = parseInt(this.form.last_is_check)
  1665. }else{
  1666. this.form.last_is_check = 0
  1667. }
  1668. if(this.form.first_modifications!=""){
  1669. this.form.first_modifications = parseInt(this.form.first_modifications)
  1670. }else{
  1671. this.form.first_modifications=0
  1672. }
  1673. if(this.form.sencond_modifications!=""){
  1674. this.form.sencond_modifications = parseInt(this.form.sencond_modifications)
  1675. }else{
  1676. this.form.sencond_modifications=0
  1677. }
  1678. if(this.form.third_modifications!=""){
  1679. this.form.third_modifications = parseInt(this.form.third_modifications)
  1680. }else{
  1681. this.form.third_modifications = 0
  1682. }
  1683. if(this.form.fourth_modifications!=""){
  1684. this.form.fourth_modifications = parseInt(this.form.fourth_modifications)
  1685. }else{
  1686. this.form.fourth_modifications =0
  1687. }
  1688. if(this.form.last_modifications!=""){
  1689. this.form.last_modifications = parseInt(this.form.last_modifications)
  1690. }else{
  1691. this.form.last_modifications = 0
  1692. }
  1693. if(this.form.first_start_time == null){
  1694. this.form.first_start_time = ""
  1695. }
  1696. if(this.form.first_end_time == null){
  1697. this.form.first_end_time = ""
  1698. }
  1699. if(this.form.sencond_start_time == null){
  1700. this.form.sencond_start_time = ""
  1701. }
  1702. if(this.form.sencond_end_time == null){
  1703. this.form.sencond_end_time = ""
  1704. }
  1705. if(this.form.third_start_time == null){
  1706. this.form.third_start_time = ""
  1707. }
  1708. if(this.form.third_end_time == null){
  1709. this.form.third_end_time = ""
  1710. }
  1711. if(this.form.fourth_start_time == null){
  1712. this.form.fourth_start_time = ""
  1713. }
  1714. if(this.form.fourth_end_time == null){
  1715. this.form.fourth_end_time = ""
  1716. }
  1717. if(this.form.last_start_time == null){
  1718. this.form.last_start_time = ""
  1719. }
  1720. if(this.form.last_end_time == null){
  1721. this.form.last_end_time = ""
  1722. }
  1723. console.log("param23333333333333333",this.form)
  1724. saveObjectTableDisinfect(this.form).then(response=>{
  1725. if(response.data.state == 1){
  1726. var objectDisinfect = response.data.data.objectDisinfect
  1727. this.$message.success("保存成功!")
  1728. this.dialogFormVisible = false
  1729. this.getObjectTableDisInfectList()
  1730. }
  1731. })
  1732. }
  1733. }))
  1734. },
  1735. getObjectTableDisInfectList(){
  1736. var params = {
  1737. start_time:this.startvalue,
  1738. end_time:this.endvalue,
  1739. limit:this.limit,
  1740. page:this.page,
  1741. storey:this.storey,
  1742. }
  1743. console.log("storey",params)
  1744. getObjectTableDisInfectList(params).then(response=>{
  1745. if(response.data.state == 1){
  1746. var list = response.data.data.list
  1747. this.tableData = list
  1748. this.total = response.data.data.total
  1749. }
  1750. })
  1751. },
  1752. handleEdit(id){
  1753. getObjectTableDisInfectByIdList(id).then(response=>{
  1754. if(response.data.state == 1){
  1755. var list = response.data.data.list
  1756. console.log("list",list)
  1757. this.form.id = list.id
  1758. this.form.record_date = this.getTimes(list.record_date)
  1759. this.form.first_disinfection_water = list.first_disinfection_water? list.first_disinfection_water:""
  1760. this.form.first_disinfection_methods = list.first_disinfection_methods? list.first_disinfection_methods:""
  1761. this.form.first_disinfection_time = list.first_disinfection_time?list.first_disinfection_time:""
  1762. this.form.first_start_time = this.getTimeThree(list.first_start_time)
  1763. this.form.first_end_time = this.getTimeThree(list.first_end_time)
  1764. this.form.first_total_time = list.first_total_time?list.first_total_time:""
  1765. this.form.first_is_check = list.first_is_check.toString()
  1766. this.form.first_modifications = list.first_modifications?list.first_modifications:""
  1767. this.form.first_creator = list.first_creator
  1768. this.form.sencond_disinfection_water = list.sencond_disinfection_water?list.sencond_disinfection_water:""
  1769. this.form.sencond_disinfection_methods = list.sencond_disinfection_methods?list.sencond_disinfection_methods:""
  1770. this.form.sencond_disinfection_time = list.sencond_disinfection_time?list.sencond_disinfection_time:""
  1771. this.form.sencond_start_time = this.getTimeThree(list.sencond_start_time)
  1772. this.form.sencond_end_time = this.getTimeThree(list.sencond_end_time)
  1773. this.form.sencond_total_time = list.sencond_total_time?list.sencond_total_time:""
  1774. this.form.sencond_is_check = list.sencond_is_check.toString()
  1775. this.form.sencond_modifications = list.sencond_modifications?list.sencond_modifications:""
  1776. this.form.sencond_creator = list.sencond_creator
  1777. this.form.third_disinfection_water = list.third_disinfection_water?list.third_disinfection_water:""
  1778. this.form.third_disinfection_methods = list.third_disinfection_methods?list.third_disinfection_methods:""
  1779. this.form.third_disinfection_time = list.third_disinfection_time?list.third_disinfection_time:""
  1780. this.form.third_start_time =this.getTimeThree(list.third_start_time)
  1781. this.form.third_end_time = this.getTimeThree(list.third_end_time)
  1782. this.form.third_total_time = list.third_total_time?list.third_total_time:""
  1783. this.form.third_is_check = list.third_is_check.toString()
  1784. this.form.third_modifications = list.third_modifications?list.third_modifications:""
  1785. this.form.third_creator = list.third_creator
  1786. this.form.fourth_disinfection_water = list.fourth_disinfection_water?list.fourth_disinfection_water:""
  1787. this.form.fourth_disinfection_methods = list.fourth_disinfection_methods?list.fourth_disinfection_methods:""
  1788. this.form.fourth_disinfection_time = list.fourth_disinfection_time?list.fourth_disinfection_time:""
  1789. this.form.fourth_start_time =this.getTimeThree(list.fourth_start_time)
  1790. this.form.fourth_end_time = this.getTimeThree(list.fourth_end_time)
  1791. this.form.fourth_total_time = list.fourth_total_time? list.fourth_total_time:""
  1792. this.form.fourth_is_check = list.fourth_is_check.toString()
  1793. this.form.fourth_modifications = list.fourth_modifications?list.fourth_modifications:""
  1794. this.form.fourth_creator = list.fourth_creator
  1795. this.form.last_start_time = this.getTimeThree(list.last_start_time)
  1796. this.form.last_end_time = this.getTimeThree(list.last_end_time)
  1797. this.form.last_total_time = list.last_total_time?list.last_total_time:""
  1798. this.form.last_is_check = list.last_is_check.toString()
  1799. this.form.last_modifications = list.last_modifications?list.last_modifications:""
  1800. this.form.last_creator = list.last_creator
  1801. this.form.last_disinfection_water = list.last_disinfection_water?list.last_disinfection_water:""
  1802. this.form.last_disinfection_methods = list.last_disinfection_methods?list.last_disinfection_methods:""
  1803. this.form.last_disinfection_time = list.last_disinfection_time?list.last_disinfection_time:""
  1804. this.form.storey = list.storey
  1805. this.editDialogFormVisible = true
  1806. }
  1807. })
  1808. },
  1809. handleEditOne(id){
  1810. getObjectTableDisInfectWayByIdList(id).then(response=>{
  1811. var list = response.data.data.list
  1812. console.log("list",list)
  1813. this.form.id = list.id
  1814. this.form.record_date = this.getTimes(list.record_date)
  1815. this.form.first_disinfection_water = list.first_disinfection_water? list.first_disinfection_water:""
  1816. this.form.first_disinfection_methods = list.first_disinfection_methods? list.first_disinfection_methods:""
  1817. this.form.first_disinfection_time = list.first_disinfection_time?list.first_disinfection_time:""
  1818. this.form.first_start_time = this.getTimeThree(list.first_start_time)
  1819. this.form.first_end_time = this.getTimeThree(list.first_end_time)
  1820. this.form.first_total_time = list.first_total_time?list.first_total_time:""
  1821. this.form.first_is_check = list.first_is_check.toString()
  1822. this.form.first_modifications = list.first_modifications?list.first_modifications:""
  1823. this.form.first_creator = list.first_creator
  1824. this.form.last_start_time = this.getTimeThree(list.last_start_time)
  1825. this.form.last_end_time = this.getTimeThree(list.last_end_time)
  1826. this.form.last_total_time = list.last_total_time?list.last_total_time:""
  1827. this.form.last_is_check = list.last_is_check.toString()
  1828. this.form.last_modifications = list.last_modifications?list.last_modifications:""
  1829. this.form.last_creator = list.last_creator
  1830. this.form.last_disinfection_water = list.last_disinfection_water?list.last_disinfection_water:""
  1831. this.form.last_disinfection_methods = list.last_disinfection_methods?list.last_disinfection_methods:""
  1832. this.form.last_disinfection_time = list.last_disinfection_time?list.last_disinfection_time:""
  1833. this.form.department = list.department
  1834. this.editnewdialogFormVisible = true
  1835. })
  1836. },
  1837. updateObjectTableDisinfect(formName){
  1838. this.$refs[formName].validate((valid=>{
  1839. if(valid){
  1840. if(this.form.first_is_check!=""){
  1841. this.form.first_is_check = parseInt(this.form.first_is_check)
  1842. }else{
  1843. this.form.first_is_check=0
  1844. }
  1845. if(this.form.sencond_is_check!=""){
  1846. this.form.sencond_is_check = parseInt(this.form.sencond_is_check)
  1847. }else{
  1848. this.form.sencond_is_check=0
  1849. }
  1850. if(this.form.third_is_check!=""){
  1851. this.form.third_is_check = parseInt(this.form.third_is_check)
  1852. }else{
  1853. this.form.third_is_check = 0
  1854. }
  1855. if(this.form.fourth_is_check!=""){
  1856. this.form.fourth_is_check = parseInt(this.form.fourth_is_check)
  1857. }else{
  1858. this.form.fourth_is_check =0
  1859. }
  1860. if(this.form.last_is_check!=""){
  1861. this.form.last_is_check = parseInt(this.form.last_is_check)
  1862. }else{
  1863. this.form.last_is_check = 0
  1864. }
  1865. if(this.form.first_modifications!=""){
  1866. this.form.first_modifications = parseInt(this.form.first_modifications)
  1867. }else{
  1868. this.form.first_modifications=0
  1869. }
  1870. if(this.form.sencond_modifications!=""){
  1871. this.form.sencond_modifications = parseInt(this.form.sencond_modifications)
  1872. }else{
  1873. this.form.sencond_modifications=0
  1874. }
  1875. if(this.form.third_modifications!=""){
  1876. this.form.third_modifications = parseInt(this.form.third_modifications)
  1877. }else{
  1878. this.form.third_modifications = 0
  1879. }
  1880. if(this.form.fourth_modifications!=""){
  1881. this.form.fourth_modifications = parseInt(this.form.fourth_modifications)
  1882. }else{
  1883. this.form.fourth_modifications =0
  1884. }
  1885. if(this.form.last_modifications!=""){
  1886. this.form.last_modifications = parseInt(this.form.last_modifications)
  1887. }else{
  1888. this.form.last_modifications = 0
  1889. }
  1890. console.log("hhahdhfhahdf",this.form)
  1891. updateObjectTableDisinfect(this.form).then(response=>{
  1892. if(response.data.state == 1){
  1893. var objectDisinfect = response.data.data.objectDisinfect
  1894. this.$message.success("保存成功!")
  1895. this.editDialogFormVisible = false
  1896. this.getObjectTableDisInfectList()
  1897. }
  1898. })
  1899. }
  1900. }))
  1901. },
  1902. updateObjectWayTableDisinfect(formName){
  1903. this.$refs[formName].validate((valid=>{
  1904. if(valid){
  1905. if(this.form.first_is_check!=""){
  1906. this.form.first_is_check = parseInt(this.form.first_is_check)
  1907. }else{
  1908. this.form.first_is_check=0
  1909. }
  1910. if(this.form.last_is_check!=""){
  1911. this.form.last_is_check = parseInt(this.form.last_is_check)
  1912. }else{
  1913. this.form.last_is_check = 0
  1914. }
  1915. if(this.form.first_modifications!=""){
  1916. this.form.first_modifications = parseInt(this.form.first_modifications)
  1917. }else{
  1918. this.form.first_modifications=0
  1919. }
  1920. if(this.form.last_modifications!=""){
  1921. this.form.last_modifications = parseInt(this.form.last_modifications)
  1922. }else{
  1923. this.form.last_modifications = 0
  1924. }
  1925. console.log("hhahdhfhahdf",this.form)
  1926. updateObjectWayTableDisinfect(this.form).then(response=>{
  1927. if(response.data.state == 1){
  1928. var objectDisinfect = response.data.data.objectDisinfect
  1929. this.$message.success("保存成功!")
  1930. this.editnewdialogFormVisible = false
  1931. this.getObjectTableDisInfectWayList()
  1932. }
  1933. })
  1934. }
  1935. }))
  1936. },
  1937. handleDelete(id){
  1938. deleteObjectTableDisinfect(id).then(response=>{
  1939. if(response.data.state ==1){
  1940. var msg = response.data.data.msg
  1941. this.$message.success("删除成功!")
  1942. this.getObjectTableDisInfectList()
  1943. }
  1944. })
  1945. },
  1946. handleDeleteOne(id){
  1947. deleteObjectTableWayDisinfect(id).then(response=>{
  1948. if(response.data.state ==1){
  1949. var msg = response.data.data.msg
  1950. this.$message.success("删除成功!")
  1951. this.getObjectTableDisInfectWayList()
  1952. }
  1953. })
  1954. },
  1955. firststartime(val){
  1956. this.form.first_start_time = val
  1957. this.form.first_disinfection_time = this.firstdisinfection_time
  1958. },
  1959. firstendtime(val){
  1960. this.form.first_disinfection_time = this.firstdisinfection_time
  1961. this.form.first_end_time = val
  1962. },
  1963. sencondstarttime(val){
  1964. this.form.sencond_start_time = val
  1965. this.form.sencond_disinfection_time = this.senconddisinfection_time
  1966. },
  1967. sencondendtime(val){
  1968. this.form.sencond_end_time = val
  1969. this.form.sencond_disinfection_time = this.senconddisinfection_time
  1970. },
  1971. thirdstarttime(val){
  1972. this.form.third_start_time = val
  1973. this.form.third_disinfection_time = this.thirddisinfection_time
  1974. },
  1975. thirdendtime(val){
  1976. this.form.third_end_time = val
  1977. this.form.third_disinfection_time = this.thirddisinfection_time
  1978. },
  1979. fourthstarttime(val){
  1980. this.form.fourth_start_time = val
  1981. this.form.fourth_disinfection_time = this.fourthdisinfection_time
  1982. },
  1983. fourthendtime(val){
  1984. this.form.fourth_end_time = val
  1985. this.form.fourth_disinfection_time = this.fourthdisinfection_time
  1986. },
  1987. laststarttime(val){
  1988. this.form.last_start_time = val
  1989. this.form.last_disinfection_time = this.lastdisinfection_time
  1990. },
  1991. lastendtime(val){
  1992. this.form.last_end_time = val
  1993. this.form.last_disinfection_time = this.lastdisinfection_time
  1994. },
  1995. setAdminUserES(id) {
  1996. if (id === 0) {
  1997. return ''
  1998. }
  1999. var user_name = ""
  2000. for(let i=0;i<this.operators.length;i++){
  2001. if(id == this.operators[i].admin_user_id){
  2002. user_name = this.operators[i].url
  2003. }
  2004. }
  2005. return user_name
  2006. },
  2007. handleSizeChange(val) {
  2008. this.limit = val;
  2009. this.getObjectTableDisInfectList()
  2010. },
  2011. handleCurrentChange(val) {
  2012. this.page = val;
  2013. this.getObjectTableDisInfectList()
  2014. },
  2015. handleSizeChangeOne(val){
  2016. this.limit = val;
  2017. this.getObjectTableDisInfectWayList()
  2018. },
  2019. handleCurrentChangeOne(val){
  2020. this.page = val;
  2021. this.getObjectTableDisInfectWayList()
  2022. },
  2023. toSeach(){
  2024. this.getObjectTableDisInfectList()
  2025. this.getObjectTableDisInfectWayList()
  2026. },
  2027. toSetting(){
  2028. getObjectWayDisinfect().then(response=>{
  2029. if(response.data.state==1){
  2030. var objctSet = response.data.data.disinfect
  2031. if(objctSet!=undefined){
  2032. this.art_way_one = objctSet.air_way.toString()
  2033. }
  2034. this.setEditDialog = true
  2035. }
  2036. })
  2037. },
  2038. getObjectWayDisinfect(){
  2039. getObjectWayDisinfect().then(response=>{
  2040. if(response.data.state==1){
  2041. var objctSet = response.data.data.disinfect
  2042. if(objctSet!=undefined){
  2043. this.art_way_one = objctSet.air_way
  2044. }
  2045. console.log("art_way_one23232322323",this.art_way_one)
  2046. }
  2047. })
  2048. },
  2049. saveSetObjectTable(){
  2050. var params = {
  2051. air_way:parseInt(this.air_way)
  2052. }
  2053. setObjectDisinfect(params).then(response=>{
  2054. if(response.data.state==1){
  2055. var objctSet = response.data.data.objctSet
  2056. this.setEditDialog = false
  2057. this.getObjectWayDisinfect()
  2058. }
  2059. })
  2060. },
  2061. saveObjectWayTableDisinfect(formName){
  2062. this.$refs[formName].validate((valid)=>{
  2063. if(valid){
  2064. if(this.form.first_is_check!=""){
  2065. this.form.first_is_check = parseInt(this.form.first_is_check)
  2066. }else{
  2067. this.form.first_is_check=0
  2068. }
  2069. if(this.form.first_modifications!=""){
  2070. this.form.first_modifications = parseInt(this.form.first_modifications)
  2071. }else{
  2072. this.form.first_modifications=0
  2073. }
  2074. if(this.form.last_is_check!=""){
  2075. this.form.last_is_check = parseInt(this.form.last_is_check)
  2076. }else{
  2077. this.form.last_is_check = 0
  2078. }
  2079. if(this.form.last_modifications!=""){
  2080. this.form.last_modifications = parseInt(this.form.last_modifications)
  2081. }else{
  2082. this.form.last_modifications = 0
  2083. }
  2084. if(this.form.last_start_time == null){
  2085. this.form.last_start_time = ""
  2086. }
  2087. if(this.form.last_end_time == null){
  2088. this.form.last_end_time = ""
  2089. }
  2090. saveObjectWayTableDisinfect(this.form).then(response=>{
  2091. if(response.data.state ==1){
  2092. var objectDisinfect = response.data.data.objectDisinfect
  2093. this.$message.success("保存成功!")
  2094. this.newdialogFormVisible = false
  2095. this.getObjectTableDisInfectWayList()
  2096. }
  2097. })
  2098. }
  2099. })
  2100. },
  2101. getObjectTableDisInfectWayList(){
  2102. var params = {
  2103. start_time:this.startvalue,
  2104. end_time:this.endvalue,
  2105. limit:this.limit,
  2106. page:this.page,
  2107. }
  2108. getObjectTableDisInfectWayList(params).then(response=>{
  2109. if(response.data.state == 1){
  2110. var list = response.data.data.list
  2111. this.tableDataOne = list
  2112. this.total = response.data.data.total
  2113. }
  2114. })
  2115. }
  2116. }
  2117. }
  2118. </script>
  2119. <style lang="scss" scoped>
  2120. .airForm{
  2121. display: flex;
  2122. justify-content: space-between;
  2123. flex-wrap: wrap;
  2124. .el-form-item{
  2125. width:33%;
  2126. }
  2127. .el-date-editor.el-input, .el-date-editor.el-input__inner{
  2128. width: 200px;
  2129. }
  2130. .el-input{
  2131. width: 200px;
  2132. }
  2133. .el-select{
  2134. width: 200px;
  2135. }
  2136. .form_title{
  2137. width: 100%;
  2138. margin-bottom: 10px;
  2139. span{
  2140. font-size: 20px;
  2141. font-weight: bold;
  2142. }
  2143. }
  2144. }
  2145. </style>
  2146. <style lang="scss">
  2147. #main-contain{
  2148. .app-container{
  2149. // display: flex;
  2150. // justify-content: space-between;
  2151. // flex-wrap: wrap;
  2152. .tab_air{
  2153. // 斜杠表格
  2154. .el-table{
  2155. th{
  2156. padding: 0px !important;
  2157. }
  2158. tr:first-of-type th:first-of-type div.cell {
  2159. text-align: right;/*上边文字靠右*/
  2160. }
  2161. tr:last-of-type th:first-of-type div.cell {
  2162. text-align: left;/*下边文字靠左*/
  2163. }
  2164. tr:first-of-type th:first-of-type:before {
  2165. content: "";
  2166. position: absolute;
  2167. width: 1px;
  2168. height: 100px;/*斜线的长度*/
  2169. top: 0;
  2170. left: 75px;
  2171. background-color: rgb(172, 171, 171);
  2172. opacity: 1.2;
  2173. display: block;
  2174. transform: rotate(-47deg);/*调整斜线的角度*/
  2175. -webkit-transform-origin: top;
  2176. transform-origin: top;
  2177. }
  2178. tr:nth-of-type(2) th:nth-of-type(1):before{
  2179. content: "";
  2180. position: absolute;
  2181. width: 1px;
  2182. height: 80px;/*斜线的长度*/
  2183. top: 0;
  2184. left: 100px;
  2185. background-color: rgb(172, 171, 171);
  2186. opacity: 1.2;
  2187. display: block;
  2188. transform: rotate(-47deg);/*调整斜线的角度*/
  2189. -webkit-transform-origin: top;
  2190. transform-origin: top;
  2191. }
  2192. tr:last-of-type th:first-of-type:before {
  2193. content: "";
  2194. position: absolute;
  2195. width: 1px;
  2196. height: 80px;/*斜线的长度*/
  2197. top: 0;
  2198. left: 125px;
  2199. background-color: rgb(172, 171, 171);
  2200. opacity: 1.2;
  2201. display: block;
  2202. transform: rotate(-48deg);/*调整斜线的角度*/
  2203. -webkit-transform-origin: top;
  2204. transform-origin: top;
  2205. }
  2206. tr:nth-of-type(2) th:nth-of-type(1):after{
  2207. content: "";
  2208. position: absolute;
  2209. width: 1px;
  2210. height: 80px;/*斜线的长度*/
  2211. top: 8px;
  2212. left: 0px;
  2213. background-color: rgb(172, 171, 171);
  2214. opacity: 1.2;
  2215. display: block;
  2216. transform: rotate(-76deg);/*调整斜线的角度*/
  2217. -webkit-transform-origin: top;
  2218. transform-origin: top;
  2219. }
  2220. tr:last-of-type th:first-of-type:after {
  2221. content: "";
  2222. position: absolute;
  2223. width: 1px;
  2224. height: 92px;/*斜线的长度*/
  2225. top: 0;
  2226. left: 59px;
  2227. background-color: rgb(172, 171, 171);
  2228. opacity: 1.2;
  2229. display: block;
  2230. transform: rotate(-76deg);/*调整斜线的角度*/
  2231. -webkit-transform-origin: top;
  2232. transform-origin: top;
  2233. }
  2234. }
  2235. .el-table--border th, .el-table__fixed-right-patch {
  2236. border-bottom: none !important;
  2237. }
  2238. .el-table td .cell, .el-table th .cell {
  2239. padding: 0 5px !important;
  2240. }
  2241. .el-table .cell {
  2242. white-space: pre-line;
  2243. }
  2244. }
  2245. }
  2246. }
  2247. ::-webkit-scrollbar{
  2248. height: 15px;
  2249. }
  2250. </style>