index.vue 166 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513
  1. <template>
  2. <el-form>
  3. <div class="hazardwork" style="background-color: #C5E0B3;">
  4. <table>
  5. <tr>
  6. <td></td>
  7. <td></td>
  8. <td></td>
  9. <td>修订:04</td>
  10. </tr>
  11. <tr>
  12. <td rowspan="3" width="50px" align="center">表格</td>
  13. <td rowspan="3" width="200px" align="center"><b>C00-6.3.0-00FSH-207.0</b></td>
  14. <td rowspan="3" width="400px" align="center"><b>危害工作许可证 危害评估及安全措施</b></td>
  15. <td>日期:18-5-2018</td>
  16. </tr>
  17. <tr>
  18. <td colspan="3">
  19. <div>
  20. <el-input style="width: 200px;" v-model="form.aId" placeholder="点击生成票据ID" @focus="aIdClick"
  21. :disabled="aIdDisabled">
  22. <i slot="prefix" class="el-input__icon el-icon-word">A</i>
  23. </el-input>
  24. </div>
  25. </td>
  26. <td>
  27. <el-button @click="allExpand">全部展开</el-button>
  28. </td>
  29. <td>
  30. <el-button @click="allShrink">全部关闭</el-button>
  31. </td>
  32. <td>
  33. <el-form-item>
  34. <el-button type="primary" v-show="form.aId" @click="onSubmit">提交当前数据</el-button>
  35. </el-form-item>
  36. </td>
  37. </tr>
  38. </table>
  39. <el-row :gutter="20">
  40. <!-- 左侧栏 -->
  41. <el-col :span="12">
  42. <el-collapse v-model="activeNames">
  43. <el-collapse-item name="1" title="A 基本信息">
  44. <table>
  45. <tr>
  46. <td>1.</td>
  47. <td>
  48. 生产装置:<el-select v-model="form.aEquipmentName" filterable placeholder="请选择生产装置"
  49. @change="aEquipmentChange(form.aEquipmentName)">
  50. <el-option v-for="item in aEquipments" :key="item.value" :label="item.label"
  51. :value="item.value">
  52. </el-option>
  53. </el-select>
  54. </td>
  55. <td>生产装置主管:<el-input style="width: 100px;" v-model="form.aEquipmentLeader"/>
  56. </td>
  57. <td>
  58. <i class="el-icon-phone">:</i>
  59. <el-input style="width: 70px;" v-model="form.aEquipmentTel"/>
  60. </td>
  61. <td>
  62. 办公室:<el-input style="width: 70px;" v-model="form.aEquipmentOffice"/>
  63. </td>
  64. </tr>
  65. <tr>
  66. <td>2.</td>
  67. <td>施工单位:<el-select v-model="form.aConstructionName" filterable placeholder="请选择施工单位"
  68. @change="aConstructionChange(form.aConstructionName)">
  69. <el-option v-for="item in aConstructions" :key="item.deptId" :label="item.deptName"
  70. :value="item.deptId">
  71. </el-option>
  72. </el-select>
  73. </td>
  74. <td>施工单位主管:<el-input style="width: 100px;" v-model="form.aConstructionLeader"/>
  75. </td>
  76. <td>
  77. <i class="el-icon-phone">:</i>
  78. <el-input style="width: 70px;" v-model="form.aConstructionTel"/>
  79. </td>
  80. <td>
  81. 办公室:<el-input style="width: 70px;" v-model="form.aConstructionOffice"/>
  82. </td>
  83. </tr>
  84. <tr>
  85. <td>3.</td>
  86. <td>用户(涉及外部承包商时):<el-select v-model="form.aContractorName" filterable placeholder="请选择用户"
  87. @change="aContractorChange(form.aContractorName)">
  88. <el-option v-for="item in aContractors" :key="item.value" :label="item.label"
  89. :value="item.value">
  90. </el-option>
  91. </el-select>
  92. </td>
  93. <td align="right">用户主管:<el-input style="width: 100px;" v-model="form.aContractorLeader"/>
  94. </td>
  95. <td>
  96. <i class="el-icon-phone">:</i>
  97. <el-input style="width: 70px;" v-model="form.aContractorTel"/>
  98. </td>
  99. <td>
  100. 办公室:<el-input style="width: 70px;" v-model="form.aContractorOffice"/>
  101. </td>
  102. <tr>
  103. <td>4.</td>
  104. <td class="short-radio">需要安全联络员?<el-radio v-model="form.aIsNeedSafeLiaison" label="1">是</el-radio>
  105. <el-radio v-model="form.aIsNeedSafeLiaison" label="2" @change="cleanSafeLiaison">否</el-radio>
  106. 姓名:<el-select v-model="form.aSafeLiaisonName" filterable placeholder="请选择安全联络员"
  107. @change="aSafeLiaisonChange(form.aSafeLiaisonName)"
  108. :disabled="this.form.aIsNeedSafeLiaison==1?false:true" style="width: 150px">
  109. <el-option v-for="item in aSafeLiaisons" :key="item.value" :label="item.label"
  110. :value="item.value">
  111. </el-option>
  112. </el-select>
  113. </td>
  114. <td align="right">
  115. 签名:<el-input style="width: 100px;" v-model="form.aSafeLiaisonSign" readonly @focus="signCard('aSafeLiaisonSign')"
  116. :disabled="this.form.aIsNeedSafeLiaison==1?false:true">
  117. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  118. </el-input>
  119. <!-- <el-button type="primary" slot="append"-->
  120. <!-- icon="el-icon-edit"-->
  121. <!-- :disabled="this.form.aIsNeedSafeLiaison==1?false:true"></el-button>-->
  122. </td>
  123. <td>
  124. <i class="el-icon-phone">:</i>
  125. <el-input style="width: 70px;" v-model="form.aSafeLiaisonTel"
  126. :disabled="this.form.aIsNeedSafeLiaison==1?false:true"/>
  127. </td>
  128. <td>
  129. 办公室:<el-input style="width: 70px;" v-model="form.aSafeLiaisonOffice"
  130. :disabled="this.form.aIsNeedSafeLiaison==1?false:true"/>
  131. </td>
  132. </tr>
  133. </table>
  134. </el-collapse-item>
  135. <el-collapse-item title="B 工作内容" name="2">
  136. <table>
  137. <tr>
  138. <td>1.</td>
  139. <td>装置设备:
  140. <el-select v-model="form.bDeviceName" filterable placeholder="请选择装置设备"
  141. @change="bDeviceChange(form.bDeviceName)" style="width: 150px">
  142. <el-option v-for="item in bDevices" :key="item.id" :label="item.devName" :value="item.id">
  143. </el-option>
  144. </el-select>
  145. </td>
  146. <td>位置/区域号:
  147. <el-input style="width: 200px;" v-model="form.bAreaNo"/>
  148. </td>
  149. </tr>
  150. <tr>
  151. <td style="vertical-align: top">2.</td>
  152. <td colspan="2" style="vertical-align: top">工作内容描述:
  153. <el-input type="textarea" style="width: 80%;vertical-align: top" v-model="form.bWorkContent"/>
  154. </td>
  155. </tr>
  156. <tr>
  157. <td>3.</td>
  158. <td>有效期:由
  159. <el-date-picker v-model="value1" type="datetimerange" range-separator="至" start-placeholder="开始日期"
  160. end-placeholder="结束日期" format="yyyy-MM-dd HH:mm:ss"
  161. value-format="yyyy-MM-dd HH:mm:ss">
  162. </el-date-picker>
  163. </td>
  164. </tr>
  165. </table>
  166. </el-collapse-item>
  167. <el-collapse-item title="C 危害识别" name="3">
  168. <table>
  169. <tr>
  170. <td>
  171. <el-checkbox v-model="isYesDanger" true-label="1" false-label="0"/>
  172. </td>
  173. <td colspan="10">危害物质(正常运行时存在于设备中的物料名称):
  174. <!-- 物料数据源绑定 -->
  175. <el-select v-model="form.cHarmMatterName" clearable placeholder="请选择物料名称"
  176. @change="selectChange(form.cHarmMatterName)">
  177. <el-option v-for="item in matterNames" :key="item.id" :label="item.matterName" :value="item.id">
  178. </el-option>
  179. </el-select>
  180. </td>
  181. </tr>
  182. <!-- 图标及物料特性根据物料进行动态展示 -->
  183. <tr style="text-align: center;">
  184. <td style="width: 20px;">
  185. <el-checkbox v-model="form.cIsDanger" true-label="1" false-label="0"/>
  186. </td>
  187. <td>危险</td>
  188. <td style="width: 80px;">
  189. <el-image style="width: 70px;height: 70px;" :src="require('@/assets/image/toxicIcon.png')">
  190. </el-image>
  191. </td>
  192. <td style="width: 80px;">
  193. <el-image style="width: 70px;height: 70px;" :src="require('@/assets/image/flammableIcon.png')">
  194. </el-image>
  195. </td>
  196. <td style="width: 80px;">
  197. <el-image style="width: 70px;height: 70px;" :src="require('@/assets/image/oxidizingIcon.png')">
  198. </el-image>
  199. </td>
  200. <td style="width: 80px;">
  201. <el-image style="width: 70px;height: 70px;" :src="require('@/assets/image/explosiveIcon.png')">
  202. </el-image>
  203. </td>
  204. <td style="width: 80px;">
  205. <el-image style="width: 70px;height: 70px;" :src="require('@/assets/image/corrosiveIcon.png')">
  206. </el-image>
  207. </td>
  208. <td style="width: 80px;">
  209. <el-image style="width: 70px;height: 70px;"
  210. :src="require('@/assets/image/irritantSensitizationToxicIcon.png')">
  211. </el-image>
  212. </td>
  213. <td style="width: 80px;">
  214. <el-image style="width: 70px;height: 70px;" :src="require('@/assets/image/healthHazardIcon.png')">
  215. </el-image>
  216. </td>
  217. <td style="width: 80px;">
  218. <el-image style="width: 70px;height: 70px;"
  219. :src="require('@/assets/image/compressedGasIcon.png')">
  220. </el-image>
  221. </td>
  222. <td style="width: 80px;">
  223. <el-image style="width: 70px;height: 70px;"
  224. :src="require('@/assets/image/environmentalHazardIcon.png')">
  225. </el-image>
  226. </td>
  227. </tr>
  228. <tr style="text-align: center;">
  229. <td>
  230. <el-checkbox v-model="form.cIsAttention" true-label="1" false-label="0"/>
  231. </td>
  232. <td>注意</td>
  233. <td style="width: 50px;">毒性<br>
  234. <el-checkbox v-model="cIsToxic" true-label="1" false-label="0"/>
  235. </td>
  236. <td style="width: 50px;">易燃性<br>
  237. <el-checkbox v-model="cIsFlammable" true-label="1" false-label="0"/>
  238. </td>
  239. <td style="width: 50px;">氧化性<br>
  240. <el-checkbox v-model="cIsOxidizing" true-label="1" false-label="0"/>
  241. </td>
  242. <td style="width: 50px;">爆炸性<br>
  243. <el-checkbox v-model="cIsExplosive" true-label="1" false-label="0"/>
  244. </td>
  245. <td style="width: 50px;">腐蚀性<br>
  246. <el-checkbox v-model="cIsCorrosive" true-label="1" false-label="0"/>
  247. </td>
  248. <td style="width: 120px;">刺激性/致敏性/毒性<br>
  249. <el-checkbox v-model="cIsIrritantToxic" true-label="1" false-label="0"/>
  250. </td>
  251. <td style="width: 70px;">健康危害<br>
  252. <el-checkbox v-model="cIsHealthHazard" true-label="1" false-label="0"/>
  253. </td>
  254. <td style="width: 70px;">压力下气体<br>
  255. <el-checkbox v-model="cIsCompressedGas" true-label="1" false-label="0"/>
  256. </td>
  257. <td style="width: 90px;">危害水生环境<br>
  258. <el-checkbox v-model="cIsEnvironmentalHazard" true-label="1" false-label="0"/>
  259. </td>
  260. </tr>
  261. </table>
  262. <table>
  263. <tr>
  264. <td>
  265. <el-checkbox v-model="isEquipmentHazards" true-label="1" false-label="0"
  266. @change="eHazardsChange"/>
  267. </td>
  268. <td colspan="5" class="short-checkbox">
  269. 设备内物质处于危险状态
  270. <el-checkbox v-model="form.cIsHighTemp" true-label="1" false-label="0"
  271. :disabled="this.isEquipmentHazards==true?false:true" @change="highTempChange"/>高温
  272. /
  273. <el-checkbox v-model="form.cIsLowTemp" true-label="1" false-label="0"
  274. :disabled="this.isEquipmentHazards==true?false:true"
  275. @change="lowTempChange"/>低温;
  276. <el-checkbox v-model="form.cIsPosPressure" true-label="1" false-label="0"
  277. :disabled="this.isEquipmentHazards==true?false:true"
  278. @change="posPressureChange"/>正压
  279. /
  280. <el-checkbox v-model="form.cIsNegPressure" true-label="1" false-label="0"
  281. :disabled="this.isEquipmentHazards==true?false:true"
  282. @change="negPressureChange"/>负压
  283. </td>
  284. <td>
  285. <el-checkbox v-model="form.cIsHazardsProd" true-label="1" false-label="0"
  286. @change="cHazardsProdChange"/>
  287. </td>
  288. <td colspan="4">施工对生产单位的危害:
  289. <el-input style="width: 150px;" v-model="form.cIsHazardsProdContent"
  290. :disabled="this.form.cIsHazardsProd==true?false:true"/>
  291. </td>
  292. </tr>
  293. <tr>
  294. <td>
  295. <el-checkbox v-model="isFacilityHazards" true-label="1" false-label="0" @change="facilityChange"/>
  296. </td>
  297. <td colspan="5" class="short-checkbox">
  298. 来自设备/设施的危害(
  299. <el-checkbox v-model="form.cIsMovingParts" true-label="1" false-label="0"
  300. :disabled="this.isFacilityHazards==true?false:true"/>移动部件,
  301. <el-checkbox v-model="form.cIsHotSurfaces" true-label="1" false-label="0"
  302. :disabled="this.isFacilityHazards==true?false:true"
  303. @change="hotSurfacesChange"/>热表面/
  304. <el-checkbox v-model="form.cIsColdSurfaces" true-label="1" false-label="0"
  305. :disabled="this.isFacilityHazards==true?false:true"
  306. @change="coldSurfacesChange"/>冷表面,
  307. <el-checkbox v-model="form.cIsVoltages" true-label="1" false-label="0"
  308. :disabled="this.isFacilityHazards==true?false:true"/>电压
  309. </td>
  310. <td>
  311. <el-checkbox v-model="form.cIsFire" true-label="1" false-label="0"/>
  312. </td>
  313. <td>火灾或爆炸性危害,参考动火许可证:
  314. <el-input style="width: 140px;" v-model="form.cHId"
  315. :disabled="this.form.cIsFire==true?false:true"><i slot="prefix" class="el-input__icon el-icon-word">H</i></el-input>
  316. </td>
  317. </tr>
  318. <tr>
  319. <td>
  320. <el-checkbox v-model="form.cIsWorkProtective" true-label="1" false-label="0"
  321. @change="workProChange"/>
  322. </td>
  323. <td colspan="5" class="short-checkbox">安全保护设备的施工(
  324. <el-checkbox v-model="form.cIsDy" true-label="1" false-label="0"
  325. :disabled="form.cIsWorkProtective==1?false:true"/>电仪安全保护设备
  326. <el-checkbox v-model="form.cIsAqf" true-label="1" false-label="0"
  327. :disabled="form.cIsWorkProtective==1?false:true"/>安全阀
  328. <el-checkbox v-model="form.cIsLq" true-label="1" false-label="0"
  329. :disabled="form.cIsWorkProtective==1?false:true"/>冷却系统)
  330. </td>
  331. </tr>
  332. <tr>
  333. <td>
  334. <el-checkbox v-model="form.cIsOtherDanger" true-label="1" false-label="0"
  335. @change="otherDangerChange"/>
  336. </td>
  337. <td colspan="5">其他危害:
  338. <el-select style="width: 365px;" v-model="form.cOtherDangerContent" filterable
  339. :disabled="this.form.cIsOtherDanger==true?false:true">
  340. <el-option v-for="item in otherDangers" :key="item.id" :label="item.name" :value="item.id">
  341. </el-option>
  342. </el-select>
  343. </td>
  344. <td colspan="5" rowspan="2">
  345. <!-- <el-input style="width: 150px;" v-model="form.cHId"-->
  346. <!-- :disabled="this.form.cIsFire==true?false:true"/>-->
  347. </td>
  348. </tr>
  349. </table>
  350. </el-collapse-item>
  351. <el-collapse-item title="D 施工前的安全措施" name="4">
  352. <table>
  353. <tr>
  354. <td>1.</td>
  355. <td style="width: 350px;"><b>确保E&I设备安全</b></td>
  356. <td style="width: 30px; text-align: center;">是</td>
  357. <td style="width: 30px; text-align: center;">否</td>
  358. <td style="width: 200px;text-align: center;">安全措施完成,签名,日期</td>
  359. <td style="width: 200px;text-align: center;">安全措施撤销,签名,日期</td>
  360. </tr>
  361. <tr>
  362. <td>1.1</td>
  363. <td>通过打开安全开关断电并上锁和运转测试</td>
  364. <td style="width: 30px; text-align: center;">
  365. <el-checkbox v-model="form.dIsOpenSafe" true-label="1"/>
  366. </td>
  367. <td style="width: 30px; text-align: center;">
  368. <el-checkbox v-model="form.dIsOpenSafe" true-label="0" @change="dIsOpenSafeChange"/>
  369. </td>
  370. <td style="text-align: center;">
  371. <el-input style="width: 85px;" v-model="form.dSafeImplSign11" readonly :disabled="this.form.dIsOpenSafe==1?false:true" @focus="signCard('dSafeImplSign11')">
  372. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  373. </el-input>
  374. <!-- <el-button type="primary" slot="append"-->
  375. <!-- icon="el-icon-edit"-->
  376. <!-- :disabled="this.form.dIsOpenSafe==1?false:true"></el-button>-->
  377. <el-date-picker style="width: 115px" v-model="form.dSafeImplDate11" type="date"
  378. format="yyyy-MM-dd HH:mm:ss"
  379. value-format="yyyy-MM-dd HH:mm:ss"
  380. :disabled="this.form.dIsOpenSafe==1?false:true">
  381. </el-date-picker>
  382. </td>
  383. <td style="text-align: center;">
  384. <el-input style="width: 70px;" v-model="form.dSafeLiftedSign11" disabled/>
  385. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  386. value-format="yyyy-MM-dd HH:mm:ss" style="width: 80px"
  387. v-model="form.dSafeLiftedDate11" type="date" disabled>
  388. </el-date-picker>
  389. </td>
  390. </tr>
  391. <tr>
  392. <td rowspan="5" style="width: 50px;">1.2</td>
  393. <td>断开电源通过:</td>
  394. <td style="width: 30px; text-align: center;">
  395. <el-checkbox v-model="form.dIsDkdyx" true-label="1" false-label="0"
  396. :disabled="form.dIsOpenSafe != null?false:true"/>
  397. </td>
  398. <td style="width: 30px; text-align: center;">
  399. <el-checkbox v-model="form.dIsDkdyx" true-label="0" false-label="1" @change="dIsDkdyxChange"
  400. :disabled="form.dIsOpenSafe != null?false:true"/>
  401. </td>
  402. <td style="text-align: center;">
  403. <el-input style="width: 85px;" v-model="form.dDkdyxImplSign" readonly :disabled="this.form.dIsDkdyx==1?false:true" @focus="signCard('dDkdyxImplSign')">
  404. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  405. </el-input>
  406. <!-- <el-button type="primary" slot="append"-->
  407. <!-- icon="el-icon-edit"-->
  408. <!-- :disabled="this.form.dIsDkdyx==1?false:true"></el-button>-->
  409. <el-date-picker style="width: 115px" v-model="form.dDkdyxImplDate" type="date"
  410. format="yyyy-MM-dd HH:mm:ss"
  411. value-format="yyyy-MM-dd HH:mm:ss"
  412. :disabled="this.form.dIsDkdyx==1?false:true">
  413. </el-date-picker>
  414. </td>
  415. <td style="text-align: center;">
  416. <el-input style="width: 70px;" v-model="form.dDkdyxLiftedSign" disabled/>
  417. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  418. value-format="yyyy-MM-dd HH:mm:ss" style="width: 80px"
  419. v-model="form.dDkdyxLiftedDate" type="date" disabled>
  420. </el-date-picker>
  421. </td>
  422. </tr>
  423. <tr>
  424. <td>断开电源线</td>
  425. <td style="width: 30px; text-align: center;">
  426. <el-checkbox v-model="form.dIsDisFeeder" true-label="1" false-label="0"
  427. :disabled="form.dIsDkdyx != null?false:true"/>
  428. </td>
  429. <td style="width: 30px; text-align: center;">
  430. <el-checkbox v-model="form.dIsDisFeeder" true-label="0" false-label="1"
  431. @change="dIsDisFeederChange"
  432. :disabled="form.dIsDkdyx != null?false:true"/>
  433. </td>
  434. <td style="text-align: center;">
  435. <el-input style="width: 85px;" v-model="form.dDisFeederImplSign" readonly :disabled="this.form.dIsDisFeeder==1?false:true" @focus="signCard('dDisFeederImplSign')">
  436. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  437. </el-input>
  438. <!-- <el-button type="primary" slot="append"-->
  439. <!-- icon="el-icon-edit"-->
  440. <!-- :disabled="this.form.dIsDisFeeder==1?false:true"></el-button>-->
  441. <el-date-picker style="width: 115px" v-model="form.dDisFeederImplDate" type="date"
  442. format="yyyy-MM-dd HH:mm:ss"
  443. value-format="yyyy-MM-dd HH:mm:ss"
  444. :disabled="this.form.dIsDisFeeder==1?false:true">
  445. </el-date-picker>
  446. </td>
  447. <td style="text-align: center;">
  448. <el-input style="width: 70px;" v-model="form.dDisFeederLiftedSign" disabled/>
  449. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  450. value-format="yyyy-MM-dd HH:mm:ss" style="width: 80px"
  451. v-model="form.dDisFeederLiftedDate" type="date" disabled>
  452. </el-date-picker>
  453. </td>
  454. </tr>
  455. <tr>
  456. <td>断开回路开关并上锁和运转测试
  457. <el-input style="width: 150px;" v-model="form.dBreakInclContent"
  458. :disabled="this.form.dIsBreakIncl == 1?false:true"/>
  459. </td>
  460. <td style="width: 30px; text-align: center;">
  461. <el-checkbox v-model="form.dIsBreakIncl" true-label="1" false-label="0"
  462. :disabled="this.form.dIsDisFeeder!= null?false:true"/>
  463. </td>
  464. <td style="width: 30px; text-align: center;">
  465. <el-checkbox v-model="form.dIsBreakIncl" true-label="0" false-label="1"
  466. @change="dIsBreakInclChange"
  467. :disabled="this.form.dIsDisFeeder!= null?false:true"/>
  468. </td>
  469. <td style="text-align: center;">
  470. <el-input style="width: 85px;" v-model="form.dBreakInclImplSign" readonly :disabled="this.form.dIsBreakIncl==1?false:true" @focus="signCard('dBreakInclImplSign')">
  471. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  472. </el-input>
  473. <!-- <el-button type="primary" slot="append"-->
  474. <!-- icon="el-icon-edit"-->
  475. <!-- :disabled="this.form.dIsBreakIncl==1?false:true"></el-button>-->
  476. <el-date-picker style="width: 115px" v-model="form.dBreakInclImplDate" type="date"
  477. format="yyyy-MM-dd HH:mm:ss"
  478. value-format="yyyy-MM-dd HH:mm:ss"
  479. :disabled="this.form.dIsBreakIncl==1?false:true">
  480. </el-date-picker>
  481. </td>
  482. <td style="text-align: center;">
  483. <el-input style="width: 70px;" v-model="form.dBreakInclLiftedSign" disabled/>
  484. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  485. value-format="yyyy-MM-dd HH:mm:ss" style="width: 80px"
  486. v-model="form.dBreakInclLiftedDate" type="date" disabled>
  487. </el-date-picker>
  488. </td>
  489. </tr>
  490. <tr>
  491. <td>电气回路编号:
  492. <el-input style="width: 150px;" v-model="form.dEleCircuitNo" @change="dElecircuitChange"
  493. :disabled="this.form.dIsDqhl == 1?false:true"/>
  494. </td>
  495. <td style="width: 30px; text-align: center;">
  496. <el-checkbox v-model="form.dIsDqhl" true-label="1" false-label="0"
  497. :disabled="form.dIsBreakIncl != null?false:true"/>
  498. </td>
  499. <td style="width: 30px; text-align: center;">
  500. <el-checkbox v-model="form.dIsDqhl" true-label="0" false-label="1" @change="dIsDqhlChange"
  501. :disabled="form.dIsBreakIncl != null?false:true"/>
  502. </td>
  503. <td style="text-align: center;">
  504. <el-input style="width: 85px;" v-model="form.dDqhlImplSign" readonly :disabled="this.form.dIsDqhl==1?false:true" @focus="signCard('dDqhlImplSign')">
  505. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  506. </el-input>
  507. <!--<el-button type="primary" slot="append" @click="signCard('dDqhlImplSign')"
  508. icon="el-icon-edit"
  509. :disabled="this.form.dIsDqhl==1?false:true"></el-button>-->
  510. <el-date-picker style="width: 115px" v-model="form.dDqhlImplDate" type="date"
  511. format="yyyy-MM-dd HH:mm:ss"
  512. value-format="yyyy-MM-dd HH:mm:ss"
  513. :disabled="this.form.dIsDqhl==1?false:true">
  514. </el-date-picker>
  515. </td>
  516. <td style="text-align: center;">
  517. <el-input style="width: 70px;" v-model="form.dDqhlLiftedSign" disabled/>
  518. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  519. value-format="yyyy-MM-dd HH:mm:ss" style="width: 80px"
  520. v-model="form.dDqhlLiftedDate" type="date" disabled>
  521. </el-date-picker>
  522. </td>
  523. </tr>
  524. <tr>
  525. <td>仪表号/测点编号:
  526. <el-input style="width: 150px;" v-model="form.dInsTagNo" @change="dInsTagChange"
  527. :disabled="this.form.dIsYbh == 1?false:true"/>
  528. </td>
  529. <td style="width: 30px; text-align: center;">
  530. <el-checkbox v-model="form.dIsYbh" true-label="1" false-label="0"
  531. :disabled="form.dIsDqhl != null?false:true"/>
  532. </td>
  533. <td style="width: 30px; text-align: center;">
  534. <el-checkbox v-model="form.dIsYbh" true-label="0" false-label="1" @change="dIsYbhChange"
  535. :disabled="form.dIsDqhl != null?false:true"/>
  536. </td>
  537. <td style="text-align: center;">
  538. <el-input style="width: 85px;" v-model="form.dSafeImplSign12" readonly :disabled="this.form.dIsYbh==1?false:true" @focus="signCard('dSafeImplSign12')">
  539. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  540. </el-input>
  541. <!--<el-button type="primary" slot="append" @click="signCard('dSafeImplSign12')"
  542. icon="el-icon-edit"
  543. :disabled="this.form.dIsYbh==1?false:true"></el-button>-->
  544. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  545. value-format="yyyy-MM-dd HH:mm:ss" style="width: 115px"
  546. v-model="form.dSafeImplDate12" type="date"
  547. :disabled="this.form.dIsYbh == 1?false:true">
  548. </el-date-picker>
  549. </td>
  550. <td style="text-align: center;">
  551. <el-input style="width: 70px;" v-model="form.dSafeLiftedSign12" disabled/>
  552. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  553. value-format="yyyy-MM-dd HH:mm:ss" style="width: 80px"
  554. v-model="form.dSafeLiftedDate12" type="date" disabled>
  555. </el-date-picker>
  556. </td>
  557. </tr>
  558. <tr>
  559. <td>1.3</td>
  560. <td>放射源由专业人员确保安全(日志)</td>
  561. <td style="width: 30px; text-align: center;">
  562. <el-checkbox v-model="form.dIsRadioactiveSources" true-label="1" false-label="0"
  563. :disabled="this.form.dIsYbh!= null?false:true"/>
  564. </td>
  565. <td style="width: 30px; text-align: center;">
  566. <el-checkbox v-model="form.dIsRadioactiveSources" true-label="0" false-label="1"
  567. @change="dIsRadioactiveSourcesChange"
  568. :disabled="this.form.dIsYbh!= null?false:true"/>
  569. </td>
  570. <td style="text-align: center;">
  571. <el-input style="width: 85px;" v-model="form.dSafeImplSign13" readonly :disabled="this.form.dIsRadioactiveSources==1?false:true" @focus="signCard('dSafeImplSign13')">
  572. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  573. </el-input>
  574. <!--<el-button type="primary" slot="append" @click="signCard('dSafeImplSign13')"
  575. icon="el-icon-edit"
  576. :disabled="this.form.dIsRadioactiveSources==1?false:true"></el-button>-->
  577. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  578. value-format="yyyy-MM-dd HH:mm:ss" style="width: 115px"
  579. v-model="form.dSafeImplDate13" type="date"
  580. :disabled="this.form.dIsRadioactiveSources==1?false:true">
  581. </el-date-picker>
  582. </td>
  583. <td style="text-align: center;">
  584. <el-input style="width: 70px;" v-model="form.dSafeLiftedSign13" disabled/>
  585. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  586. value-format="yyyy-MM-dd HH:mm:ss" style="width: 80px"
  587. v-model="form.dSafeLiftedDate13" type="date" disabled>
  588. </el-date-picker>
  589. </td>
  590. </tr>
  591. <tr>
  592. <td>1.4</td>
  593. <td>
  594. <el-input style="width: 150px;" v-model="form.dIsOtherEquSafeContent"
  595. :disabled="this.form.dIsOtherEquSafe == 1?false:true"/>
  596. </td>
  597. <td style="width: 30px; text-align: center;">
  598. <el-checkbox v-model="form.dIsOtherEquSafe" true-label="1" false-label="0"
  599. :disabled="this.form.dIsRadioactiveSources!= null?false:true"/>
  600. </td>
  601. <td style="width: 30px; text-align: center;">
  602. <el-checkbox v-model="form.dIsOtherEquSafe" true-label="0" false-label="1"
  603. @change="dIsOtherEquSafeChange"
  604. :disabled="this.form.dIsRadioactiveSources!= null?false:true"/>
  605. </td>
  606. <td style="text-align: center;">
  607. <el-input style="width: 85px;" v-model="form.dSafeImplSign14" readonly :disabled="this.form.dIsOtherEquSafe==1?false:true" @focus="signCard('dSafeImplSign14')">
  608. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  609. </el-input>
  610. <!--<el-button type="primary" slot="append" @click="signCard('dSafeImplSign14')"
  611. icon="el-icon-edit"
  612. :disabled="this.form.dIsOtherEquSafe==1?false:true"></el-button>-->
  613. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  614. value-format="yyyy-MM-dd HH:mm:ss" style="width: 115px"
  615. v-model="form.dSafeImplDate14" type="date"
  616. :disabled="this.form.dIsOtherEquSafe==1?false:true">
  617. </el-date-picker>
  618. </td>
  619. <td style="text-align: center;">
  620. <el-input style="width: 70px;" v-model="form.dSafeLiftedSign14" disabled/>
  621. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  622. value-format="yyyy-MM-dd HH:mm:ss" style="width: 80px"
  623. v-model="form.dSafeLiftedDate14" type="date" disabled>
  624. </el-date-picker>
  625. </td>
  626. </tr>
  627. <tr>
  628. <td>2.</td>
  629. <td><b>确保装置设备安全</b></td>
  630. </tr>
  631. <tr>
  632. <td>2.1</td>
  633. <td>泄压/排空</td>
  634. <td style="width: 30px; text-align: center;">
  635. <el-checkbox v-model="form.dIsDepress" true-label="1" false-label="0"
  636. :disabled="this.form.dIsOtherEquSafe!= null?false:true"/>
  637. </td>
  638. <td style="width: 30px; text-align: center;">
  639. <el-checkbox v-model="form.dIsDepress" true-label="0" false-label="1" @change="dIsDepressChange"
  640. :disabled="this.form.dIsOtherEquSafe!= null?false:true"/>
  641. </td>
  642. <td style="text-align: center;">
  643. <el-input style="width: 85px;" v-model="form.dSafeImplSign21" readonly :disabled="this.form.dIsDepress==1?false:true" @focus="signCard('dSafeImplSign21')">
  644. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  645. </el-input>
  646. <!--<el-button type="primary" slot="append" @click="signCard('dSafeImplSign21')"
  647. icon="el-icon-edit"
  648. :disabled="this.form.dIsDepress==1?false:true"></el-button>-->
  649. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  650. value-format="yyyy-MM-dd HH:mm:ss" style="width: 115px"
  651. v-model="form.dSafeImplDate21" type="date"
  652. :disabled="this.form.dIsDepress==1?false:true">
  653. </el-date-picker>
  654. </td>
  655. </tr>
  656. <tr>
  657. <td>2.2</td>
  658. <td>单阀截断</td>
  659. <td style="width: 30px; text-align: center;">
  660. <el-checkbox v-model="form.dIsSingleBlocking" true-label="1" false-label="0"
  661. :disabled="this.form.dIsDepress!= null?false:true"/>
  662. </td>
  663. <td style="width: 30px; text-align: center;">
  664. <el-checkbox v-model="form.dIsSingleBlocking" true-label="0" false-label="1"
  665. @change="dIsSingleBlockingChange"
  666. :disabled="this.form.dIsDepress!= null?false:true"/>
  667. </td>
  668. <td style="text-align: center;">
  669. <el-input style="width: 85px;" v-model="form.dSafeImplSign22" readonly :disabled="this.form.dIsSingleBlocking==1?false:true" @focus="signCard('dSafeImplSign22')">
  670. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  671. </el-input>
  672. <!--<el-button type="primary" slot="append" @click="signCard('dSafeImplSign22')"
  673. icon="el-icon-edit"
  674. :disabled="this.form.dIsSingleBlocking==1?false:true"></el-button>-->
  675. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  676. value-format="yyyy-MM-dd HH:mm:ss" style="width: 115px"
  677. v-model="form.dSafeImplDate22" type="date"
  678. :disabled="this.form.dIsSingleBlocking==1?false:true">
  679. </el-date-picker>
  680. </td>
  681. <td style="text-align: center;">
  682. <el-input style="width: 70px;" v-model="form.dSafeLiftedSign22" disabled/>
  683. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  684. value-format="yyyy-MM-dd HH:mm:ss" style="width: 80px"
  685. v-model="form.dSafeLiftedDate22" type="date" disabled>
  686. </el-date-picker>
  687. </td>
  688. </tr>
  689. <tr>
  690. <td>
  691. 2.3
  692. </td>
  693. <td>双阀截断与放空</td>
  694. <td style="width: 30px; text-align: center;">
  695. <el-checkbox v-model="form.dIsDoubleBlock" true-label="1" false-label="0"
  696. :disabled="this.form.dIsSingleBlocking!= null?false:true"/>
  697. </td>
  698. <td style="width: 30px; text-align: center;">
  699. <el-checkbox v-model="form.dIsDoubleBlock" true-label="0" false-label="1"
  700. @change="dIsDoubleBlockChange"
  701. :disabled="this.form.dIsSingleBlocking!= null?false:true"/>
  702. </td>
  703. <td style="text-align: center;">
  704. <el-input style="width: 85px;" v-model="form.dSafeImplSign23" readonly :disabled="this.form.dIsDoubleBlock==1?false:true" @focus="signCard('dSafeImplSign23')">
  705. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  706. </el-input>
  707. <!--<el-button type="primary" slot="append" @click="signCard('dSafeImplSign23')"
  708. icon="el-icon-edit"
  709. :disabled="this.form.dIsDoubleBlock==1?false:true"></el-button>-->
  710. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  711. value-format="yyyy-MM-dd HH:mm:ss" style="width: 115px"
  712. v-model="form.dSafeImplDate23" type="date"
  713. :disabled="this.form.dIsDoubleBlock==1?false:true">
  714. </el-date-picker>
  715. </td>
  716. <td style="text-align: center;">
  717. <el-input style="width: 70px;" v-model="form.dSafeLiftedSign23" disabled/>
  718. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  719. value-format="yyyy-MM-dd HH:mm:ss" style="width: 80px"
  720. v-model="form.dSafeLiftedDate23" type="date" disabled>
  721. </el-date-picker>
  722. </td>
  723. </tr>
  724. <tr>
  725. <td>2.4</td>
  726. <td>
  727. 使用
  728. <el-input style="width: 150px;" v-model="form.dLockoutUsingContent"
  729. :disabled="this.form.dIsLockoutUsing==1?false:true"/>
  730. 锁定
  731. </td>
  732. <td style="width: 30px; text-align: center;">
  733. <el-checkbox v-model="form.dIsLockoutUsing" true-label="1" false-label="0"
  734. :disabled="this.form.dIsDoubleBlock!= null?false:true"/>
  735. </td>
  736. <td style="width: 30px; text-align: center;">
  737. <el-checkbox v-model="form.dIsLockoutUsing" true-label="0" false-label="1"
  738. @change="dIsLockoutUsingChange"
  739. :disabled="this.form.dIsDoubleBlock!= null?false:true"/>
  740. </td>
  741. <td style="text-align: center;">
  742. <el-input style="width: 85px;" v-model="form.dSafeImplSign24" readonly :disabled="this.form.dIsLockoutUsing==1?false:true" @focus="signCard('dSafeImplSign24')">
  743. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  744. </el-input>
  745. <!--<el-button type="primary" slot="append" @click="signCard('dSafeImplSign24')"
  746. icon="el-icon-edit"
  747. :disabled="this.form.dIsLockoutUsing==1?false:true"></el-button>-->
  748. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  749. value-format="yyyy-MM-dd HH:mm:ss" style="width: 115px"
  750. v-model="form.dSafeImplDate24" type="date"
  751. :disabled="this.form.dIsLockoutUsing==1?false:true">
  752. </el-date-picker>
  753. </td>
  754. <td style="text-align: center;">
  755. <el-input style="width: 70px;" v-model="form.dSafeLiftedSign24" disabled/>
  756. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  757. value-format="yyyy-MM-dd HH:mm:ss" style="width: 80px"
  758. v-model="form.dSafeLiftedDate24" type="date" disabled>
  759. </el-date-picker>
  760. </td>
  761. </tr>
  762. <tr>
  763. <td>2.5</td>
  764. <td>移去部分管线/短接</td>
  765. <td style="width: 30px; text-align: center;">
  766. <el-checkbox v-model="form.dIsRemovePipe" true-label="1" false-label="0"
  767. :disabled="this.form.dIsLockoutUsing!= null?false:true"/>
  768. </td>
  769. <td style="width: 30px; text-align: center;">
  770. <el-checkbox v-model="form.dIsRemovePipe" true-label="0" false-label="1"
  771. @change="dIsRemovePipeChange"
  772. :disabled="this.form.dIsLockoutUsing!= null?false:true"/>
  773. </td>
  774. <td style="text-align: center;">
  775. <el-input style="width: 85px;" v-model="form.dSafeImplSign25" readonly :disabled="this.form.dIsRemovePipe==1?false:true" @focus="signCard('dSafeImplSign25')">
  776. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  777. </el-input>
  778. <!--<el-button type="primary" slot="append" @click="signCard('dSafeImplSign25')"
  779. icon="el-icon-edit"
  780. :disabled="this.form.dIsRemovePipe==1?false:true"></el-button>-->
  781. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  782. value-format="yyyy-MM-dd HH:mm:ss" style="width: 115px"
  783. v-model="form.dSafeImplDate25" type="date"
  784. :disabled="this.form.dIsRemovePipe==1?false:true">
  785. </el-date-picker>
  786. </td>
  787. <td style="text-align: center;">
  788. <el-input style="width: 70px;" v-model="form.dSafeLiftedSign25" disabled/>
  789. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  790. value-format="yyyy-MM-dd HH:mm:ss" style="width: 80px"
  791. v-model="form.dSafeLiftedDate25" type="date" disabled>
  792. </el-date-picker>
  793. </td>
  794. </tr>
  795. <tr>
  796. <td>2.6</td>
  797. <td>断开管线并加盖盲法兰</td>
  798. <td style="width: 30px; text-align: center;">
  799. <el-checkbox v-model="form.dIsDisPipes" true-label="1" false-label="0"
  800. :disabled="this.form.dIsRemovePipe!= null?false:true"/>
  801. </td>
  802. <td style="width: 30px; text-align: center;">
  803. <el-checkbox v-model="form.dIsDisPipes" true-label="0" false-label="1" @change="dIsDisPipesChange"
  804. :disabled="this.form.dIsRemovePipe!= null?false:true"/>
  805. </td>
  806. <td style="text-align: center;">
  807. <el-input style="width: 85px;" v-model="form.dSafeImplSign26" readonly :disabled="this.form.dIsDisPipes==1?false:true" @focus="signCard('dSafeImplSign26')">
  808. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  809. </el-input>
  810. <!--<el-button type="primary" slot="append" @click="signCard('dSafeImplSign26')"
  811. icon="el-icon-edit"
  812. :disabled="this.form.dIsDisPipes==1?false:true"></el-button>-->
  813. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  814. value-format="yyyy-MM-dd HH:mm:ss" style="width: 115px"
  815. v-model="form.dSafeImplDate26" type="date"
  816. :disabled="this.form.dIsDisPipes==1?false:true">
  817. </el-date-picker>
  818. </td>
  819. <td style="text-align: center;">
  820. <el-input style="width: 70px;" v-model="form.dSafeLiftedSign26" disabled/>
  821. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  822. value-format="yyyy-MM-dd HH:mm:ss" style="width: 80px"
  823. v-model="form.dSafeLiftedDate26" type="date" disabled>
  824. </el-date-picker>
  825. </td>
  826. </tr>
  827. <tr>
  828. <td>2.7</td>
  829. <td>插入盲板</td>
  830. <td style="width: 30px; text-align: center;">
  831. <el-checkbox v-model="form.dIsInsertBlindPlage" true-label="1" false-label="0"
  832. :disabled="this.form.dIsDisPipes!= null?false:true"/>
  833. </td>
  834. <td style="width: 30px; text-align: center;">
  835. <el-checkbox v-model="form.dIsInsertBlindPlage" true-label="0" false-label="1"
  836. @change="dIsInsertBlindPlageChange"
  837. :disabled="this.form.dIsDisPipes!= null?false:true"/>
  838. </td>
  839. <td style="text-align: center;">
  840. <el-input style="width: 85px;" v-model="form.dSafeImplSign27" readonly :disabled="this.form.dIsInsertBlindPlage==1?false:true" @focus="signCard('dSafeImplSign27')">
  841. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  842. </el-input>
  843. <!--<el-button type="primary" slot="append" @click="signCard('dSafeImplSign27')"
  844. icon="el-icon-edit"
  845. :disabled="this.form.dIsInsertBlindPlage==1?false:true"></el-button>-->
  846. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  847. value-format="yyyy-MM-dd HH:mm:ss" style="width: 115px"
  848. v-model="form.dSafeImplDate27" type="date"
  849. :disabled="this.form.dIsInsertBlindPlage==1?false:true">
  850. </el-date-picker>
  851. </td>
  852. <td style="text-align: center;">
  853. <el-input style="width: 70px;" v-model="form.dSafeLiftedSign27" disabled/>
  854. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  855. value-format="yyyy-MM-dd HH:mm:ss" style="width: 80px"
  856. v-model="form.dSafeLiftedDate27" type="date" disabled>
  857. </el-date-picker>
  858. </td>
  859. </tr>
  860. <tr>
  861. <td>2.8</td>
  862. <td>机械安全措施:
  863. <el-input style="width: 150px;" v-model="form.dMecSecureContent"
  864. :disabled="this.form.dIsMecSecure==1?false:true"/>
  865. </td>
  866. <td style="width: 30px; text-align: center;">
  867. <el-checkbox v-model="form.dIsMecSecure" true-label="1" false-label="0"
  868. :disabled="this.form.dIsInsertBlindPlage!= null?false:true"/>
  869. </td>
  870. <td style="width: 30px; text-align: center;">
  871. <el-checkbox v-model="form.dIsMecSecure" true-label="0" false-label="1"
  872. @change="dIsMecSecureChange"
  873. :disabled="this.form.dIsInsertBlindPlage!= null?false:true"/>
  874. </td>
  875. <td style="text-align: center;">
  876. <el-input style="width: 85px;" v-model="form.dSafeImplSign28" readonly :disabled="this.form.dIsMecSecure==1?false:true" @focus="signCard('dSafeImplSign28')">
  877. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  878. </el-input>
  879. <!--<el-button type="primary" slot="append" @click="signCard('dSafeImplSign28')"
  880. icon="el-icon-edit"
  881. :disabled="this.form.dIsMecSecure==1?false:true"></el-button>-->
  882. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  883. value-format="yyyy-MM-dd HH:mm:ss" style="width: 115px"
  884. v-model="form.dSafeImplDate28" type="date"
  885. :disabled="this.form.dIsMecSecure==1?false:true">
  886. </el-date-picker>
  887. </td>
  888. <td style="text-align: center;">
  889. <el-input style="width: 70px;" v-model="form.dSafeLiftedSign28" disabled/>
  890. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  891. value-format="yyyy-MM-dd HH:mm:ss" style="width: 80px"
  892. v-model="form.dSafeLiftedDate28" type="date" disabled>
  893. </el-date-picker>
  894. </td>
  895. </tr>
  896. <tr>
  897. <td>2.9</td>
  898. <td>附隔离/盲板图</td>
  899. <td style="width: 30px; text-align: center;">
  900. <el-checkbox v-model="form.dIsIsolationDiagram" true-label="1" false-label="0"
  901. :disabled="this.form.dIsMecSecure!= null?false:true"/>
  902. </td>
  903. <td style="width: 30px; text-align: center;">
  904. <el-checkbox v-model="form.dIsIsolationDiagram" true-label="0" false-label="1"
  905. @change="dIsIsolationDiagramChange"
  906. :disabled="this.form.dIsMecSecure!= null?false:true"/>
  907. </td>
  908. <td style="text-align: center;">
  909. <el-input style="width: 85px;" v-model="form.dSafeImplSign29" readonly :disabled="this.form.dIsIsolationDiagram==1?false:true" @focus="signCard('dSafeImplSign29')">
  910. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  911. </el-input>
  912. <!--<el-button type="primary" slot="append" @click="signCard('dSafeImplSign29')"
  913. icon="el-icon-edit"
  914. :disabled="this.form.dIsIsolationDiagram==1?false:true"></el-button>-->
  915. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  916. value-format="yyyy-MM-dd HH:mm:ss" style="width: 115px"
  917. v-model="form.dSafeImplDate29" type="date"
  918. :disabled="this.form.dIsIsolationDiagram==1?false:true">
  919. </el-date-picker>
  920. </td>
  921. </tr>
  922. <tr>
  923. <td>2.10</td>
  924. <td>
  925. <el-input style="width: 150px;" v-model="form.dOtherSafePlantContent"
  926. :disabled="this.form.dIsOtherSafePlant==1?false:true"/>
  927. </td>
  928. <td style="width: 30px; text-align: center;">
  929. <el-checkbox v-model="form.dIsOtherSafePlant" true-label="1" false-label="0"
  930. :disabled="this.form.dIsIsolationDiagram!= null?false:true"/>
  931. </td>
  932. <td style="width: 30px; text-align: center;">
  933. <el-checkbox v-model="form.dIsOtherSafePlant" true-label="0" false-label="1"
  934. @change="dIsOtherSafePlantChange"
  935. :disabled="this.form.dIsIsolationDiagram!= null?false:true"/>
  936. </td>
  937. <td style="text-align: center;">
  938. <el-input style="width: 85px;" v-model="form.dSafeImplSign210" readonly :disabled="this.form.dIsOtherSafePlant==1?false:true" @focus="signCard('dSafeImplSign210')">
  939. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  940. </el-input>
  941. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  942. value-format="yyyy-MM-dd HH:mm:ss" style="width: 115px"
  943. v-model="form.dSafeImplDate210" type="date"
  944. :disabled="this.form.dIsOtherSafePlant==1?false:true">
  945. </el-date-picker>
  946. </td>
  947. <td style="text-align: center;">
  948. <el-input style="width: 70px;" v-model="form.dSafeLiftedSign210" disabled/>
  949. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  950. value-format="yyyy-MM-dd HH:mm:ss" style="width: 80px"
  951. v-model="form.dSafeLiftedDate210" type="date" disabled>
  952. </el-date-picker>
  953. </td>
  954. </tr>
  955. <tr>
  956. <td>3.</td>
  957. <td><b>导空/清洗工艺设备</b></td>
  958. </tr>
  959. <tr>
  960. <td>3.1</td>
  961. <td>倒空</td>
  962. <td style="width: 30px; text-align: center;">
  963. <el-checkbox v-model="form.dIsDrain" true-label="1" false-label="0"
  964. :disabled="this.form.dIsOtherSafePlant!= null?false:true"/>
  965. </td>
  966. <td style="width: 30px; text-align: center;">
  967. <el-checkbox v-model="form.dIsDrain" true-label="0" false-label="1" @change="dIsDrainChange"
  968. :disabled="this.form.dIsOtherSafePlant!= null?false:true"/>
  969. </td>
  970. <td style="text-align: center;">
  971. <el-input style="width: 85px;" v-model="form.dSafeImplSign31" readonly :disabled="this.form.dIsDrain==1?false:true" @focus="signCard('dSafeImplSign31')">
  972. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  973. </el-input>
  974. <!--<el-button type="primary" slot="append" @click="signCard('dSafeImplSign31')"
  975. icon="el-icon-edit"
  976. :disabled="this.form.dIsDrain==1?false:true"></el-button>-->
  977. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  978. value-format="yyyy-MM-dd HH:mm:ss" style="width: 115px"
  979. v-model="form.dSafeImplDate31" type="date"
  980. :disabled="this.form.dIsDrain==1?false:true">
  981. </el-date-picker>
  982. </td>
  983. </tr>
  984. <tr>
  985. <td>3.2</td>
  986. <td>用
  987. <el-select style="width: 150px;" clearable v-model="form.dCleanContent" filterable
  988. :disabled="this.form.dIsClean==1?false:true">
  989. <el-option v-for="item in dClears" :key="item.id" :label="item.name" :value="item.id">
  990. </el-option>
  991. </el-select>
  992. 清洗
  993. </td>
  994. <td style="width: 30px; text-align: center;">
  995. <el-checkbox v-model="form.dIsClean" true-label="1" false-label="0"
  996. :disabled="this.form.dIsDrain!= null?false:true"/>
  997. </td>
  998. <td style="width: 30px; text-align: center;">
  999. <el-checkbox v-model="form.dIsClean" true-label="0" false-label="1" @change="dIsCleanChange"
  1000. :disabled="this.form.dIsDrain!= null?false:true"/>
  1001. </td>
  1002. <td style="text-align: center;">
  1003. <el-input style="width: 85px;" v-model="form.dSafeImplSign32" readonly :disabled="this.form.dIsClean==1?false:true" @focus="signCard('dSafeImplSign32')">
  1004. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  1005. </el-input>
  1006. <!--<el-button type="primary" slot="append" @click="signCard('dSafeImplSign32')"
  1007. icon="el-icon-edit"
  1008. :disabled="this.form.dIsClean==1?false:true"></el-button>-->
  1009. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  1010. value-format="yyyy-MM-dd HH:mm:ss" style="width: 115px"
  1011. v-model="form.dSafeImplDate32" type="date"
  1012. :disabled="this.form.dIsClean==1?false:true">
  1013. </el-date-picker>
  1014. </td>
  1015. </tr>
  1016. <tr>
  1017. <td>3.3</td>
  1018. <td>用
  1019. <el-select style="width: 150px;" clearable v-model="form.dFlushContent" filterable
  1020. :disabled="this.form.dIsFlush==1?false:true">
  1021. <el-option v-for="item in dFlushs" :key="item.id" :label="item.name" :value="item.id">
  1022. </el-option>
  1023. </el-select>
  1024. 置换
  1025. </td>
  1026. <td style="width: 30px; text-align: center;">
  1027. <el-checkbox v-model="form.dIsFlush" true-label="1" false-label="0"
  1028. :disabled="this.form.dIsClean!= null?false:true"/>
  1029. </td>
  1030. <td style="width: 30px; text-align: center;">
  1031. <el-checkbox v-model="form.dIsFlush" true-label="0" false-label="1" @change="dIsFlushChange"
  1032. :disabled="this.form.dIsClean!= null?false:true"/>
  1033. </td>
  1034. <td style="text-align: center;">
  1035. <el-input style="width: 85px;" v-model="form.dSafeImplSign33" readonly :disabled="this.form.dIsFlush==1?false:true" @focus="signCard('dSafeImplSign33')">
  1036. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  1037. </el-input>
  1038. <!--<el-button type="primary" slot="append" @click="signCard('dSafeImplSign33')"
  1039. icon="el-icon-edit"
  1040. :disabled="this.form.dIsFlush==1?false:true"></el-button>-->
  1041. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  1042. value-format="yyyy-MM-dd HH:mm:ss" style="width: 115px"
  1043. v-model="form.dSafeImplDate33" type="date"
  1044. :disabled="this.form.dIsFlush==1?false:true">
  1045. </el-date-picker>
  1046. </td>
  1047. </tr>
  1048. <tr>
  1049. <td>3.4</td>
  1050. <td>
  1051. <el-input style="width: 150px;" v-model="form.dOtherCleanContent"
  1052. :disabled="this.form.dIsOhterClean==1?false:true"/>
  1053. </td>
  1054. <td style="width: 30px; text-align: center;">
  1055. <el-checkbox v-model="form.dIsOhterClean" true-label="1" false-label="0"
  1056. :disabled="this.form.dIsFlush!= null?false:true"/>
  1057. </td>
  1058. <td style="width: 30px; text-align: center;">
  1059. <el-checkbox v-model="form.dIsOhterClean" true-label="0" false-label="1"
  1060. @change="dIsOhterCleanChange"
  1061. :disabled="this.form.dIsFlush!= null?false:true"/>
  1062. </td>
  1063. <td style="text-align: center;">
  1064. <el-input style="width: 85px;" v-model="form.dSafeImplSign34" readonly :disabled="this.form.dIsOhterClean==1?false:true" @focus="signCard('dSafeImplSign34')">
  1065. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  1066. </el-input>
  1067. <!--<el-button type="primary" slot="append" @click="signCard('dSafeImplSign34')"
  1068. icon="el-icon-edit"
  1069. :disabled="this.form.dIsOhterClean==1?false:true"></el-button>-->
  1070. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  1071. value-format="yyyy-MM-dd HH:mm:ss" style="width: 115px"
  1072. v-model="form.dSafeImplDate34" type="date"
  1073. :disabled="this.form.dIsOhterClean==1?false:true">
  1074. </el-date-picker>
  1075. </td>
  1076. </tr>
  1077. <tr>
  1078. <td>4.</td>
  1079. <td><b>确保施工区域安全</b></td>
  1080. </tr>
  1081. <tr>
  1082. <td>4.1</td>
  1083. <td>现场隔离使用:
  1084. <el-select style="width: 150px;" clearable v-model="form.dSiteDemarcationContent" filterable
  1085. :disabled="this.form.dIsSiteDemarcation==1?false:true">
  1086. <el-option v-for="item in dSiteDemarcations" :key="item.id" :label="item.name" :value="item.id">
  1087. </el-option>
  1088. </el-select>
  1089. </td>
  1090. <td style="width: 30px; text-align: center;">
  1091. <el-checkbox v-model="form.dIsSiteDemarcation" true-label="1" false-label="0"
  1092. :disabled="this.form.dIsOhterClean!= null?false:true"/>
  1093. </td>
  1094. <td style="width: 30px; text-align: center;">
  1095. <el-checkbox v-model="form.dIsSiteDemarcation" true-label="0" false-label="1"
  1096. @change="dIsSiteDemarcationChange"
  1097. :disabled="this.form.dIsOhterClean!= null?false:true"/>
  1098. </td>
  1099. <td style="text-align: center;">
  1100. <el-input style="width: 85px;" v-model="form.dSafeImplSign41" readonly :disabled="this.form.dIsSiteDemarcation==1?false:true" @focus="signCard('dSafeImplSign41')">
  1101. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  1102. </el-input>
  1103. <!--<el-button type="primary" slot="append" @click="signCard('dSafeImplSign41')"
  1104. icon="el-icon-edit"
  1105. :disabled="this.form.dIsSiteDemarcation==1?false:true"></el-button>-->
  1106. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  1107. value-format="yyyy-MM-dd HH:mm:ss" style="width: 115px"
  1108. v-model="form.dSafeImplDate41" type="date"
  1109. :disabled="this.form.dIsSiteDemarcation==1?false:true">
  1110. </el-date-picker>
  1111. </td>
  1112. <td style="text-align: center;">
  1113. <el-input style="width: 70px;" v-model="form.dSafeLiftedSign41" disabled/>
  1114. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  1115. value-format="yyyy-MM-dd HH:mm:ss" style="width: 80px"
  1116. v-model="form.dSafeLiftedDate41" type="date" disabled>
  1117. </el-date-picker>
  1118. </td>
  1119. </tr>
  1120. <tr>
  1121. <td>4.2</td>
  1122. <td>需覆盖的区域:
  1123. <el-input style="width: 150px;" v-model="form.dAreaCoverContent"
  1124. :disabled="this.form.dIsAreaCover==1?false:true"/>
  1125. </td>
  1126. <td style="width: 30px; text-align: center;">
  1127. <el-checkbox v-model="form.dIsAreaCover" true-label="1" false-label="0"
  1128. :disabled="this.form.dIsSiteDemarcation!= null?false:true"/>
  1129. </td>
  1130. <td style="width: 30px; text-align: center;">
  1131. <el-checkbox v-model="form.dIsAreaCover" true-label="0" false-label="1"
  1132. @change="dIsAreaCoverChange"
  1133. :disabled="this.form.dIsSiteDemarcation!= null?false:true"/>
  1134. </td>
  1135. <td style="text-align: center;">
  1136. <el-input style="width: 85px;" v-model="form.dSafeImplSign42" readonly :disabled="this.form.dIsAreaCover==1?false:true" @focus="signCard('dSafeImplSign42')">
  1137. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  1138. </el-input>
  1139. <!--<el-button type="primary" slot="append" @click="signCard('dSafeImplSign42')"
  1140. icon="el-icon-edit"
  1141. :disabled="this.form.dIsAreaCover==1?false:true"></el-button>-->
  1142. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  1143. value-format="yyyy-MM-dd HH:mm:ss" style="width: 115px"
  1144. v-model="form.dSafeImplDate42" type="date"
  1145. :disabled="this.form.dIsAreaCover==1?false:true">
  1146. </el-date-picker>
  1147. </td>
  1148. <td style="text-align: center;">
  1149. <el-input style="width: 70px;" v-model="form.dSafeLiftedSign42" disabled/>
  1150. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  1151. value-format="yyyy-MM-dd HH:mm:ss" style="width: 80px"
  1152. v-model="form.dSafeLiftedDate42" type="date" disabled>
  1153. </el-date-picker>
  1154. </td>
  1155. </tr>
  1156. <tr>
  1157. <td>4.3</td>
  1158. <td>封闭槽车/火车路线</td>
  1159. <td style="width: 30px; text-align: center;">
  1160. <el-checkbox v-model="form.dIsCloseTrucks" true-label="1" false-label="0"
  1161. :disabled="this.form.dIsAreaCover!= null?false:true"/>
  1162. </td>
  1163. <td style="width: 30px; text-align: center;">
  1164. <el-checkbox v-model="form.dIsCloseTrucks" true-label="0" false-label="1"
  1165. @change="dIsCloseTrucksChange"
  1166. :disabled="this.form.dIsAreaCover!= null?false:true"/>
  1167. </td>
  1168. <td style="text-align: center;">
  1169. <el-input style="width: 85px;" v-model="form.dSafeImplSign43" readonly :disabled="this.form.dIsCloseTrucks==1?false:true" @focus="signCard('dSafeImplSign43')">
  1170. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  1171. </el-input>
  1172. <!--<el-button type="primary" slot="append" @click="signCard('dSafeImplSign43')"
  1173. icon="el-icon-edit"
  1174. :disabled="this.form.dIsCloseTrucks==1?false:true"></el-button>-->
  1175. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  1176. value-format="yyyy-MM-dd HH:mm:ss" style="width: 115px"
  1177. v-model="form.dSafeImplDate43" type="date"
  1178. :disabled="this.form.dIsCloseTrucks==1?false:true">
  1179. </el-date-picker>
  1180. </td>
  1181. <td style="text-align: center;">
  1182. <el-input style="width: 70px;" v-model="form.dSafeLiftedSign43" disabled/>
  1183. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  1184. value-format="yyyy-MM-dd HH:mm:ss" style="width: 80px"
  1185. v-model="form.dSafeLiftedDate43" type="date" disabled>
  1186. </el-date-picker>
  1187. </td>
  1188. </tr>
  1189. <tr>
  1190. <td>4.4</td>
  1191. <td>对邻近法兰和管件检漏</td>
  1192. <td style="width: 30px; text-align: center;">
  1193. <el-checkbox v-model="form.dIsLeakFlanges" true-label="1" false-label="0"
  1194. :disabled="this.form.dIsCloseTrucks!= null?false:true"/>
  1195. </td>
  1196. <td style="width: 30px; text-align: center;">
  1197. <el-checkbox v-model="form.dIsLeakFlanges" true-label="0" false-label="1"
  1198. @change="dIsLeakFlangesChange"
  1199. :disabled="this.form.dIsCloseTrucks!= null?false:true"/>
  1200. </td>
  1201. <td style="text-align: center;">
  1202. <el-input style="width: 85px;" v-model="form.dSafeImplSign44" readonly :disabled="this.form.dIsLeakFlanges==1?false:true" @focus="signCard('dSafeImplSign44')">
  1203. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  1204. </el-input>
  1205. <!--<el-button type="primary" slot="append" @click="signCard('dSafeImplSign44')"
  1206. icon="el-icon-edit"
  1207. :disabled="this.form.dIsLeakFlanges==1?false:true"></el-button>-->
  1208. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  1209. value-format="yyyy-MM-dd HH:mm:ss" style="width: 115px"
  1210. v-model="form.dSafeImplDate44" type="date"
  1211. :disabled="this.form.dIsLeakFlanges==1?false:true">
  1212. </el-date-picker>
  1213. </td>
  1214. <td style="text-align: center;">
  1215. <el-input style="width: 70px;" v-model="form.dSafeLiftedSign44" disabled/>
  1216. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  1217. value-format="yyyy-MM-dd HH:mm:ss" style="width: 80px"
  1218. v-model="form.dSafeLiftedDate44" type="date" disabled>
  1219. </el-date-picker>
  1220. </td>
  1221. </tr>
  1222. <tr>
  1223. <td>4.5</td>
  1224. <td>
  1225. <el-input style="width: 150px;" v-model="form.dOtherWorkSafeContent"
  1226. :disabled="this.form.dIsOtherWorkSafe==1?false:true"/>
  1227. </td>
  1228. <td style="width: 30px; text-align: center;">
  1229. <el-checkbox v-model="form.dIsOtherWorkSafe" true-label="1" false-label="0"
  1230. :disabled="this.form.dIsLeakFlanges!= null?false:true"/>
  1231. </td>
  1232. <td style="width: 30px; text-align: center;">
  1233. <el-checkbox v-model="form.dIsOtherWorkSafe" true-label="0" false-label="1"
  1234. @change="dIsOtherWorkSafeChange"
  1235. :disabled="this.form.dIsLeakFlanges!= null?false:true"/>
  1236. </td>
  1237. <td style="text-align: center;">
  1238. <el-input style="width: 85px;" v-model="form.dSafeImplSign45" readonly :disabled="this.form.dIsOtherWorkSafe==1?false:true" @focus="signCard('dSafeImplSign45')">
  1239. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  1240. </el-input>
  1241. <!--<el-button type="primary" slot="append" @click="signCard('dSafeImplSign45')"
  1242. icon="el-icon-edit"
  1243. :disabled="this.form.dIsOtherWorkSafe==1?false:true"></el-button>-->
  1244. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  1245. value-format="yyyy-MM-dd HH:mm:ss" style="width: 115px"
  1246. v-model="form.dSafeImplDate45" type="date"
  1247. :disabled="this.form.dIsOtherWorkSafe==1?false:true">
  1248. </el-date-picker>
  1249. </td>
  1250. <td style="text-align: center;">
  1251. <el-input style="width: 70px;" v-model="form.dSafeLiftedSign45" disabled/>
  1252. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  1253. value-format="yyyy-MM-dd HH:mm:ss" style="width: 80px"
  1254. v-model="form.dSafeLiftedDate45" type="date" disabled>
  1255. </el-date-picker>
  1256. </td>
  1257. </tr>
  1258. <tr>
  1259. <td>5.</td>
  1260. <td><b>额外组织措施</b></td>
  1261. </tr>
  1262. <tr>
  1263. <td>5.1</td>
  1264. <td>
  1265. <el-input style="width: 150px;" v-model="form.dOtherMeasureContent"
  1266. :disabled="this.form.dIsOtherMeasure==1?false:true"/>
  1267. </td>
  1268. <td style="width: 30px; text-align: center;">
  1269. <el-checkbox v-model="form.dIsOtherMeasure" true-label="1" false-label="0"
  1270. :disabled="this.form.dIsOtherWorkSafe!= null?false:true"/>
  1271. </td>
  1272. <td style="width: 30px; text-align: center;">
  1273. <el-checkbox v-model="form.dIsOtherMeasure" true-label="0" false-label="1"
  1274. @change="dIsOtherMeasureChange"
  1275. :disabled="this.form.dIsOtherWorkSafe!= null?false:true"/>
  1276. </td>
  1277. <td style="text-align: center;">
  1278. <el-input style="width: 85px;" v-model="form.dSafeImplSign51" readonly :disabled="this.form.dIsOtherMeasure==1?false:true" @focus="signCard('dSafeImplSign51')">
  1279. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  1280. </el-input>
  1281. <!--<el-button type="primary" slot="append" @click="signCard('dSafeImplSign51')"
  1282. icon="el-icon-edit"
  1283. :disabled="this.form.dIsOtherMeasure==1?false:true"></el-button>-->
  1284. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  1285. value-format="yyyy-MM-dd HH:mm:ss" style="width: 115px"
  1286. v-model="form.dSafeImplDate51" type="date"
  1287. :disabled="this.form.dIsOtherMeasure==1?false:true">
  1288. </el-date-picker>
  1289. </td>
  1290. <td style="text-align: center;">
  1291. <el-input style="width: 70px;" v-model="form.dSafeLiftedSign51" disabled/>
  1292. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  1293. value-format="yyyy-MM-dd HH:mm:ss" style="width: 80px"
  1294. v-model="form.dSafeLiftedDate51" type="date" disabled>
  1295. </el-date-picker>
  1296. </td>
  1297. </tr>
  1298. <tr>
  1299. <td>6.</td>
  1300. <td><b>现场安全说明/交底</b></td>
  1301. </tr>
  1302. <tr>
  1303. <td style="width: 30px; text-align: center;">
  1304. <!--<el-checkbox v-model="form.dIsSafeBriefing" true-label="1" false-label="0"-->
  1305. <el-checkbox true-label="1" false-label="0"
  1306. v-model="form.dIsSafeBriefing"
  1307. @change="dIsSafeBriefingChange"
  1308. :disabled="this.form.dIsOtherMeasure!= null?false:true">是
  1309. </el-checkbox>
  1310. </td>
  1311. <td colspan="6">
  1312. 参与交底人签名/日期
  1313. <el-input style="width: 250px;" v-model="form.dPartakeBriefingSign" clearable :disabled="this.form.dIsSafeBriefing==1?false:true"/>
  1314. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  1315. value-format="yyyy-MM-dd HH:mm:ss" style="width: 200px"
  1316. v-model="form.dPartakeBriefingDate" type="date"
  1317. :disabled="this.form.dIsSafeBriefing==1?false:true">
  1318. </el-date-picker>
  1319. <el-button type="primary" slot="append" @click="signCard('dPartakeBriefingSign')"
  1320. icon="el-icon-edit"
  1321. :disabled="this.form.dIsSafeBriefing==1?false:true"></el-button>
  1322. </td>
  1323. </tr>
  1324. <tr>
  1325. <td style="width: 30px; text-align: center;">
  1326. <el-checkbox v-model="form.dIsSafeBriefing" true-label="0" false-label="1"
  1327. @change="dIsSafeBriefingChange"
  1328. :disabled="this.form.dIsOtherMeasure!= null?false:true">没有
  1329. </el-checkbox>
  1330. </td>
  1331. <td>
  1332. 原因:
  1333. <el-input style="width: 150px;" v-model="form.dNoReasonContent"
  1334. :disabled="this.form.dIsSafeBriefing==0?false:true"/>
  1335. </td>
  1336. </tr>
  1337. </table>
  1338. </el-collapse-item>
  1339. </el-collapse>
  1340. </el-col>
  1341. <!-- 右侧栏 -->
  1342. <el-col :span="12">
  1343. <el-collapse v-model="activeNames">
  1344. <el-collapse-item title="E 施工时的安全措施" name="5">
  1345. <el-row>
  1346. <el-col :span="12">
  1347. <table>
  1348. <th style="width: 30px;"></th>
  1349. <th style="width: 300px;"></th>
  1350. <th style="width: 30px; text-align: center;">是</th>
  1351. <th style="width: 30px; text-align: center;">否</th>
  1352. <tr>
  1353. <td><b>1.</b></td>
  1354. <td>可能有残留物料</td>
  1355. <td style="width: 30px; text-align: center;">
  1356. <el-checkbox v-model="form.eIsPresent" true-label="1" false-label="0"/>
  1357. </td>
  1358. <td style="width: 30px; text-align: center;">
  1359. <el-checkbox v-model="form.eIsPresent" true-label="0" false-label="1"/>
  1360. </td>
  1361. </tr>
  1362. <tr>
  1363. <td><b>2.</b></td>
  1364. <td><b>个人防护用品(PPE)</b></td>
  1365. </tr>
  1366. <tr>
  1367. <td></td>
  1368. <td>仅限定时间内佩戴的PPE:</td>
  1369. <td style="width: 30px; text-align: center;">
  1370. <el-checkbox v-model="form.eIsRequiredPpe" true-label="1" false-label="0"/>
  1371. </td>
  1372. <td style="width: 30px; text-align: center;">
  1373. <el-checkbox v-model="form.eIsRequiredPpe" true-label="0" false-label="1"
  1374. @change="eIsRequiredPpeChange"/>
  1375. </td>
  1376. </tr>
  1377. <tr>
  1378. <td></td>
  1379. <td>项目:
  1380. <el-input style="width: 150px;" v-model="form.ePpeContent"
  1381. :disabled="this.form.eIsRequiredPpe==1?false:true"/>
  1382. </td>
  1383. </tr>
  1384. <tr>
  1385. <td><b>2.1</b></td>
  1386. <td>安全护目镜</td>
  1387. <td style="width: 30px; text-align: center;">
  1388. <el-checkbox v-model="eIsSafeGoggles" true-label="1" false-label="0"/>
  1389. </td>
  1390. <td style="width: 30px; text-align: center;">
  1391. <el-checkbox v-model="eIsSafeGoggles" true-label="0" false-label="1"/>
  1392. </td>
  1393. </tr>
  1394. <tr>
  1395. <td><b>2.2</b></td>
  1396. <td>防护面罩</td>
  1397. <td style="width: 30px; text-align: center;">
  1398. <el-checkbox v-model="eIsFaceShield" true-label="1" false-label="0"/>
  1399. </td>
  1400. <td style="width: 30px; text-align: center;">
  1401. <el-checkbox v-model="eIsFaceShield" true-label="0" false-label="1"/>
  1402. </td>
  1403. </tr>
  1404. <tr>
  1405. <td><b>2.3</b></td>
  1406. <td>防护手套,类型:
  1407. <el-select :disabled="this.eIsProtectGloves==1?false:true" style="width: 150px;"
  1408. v-model="eProtectGlovesContent" placeholder="请选择防护手套">
  1409. <el-option v-for="dict in safeGoggles" :key="dict.id" :label="dict.conservatoryMeasureName"
  1410. :value="dict.id">
  1411. </el-option>
  1412. </el-select>
  1413. </td>
  1414. <td style="width: 30px; text-align: center;">
  1415. <el-checkbox v-model="eIsProtectGloves" true-label="1" false-label="0"/>
  1416. </td>
  1417. <td style="width: 30px; text-align: center;">
  1418. <el-checkbox v-model="eIsProtectGloves" true-label="0" false-label="1"
  1419. @change="eIsProtectGlovesChange"
  1420. />
  1421. </td>
  1422. </tr>
  1423. <tr>
  1424. <td><b>2.4</b></td>
  1425. <td>橡胶长靴</td>
  1426. <td style="width: 30px; text-align: center;">
  1427. <el-checkbox v-model="eIsRubberBoots" true-label="1" false-label="0"/>
  1428. </td>
  1429. <td style="width: 30px; text-align: center;">
  1430. <el-checkbox v-model="eIsRubberBoots" true-label="0" false-label="1"/>
  1431. </td>
  1432. </tr>
  1433. <tr>
  1434. <td><b>2.5</b></td>
  1435. <td>橡胶围裙</td>
  1436. <td style="width: 30px; text-align: center;">
  1437. <el-checkbox v-model="eIsRubberApron" true-label="1" false-label="0"/>
  1438. </td>
  1439. <td style="width: 30px; text-align: center;">
  1440. <el-checkbox v-model="eIsRubberApron" true-label="0" false-label="1"/>
  1441. </td>
  1442. </tr>
  1443. <tr>
  1444. <td><b>2.6</b></td>
  1445. <td>防护服,类型:
  1446. <el-select :disabled="this.eIsProtectSuit==1?false:true" style="width: 150px;"
  1447. v-model="eProtectSuitContent" placeholder="请选择防护服">
  1448. <el-option v-for="dict in protectSuits" :key="dict.id" :label="dict.conservatoryMeasureName"
  1449. :value="dict.id">
  1450. </el-option>
  1451. </el-select>
  1452. </td>
  1453. <td style="width: 30px; text-align: center;">
  1454. <el-checkbox v-model="eIsProtectSuit" true-label="1" false-label="0"/>
  1455. </td>
  1456. <td style="width: 30px; text-align: center;">
  1457. <el-checkbox v-model="eIsProtectSuit" true-label="0" false-label="1"
  1458. @change="eIsProtectSuitChange"/>
  1459. </td>
  1460. </tr>
  1461. <tr>
  1462. <td><b>2.7</b></td>
  1463. <td>呼吸保护用品,类型:
  1464. <el-select :disabled="this.eIsResProtect==1?false:true" style="width: 150px;"
  1465. v-model="eResProtectContent" placeholder="请选择防护面罩">
  1466. <el-option v-for="dict in resProtects" :key="dict.id" :label="dict.conservatoryMeasureName"
  1467. :value="dict.id">
  1468. </el-option>
  1469. </el-select>
  1470. </td>
  1471. <td style="width: 30px; text-align: center;">
  1472. <el-checkbox v-model="eIsResProtect" true-label="1" false-label="0"/>
  1473. </td>
  1474. <td style="width: 30px; text-align: center;">
  1475. <el-checkbox v-model="eIsResProtect" true-label="0" false-label="1"
  1476. @change="eIsResProtectChange"/>
  1477. </td>
  1478. </tr>
  1479. <tr>
  1480. <td><b>2.8</b></td>
  1481. <td>防坠落装置,类型:
  1482. <el-select style="width: 150px;" clearable v-model="form.eFallArrestContent" filterable
  1483. :disabled="this.eIsFallArrest==1?false:true">
  1484. <el-option v-for="item in eFallArrestContents" :key="item.id" :label="item.name"
  1485. :value="item.id">
  1486. </el-option>
  1487. </el-select>
  1488. </td>
  1489. <td style="width: 30px; text-align: center;">
  1490. <el-checkbox v-model="eIsFallArrest" true-label="1" false-label="0"/>
  1491. </td>
  1492. <td style="width: 30px; text-align: center;">
  1493. <el-checkbox v-model="eIsFallArrest" true-label="0" false-label="1"
  1494. @change="eIsFallArrestChange"/>
  1495. </td>
  1496. </tr>
  1497. <tr>
  1498. <td><b>2.9</b></td>
  1499. <td>
  1500. <el-input style="width: 150px;" v-model="form.eOtherProtectContent"
  1501. :disabled="this.form.eIsOtherProtect==1?false:true"/>
  1502. </td>
  1503. <td style="width: 30px; text-align: center;">
  1504. <el-checkbox v-model="form.eIsOtherProtect" true-label="1" false-label="0"/>
  1505. </td>
  1506. <td style="width: 30px; text-align: center;">
  1507. <el-checkbox v-model="form.eIsOtherProtect" true-label="0" false-label="1"
  1508. @change="eIsOtherProtectChange"/>
  1509. </td>
  1510. </tr>
  1511. </table>
  1512. </el-col>
  1513. <el-col :span="11">
  1514. <table>
  1515. <th style="width: 30px;"></th>
  1516. <th style="width: 300px;"></th>
  1517. <th style="width: 30px; text-align: center;">是</th>
  1518. <th style="width: 30px; text-align: center;">否</th>
  1519. <tr>
  1520. <td><b>3.</b></td>
  1521. <td><b>连续的监控</b></td>
  1522. </tr>
  1523. <tr>
  1524. <td></td>
  1525. <td>安全监护人单位/签字:
  1526. <el-input style="width: 70px;" v-model="form.eSafeAttendant"
  1527. :disabled="this.form.eIsContinueMonitoring==1?false:true"/>
  1528. /
  1529. <el-input style="width: 85px;" v-model="form.eSafeAttendantSign" readonly :disabled="this.form.eIsContinueMonitoring==1?false:true" @focus="signCard('eSafeAttendantSign')">
  1530. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  1531. </el-input>
  1532. <!--<el-button type="primary" slot="append" @click="signCard('eSafeAttendantSign')"
  1533. icon="el-icon-edit"
  1534. :disabled="this.form.eIsContinueMonitoring==1?false:true"></el-button>-->
  1535. </td>
  1536. <td style="width: 30px; text-align: center;">
  1537. <el-checkbox v-model="form.eIsContinueMonitoring" true-label="1" false-label="0"/>
  1538. </td>
  1539. <td style="width: 30px; text-align: center;">
  1540. <el-checkbox v-model="form.eIsContinueMonitoring" true-label="0" false-label="1"
  1541. @change="eIsContinueMonitoringChange"/>
  1542. </td>
  1543. </tr>
  1544. <tr>
  1545. <td><b>4.</b></td>
  1546. <td><b>通风措施</b></td>
  1547. </tr>
  1548. <tr>
  1549. <td><b>4.1</b></td>
  1550. <td>自然通风:
  1551. <el-input style="width: 150px;" v-model="form.eNaturalVenContent"
  1552. :disabled="this.form.eIsNaturalVen==1?false:true"/>
  1553. </td>
  1554. <td style="width: 30px; text-align: center;">
  1555. <el-checkbox v-model="form.eIsNaturalVen" true-label="1" false-label="0"/>
  1556. </td>
  1557. <td style="width: 30px; text-align: center;">
  1558. <el-checkbox v-model="form.eIsNaturalVen" true-label="0" false-label="1"
  1559. @change="eIsNaturalVenChange"/>
  1560. </td>
  1561. </tr>
  1562. <tr>
  1563. <td><b>4.2</b></td>
  1564. <td>机械通风,使用:
  1565. <el-input style="width: 150px;" v-model="form.eMecVenContent"
  1566. :disabled="this.form.eIsMecVen==1?false:true"/>
  1567. </td>
  1568. <td style="width: 30px; text-align: center;">
  1569. <el-checkbox v-model="form.eIsMecVen" true-label="1" false-label="0"/>
  1570. </td>
  1571. <td style="width: 30px; text-align: center;">
  1572. <el-checkbox v-model="form.eIsMecVen" true-label="0" false-label="1"
  1573. @change="eIsMecVenChange"/>
  1574. </td>
  1575. </tr>
  1576. <tr>
  1577. <td><b>4.3</b></td>
  1578. <td>在释放源处抽走粉尘/气体/蒸汽</td>
  1579. <td style="width: 30px; text-align: center;">
  1580. <el-checkbox v-model="form.eIsExxtractDust" true-label="1" false-label="0"/>
  1581. </td>
  1582. <td style="width: 30px; text-align: center;">
  1583. <el-checkbox v-model="form.eIsExxtractDust" true-label="0" false-label="1"/>
  1584. </td>
  1585. </tr>
  1586. <tr>
  1587. <td><b>4.4</b></td>
  1588. <td>空气分析内容:
  1589. <el-input style="width: 150px;" v-model="form.eAnalyzeAirContent"
  1590. :disabled="this.form.eIsAnalyzeAir==1?false:true"/>
  1591. </td>
  1592. <td style="width: 30px; text-align: center;">
  1593. <el-checkbox v-model="form.eIsAnalyzeAir" true-label="1" false-label="0"/>
  1594. </td>
  1595. <td style="width: 30px; text-align: center;">
  1596. <el-checkbox v-model="form.eIsAnalyzeAir" true-label="0" false-label="1"
  1597. @change="eIsAnalyzeAirChange"/>
  1598. </td>
  1599. </tr>
  1600. <tr>
  1601. <td></td>
  1602. <td>分析频次:
  1603. <el-select style="width: 150px;" clearable v-model="form.eAnalyzeAirInterval" filterable
  1604. :disabled="this.form.eIsAnalyzeAir==1?false:true">
  1605. <el-option v-for="item in eAnalyzeAirIntervals" :key="item.id" :label="item.name"
  1606. :value="item.id">
  1607. </el-option>
  1608. </el-select>
  1609. </td>
  1610. </tr>
  1611. <tr>
  1612. <td><b>4.5</b></td>
  1613. <td>
  1614. <el-input style="width: 150px;" v-model="form.eOtherVenContent"
  1615. :disabled="this.form.eIsOtherVen==1?false:true"/>
  1616. </td>
  1617. <td style="width: 30px; text-align: center;">
  1618. <el-checkbox v-model="form.eIsOtherVen" true-label="1" false-label="0"/>
  1619. </td>
  1620. <td style="width: 30px; text-align: center;">
  1621. <el-checkbox v-model="form.eIsOtherVen" true-label="0" false-label="1"
  1622. @change="eIsOtherVenChange"/>
  1623. </td>
  1624. </tr>
  1625. </table>
  1626. </el-col>
  1627. </el-row>
  1628. </el-collapse-item>
  1629. <el-collapse-item title="F 施工后的安全措施" name="6">
  1630. <table>
  1631. <th></th>
  1632. <th style="width: 30px; text-align: center;">是</th>
  1633. <th style="width: 30px; text-align: center;">否</th>
  1634. <tr>
  1635. <td>
  1636. <el-input style="width: 600px;" v-model="form.fAfterWorkSafeContent"
  1637. :disabled="form.fIsAfterWorkSafe == 1?false:true"/>
  1638. </td>
  1639. <td style="width: 30px; text-align: center;">
  1640. <el-checkbox v-model="form.fIsAfterWorkSafe" true-label="1" false-label="0"/>
  1641. </td>
  1642. <td style="width: 30px; text-align: center;">
  1643. <el-checkbox v-model="form.fIsAfterWorkSafe" true-label="0" false-label="1"
  1644. @change="fIsAfterWorkSafeChange"/>
  1645. </td>
  1646. </tr>
  1647. </table>
  1648. </el-collapse-item>
  1649. <el-collapse-item title="G 核实危害评估和安全措施界定" name="7">
  1650. <table>
  1651. <tr>
  1652. <td></td>
  1653. <td align="right">由专门部门人员评估的项目:</td>
  1654. <td>是</td>
  1655. <td>否</td>
  1656. </tr>
  1657. <tr>
  1658. <td>第一签名<small>(装置/部门授权人员)</small>:<el-input style="width: 85px;" v-model="form.gFirstSign" readonly @focus="signCard('gFirstSign')">
  1659. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  1660. </el-input>
  1661. <!--<el-button type="primary" slot="append" @click="signCard('gFirstSign')"
  1662. icon="el-icon-edit"></el-button>-->
  1663. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  1664. value-format="yyyy-MM-dd HH:mm:ss" style="width: 175px" v-model="form.gFirstDate"
  1665. type="datetime">
  1666. </el-date-picker>
  1667. </td>
  1668. <td align="right">
  1669. <el-input style="width: 360px;" v-model="form.gSpecialAssessment"
  1670. :disabled="form.gIsSpecialAssessment == 1?false:true"/>
  1671. </td>
  1672. <td>
  1673. <el-checkbox v-model="form.gIsSpecialAssessment" true-label="1" false-label="0"/></td>
  1674. <td>
  1675. <el-checkbox v-model="form.gIsSpecialAssessment" true-label="0" false-label="1"
  1676. @change="gIsSpecialAssessmentChange"/>
  1677. </td>
  1678. </tr>
  1679. <tr>
  1680. <td>第二签名<small>(装置/部门授权人员)</small>:<el-input style="width: 85px;" v-model="form.gSecondSign" readonly @focus="signCard('gSecondSign')">
  1681. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  1682. </el-input>
  1683. <!--<el-button type="primary" slot="append" @click="signCard('gSecondSign')"
  1684. icon="el-icon-edit"></el-button>-->
  1685. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  1686. value-format="yyyy-MM-dd HH:mm:ss" style="width: 175px" v-model="form.gSecondDate"
  1687. type="datetime">
  1688. </el-date-picker>
  1689. </td>
  1690. <td colspan="3" align="right">第三签名<small>(相应部门人员及部门名称)</small>:<el-input style="width: 85px;" v-model="form.gThirdSign" readonly @focus="signCard('gThirdSign')">
  1691. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  1692. </el-input>
  1693. <!--<el-button type="primary" slot="append" @click="signCard('gThirdSign')"
  1694. icon="el-icon-edit"></el-button>-->
  1695. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  1696. value-format="yyyy-MM-dd HH:mm:ss" style="width: 175px" v-model="form.gThirdDate"
  1697. type="datetime">
  1698. </el-date-picker>
  1699. </td>
  1700. </tr>
  1701. </table>
  1702. </el-collapse-item>
  1703. <el-collapse-item title="H 安全措施检查和许可证批准" name="8">
  1704. <table>
  1705. <tr>
  1706. <td>签名:
  1707. <el-input style="width: 85px;" v-model="form.hSafeMesSign" readonly @focus="signCard('hSafeMesSign')">
  1708. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  1709. </el-input>
  1710. <!--<el-button type="primary" slot="append" @click="signCard('hSafeMesSign')"
  1711. icon="el-icon-edit"></el-button>-->
  1712. <el-date-picker style="width: 180px"
  1713. format="yyyy-MM-dd HH:mm:ss"
  1714. value-format="yyyy-MM-dd HH:mm:ss" v-model="form.hSafeMesDate" type="datetime">
  1715. </el-date-picker>
  1716. </td>
  1717. <td align="right">相应延期许可证号码:</td>
  1718. <td>
  1719. <el-input style="width: 150px;" v-model="form.hVNoOne" disabled>
  1720. <i slot="prefix" class="el-input__icon el-icon-word">V</i>
  1721. </el-input>
  1722. </td>
  1723. </tr>
  1724. <tr>
  1725. <td><small>(生产装置授权人员,D栏的安全措施已实施和检查,G栏的签名已完成)</small></td>
  1726. <td>
  1727. <el-input style="width: 150px;" v-model="form.hVNoTwo" disabled>
  1728. <i slot="prefix" class="el-input__icon el-icon-word">V</i>
  1729. </el-input>
  1730. </td>
  1731. <td>
  1732. <el-input style="width: 150px;" v-model="form.hVNoThree" disabled>
  1733. <i slot="prefix" class="el-input__icon el-icon-word">V</i>
  1734. </el-input>
  1735. </td>
  1736. </tr>
  1737. </table>
  1738. </el-collapse-item>
  1739. <el-collapse-item title="I 施工单位接受许可证" name="9">
  1740. <table>
  1741. <tr>
  1742. <td>
  1743. 1a 签名(授权维修主管)
  1744. <el-input style="width: 85px;" v-model="form.iOneASign" readonly @focus="signCard('iOneASign')">
  1745. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  1746. </el-input>
  1747. <!--<el-button type="primary" slot="append" @click="signCard('iOneASign')"
  1748. icon="el-icon-edit"></el-button>-->
  1749. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  1750. value-format="yyyy-MM-dd HH:mm:ss" style="width: 180px" v-model="form.iOneADate"
  1751. type="datetime">
  1752. </el-date-picker>
  1753. </td>
  1754. <td>
  1755. 1b 签名(授权维修工人)
  1756. <el-input style="width: 85px;" v-model="form.iOneBSign" readonly @focus="signCard('iOneBSign')">
  1757. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  1758. </el-input>
  1759. <!--<el-button type="primary" slot="append" @click="signCard('iOneBSign')"
  1760. icon="el-icon-edit"></el-button>-->
  1761. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  1762. value-format="yyyy-MM-dd HH:mm:ss" style="width: 180px" v-model="form.iOneBDate"
  1763. type="datetime">
  1764. </el-date-picker>
  1765. </td>
  1766. </tr>
  1767. <tr>
  1768. <td>
  1769. <small>(E栏的安全措施已实施和D6的现场安全说明已完成)</small>
  1770. </td>
  1771. <td>
  1772. <small>(E栏的安全措施已实施和D6的现场安全说明已完成)</small>
  1773. </td>
  1774. </tr>
  1775. </table>
  1776. </el-collapse-item>
  1777. <el-collapse-item title="J1 中途的E&I功能测试 J2 中途测试后,再次停用装置设备" name="10">
  1778. <table>
  1779. <tr>
  1780. <td>
  1781. <el-input style="width: 85px;" v-model="form.jOneBSign" readonly @focus="signCard('jOneBSign')">
  1782. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  1783. </el-input>
  1784. <!--<el-button type="primary" slot="append" @click="signCard('jOneBSign')"
  1785. icon="el-icon-edit"></el-button>-->
  1786. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  1787. value-format="yyyy-MM-dd HH:mm:ss" style="width: 180px" v-model="form.jOneBDate"
  1788. type="datetime">
  1789. </el-date-picker>
  1790. </td>
  1791. <td>
  1792. <el-input style="width: 85px;" v-model="form.jResMemberSign" readonly @focus="signCard('jResMemberSign')">
  1793. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  1794. </el-input>
  1795. <!--<el-button type="primary" slot="append" @click="signCard('jResMemberSign')"
  1796. icon="el-icon-edit"></el-button>-->
  1797. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  1798. value-format="yyyy-MM-dd HH:mm:ss" style="width: 180px"
  1799. v-model="form.jResMemberDate" type="datetime">
  1800. </el-date-picker>
  1801. </td>
  1802. <td>
  1803. <el-input style="width: 85px;" v-model="form.jEISign" readonly @focus="signCard('jEISign')">
  1804. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  1805. </el-input>
  1806. <!--<el-button type="primary" slot="append" @click="signCard('jEISign')"
  1807. icon="el-icon-edit"></el-button>-->
  1808. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  1809. value-format="yyyy-MM-dd HH:mm:ss" style="width: 180px" v-model="form.jEIDate"
  1810. type="datetime">
  1811. </el-date-picker>
  1812. </td>
  1813. </tr>
  1814. <tr>
  1815. <td>
  1816. <small>授权的维修工人签名(l1b),日期</small>
  1817. </td>
  1818. <td>
  1819. <small>生产装置授权人签名(G),日期</small>
  1820. </td>
  1821. <td>
  1822. <small>E&I人员签名确认已安全停电,日期</small>
  1823. </td>
  1824. </tr>
  1825. </table>
  1826. </el-collapse-item>
  1827. <el-row :gutter="20">
  1828. <el-col :span="12">
  1829. <el-collapse-item title="K 确认F栏的安全措施完成" name="12">
  1830. 签名,日期/时间
  1831. <el-input style="width: 85px;" v-model="form.kConfirmSign" readonly @focus="signCard('kConfirmSign')">
  1832. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  1833. </el-input>
  1834. <!--<el-button type="primary" @click="signCard('kConfirmSign')"
  1835. icon="el-icon-edit"></el-button>-->
  1836. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  1837. value-format="yyyy-MM-dd HH:mm:ss" style="width: 180px" v-model="form.kConfirmDate" type="datetime">
  1838. </el-date-picker>
  1839. </el-collapse-item>
  1840. </el-col>
  1841. <el-col :span="12">
  1842. <el-collapse-item title="L 授权的维修工人通知生产装置施工完成" name="13">
  1843. <small>如有需要,通过安全联络员</small>
  1844. <br>
  1845. 签名,日期/时间
  1846. <el-input style="width: 85px;" v-model="form.lNoticeSign" readonly @focus="signCard('lNoticeSign')">
  1847. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  1848. </el-input>
  1849. <!--<el-button type="primary" @click="signCard('lNoticeSign')"
  1850. icon="el-icon-edit"></el-button>-->
  1851. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  1852. value-format="yyyy-MM-dd HH:mm:ss" style="width: 180px" v-model="form.lNoticeDate" type="datetime">
  1853. </el-date-picker>
  1854. </el-collapse-item>
  1855. </el-col>
  1856. </el-row>
  1857. <el-collapse-item title="M 评估/批准撤销D栏的施工前安全措施" name="14">
  1858. <table>
  1859. <tr>
  1860. <td colspan="3">
  1861. <el-input style="width: 380px;" v-model="form.mAssessDContent"/>
  1862. </td>
  1863. <td>
  1864. <el-input style="width: 85px;" v-model="form.mAssessDSign" readonly @focus="signCard('mAssessDSign')">
  1865. <i slot="prefix" class="el-input__icon el-icon-edit"></i>
  1866. </el-input>
  1867. <!--<el-button type="primary" @click="signCard('mAssessDSign')"
  1868. icon="el-icon-edit"></el-button>-->
  1869. <el-date-picker format="yyyy-MM-dd HH:mm:ss"
  1870. value-format="yyyy-MM-dd HH:mm:ss" style="width: 180px" v-model="form.mAssessDDate" type="datetime">
  1871. </el-date-picker>
  1872. </td>
  1873. </tr>
  1874. <tr>
  1875. <td colspan="3">
  1876. 如需要,列出撤销安全措施的次序
  1877. </td>
  1878. <td>签名(生产装置授权人员)</td>
  1879. </tr>
  1880. <tr>
  1881. <td>其他相关许可证</td>
  1882. <td>
  1883. <el-input style="width: 80px;" v-model="form.mOtherLicenceOne"/>
  1884. </td>
  1885. <td>
  1886. <el-input style="width: 80px;" v-model="form.mOtherLicenceTwo"/>
  1887. </td>
  1888. <td>
  1889. <el-input style="width: 80px;" v-model="form.mOtherLicenceThree"/>
  1890. </td>
  1891. </tr>
  1892. </table>
  1893. </el-collapse-item>
  1894. <el-collapse-item title="N 空气检测记录" name="15">
  1895. <table cellpadding="0" cellspacing="0" class="last-table">
  1896. <tr>
  1897. <td>检测位置</td>
  1898. <td>
  1899. <el-input style="width: 100%;"/>
  1900. </td>
  1901. <td>
  1902. <el-input style="width: 100%;"/>
  1903. </td>
  1904. <td>
  1905. <el-input style="width: 100%;"/>
  1906. </td>
  1907. <td>
  1908. <el-input style="width: 100%;"/>
  1909. </td>
  1910. <td>
  1911. <el-input style="width: 100%;"/>
  1912. </td>
  1913. <td>
  1914. <el-input style="width: 100%;"/>
  1915. </td>
  1916. </tr>
  1917. <tr>
  1918. <td>检测日期/时间(时/分)</td>
  1919. <td>
  1920. <el-input style="width: 100%;"/>
  1921. </td>
  1922. <td>
  1923. <el-input style="width: 100%;"/>
  1924. </td>
  1925. <td>
  1926. <el-input style="width: 100%;"/>
  1927. </td>
  1928. <td>
  1929. <el-input style="width: 100%;"/>
  1930. </td>
  1931. <td>
  1932. <el-input style="width: 100%;"/>
  1933. </td>
  1934. <td>
  1935. <el-input style="width: 100%;"/>
  1936. </td>
  1937. </tr>
  1938. <tr>
  1939. <td>检测物质</td>
  1940. <td>
  1941. <el-input style="width: 100%;"/>
  1942. </td>
  1943. <td>
  1944. <el-input style="width: 100%;"/>
  1945. </td>
  1946. <td>
  1947. <el-input style="width: 100%;"/>
  1948. </td>
  1949. <td>
  1950. <el-input style="width: 100%;"/>
  1951. </td>
  1952. <td>
  1953. <el-input style="width: 100%;"/>
  1954. </td>
  1955. <td>
  1956. <el-input style="width: 100%;"/>
  1957. </td>
  1958. </tr>
  1959. <tr>
  1960. <td>检测结果</td>
  1961. <td>
  1962. <el-input style="width: 100%;"/>
  1963. </td>
  1964. <td>
  1965. <el-input style="width: 100%;"/>
  1966. </td>
  1967. <td>
  1968. <el-input style="width: 100%;"/>
  1969. </td>
  1970. <td>
  1971. <el-input style="width: 100%;"/>
  1972. </td>
  1973. <td>
  1974. <el-input style="width: 100%;"/>
  1975. </td>
  1976. <td>
  1977. <el-input style="width: 100%;"/>
  1978. </td>
  1979. </tr>
  1980. <tr>
  1981. <td>检测人签名</td>
  1982. <td>
  1983. <el-input style="width: 100%;"/>
  1984. </td>
  1985. <td>
  1986. <el-input style="width: 100%;"/>
  1987. </td>
  1988. <td>
  1989. <el-input style="width: 100%;"/>
  1990. </td>
  1991. <td>
  1992. <el-input style="width: 100%;"/>
  1993. </td>
  1994. <td>
  1995. <el-input style="width: 100%;"/>
  1996. </td>
  1997. <td>
  1998. <el-input style="width: 100%;"/>
  1999. </td>
  2000. </tr>
  2001. <tr>
  2002. <td>便携式检测仪编号</td>
  2003. <td>
  2004. <el-input style="width: 100%;"/>
  2005. </td>
  2006. <td>
  2007. <el-input style="width: 100%;"/>
  2008. </td>
  2009. <td>
  2010. <el-input style="width: 100%;"/>
  2011. </td>
  2012. <td>
  2013. <el-input style="width: 100%;"/>
  2014. </td>
  2015. <td>
  2016. <el-input style="width: 100%;"/>
  2017. </td>
  2018. <td>
  2019. <el-input style="width: 100%;"/>
  2020. </td>
  2021. </tr>
  2022. </table>
  2023. </el-collapse-item>
  2024. </el-collapse>
  2025. </el-col>
  2026. </el-row>
  2027. </div>
  2028. <sign-card v-if="signCardVisible" v-on:signRes="getSignRes" ref="signCard"></sign-card>
  2029. </el-form>
  2030. </template>
  2031. <script>
  2032. import {
  2033. listMatters
  2034. } from "@/api/ehs/throughcleanbcc";
  2035. import {
  2036. addTicket,
  2037. updateTicket,
  2038. getInfo
  2039. } from "@/api/invoicing/hazardwork";
  2040. import {listDept} from "@/api/system/dept";
  2041. import {listDevice} from "@/api/configuration/device"
  2042. import SignCard from "../signcard/index";
  2043. import {getForType} from "@/api/configuration/protect";
  2044. export default {
  2045. components: {SignCard},
  2046. data() {
  2047. return {
  2048. signCardVisible: false,
  2049. //TODO 模拟生产装置获取后台数据
  2050. aEquipments: [{
  2051. value: 'CTM',
  2052. label: 'CTM'
  2053. }, {
  2054. value: 'BCC',
  2055. label: 'BCC'
  2056. }],
  2057. aConstructions: [],
  2058. aConstructionsQuery: {
  2059. parentId: 500
  2060. },
  2061. aContractors: [{
  2062. value: 'CTM',
  2063. label: 'CTM'
  2064. }, {
  2065. value: 'CTA',
  2066. label: 'CTA'
  2067. }],
  2068. aSafeLiaisons: [{
  2069. value: '1',
  2070. label: '徐明浩'
  2071. }, {
  2072. value: '2',
  2073. label: '李杨'
  2074. }],
  2075. bDevices: [],
  2076. bDeviceParams: {},
  2077. users: [{
  2078. value: '1',
  2079. label: '徐明浩1'
  2080. }, {
  2081. value: '2',
  2082. label: '徐明浩2'
  2083. }, {
  2084. value: '3',
  2085. label: '徐明浩3'
  2086. }, {
  2087. value: '4',
  2088. label: '徐明浩4'
  2089. }, {
  2090. value: '5',
  2091. label: '徐明浩5'
  2092. }, {
  2093. value: '6',
  2094. label: '徐明浩6'
  2095. }],
  2096. otherDangers: [
  2097. {
  2098. id: '坠落',
  2099. name: '坠落'
  2100. },
  2101. {
  2102. id: '高空坠物',
  2103. name: '高空坠物'
  2104. },
  2105. {
  2106. id: '灰尘',
  2107. name: '灰尘'
  2108. }
  2109. ],
  2110. dClears: [
  2111. {
  2112. id: '水',
  2113. name: '水'
  2114. },
  2115. {
  2116. id: '空气',
  2117. name: '空气'
  2118. },
  2119. {
  2120. id: '氮气',
  2121. name: '氮气'
  2122. },
  2123. {
  2124. id: '蒸汽',
  2125. name: '蒸汽'
  2126. }
  2127. ],
  2128. dFlushs: [
  2129. {
  2130. id: '水',
  2131. name: '水'
  2132. },
  2133. {
  2134. id: '空气',
  2135. name: '空气'
  2136. },
  2137. {
  2138. id: '氮气',
  2139. name: '氮气'
  2140. },
  2141. {
  2142. id: '蒸汽',
  2143. name: '蒸汽'
  2144. }
  2145. ],
  2146. dSiteDemarcations: [
  2147. {
  2148. id: '警戒绳',
  2149. name: '警戒绳'
  2150. },
  2151. {
  2152. id: '警戒锥桶',
  2153. name: '警戒锥桶'
  2154. }
  2155. ],
  2156. eFallArrestContents: [
  2157. {
  2158. id: '腰部护带',
  2159. name: '腰部护带'
  2160. },
  2161. {
  2162. id: '全身护带',
  2163. name: '全身护带'
  2164. }
  2165. ],
  2166. eAnalyzeAirIntervals: [
  2167. {
  2168. id: '1h/次',
  2169. name: '1h/次'
  2170. },
  2171. {
  2172. id: '2h/次',
  2173. name: '2h/次'
  2174. },
  2175. {
  2176. id: '6h/次',
  2177. name: '6h/次'
  2178. },
  2179. {
  2180. id: '12h/次',
  2181. name: '12h/次'
  2182. }
  2183. ],
  2184. aIdDisabled: false,
  2185. matterNames: [],
  2186. item: "",
  2187. isYesDanger: null,
  2188. cIsToxic: null,
  2189. cIsFlammable: null,
  2190. cIsOxidizing: null,
  2191. cIsExplosive: null,
  2192. cIsCorrosive: null,
  2193. cIsIrritantToxic: null,
  2194. cIsHealthHazard: null,
  2195. cIsCompressedGas: null,
  2196. cIsEnvironmentalHazard: null,
  2197. eIsSafeGoggles: null,
  2198. eIsFaceShield: null,
  2199. eIsProtectGloves: null,
  2200. eProtectGlovesContent: null,
  2201. safeGoggles: [], //防护手套
  2202. safeGogglesParams: {
  2203. protectType: '1',
  2204. },
  2205. eIsRubberBoots: null,
  2206. eIsRubberApron: null,
  2207. eIsProtectSuit: null,
  2208. eProtectSuitContent: null,
  2209. protectSuitsParams: {
  2210. protectType: '5',
  2211. },
  2212. protectSuits: [], //防护服
  2213. eIsResProtect: null,
  2214. eResProtectContent: null,
  2215. resProtectsParams: {
  2216. protectType: '3',
  2217. },
  2218. resProtects: [], //防护面罩
  2219. eIsFallArrest: null,
  2220. eFallArrestContent: null,
  2221. aIsNeedSafeLiaison: '2',
  2222. isFacilityHazards: null,
  2223. isEquipmentHazards: null,
  2224. form: {
  2225. //危害工作许可证ID
  2226. aId: null,
  2227. //A 基本信息字段
  2228. aEquipmentName: null,
  2229. aEquipmentLeader: null,
  2230. aEquipmentTel: null,
  2231. aEquipmentOffice: null,
  2232. aConstructionName: null,
  2233. aConstructionLeader: null,
  2234. aConstructionTel: null,
  2235. aConstructionOffice: null,
  2236. aContractorName: null,
  2237. aContractorLeader: null,
  2238. aContractorTel: null,
  2239. aContractorOffice: null,
  2240. aIsNeedSafeLiaison: '2',
  2241. aSafeLiaisonName: null,
  2242. aSafeLiaisonSign: null,
  2243. aSafeLiaisonTel: null,
  2244. aSafeLiaisonOffice: null,
  2245. //B 工作内容
  2246. bDeviceName: null,
  2247. bWorkContent: null,
  2248. bAreaNo: null,
  2249. bValidityStartTime: null,
  2250. bValidityEndTime: null,
  2251. //C 危害识别
  2252. cIsDanger: null,
  2253. cIsAttention: null,
  2254. cHarmMatterName: null,
  2255. cIsToxic: null,
  2256. cIsFlammable: null,
  2257. cIsOxidizing: null,
  2258. cIsExplosive: null,
  2259. cIsCorrosive: null,
  2260. cIsIrritantToxic: null,
  2261. cIsHealthHazard: null,
  2262. cIsCompressedGas: null,
  2263. cIsEnvironmentalHazard: null,
  2264. cIsHighTemp: null,
  2265. cIsLowTemp: null,
  2266. cIsPosPressure: null,
  2267. cIsNegPressure: null,
  2268. cIsHazardsProd: null,
  2269. cIsHazardsProdContent: null,
  2270. cIsMovingParts: null,
  2271. cIsHotSurfaces: null,
  2272. cIsColdSurfaces: null,
  2273. cIsVoltages: null,
  2274. cIsFire: null,
  2275. cHId: null,
  2276. cIsWorkProtective: null,
  2277. cIsDy: null,
  2278. cIsAqf: null,
  2279. cIsLq: null,
  2280. cIsOtherDanger: null,
  2281. cOtherDangerContent: null,
  2282. //D 施工前的安全措施
  2283. dIsOpenSafe: null,
  2284. dIsDkdyx: null,
  2285. dDkdyxImplSign: null,
  2286. dDkdyxImplDate: null,
  2287. dDkdyxLiftedSign: null,
  2288. dDkdyxLiftedDate: null,
  2289. dIsDisFeeder: null,
  2290. dDisFeederImplSign: null,
  2291. dDisFeederImplDate: null,
  2292. dDisFeederLiftedSign: null,
  2293. dDisFeederLiftedDate: null,
  2294. dIsBreakIncl: null,
  2295. dBreakInclImplSign: null,
  2296. dBreakInclImplDate: null,
  2297. dBreakInclLiftedSign: null,
  2298. dBreakInclLiftedDate: null,
  2299. dIsDqhl: null,
  2300. dDqhlImplSign: null,
  2301. dDqhlImplDate: null,
  2302. dDqhlLiftedSign: null,
  2303. dDqhlLiftedDate: null,
  2304. dEleCircuitNo: null,
  2305. dInsTagNo: null,
  2306. dIsYbh: null,
  2307. dBreakInclContent: null,
  2308. dIsRadioactiveSources: null,
  2309. dIsOtherEquSafe: null,
  2310. dIsOtherEquSafeContent: null,
  2311. dIsDepress: null,
  2312. dIsSingleBlocking: null,
  2313. dIsDoubleBlock: null,
  2314. dIsLockoutUsing: null,
  2315. dLockoutUsingContent: null,
  2316. dIsRemovePipe: null,
  2317. dIsDisPipes: null,
  2318. dIsInsertBlindPlage: null,
  2319. dIsMecSecure: null,
  2320. dMecSecureContent: null,
  2321. dIsIsolationDiagram: null,
  2322. dIsOtherSafePlant: null,
  2323. dOtherSafePlantContent: null,
  2324. dIsDrain: null,
  2325. dIsClean: null,
  2326. dCleanContent: null,
  2327. dIsFlush: null,
  2328. dFlushContent: null,
  2329. dIsOhterClean: null,
  2330. dOtherCleanContent: null,
  2331. dIsSiteDemarcation: null,
  2332. dSiteDemarcationContent: null,
  2333. dIsAreaCover: null,
  2334. dAreaCoverContent: null,
  2335. dIsCloseTrucks: null,
  2336. dIsLeakFlanges: null,
  2337. dIsOtherWorkSafe: null,
  2338. dOtherWorkSafeContent: null,
  2339. dIsOtherMeasure: null,
  2340. dOtherMeasureContent: null,
  2341. dIsSafeBriefing: null,
  2342. dPartakeBriefingSign: null,
  2343. dPartakeBriefingDate: null,
  2344. dNoReasonContent: null,
  2345. dSafeImplSign11: null,
  2346. dSafeImplDate11: null,
  2347. dSafeLiftedSign11: null,
  2348. dSafeLiftedDate11: null,
  2349. dSafeImplSign12: null,
  2350. dSafeImplDate12: null,
  2351. dSafeLiftedSign12: null,
  2352. dSafeLiftedDate12: null,
  2353. dSafeImplSign13: null,
  2354. dSafeImplDate13: null,
  2355. dSafeLiftedSign13: null,
  2356. dSafeLiftedDate13: null,
  2357. dSafeImplSign14: null,
  2358. dSafeImplDate14: null,
  2359. dSafeLiftedSign14: null,
  2360. dSafeLiftedDate14: null,
  2361. dSafeImplSign21: null,
  2362. dSafeImplDate21: null,
  2363. dSafeImplSign22: null,
  2364. dSafeImplDate22: null,
  2365. dSafeLiftedSign22: null,
  2366. dSafeLiftedDate22: null,
  2367. dSafeImplSign23: null,
  2368. dSafeImplDate23: null,
  2369. dSafeLiftedSign23: null,
  2370. dSafeLiftedDate23: null,
  2371. dSafeImplSign24: null,
  2372. dSafeImplDate24: null,
  2373. dSafeLiftedSign24: null,
  2374. dSafeLiftedDate24: null,
  2375. dSafeImplSign25: null,
  2376. dSafeImplDate25: null,
  2377. dSafeLiftedSign25: null,
  2378. dSafeLiftedDate25: null,
  2379. dSafeImplSign26: null,
  2380. dSafeImplDate26: null,
  2381. dSafeLiftedSign26: null,
  2382. dSafeLiftedDate26: null,
  2383. dSafeImplSign27: null,
  2384. dSafeImplDate27: null,
  2385. dSafeLiftedSign27: null,
  2386. dSafeLiftedDate27: null,
  2387. dSafeImplSign28: null,
  2388. dSafeImplDate28: null,
  2389. dSafeLiftedSign28: null,
  2390. dSafeLiftedDate28: null,
  2391. dSafeImplSign29: null,
  2392. dSafeImplDate29: null,
  2393. dSafeImplSign210: null,
  2394. dSafeImplDate210: null,
  2395. dSafeLiftedSign210: null,
  2396. dSafeLiftedDate210: null,
  2397. dSafeImplSign31: null,
  2398. dSafeImplDate31: null,
  2399. dSafeImplSign32: null,
  2400. dSafeImplDate32: null,
  2401. dSafeImplSign33: null,
  2402. dSafeImplDate33: null,
  2403. dSafeImplSign34: null,
  2404. dSafeImplDate34: null,
  2405. dSafeImplSign41: null,
  2406. dSafeImplDate41: null,
  2407. dSafeLiftedSign41: null,
  2408. dSafeLiftedDate41: null,
  2409. dSafeImplSign42: null,
  2410. dSafeImplDate42: null,
  2411. dSafeLiftedSign42: null,
  2412. dSafeLiftedDate42: null,
  2413. dSafeImplSign43: null,
  2414. dSafeImplDate43: null,
  2415. dSafeLiftedSign43: null,
  2416. dSafeLiftedDate43: null,
  2417. dSafeImplSign44: null,
  2418. dSafeImplDate44: null,
  2419. dSafeLiftedSign44: null,
  2420. dSafeLiftedDate44: null,
  2421. dSafeImplSign45: null,
  2422. dSafeImplDate45: null,
  2423. dSafeLiftedSign45: null,
  2424. dSafeLiftedDate45: null,
  2425. dSafeImplSign51: null,
  2426. dSafeImplDate51: null,
  2427. dSafeLiftedSign51: null,
  2428. dSafeLiftedDate51: null,
  2429. //施工时的安全措施
  2430. eIsPresent: null,
  2431. eIsRequiredPpe: null,
  2432. ePpeContent: null,
  2433. eIsSafeGoggles: null,
  2434. eIsFaceShield: null,
  2435. eIsProtectGloves: null,
  2436. eProtectGlovesContent: null,
  2437. eIsRubberBoots: null,
  2438. eIsRubberApron: null,
  2439. eIsProtectSuit: null,
  2440. eProtectSuitContent: null,
  2441. eIsResProtect: null,
  2442. eResProtectContent: null,
  2443. eIsFallArrest: null,
  2444. eFallArrestContent: null,
  2445. eIsOtherProtect: null,
  2446. eOtherProtectContent: null,
  2447. eIsContinueMonitoring: null,
  2448. eSafeAttendant: null,
  2449. eSafeAttendantSign: null,
  2450. eIsNaturalVen: null,
  2451. eNaturalVenContent: null,
  2452. eIsMecVen: null,
  2453. eMecVenContent: null,
  2454. eIsExxtractDust: null,
  2455. eIsAnalyzeAir: null,
  2456. eAnalyzeAirContent: null,
  2457. eAnalyzeAirInterval: null,
  2458. eIsOtherVen: null,
  2459. eOtherVenContent: null,
  2460. fIsAfterWorkSafe: null,
  2461. fAfterWorkSafeContent: null,
  2462. gFirstSign: null,
  2463. gFirstDate: null,
  2464. gSecondSign: null,
  2465. gSecondDate: null,
  2466. gThirdSign: null,
  2467. gThirdDate: null,
  2468. gIsSpecialAssessment: null,
  2469. gSpecialAssessment: null,
  2470. hSafeMesSign: null,
  2471. hSafeMesDate: null,
  2472. hVNoOne: null,
  2473. hVNoTwo: null,
  2474. hVNoThree: null,
  2475. iOneASign: null,
  2476. iOneADate: null,
  2477. iOneBSign: null,
  2478. iOneBDate: null,
  2479. jOneBSign: null,
  2480. jOneBDate: null,
  2481. jResMemberSign: null,
  2482. jResMemberDate: null,
  2483. jEISign: null,
  2484. jEIDate: null,
  2485. kConfirmSign: null,
  2486. kConfirmDate: null,
  2487. lNoticeSign: null,
  2488. lNoticeDate: null,
  2489. mAssessDContent: null,
  2490. mAssessDSign: null,
  2491. mAssessDDate: null,
  2492. mOtherLicenceOne: null,
  2493. mOtherLicenceTwo: null,
  2494. mOtherLicenceThree: null,
  2495. },
  2496. /* 日期格式模板,目前年月日均默认当日 */
  2497. /* value1: [
  2498. new Date(2000, 10, 10, 10, 10),
  2499. new Date(2000, 10, 11, 10, 10),
  2500. ],
  2501. new Date(new Date().getFullYear(), new Date().getMonth(), new Date().getDate(), new Date().getHours(),
  2502. new Date().getMinutes()),
  2503. new Date(new Date().getFullYear(), new Date().getMonth(), new Date().getDate(), 17, 0),
  2504. */
  2505. value1: [],
  2506. timeValue: [],
  2507. //新增修改窗口内容是否展开
  2508. activeNames: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15'],
  2509. }
  2510. },
  2511. /* 页面渲染前执行的方法*/
  2512. created() {
  2513. this.queryMatters();
  2514. this.queryDevices();
  2515. getForType(this.safeGogglesParams).then(response => {
  2516. this.safeGoggles = response.data;
  2517. });
  2518. getForType(this.protectSuitsParams).then(response => {
  2519. this.protectSuits = response.data;
  2520. });
  2521. getForType(this.resProtectsParams).then(response => {
  2522. this.resProtects = response.data;
  2523. });
  2524. var id = this.$route.query.aId;
  2525. if (id != null) {
  2526. getInfo(id).then(response => {
  2527. this.form = response.data;
  2528. this.dataLoading(this.form);
  2529. this.msgSuccess(this.$t('数据加载成功'));
  2530. });
  2531. this.aIdDisabled = true;
  2532. }
  2533. //加载施工单位
  2534. listDept(this.aConstructionsQuery).then(response => {
  2535. this.aConstructions = response.data;
  2536. })
  2537. },
  2538. methods: {
  2539. /* 动态改变勾选 */
  2540. selectChange(id) {
  2541. //清空取消数据选中时清除选中的危害及防护用品
  2542. if (this.form.cHarmMatterName == null || this.form.cHarmMatterName == '') {
  2543. this.form.cIsDanger = "0";
  2544. this.isYesDanger = "0";
  2545. }
  2546. /* 取消所有危害选中框 */
  2547. this.falseCheckbox();
  2548. // 取消所有防护用品选中
  2549. this.falseProtect();
  2550. /* 根据危害物质进行动态多选框选中 */
  2551. this.$nextTick(() => {
  2552. this.matterNames.forEach(mf => {
  2553. if (mf.id == id) {
  2554. var ff = mf.matterFeatureList;
  2555. var pro = mf.protects;
  2556. if (ff != null && ff.length > 0) {
  2557. this.trueCheckbox(ff);
  2558. this.form.cIsDanger = "1";
  2559. this.isYesDanger = "1";
  2560. } else {
  2561. console.log("没有需要选中的多选框");
  2562. }
  2563. //2022年1月5日取消防护用品自动选中
  2564. if (pro != null && pro.length > 0) {
  2565. this.form.isYesResidue = true;
  2566. pro.forEach(p => {
  2567. this[p.conservatoryMeasureCode] = "1";
  2568. if (p.conservatoryMeasureContent != null) {
  2569. console.log(p.conservatoryMeasureContent);
  2570. console.log(p.conservatoryMeasureName);
  2571. this[p.conservatoryMeasureContent] = p.conservatoryMeasureName;
  2572. }
  2573. })
  2574. }
  2575. }
  2576. })
  2577. var idd = this.matterNames[id];
  2578. console.log(id);
  2579. });
  2580. },
  2581. //取消选中时-清除危害物质-危险性选中状态
  2582. falseCheckbox() {
  2583. this.cIsToxic = null;
  2584. this.cIsFlammable = null;
  2585. this.cIsOxidizing = null;
  2586. this.cIsExplosive = null;
  2587. this.cIsCorrosive = null;
  2588. this.cIsIrritantToxic = null;
  2589. this.cIsHealthHazard = null;
  2590. this.cIsCompressedGas = null;
  2591. this.cIsEnvironmentalHazard = null;
  2592. },
  2593. //获取装置设备数据
  2594. queryDevices() {
  2595. listDevice(this.bDeviceParams).then(response => {
  2596. this.bDevices = response.rows;
  2597. })
  2598. },
  2599. //获取危害物质数据
  2600. queryMatters() {
  2601. listMatters().then(response => {
  2602. this.matterNames = response.data;
  2603. console.log(this.matterNames)
  2604. })
  2605. },
  2606. // 取消所有防护用品选中
  2607. falseProtect() {
  2608. this.eIsSafeGoggles = null;
  2609. this.eIsFaceShield = null;
  2610. this.eIsProtectGloves = null;
  2611. this.eProtectGlovesContent = null;
  2612. this.eIsRubberBoots = null;
  2613. this.eIsRubberApron = null;
  2614. this.eIsProtectSuit = null;
  2615. this.eProtectSuitContent = null;
  2616. this.eIsResProtect = null;
  2617. this.eResProtectContent = null;
  2618. this.eIsFallArrest = null;
  2619. this.eFallArrestContent = null;
  2620. },
  2621. /* 为多选框进行动态选择*/
  2622. trueCheckbox(arr) {
  2623. console.log(arr);
  2624. arr.forEach((m) => {
  2625. this[m] = '1';
  2626. })
  2627. },
  2628. //全部打开按钮
  2629. allExpand() {
  2630. this.activeNames = ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14'];
  2631. },
  2632. //全部关闭按钮
  2633. allShrink() {
  2634. this.activeNames = [];
  2635. },
  2636. //提交当前数据
  2637. onSubmit() {
  2638. this.dataSet();
  2639. updateTicket(this.form).then(response => {
  2640. this.msgSuccess(this.$t('票据数据已更新'));
  2641. });
  2642. // addTicket(this.form).then(response => {
  2643. // this.msgSuccess(this.$t('票据数据已更新'));
  2644. // });
  2645. },
  2646. //点击生成ID
  2647. aIdClick() {
  2648. if (this.form.aId == null) {
  2649. addTicket(this.form).then(response => {
  2650. this.form.aId = response.data;
  2651. this.msgSuccess(this.$t('生成ID成功'));
  2652. });
  2653. this.aIdDisabled = true;
  2654. } else {
  2655. }
  2656. },
  2657. //生产装置后台数据联动
  2658. aEquipmentChange(val) {
  2659. if (val == 1) {
  2660. this.form.aEquipmentLeader = 'xmh';
  2661. this.form.aEquipmentTel = '10086';
  2662. this.form.aEquipmentOffice = 'D700-A楼';
  2663. }
  2664. if (val == 2) {
  2665. this.form.aEquipmentLeader = 'wj';
  2666. this.form.aEquipmentTel = '12315';
  2667. this.form.aEquipmentOffice = 'D600-B楼';
  2668. }
  2669. },
  2670. //施工单位后台数据联动
  2671. aConstructionChange(val) {
  2672. this.aConstructions.forEach(t => {
  2673. console.log(val)
  2674. if (val == t.deptId) {
  2675. this.form.aConstructionLeader = t.leader;
  2676. this.form.aConstructionTel = t.phone;
  2677. this.form.aConstructionOffice = '/';
  2678. }
  2679. })
  2680. },
  2681. //用户后台数据联动
  2682. aContractorChange(val) {
  2683. if (val == 1) {
  2684. this.form.aContractorLeader = 'xmh';
  2685. this.form.aContractorTel = '10086';
  2686. this.form.aContractorOffice = 'D700';
  2687. }
  2688. if (val == 2) {
  2689. this.form.aContractorLeader = 'wj';
  2690. this.form.aContractorTel = '12315';
  2691. this.form.aContractorOffice = 'D600';
  2692. }
  2693. },
  2694. //安全联络员后台数据联动
  2695. aSafeLiaisonChange(val) {
  2696. if (val == 1) {
  2697. this.form.aSafeLiaisonTel = '10086';
  2698. this.form.aSafeLiaisonOffice = 'D700';
  2699. }
  2700. if (val == 2) {
  2701. this.form.aSafeLiaisonTel = '12315';
  2702. this.form.aSafeLiaisonOffice = '/';
  2703. }
  2704. },
  2705. //重置A栏是否需要安全联络员数据
  2706. cleanSafeLiaison() {
  2707. this.form.aSafeLiaisonName = null;
  2708. this.form.aSafeLiaisonSign = null;
  2709. this.form.aSafeLiaisonTel = null;
  2710. this.form.aSafeLiaisonOffice = null;
  2711. },
  2712. //装置设备后台数据联动
  2713. bDeviceChange(val) {
  2714. this.bDevices.forEach(t => {
  2715. if (t.id == val) {
  2716. this.form.bAreaNo = t.area;
  2717. this.form.bWorkContent = t.devName;
  2718. }
  2719. })
  2720. },
  2721. //高温
  2722. highTempChange() {
  2723. this.form.cIsLowTemp = "0";
  2724. },
  2725. //低温
  2726. lowTempChange() {
  2727. this.form.cIsHighTemp = "0";
  2728. },
  2729. //正压
  2730. posPressureChange() {
  2731. this.form.cIsNegPressure = "0";
  2732. },
  2733. //负压
  2734. negPressureChange() {
  2735. this.form.cIsPosPressure = "0";
  2736. },
  2737. //热表面
  2738. hotSurfacesChange() {
  2739. this.form.cIsColdSurfaces = "0";
  2740. },
  2741. //冷表面
  2742. coldSurfacesChange() {
  2743. this.form.cIsHotSurfaces = "0";
  2744. },
  2745. // form表单选择框数据无法正常加载,数据加载处理,数据为字符串可正常显示,后台存储的数据为数值型
  2746. dataLoading(val) {
  2747. //A栏4.是否需要安全联络员数据回显
  2748. this.form.aConstructionName = parseInt(this.form.aConstructionName);
  2749. //B栏3.有效期开始结束时间回显
  2750. this.$set(this.value1, 0, val.bValidityStartTime);
  2751. this.$set(this.value1, 1, val.bValidityEndTime);
  2752. //C栏危害物质回显
  2753. this.form.cHarmMatterName = parseInt(this.form.cHarmMatterName);
  2754. if (this.form.cHarmMatterName != null) {
  2755. this.isYesDanger = '1';
  2756. }
  2757. //处理(来自设备/设施的危害)选中按钮未入库保存的选中实现
  2758. if (this.form.cIsMovingParts == "1"
  2759. || this.form.cIsHotSurfaces == "1"
  2760. || this.form.cIsColdSurfaces == "1"
  2761. || this.form.cIsVoltages == "1") {
  2762. this.isFacilityHazards = true;
  2763. }
  2764. //处理(设备内物质处于危险状态)选中按钮未入库保存的选中实现
  2765. if (this.form.cIsHighTemp == "1"
  2766. || this.form.cIsLowTemp == "1"
  2767. || this.form.cIsPosPressure == "1"
  2768. || this.form.cIsNegPressure == "1") {
  2769. this.isEquipmentHazards = true;
  2770. }
  2771. this.cIsToxic = this.form.cIsToxic;
  2772. this.cIsFlammable = this.form.cIsFlammable;
  2773. this.cIsOxidizing = this.form.cIsOxidizing;
  2774. this.cIsExplosive = this.form.cIsExplosive;
  2775. this.cIsCorrosive = this.form.cIsCorrosive;
  2776. this.cIsIrritantToxic = this.form.cIsIrritantToxic;
  2777. this.cIsHealthHazard = this.form.cIsHealthHazard;
  2778. this.cIsCompressedGas = this.form.cIsCompressedGas;
  2779. this.cIsEnvironmentalHazard = this.form.cIsEnvironmentalHazard;
  2780. this.eIsSafeGoggles = this.form.eIsSafeGoggles;
  2781. this.eIsFaceShield = this.form.eIsFaceShield;
  2782. this.eIsProtectGloves = this.form.eIsProtectGloves;
  2783. this.eIsRubberBoots = this.form.eIsRubberBoots;
  2784. this.eIsRubberApron = this.form.eIsRubberApron;
  2785. this.eIsProtectSuit = this.form.eIsProtectSuit;
  2786. this.eIsResProtect = this.form.eIsResProtect;
  2787. this.eIsFallArrest = this.form.eIsFallArrest;
  2788. this.eProtectGlovesContent = this.form.eProtectGlovesContent;
  2789. this.eResProtectContent = this.form.eResProtectContent;
  2790. this.eProtectSuitContent = this.form.eProtectSuitContent;
  2791. },
  2792. //数据提交时保存的数据处理
  2793. dataSet() {
  2794. //B栏有效期开始结束时间处理
  2795. this.form.bValidityStartTime = this.value1[0];
  2796. this.form.bValidityEndTime = this.value1[1];
  2797. //C栏
  2798. this.form.cIsToxic = this.cIsToxic;
  2799. this.form.cIsFlammable = this.cIsFlammable;
  2800. this.form.cIsOxidizing = this.cIsOxidizing;
  2801. this.form.cIsExplosive = this.cIsExplosive;
  2802. this.form.cIsCorrosive = this.cIsCorrosive;
  2803. this.form.cIsIrritantToxic = this.cIsIrritantToxic;
  2804. this.form.cIsHealthHazard = this.cIsHealthHazard;
  2805. this.form.cIsCompressedGas = this.cIsCompressedGas;
  2806. this.form.cIsEnvironmentalHazard = this.cIsEnvironmentalHazard;
  2807. this.form.eIsSafeGoggles = this.eIsSafeGoggles;
  2808. this.form.eIsFaceShield = this.eIsFaceShield;
  2809. this.form.eIsProtectGloves = this.eIsProtectGloves;
  2810. this.form.eIsRubberBoots = this.eIsRubberBoots;
  2811. this.form.eIsRubberApron = this.eIsRubberApron;
  2812. this.form.eIsProtectSuit = this.eIsProtectSuit;
  2813. this.form.eIsResProtect = this.eIsResProtect;
  2814. this.form.eIsFallArrest = this.eIsFallArrest;
  2815. this.form.eProtectGlovesContent = this.eProtectGlovesContent;
  2816. this.form.eResProtectContent = this.eResProtectContent;
  2817. this.form.eProtectSuitContent = this.eProtectSuitContent;
  2818. },
  2819. //取消其他危害选中时-清除数据
  2820. otherDangerChange() {
  2821. if (this.form.cIsOtherDanger == '0') {
  2822. this.form.cOtherDangerContent = null;
  2823. }
  2824. },
  2825. //电气回路编号与仪表号/测点编号二选一
  2826. dElecircuitChange() {
  2827. if (this.form.dEleCircuitNo != null && this.form.dEleCircuitNo != '/') {
  2828. this.form.dInsTagNo = '/';
  2829. }
  2830. },
  2831. //电气回路编号与仪表号/测点编号二选一
  2832. dInsTagChange() {
  2833. if (this.form.dInsTagNo != null && this.form.dInsTagNo != '/') {
  2834. this.form.dEleCircuitNo = '/';
  2835. }
  2836. },
  2837. //取消选中设备内物质处于危险状态-清除数据
  2838. eHazardsChange() {
  2839. if (this.isEquipmentHazards == '0') {
  2840. this.form.cIsHighTemp = null;
  2841. this.form.cIsLowTemp = null;
  2842. this.form.cIsPosPressure = null;
  2843. this.form.cIsNegPressure = null;
  2844. }
  2845. },
  2846. //取消施工对生产单位的危害-清除数据
  2847. cHazardsProdChange() {
  2848. if (this.form.cIsHazardsProd == '0') {
  2849. this.form.cIsHazardsProdContent = null;
  2850. }
  2851. },
  2852. //取消来自设备/设施的危害-清除数据
  2853. facilityChange() {
  2854. if (this.isFacilityHazards == '0') {
  2855. this.form.cIsMovingParts = null;
  2856. this.form.cIsHotSurfaces = null;
  2857. this.form.cIsColdSurfaces = null;
  2858. this.form.cIsVoltages = null;
  2859. }
  2860. },
  2861. //取消安全保护设备的施工-清除数据
  2862. workProChange() {
  2863. if (this.form.cIsWorkProtective == '0') {
  2864. this.form.cIsDy = null;
  2865. this.form.cIsAqf = null;
  2866. this.form.cIsLq = null;
  2867. }
  2868. },
  2869. //TODO D栏否的状态清除数据\
  2870. //D-1.1
  2871. dIsOpenSafeChange() {
  2872. if (this.form.dIsOpenSafe == '0') {
  2873. this.form.dSafeImplSign11 = null;
  2874. this.form.dSafeImplDate11 = null;
  2875. }
  2876. },
  2877. //D-1.2
  2878. dIsDkdyxChange() {
  2879. if (this.form.dIsDkdyx == '0') {
  2880. this.form.dDkdyxImplSign = null;
  2881. this.form.dDkdyxImplDate = null;
  2882. }
  2883. },
  2884. //D-1.2
  2885. dIsDisFeederChange() {
  2886. if (this.form.dIsDisFeeder == '0') {
  2887. this.form.dDisFeederImplSign = null;
  2888. this.form.dDisFeederImplDate = null;
  2889. }
  2890. },
  2891. //D-1.2
  2892. dIsBreakInclChange() {
  2893. if (this.form.dIsBreakIncl == '0') {
  2894. this.form.dBreakInclContent = null;
  2895. this.form.dBreakInclImplSign = null;
  2896. this.form.dBreakInclImplDate = null;
  2897. }
  2898. },
  2899. //D-1.2
  2900. dIsDqhlChange() {
  2901. if (this.form.dIsDqhl == '0') {
  2902. this.form.dEleCircuitNo = null;
  2903. this.form.dDqhlImplSign = null;
  2904. this.form.dDqhlImplDate = null;
  2905. }
  2906. },
  2907. //D-1.2
  2908. dIsYbhChange() {
  2909. if (this.form.dIsYbh == '0') {
  2910. this.form.dInsTagNo = null;
  2911. this.form.dSafeImplSign12 = null;
  2912. this.form.dSafeImplDate12 = null;
  2913. }
  2914. },
  2915. //D-1.3
  2916. dIsRadioactiveSourcesChange() {
  2917. if (this.form.dIsRadioactiveSources == '0') {
  2918. this.form.dSafeImplSign13 = null;
  2919. this.form.dSafeImplDate13 = null;
  2920. }
  2921. },
  2922. //D-1.4
  2923. dIsOtherEquSafeChange() {
  2924. if (this.form.dIsOtherEquSafe == '0') {
  2925. this.form.dIsOtherEquSafeContent = null;
  2926. this.form.dSafeImplSign14 = null;
  2927. this.form.dSafeImplDate14 = null;
  2928. }
  2929. },
  2930. //D-2.1
  2931. dIsDepressChange() {
  2932. if (this.form.dIsDepress == '0') {
  2933. this.form.dSafeImplSign21 = null;
  2934. this.form.dSafeImplDate21 = null;
  2935. }
  2936. },
  2937. //D-2.2
  2938. dIsSingleBlockingChange() {
  2939. if (this.form.dIsSingleBlocking == '0') {
  2940. this.form.dSafeImplSign22 = null;
  2941. this.form.dSafeImplDate22 = null;
  2942. }
  2943. },
  2944. //D-2.3
  2945. dIsDoubleBlockChange() {
  2946. if (this.form.dIsDoubleBlock == '0') {
  2947. this.form.dSafeImplSign23 = null;
  2948. this.form.dSafeImplDate23 = null;
  2949. }
  2950. },
  2951. //D-2.4
  2952. dIsLockoutUsingChange() {
  2953. if (this.form.dIsLockoutUsing == '0') {
  2954. this.form.dLockoutUsingContent = null;
  2955. this.form.dSafeImplSign24 = null;
  2956. this.form.dSafeImplDate24 = null;
  2957. }
  2958. },
  2959. //D-2.5
  2960. dIsRemovePipeChange() {
  2961. if (this.form.dIsRemovePipe == '0') {
  2962. this.form.dSafeImplSign25 = null;
  2963. this.form.dSafeImplDate25 = null;
  2964. }
  2965. },
  2966. //D-2.6
  2967. dIsDisPipesChange() {
  2968. if (this.form.dIsDisPipes == '0') {
  2969. this.form.dSafeImplSign26 = null;
  2970. this.form.dSafeImplDate26 = null;
  2971. }
  2972. },
  2973. //D-2.7
  2974. dIsInsertBlindPlageChange() {
  2975. if (this.form.dIsInsertBlindPlage == '0') {
  2976. this.form.dSafeImplSign27 = null;
  2977. this.form.dSafeImplDate27 = null;
  2978. }
  2979. },
  2980. //D-2.8
  2981. dIsMecSecureChange() {
  2982. if (this.form.dIsMecSecure == '0') {
  2983. this.form.dMecSecureContent = null;
  2984. this.form.dSafeImplSign28 = null;
  2985. this.form.dSafeImplDate28 = null;
  2986. }
  2987. },
  2988. //D-2.9
  2989. dIsIsolationDiagramChange() {
  2990. if (this.form.dIsIsolationDiagram == '0') {
  2991. this.form.dSafeImplSign29 = null;
  2992. this.form.dSafeImplDate29 = null;
  2993. }
  2994. },
  2995. //D-2.10
  2996. dIsOtherSafePlantChange() {
  2997. if (this.form.dIsOtherSafePlant == '0') {
  2998. this.form.dOtherSafePlantContent = null;
  2999. this.form.dSafeImplSign210 = null;
  3000. this.form.dSafeImplDate210 = null;
  3001. }
  3002. },
  3003. //D-3.1
  3004. dIsDrainChange() {
  3005. if (this.form.dIsDrain == '0') {
  3006. this.form.dSafeImplSign31 = null;
  3007. this.form.dSafeImplDate31 = null;
  3008. }
  3009. },
  3010. //D-3.2
  3011. dIsCleanChange() {
  3012. if (this.form.dIsClean == '0') {
  3013. this.form.dCleanContent = null;
  3014. this.form.dSafeImplSign32 = null;
  3015. this.form.dSafeImplDate32 = null;
  3016. }
  3017. },
  3018. //D-3.3
  3019. dIsFlushChange() {
  3020. if (this.form.dIsFlush == '0') {
  3021. this.form.dFlushContent = null;
  3022. this.form.dSafeImplSign33 = null;
  3023. this.form.dSafeImplDate33 = null;
  3024. }
  3025. },
  3026. //D-3.4
  3027. dIsOhterCleanChange() {
  3028. if (this.form.dIsOhterClean == '0') {
  3029. this.form.dOtherCleanContent = null;
  3030. this.form.dSafeImplSign34 = null;
  3031. this.form.dSafeImplDate34 = null;
  3032. }
  3033. },
  3034. //D-4.1
  3035. dIsSiteDemarcationChange() {
  3036. if (this.form.dIsSiteDemarcation == '0') {
  3037. this.form.dSiteDemarcationContent = null;
  3038. this.form.dSafeImplSign41 = null;
  3039. this.form.dSafeImplDate41 = null;
  3040. }
  3041. },
  3042. //D-4.2
  3043. dIsAreaCoverChange() {
  3044. if (this.form.dIsAreaCover == '0') {
  3045. this.form.dAreaCoverContent = null;
  3046. this.form.dSafeImplSign42 = null;
  3047. this.form.dSafeImplDate42 = null;
  3048. }
  3049. },
  3050. //D-4.3
  3051. dIsCloseTrucksChange() {
  3052. if (this.form.dIsCloseTrucks == '0') {
  3053. this.form.dSafeImplSign43 = null;
  3054. this.form.dSafeImplDate43 = null;
  3055. }
  3056. },
  3057. //D-4.4
  3058. dIsLeakFlangesChange() {
  3059. if (this.form.dIsLeakFlanges == '0') {
  3060. this.form.dSafeImplSign44 = null;
  3061. this.form.dSafeImplDate44 = null;
  3062. }
  3063. },
  3064. //D-4.5
  3065. dIsOtherWorkSafeChange() {
  3066. if (this.form.dIsOtherWorkSafe == '0') {
  3067. this.form.dOtherWorkSafeContent = null;
  3068. this.form.dSafeImplSign45 = null;
  3069. this.form.dSafeImplDate45 = null;
  3070. }
  3071. },
  3072. //D-5.1
  3073. dIsOtherMeasureChange() {
  3074. if (this.form.dIsOtherMeasure == '0') {
  3075. this.form.dOtherMeasureContent = null;
  3076. this.form.dSafeImplSign51 = null;
  3077. this.form.dSafeImplDate51 = null;
  3078. }
  3079. },
  3080. //D-6
  3081. dIsSafeBriefingChange() {
  3082. if (this.form.dIsSafeBriefing == '0') {
  3083. this.form.dPartakeBriefingSign = null;
  3084. this.form.dPartakeBriefingDate = null;
  3085. }
  3086. if (this.form.dIsSafeBriefing == '1') {
  3087. this.form.dNoReasonContent = null;
  3088. }
  3089. },
  3090. //取消仅限定时间内佩戴的PPE选中-清除数据
  3091. eIsRequiredPpeChange() {
  3092. if (this.form.eIsRequiredPpe == '0') {
  3093. this.form.ePpeContent = null;
  3094. }
  3095. },
  3096. //取消防护手套选中-清除数据
  3097. eIsProtectGlovesChange() {
  3098. if (this.eIsProtectGloves == '0') {
  3099. this.eProtectGlovesContent = null;
  3100. }
  3101. },
  3102. //取消防护服选中-清除数据
  3103. eIsProtectSuitChange() {
  3104. if (this.eIsProtectSuit == '0') {
  3105. this.eProtectSuitContent = null;
  3106. }
  3107. },
  3108. //取消呼吸保护用品选中-清除数据
  3109. eIsResProtectChange() {
  3110. if (this.eIsResProtect == '0') {
  3111. this.eResProtectContent = null;
  3112. }
  3113. },
  3114. //取消防坠落装置选中-清除数据
  3115. eIsFallArrestChange() {
  3116. if (this.eIsFallArrest == '0') {
  3117. this.form.eFallArrestContent = null;
  3118. }
  3119. },
  3120. //E-2.9
  3121. eIsOtherProtectChange() {
  3122. if (this.form.eIsOtherProtect == '0') {
  3123. this.form.eOtherProtectContent = null;
  3124. }
  3125. },
  3126. //取消安全监护人单位/签字选中-清除数据
  3127. eIsContinueMonitoringChange() {
  3128. if (this.form.eIsContinueMonitoring == '0') {
  3129. this.form.eSafeAttendant = null;
  3130. this.form.eSafeAttendantSign = null;
  3131. }
  3132. },
  3133. //取消自然通风选中-清除数据
  3134. eIsNaturalVenChange() {
  3135. if (this.form.eIsNaturalVen == '0') {
  3136. this.form.eNaturalVenContent = null;
  3137. }
  3138. },
  3139. //取消机械通风选中-清除数据
  3140. eIsMecVenChange() {
  3141. if (this.form.eIsMecVen == '0') {
  3142. this.form.eMecVenContent = null;
  3143. }
  3144. },
  3145. //取消空气分析内容选中-清除数据
  3146. eIsAnalyzeAirChange() {
  3147. if (this.form.eIsAnalyzeAir == '0') {
  3148. this.form.eAnalyzeAirContent = null;
  3149. this.form.eAnalyzeAirInterval = null;
  3150. }
  3151. },
  3152. //E-4.5
  3153. eIsOtherVenChange() {
  3154. if (this.form.eIsOtherVen == '0') {
  3155. this.form.eOtherVenContent = null;
  3156. }
  3157. },
  3158. //取消F施工后的安全措施选中-清除数据
  3159. fIsAfterWorkSafeChange() {
  3160. if (this.form.fIsAfterWorkSafe == '0') {
  3161. this.form.fAfterWorkSafeContent = null;
  3162. }
  3163. },
  3164. //取消G由专门部门人员评估的项目选中-清除数据
  3165. gIsSpecialAssessmentChange() {
  3166. if (this.form.gIsSpecialAssessment == '0') {
  3167. this.form.gSpecialAssessment = null;
  3168. }
  3169. },
  3170. //IC卡签名
  3171. signCard(type) {
  3172. console.log('签名类型:' + type)
  3173. this.signCardVisible = true
  3174. this.$nextTick(() => {
  3175. this.$refs.signCard.init(type)
  3176. })
  3177. },
  3178. //获取签名结果
  3179. getSignRes(res) {
  3180. console.log(res)
  3181. //A
  3182. if (res.signType == 'aSafeLiaisonSign') {
  3183. this.form.aSafeLiaisonSign = res.staffName
  3184. console.log('刷卡人姓名:' + this.form.aSafeLiaisonSign)
  3185. }
  3186. //D[1]
  3187. if (res.signType == 'dSafeImplSign11') {
  3188. this.form.dSafeImplSign11 = res.staffName
  3189. this.form.dSafeImplDate11 = this.dateformat('y-M-d h:m:s')
  3190. this.$set(this.value1, 0, this.form.dSafeImplDate11);
  3191. console.log('刷卡人姓名:' + this.form.dSafeImplSign11)
  3192. }
  3193. if (res.signType == 'dDkdyxImplSign') {
  3194. this.form.dDkdyxImplSign = res.staffName
  3195. this.form.dDkdyxImplDate = this.dateformat('y-M-d h:m:s')
  3196. this.$set(this.value1, 0, this.form.dDkdyxImplDate);
  3197. console.log('刷卡人姓名:' + this.form.dDkdyxImplSign)
  3198. }
  3199. if (res.signType == 'dDisFeederImplSign') {
  3200. this.form.dDisFeederImplSign = res.staffName
  3201. this.form.dDisFeederImplDate = this.dateformat('y-M-d h:m:s')
  3202. this.$set(this.value1, 0, this.form.dDisFeederImplDate);
  3203. console.log('刷卡人姓名:' + this.form.dDisFeederImplSign)
  3204. }
  3205. if (res.signType == 'dBreakInclImplSign') {
  3206. this.form.dBreakInclImplSign = res.staffName
  3207. this.form.dBreakInclImplDate = this.dateformat('y-M-d h:m:s')
  3208. this.$set(this.value1, 0, this.form.dBreakInclImplDate);
  3209. console.log('刷卡人姓名:' + this.form.dBreakInclImplSign)
  3210. }
  3211. if (res.signType == 'dDqhlImplSign') {
  3212. this.form.dDqhlImplSign = res.staffName
  3213. this.form.dDqhlImplDate = this.dateformat('y-M-d h:m:s')
  3214. this.$set(this.value1, 0, this.form.dDqhlImplDate);
  3215. console.log('刷卡人姓名:' + this.form.dDqhlImplSign)
  3216. }
  3217. if (res.signType == 'dSafeImplSign12') {
  3218. this.form.dSafeImplSign12 = res.staffName
  3219. this.form.dSafeImplDate12 = this.dateformat('y-M-d h:m:s')
  3220. this.$set(this.value1, 0, this.form.dSafeImplDate12);
  3221. console.log('刷卡人姓名:' + this.form.dSafeImplSign12)
  3222. }
  3223. if (res.signType == 'dSafeImplSign13') {
  3224. this.form.dSafeImplSign13 = res.staffName
  3225. this.form.dSafeImplDate13 = this.dateformat('y-M-d h:m:s')
  3226. this.$set(this.value1, 0, this.form.dSafeImplDate13);
  3227. console.log('刷卡人姓名:' + this.form.dSafeImplSign13)
  3228. }
  3229. if (res.signType == 'dSafeImplSign14') {
  3230. this.form.dSafeImplSign14 = res.staffName
  3231. this.form.dSafeImplDate14 = this.dateformat('y-M-d h:m:s')
  3232. this.$set(this.value1, 0, this.form.dSafeImplDate14);
  3233. console.log('刷卡人姓名:' + this.form.dSafeImplSign14)
  3234. }
  3235. //D[2]
  3236. if (res.signType == 'dSafeImplSign21') {
  3237. this.form.dSafeImplSign21 = res.staffName
  3238. this.form.dSafeImplDate21 = this.dateformat('y-M-d h:m:s')
  3239. this.$set(this.value1, 0, this.form.dSafeImplDate21);
  3240. console.log('刷卡人姓名:' + this.form.dSafeImplSign21)
  3241. }
  3242. if (res.signType == 'dSafeImplSign22') {
  3243. this.form.dSafeImplSign22 = res.staffName
  3244. this.form.dSafeImplDate22 = this.dateformat('y-M-d h:m:s')
  3245. this.$set(this.value1, 0, this.form.dSafeImplDate22);
  3246. console.log('刷卡人姓名:' + this.form.dSafeImplSign22)
  3247. }
  3248. if (res.signType == 'dSafeImplSign23') {
  3249. this.form.dSafeImplSign23 = res.staffName
  3250. this.form.dSafeImplDate23 = this.dateformat('y-M-d h:m:s')
  3251. this.$set(this.value1, 0, this.form.dSafeImplDate23);
  3252. console.log('刷卡人姓名:' + this.form.dSafeImplSign23)
  3253. }
  3254. if (res.signType == 'dSafeImplSign24') {
  3255. this.form.dSafeImplSign24 = res.staffName
  3256. this.form.dSafeImplDate24 = this.dateformat('y-M-d h:m:s')
  3257. this.$set(this.value1, 0, this.form.dSafeImplDate24);
  3258. console.log('刷卡人姓名:' + this.form.dSafeImplSign24)
  3259. }
  3260. if (res.signType == 'dSafeImplSign25') {
  3261. this.form.dSafeImplSign25 = res.staffName
  3262. this.form.dSafeImplDate25 = this.dateformat('y-M-d h:m:s')
  3263. this.$set(this.value1, 0, this.form.dSafeImplDate25);
  3264. console.log('刷卡人姓名:' + this.form.dSafeImplSign25)
  3265. }
  3266. if (res.signType == 'dSafeImplSign26') {
  3267. this.form.dSafeImplSign26 = res.staffName
  3268. this.form.dSafeImplDate26 = this.dateformat('y-M-d h:m:s')
  3269. this.$set(this.value1, 0, this.form.dSafeImplDate26);
  3270. console.log('刷卡人姓名:' + this.form.dSafeImplSign26)
  3271. }
  3272. if (res.signType == 'dSafeImplSign27') {
  3273. this.form.dSafeImplSign27 = res.staffName
  3274. this.form.dSafeImplDate27 = this.dateformat('y-M-d h:m:s')
  3275. this.$set(this.value1, 0, this.form.dSafeImplDate27);
  3276. console.log('刷卡人姓名:' + this.form.dSafeImplSign27)
  3277. }
  3278. if (res.signType == 'dSafeImplSign28') {
  3279. this.form.dSafeImplSign28 = res.staffName
  3280. this.form.dSafeImplDate28 = this.dateformat('y-M-d h:m:s')
  3281. this.$set(this.value1, 0, this.form.dSafeImplDate28);
  3282. console.log('刷卡人姓名:' + this.form.dSafeImplSign28)
  3283. }
  3284. if (res.signType == 'dSafeImplSign29') {
  3285. this.form.dSafeImplSign29 = res.staffName
  3286. this.form.dSafeImplDate29 = this.dateformat('y-M-d h:m:s')
  3287. this.$set(this.value1, 0, this.form.dSafeImplDate29);
  3288. console.log('刷卡人姓名:' + this.form.dSafeImplSign29)
  3289. }
  3290. if (res.signType == 'dSafeImplSign210') {
  3291. this.form.dSafeImplSign210 = res.staffName
  3292. this.form.dSafeImplDate210 = this.dateformat('y-M-d h:m:s')
  3293. this.$set(this.value1, 0, this.form.dSafeImplDate210);
  3294. console.log('刷卡人姓名:' + this.form.dSafeImplSign210)
  3295. }
  3296. //D[3]
  3297. if (res.signType == 'dSafeImplSign31') {
  3298. this.form.dSafeImplSign31 = res.staffName
  3299. this.form.dSafeImplDate31 = this.dateformat('y-M-d h:m:s')
  3300. this.$set(this.value1, 0, this.form.dSafeImplDate31);
  3301. console.log('刷卡人姓名:' + this.form.dSafeImplSign31)
  3302. }
  3303. if (res.signType == 'dSafeImplSign32') {
  3304. this.form.dSafeImplSign32 = res.staffName
  3305. this.form.dSafeImplDate32 = this.dateformat('y-M-d h:m:s')
  3306. this.$set(this.value1, 0, this.form.dSafeImplDate32);
  3307. console.log('刷卡人姓名:' + this.form.dSafeImplSign32)
  3308. }
  3309. if (res.signType == 'dSafeImplSign33') {
  3310. this.form.dSafeImplSign33 = res.staffName
  3311. this.form.dSafeImplDate33 = this.dateformat('y-M-d h:m:s')
  3312. this.$set(this.value1, 0, this.form.dSafeImplDate33);
  3313. console.log('刷卡人姓名:' + this.form.dSafeImplSign33)
  3314. }
  3315. if (res.signType == 'dSafeImplSign34') {
  3316. this.form.dSafeImplSign34 = res.staffName
  3317. this.form.dSafeImplDate34 = this.dateformat('y-M-d h:m:s')
  3318. this.$set(this.value1, 0, this.form.dSafeImplDate34);
  3319. console.log('刷卡人姓名:' + this.form.dSafeImplSign34)
  3320. }
  3321. //D[4]
  3322. if (res.signType == 'dSafeImplSign41') {
  3323. this.form.dSafeImplSign41 = res.staffName
  3324. this.form.dSafeImplDate41 = this.dateformat('y-M-d h:m:s')
  3325. this.$set(this.value1, 0, this.form.dSafeImplDate41);
  3326. console.log('刷卡人姓名:' + this.form.dSafeImplSign41)
  3327. }
  3328. if (res.signType == 'dSafeImplSign42') {
  3329. this.form.dSafeImplSign42 = res.staffName
  3330. this.form.dSafeImplDate42 = this.dateformat('y-M-d h:m:s')
  3331. this.$set(this.value1, 0, this.form.dSafeImplDate42);
  3332. console.log('刷卡人姓名:' + this.form.dSafeImplSign42)
  3333. }
  3334. if (res.signType == 'dSafeImplSign43') {
  3335. this.form.dSafeImplSign43 = res.staffName
  3336. this.form.dSafeImplDate43 = this.dateformat('y-M-d h:m:s')
  3337. this.$set(this.value1, 0, this.form.dSafeImplDate43);
  3338. console.log('刷卡人姓名:' + this.form.dSafeImplSign43)
  3339. }
  3340. if (res.signType == 'dSafeImplSign44') {
  3341. this.form.dSafeImplSign44 = res.staffName
  3342. this.form.dSafeImplDate44 = this.dateformat('y-M-d h:m:s')
  3343. this.$set(this.value1, 0, this.form.dSafeImplDate44);
  3344. console.log('刷卡人姓名:' + this.form.dSafeImplSign44)
  3345. }
  3346. if (res.signType == 'dSafeImplSign45') {
  3347. this.form.dSafeImplSign45 = res.staffName
  3348. this.form.dSafeImplDate45 = this.dateformat('y-M-d h:m:s')
  3349. this.$set(this.value1, 0, this.form.dSafeImplDate45);
  3350. console.log('刷卡人姓名:' + this.form.dSafeImplSign45)
  3351. }
  3352. //D[5]
  3353. if (res.signType == 'dSafeImplSign51') {
  3354. this.form.dSafeImplSign51 = res.staffName
  3355. this.form.dSafeImplDate51 = this.dateformat('y-M-d h:m:s')
  3356. this.$set(this.value1, 0, this.form.dSafeImplDate51);
  3357. console.log('刷卡人姓名:' + this.form.dSafeImplSign51)
  3358. }
  3359. //D[6]
  3360. if (res.signType == 'dPartakeBriefingSign') {
  3361. if (this.form.dPartakeBriefingSign == null || this.form.dPartakeBriefingSign == '') {
  3362. this.form.dPartakeBriefingSign = res.staffName
  3363. }else {
  3364. this.form.dPartakeBriefingSign = this.form.dPartakeBriefingSign + "," + res.staffName
  3365. }
  3366. this.form.dPartakeBriefingDate = this.dateformat('y-M-d h:m:s')
  3367. this.$set(this.value1, 0, this.form.dPartakeBriefingDate);
  3368. console.log('刷卡人姓名:' + this.form.dPartakeBriefingSign)
  3369. }
  3370. //E
  3371. if (res.signType == 'eSafeAttendantSign') {
  3372. this.form.eSafeAttendantSign = res.staffName
  3373. console.log('刷卡人姓名:' + this.form.eSafeAttendantSign)
  3374. }
  3375. //G
  3376. if (res.signType == 'gFirstSign') {
  3377. this.form.gFirstSign = res.staffName
  3378. this.form.gFirstDate = this.dateformat('y-M-d h:m:s')
  3379. this.$set(this.value1, 0, this.form.gFirstDate);
  3380. console.log('刷卡人姓名:' + this.form.gFirstSign)
  3381. }
  3382. if (res.signType == 'gSecondSign') {
  3383. this.form.gSecondSign = res.staffName
  3384. this.form.gSecondDate = this.dateformat('y-M-d h:m:s')
  3385. this.$set(this.value1, 0, this.form.gSecondDate);
  3386. console.log('刷卡人姓名:' + this.form.gSecondSign)
  3387. }
  3388. if (res.signType == 'gThirdSign') {
  3389. this.form.gThirdSign = res.staffName
  3390. this.form.gThirdDate = this.dateformat('y-M-d h:m:s')
  3391. this.$set(this.value1, 0, this.form.gThirdDate);
  3392. console.log('刷卡人姓名:' + this.form.gThirdSign)
  3393. }
  3394. //H
  3395. if (res.signType == 'hSafeMesSign') {
  3396. this.form.hSafeMesSign = res.staffName
  3397. this.form.hSafeMesDate = this.dateformat('y-M-d h:m:s')
  3398. console.log('刷卡人姓名:' + this.form.hSafeMesSign)
  3399. }
  3400. //I
  3401. if (res.signType == 'iOneASign') {
  3402. this.form.iOneASign = res.staffName
  3403. this.form.iOneADate = this.dateformat('y-M-d h:m:s')
  3404. this.$set(this.value1, 0, this.form.iOneADate);
  3405. console.log('刷卡人姓名:' + this.form.iOneASign)
  3406. }
  3407. if (res.signType == 'iOneBSign') {
  3408. this.form.iOneBSign = res.staffName
  3409. this.form.iOneBDate = this.dateformat('y-M-d h:m:s')
  3410. this.$set(this.value1, 0, this.form.iOneBDate);
  3411. console.log('刷卡人姓名:' + this.form.iOneBSign)
  3412. }
  3413. //J
  3414. if (res.signType == 'jOneBSign') {
  3415. this.form.jOneBSign = res.staffName
  3416. this.form.jOneBDate = this.dateformat('y-M-d h:m:s')
  3417. this.$set(this.value1, 0, this.form.jOneBDate);
  3418. console.log('刷卡人姓名:' + this.form.jOneBSign)
  3419. }
  3420. if (res.signType == 'jResMemberSign') {
  3421. this.form.jResMemberSign = res.staffName
  3422. this.form.jResMemberDate = this.dateformat('y-M-d h:m:s')
  3423. this.$set(this.value1, 0, this.form.jResMemberDate);
  3424. console.log('刷卡人姓名:' + this.form.jResMemberSign)
  3425. }
  3426. if (res.signType == 'jEISign') {
  3427. this.form.jEISign = res.staffName
  3428. this.form.jEIDate = this.dateformat('y-M-d h:m:s')
  3429. this.$set(this.value1, 0, this.form.jEIDate);
  3430. console.log('刷卡人姓名:' + this.form.jEISign)
  3431. }
  3432. //K
  3433. if (res.signType == 'kConfirmSign') {
  3434. this.form.kConfirmSign = res.staffName
  3435. this.form.kConfirmDate = this.dateformat('y-M-d h:m:s')
  3436. this.$set(this.value1, 0, this.form.kConfirmDate);
  3437. console.log('刷卡人姓名:' + this.form.kConfirmSign)
  3438. }
  3439. //L
  3440. if (res.signType == 'lNoticeSign') {
  3441. this.form.lNoticeSign = res.staffName
  3442. this.form.lNoticeDate = this.dateformat('y-M-d h:m:s')
  3443. this.$set(this.value1, 0, this.form.lNoticeDate);
  3444. console.log('刷卡人姓名:' + this.form.lNoticeSign)
  3445. }
  3446. //M
  3447. if (res.signType == 'mAssessDSign') {
  3448. this.form.mAssessDSign = res.staffName
  3449. this.form.mAssessDDate = this.dateformat('y-M-d h:m:s')
  3450. this.$set(this.value1, 0, this.form.mAssessDDate);
  3451. console.log('刷卡人姓名:' + this.form.mAssessDSign)
  3452. }
  3453. },
  3454. dateformat(params) {
  3455. var date = new Date(),
  3456. year = date.getFullYear(),
  3457. month = date.getMonth() + 1,
  3458. day = date.getDate(),
  3459. hour = date.getHours(),
  3460. minute = date.getMinutes(),
  3461. second = date.getSeconds()
  3462. var arr = params.split('')
  3463. var result = ''
  3464. for(var i = 0; i < arr.length; i += 2){
  3465. var tem = arr[i+1] === undefined ? '' : arr[i+1]
  3466. switch(arr[i]){
  3467. case 'y': result += this.addZero(year) + tem
  3468. break
  3469. case 'M': result += this.addZero(month) + tem
  3470. break
  3471. case 'd': result += this.addZero(day) + tem
  3472. break
  3473. case 'h': result += this.addZero(hour) + tem
  3474. break
  3475. case 'm': result += this.addZero(minute) + tem
  3476. break
  3477. case 's': result += this.addZero(second)
  3478. break
  3479. }
  3480. }
  3481. return result
  3482. },
  3483. // 如果时间是个位数,就补0
  3484. addZero(obj){
  3485. return obj < 10 ? '0' + obj : obj
  3486. }
  3487. }
  3488. };
  3489. </script>
  3490. <style scoped lang="scss">
  3491. .rule-input ::v-deep {
  3492. .el-input__inner {
  3493. border: 0;
  3494. border-radius: 0px;
  3495. &:focus {
  3496. border-bottom: 1px solid #409eff;
  3497. }
  3498. }
  3499. }
  3500. </style>