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

home.vue 253KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434
  1. <template>
  2. <div class="main-contain">
  3. <div class="position">
  4. <bread-crumb :crumbs='crumbs'></bread-crumb>
  5. </div>
  6. <div class="app-container">
  7. <el-container>
  8. <div style="width:22%">
  9. <el-row>
  10. <el-col :span="24">
  11. <span class="zone">分&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;区:</span>
  12. <el-select v-model="forms.zone_id" placeholder="请选择" class="a" @change="changeBedNumber" style="width:70%" :disabled="zoneDisabled">
  13. <el-option
  14. v-for="item in bedZone"
  15. :key="item.id"
  16. :label="item.name"
  17. :value="item.id"
  18. >
  19. </el-option>
  20. </el-select>
  21. </el-col>
  22. </el-row>
  23. <el-row>
  24. <el-col>
  25. <span class="zone">设备类型:</span>
  26. <el-select v-model="forms.device_type" placeholder="请选择" class="a" @change="changeDeviceId" style="width:70%">
  27. <el-option
  28. v-for="item in DeviceTypeType"
  29. :key="item.id"
  30. :label="item.name"
  31. :value="item.id">
  32. </el-option>
  33. </el-select>
  34. </el-col>
  35. </el-row>
  36. <el-row>
  37. <el-table
  38. ref="singleTable"
  39. :data="tableDatatwo"
  40. highlight-current-row
  41. border
  42. @current-change="handleCurrentChange"
  43. height="440"
  44. :row-style="{ color: '#303133' }"
  45. :header-cell-style="{
  46. backgroundColor: 'rgb(245, 247, 250)',
  47. color: '#606266'
  48. }"
  49. >
  50. <el-table-column
  51. prop="date"
  52. label="设备名称"
  53. width="90"
  54. align="center"
  55. >
  56. <template slot-scope="scope">
  57. <div @click="handleIndex(scope.$index)">{{scope.row.device_name}}</div>
  58. </template>
  59. </el-table-column>
  60. <el-table-column
  61. prop="name"
  62. label="设备型号"
  63. width="90"
  64. align="center">
  65. <template slot-scope="scope">
  66. <div @click="handleIndex(scope.$index)">{{scope.row.device_mode}}</div>
  67. </template>
  68. </el-table-column>
  69. <el-table-column
  70. prop="address"
  71. label="机位号"
  72. align="center"
  73. widwid="60">
  74. <template slot-scope="scope">
  75. <div @click="handleIndex(scope.$index)">{{scope.row.bed_number}}</div>
  76. </template>
  77. </el-table-column>
  78. </el-table>
  79. </el-row>
  80. </div>
  81. <el-main>
  82. <div class="main newMain">
  83. <div class="newButtonOne">
  84. <el-button
  85. type="success"
  86. @click="clickQuery()"
  87. >
  88. 综合查询
  89. </el-button>
  90. </div>
  91. <el-tabs v-model="activeName" @tab-click="handleClick">
  92. <!-- 透析机基本信息 -->
  93. <el-tab-pane label="基本信息" name="first" >
  94. <!-- 透析机基本信息 -->
  95. <div class="disinfectOne newDisinfectOne" v-show="tShow">
  96. <el-row>
  97. <div class="b">
  98. <el-button @click="UpdateMachine()">修改</el-button>
  99. </div>
  100. </el-row>
  101. <el-row>
  102. <el-form :model="form" ref="form" :rules="rules">
  103. <el-row>
  104. <el-col :span="8">
  105. <el-form-item label="序列号:" required prop="serial_number">
  106. <el-input style="width:150px" v-model="form.serial_number" :disabled="disableThree"></el-input>
  107. </el-form-item>
  108. </el-col>
  109. <el-col :span="8">
  110. <el-form-item label="设备类型:" required prop="devicetype">
  111. <el-select style="width:150px" v-model="form.devicetype" :disabled="true">
  112. <el-option v-for="item in this.DeviceTypes" :key="item.id" :label="item.name" :value="item.id" ></el-option>
  113. </el-select>
  114. </el-form-item>
  115. </el-col>
  116. <el-col :span="8">
  117. <el-form-item label="机位号:">
  118. <el-select style="width:150px" v-model="form.bed_number" :disabled="disableThree">
  119. <el-option v-for="item in this.Number" :key="item.bed_id" :label="item.bed_number" :value="item.bed_id"></el-option>
  120. </el-select>
  121. </el-form-item>
  122. </el-col>
  123. </el-row>
  124. <el-row>
  125. <el-col :span="8">
  126. <el-form-item label="设备名称:" required prop="device_name">
  127. <el-input style="width:150px" v-model="form.device_name" :disabled="disableThree"></el-input>
  128. </el-form-item>
  129. </el-col>
  130. <el-col :span="8">
  131. <el-form-item label="生产厂家:">
  132. <el-input style="width:150px" v-model="form.manufacture_factory" :disabled="disableThree"></el-input>
  133. </el-form-item>
  134. </el-col>
  135. <el-col :span="8">
  136. <el-form-item label="维修厂家:">
  137. <el-input style="width:150px" v-model="form.service_manufacturer" :disabled="disableThree"></el-input>
  138. </el-form-item>
  139. </el-col>
  140. </el-row>
  141. <el-row>
  142. <el-col :span="8">
  143. <el-form-item label="设备型号:" required prop="unit_type">
  144. <el-select style="width:150px" v-model="form.unit_type" :disabled="disableThree">
  145. <el-option
  146. v-for="item in this.deviceMode"
  147. :key="item.id"
  148. :label="item.device_mode"
  149. :value="item.id"
  150. ></el-option>
  151. </el-select>
  152. </el-form-item>
  153. </el-col>
  154. <el-col :span="8">
  155. <el-form-item label="使用科室:">
  156. <el-input style="width:150px" v-model="form.use_section" :disabled="disableThree"></el-input>
  157. </el-form-item>
  158. </el-col>
  159. <el-col :span="8">
  160. <el-form-item label="科室编号:">
  161. <el-input style="width:150px" v-model="form.section_number" :disabled="disableThree"></el-input>
  162. </el-form-item>
  163. </el-col>
  164. </el-row>
  165. <el-row>
  166. <el-col :span="8">
  167. <el-form-item label="购买日期:">
  168. <el-date-picker
  169. v-model="form.buy_date"
  170. prefix-icon="none"
  171. type="date"
  172. placeholder="请选择"
  173. format="yyyy-MM-dd"
  174. value-format="yyyy-MM-dd"
  175. style="width:150px"
  176. :disabled="disableThree">
  177. </el-date-picker>
  178. </el-form-item>
  179. </el-col>
  180. <el-col :span="8">
  181. <el-form-item label="安装日期:">
  182. <el-date-picker
  183. v-model="form.install_date"
  184. prefix-icon="none"
  185. type="date"
  186. placeholder="请选择"
  187. format="yyyy-MM-dd"
  188. value-format="yyyy-MM-dd"
  189. style="width:150px"
  190. :disabled="disableThree">
  191. </el-date-picker>
  192. </el-form-item>
  193. </el-col>
  194. <el-col :span="8">
  195. <el-form-item label="启用日期:">
  196. <el-date-picker
  197. v-model="form.start_date"
  198. prefix-icon="none"
  199. type="date"
  200. placeholder="请选择"
  201. format="yyyy-MM-dd"
  202. value-format="yyyy-MM-dd"
  203. style="width:150px"
  204. :disabled="disableThree">
  205. </el-date-picker>
  206. </el-form-item>
  207. </el-col>
  208. <el-col :span="8">
  209. <el-form-item label="维修工程师:">
  210. <el-input style="width:150px" v-model="form.maintenance_engineer" :disabled="disableThree"></el-input>
  211. </el-form-item>
  212. </el-col>
  213. <el-col :span="8">
  214. <el-form-item label="联系电话:">
  215. <el-input style="width:150px" v-model="form.telephone" :disabled="disableThree"></el-input>
  216. </el-form-item>
  217. </el-col>
  218. <el-col :span="8">
  219. <el-form-item label="保修期限:">
  220. <el-input style="width:150px" v-model="form.guarantee_date" :disabled="disableThree"></el-input>
  221. </el-form-item>
  222. </el-col>
  223. </el-row>
  224. <el-row>
  225. <el-col :span="8">
  226. <el-form-item label="机器状态:">
  227. <el-select style="width:150px" v-model="form.machine_status" @change="changeMachineStatus">
  228. <el-option v-for="item in machineStatus" :key="item.id" :label="item.name" :value="item.id" :disabled="disableThree"></el-option>
  229. </el-select>
  230. </el-form-item>
  231. </el-col>
  232. <el-col :span="8">
  233. <el-form-item label="初次使用次数:">
  234. <el-input v-model="form.user_total" style="width:150px" :disabled="disableThree"></el-input>
  235. </el-form-item>
  236. </el-col>
  237. <el-col :span="8">
  238. <el-form-item label="备注:">
  239. <el-input style="width:150px" v-model="form.remarks" :disabled="disableThree"></el-input>
  240. </el-form-item>
  241. </el-col>
  242. </el-row>
  243. <el-row>
  244. <el-col :span="8">
  245. <el-form-item label="报废日期:">
  246. <el-date-picker
  247. v-model="form.rubbish_date"
  248. prefix-icon="none"
  249. type="date"
  250. placeholder="请选择"
  251. format="yyyy-MM-dd"
  252. value-format="yyyy-MM-dd"
  253. style="width:150px"
  254. :disabled="disableThree">
  255. </el-date-picker>
  256. </el-form-item>
  257. </el-col>
  258. <el-col :span="8">
  259. <el-form-item label="报废原因:">
  260. <el-select style="width:150px" v-model="form.rubbish_reason" :disabled="readisable">
  261. <el-option v-for="item in this.DisCardResion" :key="item.id" :label="item.name" :value="item.id" :disabled="disableThree"></el-option>
  262. </el-select>
  263. </el-form-item>
  264. </el-col>
  265. <el-col :span="8">
  266. <el-form-item label="使用年限(年):">
  267. <el-input style="width:150px" v-model="form.user_year" :disabled="disableThree"></el-input>
  268. </el-form-item>
  269. </el-col>
  270. </el-row>
  271. <el-row>
  272. <el-col :span="8">
  273. <el-form-item label="工作时长(时):">
  274. <el-input style="width:150px" v-model="form.work_time" :disabled="disableThree"></el-input>
  275. </el-form-item>
  276. </el-col>
  277. </el-row>
  278. <el-row>
  279. <el-form-item label="治疗模式:">
  280. <el-checkbox-group v-model="form.treat_mode" @change="handleCheckedCitiesChange">
  281. <el-checkbox v-for="city in cities" :label="city" :key="city">{{city}}</el-checkbox>
  282. </el-checkbox-group>
  283. </el-form-item>
  284. </el-row>
  285. <el-row>
  286. <el-col>
  287. <el-checkbox :indeterminate="isIndeterminate" v-model="checkAll" @change="handleCheckAllChange">全选</el-checkbox>
  288. </el-col>
  289. </el-row>
  290. <el-row>
  291. <div class="but">
  292. <el-col :span="12">
  293. <el-button size="medium" v-show="cancelShow" @click="cleanMainchine">取消</el-button>
  294. </el-col>
  295. <el-col :span="8">
  296. <el-button type="primary" size="medium" v-show="confirmShow" @click="UpdateMachineInfo('form')">保存</el-button>
  297. </el-col>
  298. </div>
  299. </el-row>
  300. </el-form>
  301. </el-row>
  302. </div>
  303. <!-- 水处理机基本信息 -->
  304. <div v-show="sShow">
  305. <el-row>
  306. <div class="b">
  307. <el-button size="small" @click="UpdateMachine()">修改</el-button>
  308. </div>
  309. </el-row>
  310. <el-row>
  311. <el-form :model="form" ref="form" :rules="rules">
  312. <el-row>
  313. <el-col :span="7">
  314. <el-form-item label="序列号:" required prop="serial_number">
  315. <el-input style="width:150px" v-model="form.serial_number" :disabled="disableFour"></el-input>
  316. </el-form-item>
  317. </el-col>
  318. <el-col :span="7">
  319. <el-form-item label="设备类型:" required prop="devicetype">
  320. <el-select style="width:150px" v-model="form.devicetype" :disabled="true">
  321. <el-option v-for="item in this.DeviceTypes" :key="item.id" :label="item.name" :value="item.id" :disabled="disableFour" ></el-option>
  322. </el-select>
  323. </el-form-item>
  324. </el-col>
  325. <el-col :span="7">
  326. <el-form-item label="机位号">
  327. <el-input style="width:150px" v-model="form.beds" :disabled="disableFour"></el-input>
  328. </el-form-item>
  329. </el-col>
  330. </el-row>
  331. <el-row>
  332. <el-col :span="7">
  333. <el-form-item label="设备名称:" required prop="device_name">
  334. <el-input style="width:150px" v-model="form.device_name" :disabled="disableFour"></el-input>
  335. </el-form-item>
  336. </el-col>
  337. <el-col :span="7">
  338. <el-form-item label="生产厂家:">
  339. <el-input style="width:150px" v-model="form.manufacture_factory" :disabled="disableFour"></el-input>
  340. </el-form-item>
  341. </el-col>
  342. <el-col :span="7">
  343. <el-form-item label="维修厂家:">
  344. <el-input style="width:150px" v-model="form.service_manufacturer" :disabled="disableFour"></el-input>
  345. </el-form-item>
  346. </el-col>
  347. </el-row>
  348. <el-row>
  349. <el-col :span="7">
  350. <el-form-item label="设备型号:" required prop="unit_type">
  351. <el-select style="width:135px" v-model="form.unit_type" :disabled="disableFour">
  352. <el-option
  353. v-for="item in this.deviceMode"
  354. :key="item.id"
  355. :label="item.device_mode"
  356. :value="item.id"
  357. ></el-option>
  358. </el-select>
  359. </el-form-item>
  360. </el-col>
  361. <el-col :span="7">
  362. <el-form-item label="使用科室:">
  363. <el-input style="width:150px" v-model="form.use_section" :disabled="disableFour"></el-input>
  364. </el-form-item>
  365. </el-col>
  366. <el-col :span="7">
  367. <el-form-item label="科室编号:">
  368. <el-input style="width:150px" v-model="form.section_number" :disabled="disableFour"></el-input>
  369. </el-form-item>
  370. </el-col>
  371. </el-row>
  372. <el-row>
  373. <el-col :span="7">
  374. <el-form-item label="购买日期:">
  375. <el-date-picker
  376. v-model="form.buy_date"
  377. prefix-icon="none"
  378. type="date"
  379. placeholder="请选择"
  380. format="yyyy-MM-dd"
  381. value-format="yyyy-MM-dd"
  382. style="width:150px"
  383. :disabled="disableFour">
  384. </el-date-picker>
  385. </el-form-item>
  386. </el-col>
  387. <el-col :span="7">
  388. <el-form-item label="安装日期:">
  389. <el-date-picker
  390. v-model="form.install_date"
  391. prefix-icon="none"
  392. type="date"
  393. placeholder="请选择"
  394. format="yyyy-MM-dd"
  395. value-format="yyyy-MM-dd"
  396. style="width:150px"
  397. :disabled="disableFour">
  398. </el-date-picker>
  399. </el-form-item>
  400. </el-col>
  401. <el-col :span="7">
  402. <el-form-item label="启用日期:">
  403. <el-date-picker
  404. v-model="form.start_date"
  405. prefix-icon="none"
  406. type="date"
  407. placeholder="请选择"
  408. format="yyyy-MM-dd"
  409. value-format="yyyy-MM-dd"
  410. style="width:150px"
  411. :disabled="disableFour">
  412. </el-date-picker>
  413. </el-form-item>
  414. </el-col>
  415. <el-col :span="7">
  416. <el-form-item label="维修工程师:">
  417. <el-input style="width:150px" v-model="form.maintenance_engineer" :disabled="disableFour"></el-input>
  418. </el-form-item>
  419. </el-col>
  420. <el-col :span="7">
  421. <el-form-item label="联系电话:">
  422. <el-input style="width:150px" v-model="form.telephone" :disabled="disableFour"></el-input>
  423. </el-form-item>
  424. </el-col>
  425. <el-col :span="7">
  426. <el-form-item label="保修期限:">
  427. <el-input style="width:150px" v-model="form.guarantee_date" :disabled="disableFour"></el-input>
  428. </el-form-item>
  429. </el-col>
  430. </el-row>
  431. <el-row>
  432. <el-col :span="7">
  433. <el-form-item label="机器状态:">
  434. <el-select style="width:150px" v-model="form.machine_status" :disabled="disableFour">
  435. <el-option v-for="item in machineStatus" :key="item.id" :label="item.name" :value="item.id" ></el-option>
  436. </el-select>
  437. </el-form-item>
  438. </el-col>
  439. <el-col :span="7">
  440. <el-form-item label="消毒方式:">
  441. <el-select style="width:135px" v-model="form.Disinfection_mode" :disabled="disableFour">
  442. <el-option
  443. v-for="item in this.DisinfectionMode"
  444. :key="item.id"
  445. :label="item.name"
  446. :value="item.id"
  447. ></el-option>
  448. </el-select>
  449. </el-form-item>
  450. </el-col>
  451. <el-col :span="7">
  452. <el-form-item label="备注:">
  453. <el-input style="width:150px" v-model="form.remarks" :disabled="disableFour"></el-input>
  454. </el-form-item>
  455. </el-col>
  456. </el-row>
  457. <el-row>
  458. <el-col :span="7">
  459. <el-form-item label="报废日期:">
  460. <el-date-picker
  461. v-model="form.rubbish_date"
  462. prefix-icon="none"
  463. type="date"
  464. placeholder="请选择"
  465. format="yyyy-MM-dd"
  466. value-format="yyyy-MM-dd"
  467. style="width:135px"
  468. :disabled="disableFour">
  469. </el-date-picker>
  470. </el-form-item>
  471. </el-col>
  472. <el-col :span="7">
  473. <el-form-item label="报废原因:">
  474. <el-select style="width:150px" v-model="form.rubbish_reason" :disabled="disableFour">
  475. <el-option v-for="item in this.DisCardResion" :key="item.id" :label="item.name" :value="item.id" ></el-option>
  476. </el-select>
  477. </el-form-item>
  478. </el-col>
  479. <el-col :span="7">
  480. <el-form-item label="使用年限(年):">
  481. <el-input style="width:150px" v-model="form.user_year" :disabled="disableFour"></el-input>
  482. </el-form-item>
  483. </el-col>
  484. </el-row>
  485. <el-row>
  486. <el-col :span="8">
  487. <el-form-item label="工作时长(h):">
  488. <el-input style="width:150px" v-model="form.work_time" :disabled="disableFour"></el-input>
  489. </el-form-item>
  490. </el-col>
  491. <el-col :span="8">
  492. <el-form-item label="反渗模式:">
  493. <el-select style="width:135px" v-model="form.revers_mode" :disabled="disableFour">
  494. <el-option
  495. v-for="item in this.reverseMode"
  496. :key="item.id"
  497. :label="item.name"
  498. :value="item.id"
  499. ></el-option>
  500. </el-select>
  501. </el-form-item>
  502. </el-col>
  503. </el-row>
  504. <el-row>
  505. <div class="but">
  506. <el-col :span="12">
  507. <el-button size="medium" v-show="cancelShow" @click="cleanMainchine">取消</el-button>
  508. </el-col>
  509. <el-col :span="8">
  510. <el-button type="primary" size="medium" v-show="confirmShow" @click="UpdateMachineInfoTwo('form')">保存</el-button>
  511. </el-col>
  512. </div>
  513. </el-row>
  514. </el-form>
  515. </el-row>
  516. </div>
  517. <!-- 其他信息 -->
  518. <div v-show="qShow" class="disinfectOne">
  519. <el-row>
  520. <div class="b">
  521. <el-button size="small" @click="UpdateMachine()">修改</el-button>
  522. </div>
  523. </el-row>
  524. <el-form :model="form" ref="form" :rules="rules">
  525. <el-row>
  526. <el-col :span="8">
  527. <el-form-item label="序列号:" required prop="serial_number">
  528. <el-input style="width:150px" v-model="form.serial_number" :disabled="disableFive"></el-input>
  529. </el-form-item>
  530. </el-col>
  531. <el-col :span="8">
  532. <el-form-item label="设备类型:" required prop="devicetype">
  533. <el-select style="width:150px" v-model="form.devicetype" :disabled="true">
  534. <el-option v-for="item in this.DeviceTypes" :key="item.id" :label="item.name" :value="item.id" ></el-option>
  535. </el-select>
  536. </el-form-item>
  537. </el-col>
  538. <el-col :span="8">
  539. <el-form-item label="机位号:">
  540. <!-- <el-select style="width:150px" v-model="form.bed_number" :disabled="true">
  541. <el-option v-for="item in this.Number" :key="item.id" :label="item.number" :value="item.id"></el-option>
  542. </el-select> -->
  543. <el-input v-model="form.bed_numbers" style="width:150px" :disabled="disableFive"></el-input>
  544. </el-form-item>
  545. </el-col>
  546. </el-row>
  547. <el-row>
  548. <el-col :span="8">
  549. <el-form-item label="设备名称:" required prop="device_name">
  550. <el-input style="width:150px" v-model="form.device_name" :disabled="disableFive"></el-input>
  551. </el-form-item>
  552. </el-col>
  553. <el-col :span="8">
  554. <el-form-item label="生产厂家:">
  555. <el-input style="width:150px" v-model="form.manufacture_factory" :disabled="disableFive"></el-input>
  556. </el-form-item>
  557. </el-col>
  558. <el-col :span="8">
  559. <el-form-item label="维修厂家:">
  560. <el-input style="width:150px" v-model="form.service_manufacturer" :disabled="disableFive"></el-input>
  561. </el-form-item>
  562. </el-col>
  563. </el-row>
  564. <el-row>
  565. <el-col :span="8">
  566. <el-form-item label="设备型号:" required prop="unit_type">
  567. <el-select style="width:135px" v-model="form.unit_type" :disabled="disableFive">
  568. <el-option
  569. v-for="item in this.deviceMode"
  570. :key="item.id"
  571. :label="item.device_mode"
  572. :value="item.id"
  573. ></el-option>
  574. </el-select>
  575. </el-form-item>
  576. </el-col>
  577. <el-col :span="8">
  578. <el-form-item label="使用科室:">
  579. <el-input style="width:150px" v-model="form.use_section" :disabled="disableFive"></el-input>
  580. </el-form-item>
  581. </el-col>
  582. <el-col :span="8">
  583. <el-form-item label="科室编号:">
  584. <el-input style="width:150px" v-model="form.section_number" :disabled="disableFive"></el-input>
  585. </el-form-item>
  586. </el-col>
  587. </el-row>
  588. <el-row>
  589. <el-col :span="8">
  590. <el-form-item label="购买日期:">
  591. <el-date-picker
  592. v-model="form.buy_date"
  593. prefix-icon="none"
  594. type="date"
  595. placeholder="请选择"
  596. format="yyyy-MM-dd"
  597. value-format="yyyy-MM-dd"
  598. style="width:150px"
  599. :disabled="disableFive">
  600. </el-date-picker>
  601. </el-form-item>
  602. </el-col>
  603. <el-col :span="8">
  604. <el-form-item label="安装日期:">
  605. <el-date-picker
  606. v-model="form.install_date"
  607. prefix-icon="none"
  608. type="date"
  609. placeholder="请选择"
  610. format="yyyy-MM-dd"
  611. value-format="yyyy-MM-dd"
  612. style="width:150px"
  613. :disabled="disableFive">
  614. </el-date-picker>
  615. </el-form-item>
  616. </el-col>
  617. <el-col :span="8">
  618. <el-form-item label="启用日期:">
  619. <el-date-picker
  620. v-model="form.start_date"
  621. prefix-icon="none"
  622. type="date"
  623. placeholder="请选择"
  624. format="yyyy-MM-dd"
  625. value-format="yyyy-MM-dd"
  626. style="width:150px"
  627. :disabled="disableFive">
  628. </el-date-picker>
  629. </el-form-item>
  630. </el-col>
  631. <el-col :span="8">
  632. <el-form-item label="维修工程师:">
  633. <el-input style="width:150px" v-model="form.maintenance_engineer" :disabled="disableFive"></el-input>
  634. </el-form-item>
  635. </el-col>
  636. <el-col :span="8">
  637. <el-form-item label="联系电话:">
  638. <el-input style="width:150px" v-model="form.telephone" :disabled="disableFive"></el-input>
  639. </el-form-item>
  640. </el-col>
  641. <el-col :span="8">
  642. <el-form-item label="保修期限:">
  643. <el-input style="width:150px" v-model="form.guarantee_date" :disabled="disableFive"></el-input>
  644. </el-form-item>
  645. </el-col>
  646. </el-row>
  647. <el-row>
  648. <el-col :span="8">
  649. <el-form-item label="机器状态:">
  650. <el-select style="width:150px" v-model="form.machine_status" @change="changeMachineStatus">
  651. <el-option v-for="item in machineStatus" :key="item.id" :label="item.name" :value="item.id" :disabled="disableFive"></el-option>
  652. </el-select>
  653. </el-form-item>
  654. </el-col>
  655. <el-col :span="8">
  656. <el-form-item label="消毒方式:">
  657. <el-select style="width:135px" v-model="form.Disinfection_mode" :disabled="disableFive">
  658. <el-option
  659. v-for="item in this.DisinfectionMode"
  660. :key="item.id"
  661. :label="item.name"
  662. :value="item.id"
  663. ></el-option>
  664. </el-select>
  665. </el-form-item>
  666. </el-col>
  667. <el-col :span="8">
  668. <el-form-item label="备注:">
  669. <el-input style="width:150px" v-model="form.remarks" :disabled="disableFive"></el-input>
  670. </el-form-item>
  671. </el-col>
  672. </el-row>
  673. <el-row>
  674. <el-col :span="8">
  675. <el-form-item label="报废日期:">
  676. <el-date-picker
  677. v-model="form.rubbish_date"
  678. prefix-icon="none"
  679. type="date"
  680. placeholder="请选择"
  681. format="yyyy-MM-dd"
  682. value-format="yyyy-MM-dd"
  683. style="width:135px"
  684. :disabled="disableFive">
  685. </el-date-picker>
  686. </el-form-item>
  687. </el-col>
  688. <el-col :span="8">
  689. <el-form-item label="报废原因:">
  690. <el-select style="width:150px" v-model="form.rubbish_reason" :disabled="readisable">
  691. <el-option v-for="item in this.DisCardResion" :key="item.id" :label="item.name" :value="item.id" :disabled="disableFive"></el-option>
  692. </el-select>
  693. </el-form-item>
  694. </el-col>
  695. <el-col :span="8">
  696. <el-form-item label="使用年限(年):">
  697. <el-input style="width:150px" v-model="form.user_year" :disabled="disableFive"></el-input>
  698. </el-form-item>
  699. </el-col>
  700. </el-row>
  701. <el-row>
  702. <el-col :span="8">
  703. <el-form-item label="工作时长:">
  704. <el-input style="width:150px" v-model="form.work_time" :disabled="disableFive"></el-input>
  705. </el-form-item>
  706. </el-col>
  707. </el-row>
  708. <el-row>
  709. <div class="but">
  710. <el-col :span="12">
  711. <el-button size="medium" v-show="cancelShow" @click="cleanMainchine">取消</el-button>
  712. </el-col>
  713. <el-col :span="8">
  714. <el-button type="primary" size="medium" v-show="confirmShow" @click="UpdateMacheineTwo('form')">保存</el-button>
  715. </el-col>
  716. </div>
  717. </el-row>
  718. </el-form>
  719. </div>
  720. </el-tab-pane>
  721. <el-tab-pane label="消毒计划" name="second">
  722. <div class="disinfect" v-show="DisShow">
  723. <div class="newButton">
  724. <el-button
  725. type="primary"
  726. size="small"
  727. @click="addPlan"
  728. >
  729. 新增计划
  730. </el-button>
  731. </div>
  732. <el-tabs type="border-card" v-model="activeNameTwo" @tab-click="handleClick" >
  733. <el-tab-pane label="当前设备计划列表" name="first">
  734. <el-row style="display: flex;align-items: center;">
  735. <el-col :span="2">
  736. <el-checkbox style="width: 30px" @change="changeCheckOne" v-model="checkAllStatus">全选</el-checkbox>
  737. </el-col>
  738. <el-col :span="2">
  739. <el-button size="small" @click="openDeleteMahcine">批量删除</el-button>
  740. </el-col>
  741. </el-row>
  742. <el-row>
  743. <el-table
  744. ref="multipleTable"
  745. @selection-change="handleSelectionChangeOne"
  746. :data="planData"
  747. border
  748. fit
  749. highlight-current-row
  750. style="width: 100%;margin-top: 10px;"
  751. :row-style="{ color: '#303133' }"
  752. :header-cell-style="{
  753. backgroundColor: 'rgb(245, 247, 250)',
  754. color: '#606266'
  755. }"
  756. >
  757. <el-table-column align="center" type="selection" width="55"></el-table-column>
  758. <el-table-column label="时间" align="center" min-width="50px">
  759. <template slot-scope="scope">
  760. {{scope.row.time}}
  761. </template>
  762. </el-table-column>
  763. <el-table-column label="班次" align="center" min-width="50px">
  764. <template slot-scope="scope">
  765. {{scope.row.classtime}}
  766. </template>
  767. </el-table-column>
  768. <el-table-column label="机表消毒方式" align="center" min-width="110px" >
  769. <template slot-scope="scope">
  770. {{scope.row.way}}
  771. </template>
  772. </el-table-column>
  773. <el-table-column label="机表消毒液" align="center" min-width="100px" >
  774. <template slot-scope="scope">
  775. {{scope.row.machine_disinfectant}}
  776. </template>
  777. </el-table-column>
  778. <el-table-column label="液路消毒方式" align="center" min-width="110px" >
  779. <template slot-scope="scope">
  780. {{scope.row.disinfectan_way}}
  781. </template>
  782. </el-table-column>
  783. <el-table-column label="液路消毒液" align="center" min-width="100px" >
  784. <template slot-scope="scope">
  785. {{scope.row.disinfectant}}
  786. </template>
  787. </el-table-column>
  788. <el-table-column label="消毒时长/min" align="center" min-width="60px" >
  789. <template slot-scope="scope">
  790. {{scope.row.disinfec_time}}
  791. </template>
  792. </el-table-column>
  793. <el-table-column label="操作" align="center" min-width="130px">
  794. <template slot-scope="scope">
  795. <el-tooltip class="item" effect="dark" content="编辑" placement="top">
  796. <el-button
  797. size="mini"
  798. type="primary"
  799. icon="el-icon-edit-outline"
  800. @click="EditMachine(scope.row.id, scope.$index)"
  801. ></el-button>
  802. </el-tooltip>
  803. <el-tooltip class="item" effect="dark" content="删除" placement="top">
  804. <el-button
  805. size="mini"
  806. type="danger"
  807. icon="el-icon-delete"
  808. @click="openDelete(scope.row.id, scope.$index)"
  809. ></el-button>
  810. </el-tooltip>
  811. </template>
  812. </el-table-column>
  813. </el-table>
  814. </el-row>
  815. </el-tab-pane>
  816. <el-tab-pane label="按机型列表" name="second">
  817. <el-row style="display: flex;align-items: center;">
  818. <el-col :span="2">
  819. <el-checkbox style="width: 30px" @change="changeCheck" v-model="checkAllStatusOne">全选</el-checkbox>
  820. </el-col>
  821. <el-col :span="2">
  822. <el-button size="small" @click="openDeleteMahcineOne">批量删除</el-button>
  823. </el-col>
  824. </el-row>
  825. <el-row>
  826. <el-table
  827. ref="multipleTableOne"
  828. @selection-change="handleSelectionChange"
  829. :row-style="{ color: '#303133' }"
  830. :header-cell-style="{
  831. backgroundColor: 'rgb(245, 247, 250)',
  832. color: '#606266'
  833. }"
  834. :data="tableData"
  835. border
  836. fit
  837. highlight-current-row
  838. style="width: 100%;margin-top: 10px;"
  839. >
  840. <el-table-column align="center" type="selection" width="55"></el-table-column>
  841. <el-table-column label="型号" align="center" min-width="60px">
  842. <template slot-scope="scope">
  843. {{scope.row.device_mode}}
  844. </template>
  845. </el-table-column>
  846. <el-table-column label="时间" align="center" min-width="60px" >
  847. <template slot-scope="scope">
  848. {{scope.row.time}}
  849. </template>
  850. </el-table-column>
  851. <el-table-column label="班次" align="center" min-width="60px" >
  852. <template slot-scope="scope">
  853. {{scope.row.classtime}}
  854. </template>
  855. </el-table-column>
  856. <el-table-column label="基表消毒方式" align="center" min-width="110px" >
  857. <template slot-scope="scope">
  858. {{scope.row.way}}
  859. </template>
  860. </el-table-column>
  861. <el-table-column label="基表消毒液" align="center" min-width="100px" >
  862. <template slot-scope="scope">
  863. {{scope.row.machine_disinfectant}}
  864. </template>
  865. </el-table-column>
  866. <el-table-column label="液路消毒方式" align="center" min-width="110px" >
  867. <template slot-scope="scope">
  868. {{scope.row.disinfectant}}
  869. </template>
  870. </el-table-column>
  871. <el-table-column label="液路消毒液" align="center" min-width="100px" >
  872. <template slot-scope="scope">
  873. {{scope.row.disinfectan_way}}
  874. </template>
  875. </el-table-column>
  876. <el-table-column label="消毒时长/min" align="center" min-width="60px" >
  877. <template slot-scope="scope">
  878. {{scope.row.disinfec_time}}
  879. </template>
  880. </el-table-column>
  881. <el-table-column label="操作" align="center" width="130px">
  882. <template slot-scope="scope">
  883. <el-tooltip class="item" effect="dark" content="编辑" placement="top">
  884. <el-button
  885. size="mini"
  886. type="primary"
  887. icon="el-icon-edit-outline"
  888. @click="EditMachine(scope.row.id, scope.$index)"
  889. ></el-button>
  890. </el-tooltip>
  891. <el-tooltip class="item" effect="dark" content="删除" placement="top">
  892. <el-button
  893. size="mini"
  894. type="danger"
  895. icon="el-icon-delete"
  896. @click="openDelete(scope.row.id, scope.$index)"
  897. ></el-button>
  898. </el-tooltip>
  899. </template>
  900. </el-table-column>
  901. </el-table>
  902. </el-row>
  903. </el-tab-pane>
  904. </el-tabs>
  905. </div>
  906. <div class="zClass" v-show="DioShow">
  907. 暂无数据
  908. </div>
  909. </el-tab-pane>
  910. <el-tab-pane label="使用登记" name="third">
  911. <div class="userbutton">
  912. <el-button type="primary" @click="ToReminders">自动生成使用登记</el-button>
  913. </div>
  914. <div v-show="UserShow">
  915. <el-tabs type="border-card" v-model="activeNameThree" @tab-click="handleClick">
  916. <el-tab-pane label="新增使用登记" name="first">
  917. <el-form :model="userform" ref="userform" :rules="userRules">
  918. <el-row>
  919. <el-col :span="8">
  920. <el-form-item label="日期:" required prop="date" class="st">
  921. <el-date-picker
  922. v-model="userform.date"
  923. prefix-icon="none"
  924. type="date"
  925. placeholder="请选择"
  926. format="yyyy-MM-dd"
  927. value-format="yyyy-MM-dd"
  928. style="width:150px">
  929. </el-date-picker>
  930. </el-form-item>
  931. </el-col>
  932. <el-col :span="8">
  933. <el-form-item label="班次:" required prop="classtype" class="st">
  934. <el-select v-model="userform.classtype" placeholder="请选择" style="width:150px">
  935. <el-option
  936. v-for="item in classType"
  937. :key="item.id"
  938. :label="item.name"
  939. :value="item.id"
  940. style="width:90px">
  941. </el-option>
  942. </el-select>
  943. </el-form-item>
  944. </el-col>
  945. <el-col :span="8">
  946. <el-form-item label="分区:" required prop="zone" >
  947. <el-select v-model="userform.zone" placeholder="请选择" style="width:150px" :disabled="true">
  948. <el-option
  949. v-for="item in bedZoneThree"
  950. :key="item.id"
  951. :label="item.name"
  952. :value="item.id"
  953. >
  954. </el-option>
  955. </el-select>
  956. </el-form-item>
  957. </el-col>
  958. </el-row>
  959. <el-row>
  960. <el-col :span="8">
  961. <el-form-item label="机位号:" required prop="bed_number">
  962. <el-select style="width:150px" v-model="userform.bed_number" :disabled="true">
  963. <el-option v-for="item in this.bedNumberTwo" :key="item.id" :label="item.number" :value="item.id"></el-option>
  964. </el-select>
  965. </el-form-item>
  966. </el-col>
  967. <el-col :span="8">
  968. <el-form-item label="患者:">
  969. <el-autocomplete
  970. style="width:150px"
  971. popper-class="my-autocomplete"
  972. v-model="userform.patient_name"
  973. :fetch-suggestions="querySearchAsync"
  974. placeholder="请输入内容"
  975. @select="handleSelect">
  976. <i
  977. class="el-icon-search el-input__icon"
  978. slot="suffix"
  979. >
  980. </i>
  981. <template slot-scope="{ item }">
  982. <span class="addr">{{ item.name }}</span>
  983. </template>
  984. </el-autocomplete>
  985. </el-form-item>
  986. </el-col>
  987. <el-col :span="8">
  988. <el-form-item label="传染病:">
  989. <el-input style="width:150px" v-model="userform.contagion" :disabled="true"></el-input>
  990. </el-form-item>
  991. </el-col>
  992. </el-row>
  993. <el-row>
  994. <el-col :span="8">
  995. <el-form-item label="透析方式:">
  996. <el-select v-model="userform.dialysis_mode" placeholder="请选择" style="width:150px">
  997. <el-option
  998. v-for="item in treatmode"
  999. :key="item.id"
  1000. :label="item.name"
  1001. :value="item.id">
  1002. </el-option>
  1003. </el-select>
  1004. </el-form-item>
  1005. </el-col>
  1006. <el-col :span="8">
  1007. <el-form-item label="上机时间:">
  1008. <el-date-picker
  1009. type="datetime"
  1010. format="yyyy-MM-dd HH:mm"
  1011. value-format="yyyy-MM-dd HH:mm"
  1012. placeholder="选择时间"
  1013. v-model="userform.start_time"
  1014. style="width:185px"
  1015. ></el-date-picker>
  1016. </el-form-item>
  1017. </el-col>
  1018. <el-col :span="8">
  1019. <el-form-item label="下机时间:">
  1020. <el-date-picker
  1021. type="datetime"
  1022. format="yyyy-MM-dd HH:mm"
  1023. value-format="yyyy-MM-dd HH:mm"
  1024. placeholder="选择时间"
  1025. v-model="userform.end_time"
  1026. style="width:185px"
  1027. ></el-date-picker>
  1028. </el-form-item>
  1029. </el-col>
  1030. </el-row>
  1031. <el-row>
  1032. <el-col :span="8">
  1033. <el-form-item label="透析时长:">
  1034. <el-input style="width:150px" v-model="userform.dialysis_time"></el-input>
  1035. </el-form-item>
  1036. </el-col>
  1037. <el-col :span="8">
  1038. <el-form-item label="实际超滤量(L)">
  1039. <el-input style="width:150px" v-model="userform.hyperfiltratio"></el-input>
  1040. </el-form-item>
  1041. </el-col>
  1042. <el-col :span="8">
  1043. <el-form-item label="体重减少(kg):">
  1044. <el-input style="width:150px" v-model="userform.weight_loss"></el-input>
  1045. </el-form-item>
  1046. </el-col>
  1047. </el-row>
  1048. <el-row>
  1049. <el-col :span="8">
  1050. <el-form-item label="预警值:">
  1051. <el-input style="width:150px" v-model="userform.warning_value"></el-input>
  1052. </el-form-item>
  1053. </el-col>
  1054. <el-col :span="8">
  1055. <el-form-item label="使用次数:">
  1056. <el-input style="width:150px" v-model="userform.user_total" :disabled="true"></el-input>
  1057. </el-form-item>
  1058. </el-col>
  1059. <el-col :span="8">
  1060. <el-form-item label="运行:">
  1061. <el-radio-group v-model="userform.run" @change="changeRun">
  1062. <el-radio :label="gender.id" :value="gender.id" v-for="(gender, index) in runOption" :key="gender.id">{{gender.name}}</el-radio>
  1063. </el-radio-group>
  1064. </el-form-item>
  1065. </el-col>
  1066. </el-row>
  1067. <el-row>
  1068. <el-col>
  1069. <el-form-item class="stoppage" label="故障发生阶段:">
  1070. <el-radio-group v-model="userform.failure_stage" :disabled ="runDisable">
  1071. <el-radio :label="gender.id" :value="gender.id" v-for="(gender, index) in faultPhase" :key="index">{{gender.name}}</el-radio>
  1072. </el-radio-group>
  1073. </el-form-item>
  1074. </el-col>
  1075. </el-row>
  1076. <el-row>
  1077. <el-col :span="24">
  1078. <el-form-item class="stoppage" label="故障描述:">
  1079. <el-input style="width:78%" v-model="userform.fault_description"></el-input>
  1080. </el-form-item>
  1081. </el-col>
  1082. </el-row>
  1083. <el-row>
  1084. <el-col :span="24">
  1085. <el-form-item class="stoppage" label="故障提示信息及代码:">
  1086. <el-input style="width:78%" v-model="userform.code_information"></el-input>
  1087. </el-form-item>
  1088. </el-col>
  1089. </el-row>
  1090. <el-row>
  1091. <el-form-item label="机器消毒:"></el-form-item>
  1092. </el-row>
  1093. <el-row>
  1094. <el-col :span="3">
  1095. <el-form-item label="①机表"></el-form-item>
  1096. </el-col>
  1097. <el-col :span="10">
  1098. <el-form-item label="消毒方式:" required prop="disinfect_type">
  1099. <el-select v-model="userform.disinfect_type" placeholder="请选择" >
  1100. <el-option
  1101. v-for="item in disinfectType"
  1102. :key="item.id"
  1103. :label="item.name"
  1104. :value="item.id"
  1105. style="width:150px">
  1106. </el-option>
  1107. </el-select>
  1108. </el-form-item>
  1109. </el-col>
  1110. <el-col :span="10">
  1111. <el-form-item label="消毒液:" required prop="disinfectant_type">
  1112. <el-select v-model="userform.disinfectant_type" placeholder="请选择" >
  1113. <el-option
  1114. v-for="item in disinfectantType"
  1115. :key="item.id"
  1116. :label="item.name"
  1117. :value="item.id"
  1118. style="width:200px">
  1119. </el-option>
  1120. </el-select>
  1121. </el-form-item>
  1122. </el-col>
  1123. </el-row>
  1124. <el-row>
  1125. <el-col :span="3">
  1126. <el-form-item style="visibility: hidden;" label="①机表"></el-form-item>
  1127. </el-col>
  1128. <el-col :span="10">
  1129. <el-form-item label="消毒状态:" required prop="disinfection">
  1130. <el-select v-model="userform.disinfection" placeholder="请选择" >
  1131. <el-option
  1132. v-for="item in disinfection"
  1133. :key="item.id"
  1134. :label="item.name"
  1135. :value="item.id"
  1136. style="width:200px">
  1137. </el-option>
  1138. </el-select>
  1139. </el-form-item>
  1140. </el-col>
  1141. <el-col :span="10">
  1142. <el-form-item label="运行:">
  1143. <el-radio-group v-model="userform.machine_run">
  1144. <el-radio :label="gender.id" :value="gender.id" v-for="(gender, index) in runOptions" :key="index">{{gender.name}}</el-radio>
  1145. </el-radio-group>
  1146. </el-form-item>
  1147. </el-col>
  1148. </el-row>
  1149. <el-row>
  1150. <el-col :span="3">
  1151. <el-form-item label="②液路"></el-form-item>
  1152. </el-col>
  1153. <el-col :span="10">
  1154. <el-form-item label="消毒方式:" required prop="fluid_path">
  1155. <el-select v-model="userform.fluid_path" placeholder="请选择" >
  1156. <el-option
  1157. v-for="item in sterilizeType"
  1158. :key="item.id"
  1159. :label="item.name"
  1160. :value="item.id"
  1161. style="width:200px">
  1162. </el-option>
  1163. </el-select>
  1164. </el-form-item>
  1165. </el-col>
  1166. <el-col :span="10">
  1167. <el-form-item label="消毒液:" required prop="disinfectant">
  1168. <el-select v-model="userform.disinfectant" placeholder="请选择" >
  1169. <el-option
  1170. v-for="item in fluidPathType"
  1171. :key="item.id"
  1172. :label="item.name"
  1173. :value="item.id"
  1174. style="width:260px">
  1175. </el-option>
  1176. </el-select>
  1177. </el-form-item>
  1178. </el-col>
  1179. </el-row>
  1180. <el-row>
  1181. <el-col :span="3">
  1182. <el-form-item style="visibility: hidden;" label="①机表"></el-form-item>
  1183. </el-col>
  1184. <el-col :span="10">
  1185. <el-form-item label="消毒状态:" required prop="disinfection_status">
  1186. <el-select v-model="userform.disinfection_status" placeholder="请选择" >
  1187. <el-option
  1188. v-for="item in disinfection"
  1189. :key="item.id"
  1190. :label="item.name"
  1191. :value="item.id"
  1192. style="width:200px">
  1193. </el-option>
  1194. </el-select>
  1195. </el-form-item>
  1196. </el-col>
  1197. <el-col :span="10">
  1198. <el-form-item label="消毒液残留:">
  1199. <el-radio-group v-model="userform.disinfection_residue">
  1200. <el-radio :label="gender.id" :value="gender.id" v-for="(gender, index) in Disinfectant" :key="index">{{gender.name}}</el-radio>
  1201. </el-radio-group>
  1202. </el-form-item>
  1203. </el-col>
  1204. </el-row>
  1205. <el-row>
  1206. <el-col :span="8">
  1207. <el-form-item label="消毒时长:">
  1208. <el-input style="width:135px" v-model="userform.longtime"></el-input><span style="color:#606266;">分钟</span>
  1209. </el-form-item>
  1210. </el-col>
  1211. <el-col :span="8">
  1212. <el-form-item label="开始消毒时间:">
  1213. <el-date-picker
  1214. type="datetime"
  1215. format="yyyy-MM-dd HH:mm"
  1216. value-format="yyyy-MM-dd HH:mm"
  1217. placeholder="选择时间"
  1218. v-model="userform.starttime"
  1219. style="width:185px;"
  1220. ></el-date-picker>
  1221. </el-form-item>
  1222. </el-col>
  1223. <el-col :span="8">
  1224. <el-form-item label="结束消毒时间:">
  1225. <el-date-picker
  1226. type="datetime"
  1227. format="yyyy-MM-dd HH:mm"
  1228. value-format="yyyy-MM-dd HH:mm"
  1229. placeholder="选择时间"
  1230. v-model="userform.endtime"
  1231. style="width:185px;"
  1232. ></el-date-picker>
  1233. </el-form-item>
  1234. </el-col>
  1235. </el-row>
  1236. <el-row>
  1237. <el-col :span="3" style="height: 36px;line-height: 36px;">
  1238. <el-form-item label="透析机消毒液:"></el-form-item>
  1239. </el-col>
  1240. <el-col :span="5" style="display:flex;align-items: center">
  1241. <el-form-item>
  1242. <el-checkbox v-model="userform.dialysis_checked">更换</el-checkbox>
  1243. </el-form-item>
  1244. </el-col>
  1245. <el-col :span="8">
  1246. <el-form-item label="名称:">
  1247. <el-select v-model="userform.dialysis_name" placeholder="请选择" style="width:150px">
  1248. <el-option
  1249. v-for="item in names"
  1250. :key="item.id"
  1251. :label="item.name"
  1252. :value="item.id"
  1253. >
  1254. </el-option>
  1255. </el-select>
  1256. </el-form-item>
  1257. </el-col>
  1258. <el-col :span="8">
  1259. <el-form-item label="规格:">
  1260. <el-input style="width:100px" v-model="userform.norms"></el-input><span style="color:#606266;">桶</span>
  1261. </el-form-item>
  1262. <span class="warn" v-show="warnShow">您已一个月未更换,请注意检测</span>
  1263. </el-col>
  1264. </el-row>
  1265. <el-row>
  1266. <el-col>
  1267. <el-form-item label="浓度:">
  1268. <el-radio-group v-model="userform.dialysis_concentration">
  1269. <el-radio :label="gender.id" :value="gender.id" v-for="(gender, index) in potency" :key="index">{{gender.name}}</el-radio>
  1270. </el-radio-group>
  1271. </el-form-item>
  1272. </el-col>
  1273. </el-row>
  1274. <el-row>
  1275. <el-col :span="8">
  1276. <el-form-item label="细菌过滤器:">
  1277. <el-checkbox v-model="userform.germ_checked">更换</el-checkbox>
  1278. <span class="warn" v-show="warnShowTwo">您已一个月未更换,请注意检测</span>
  1279. </el-form-item>
  1280. </el-col>
  1281. <el-col :span="8">
  1282. <el-form-item class="newname" label="名称:">
  1283. <el-select v-model="userform.germ_name" placeholder="请选择" style="width:150px">
  1284. <el-option
  1285. v-for="item in germs"
  1286. :key="item.id"
  1287. :label="item.name"
  1288. :value="item.id"
  1289. >
  1290. </el-option>
  1291. </el-select>
  1292. </el-form-item>
  1293. </el-col>
  1294. <el-col :span="8">
  1295. <el-form-item class="newname" label="数量:">
  1296. <el-input style="width:100px" v-model="userform.germ_number"></el-input><span style="color:#606266;">支</span>
  1297. </el-form-item>
  1298. </el-col>
  1299. </el-row>
  1300. <el-row>
  1301. <el-col :span="8">
  1302. <el-form-item label="空气滤网清洁:">
  1303. <el-checkbox v-model="userform.clean">清洁</el-checkbox>
  1304. <span class="warn" v-show="warnShowThree">您已一个月未清洁,请检查</span>
  1305. </el-form-item>
  1306. </el-col>
  1307. <el-col :span="8">
  1308. <el-form-item class="newname" label="签名:" required prop="sign_name">
  1309. <el-select v-model="userform.sign_name" placeholder="请选择" >
  1310. <el-option
  1311. v-for="item in autograph"
  1312. :key="item.admin_user_id"
  1313. :label="item.user_name"
  1314. :value="item.admin_user_id"
  1315. style="width:185px">
  1316. </el-option>
  1317. </el-select>
  1318. </el-form-item>
  1319. </el-col>
  1320. </el-row>
  1321. <el-row>
  1322. <div class="elbutton">
  1323. <el-col :span="6">
  1324. <el-button>取消</el-button>
  1325. </el-col>
  1326. <el-col :span="2">
  1327. <el-button type="primary" @click="SaveInformation('userform')">保存</el-button>
  1328. </el-col>
  1329. </div>
  1330. </el-row>
  1331. </el-form>
  1332. </el-tab-pane>
  1333. <el-tab-pane label="使用登记列表" name="second">
  1334. <user-form ref="userForm" :userdata="userdata"></user-form>
  1335. </el-tab-pane>
  1336. </el-tabs>
  1337. </div>
  1338. <div v-show="Ushow" class="zClass">
  1339. 暂无数据
  1340. </div>
  1341. </el-tab-pane>
  1342. <el-tab-pane label="质量控制" name="fourth">
  1343. <div v-show="zhiShow">
  1344. <el-tabs type="border-card" v-model="activeNameSix" @tab-click="handleClick">
  1345. <el-tab-pane label="新增质量控制" name="first">
  1346. <span style="margin-bottom: 20px;display: block;">细菌培养</span>
  1347. <el-form :model="qualityForm" ref="qualityForm" :rules="qualitRules">
  1348. <el-row>
  1349. <el-col :span="8">
  1350. <el-form-item label="取样日期:">
  1351. <el-date-picker
  1352. v-model="qualityForm.date"
  1353. prefix-icon="none"
  1354. type="date"
  1355. placeholder="请选择"
  1356. format="yyyy-MM-dd"
  1357. value-format="yyyy-MM-dd"
  1358. style="width:150px">
  1359. </el-date-picker>
  1360. </el-form-item>
  1361. </el-col>
  1362. <el-col :span="8">
  1363. <el-form-item label="取样标本:">
  1364. <el-select style="width:150px" v-model="qualityForm.specimen" @change="changeSpecimen">
  1365. <el-option v-for="item in samplingSpecimen" :key="item.id" :label="item.name" :value="item.id"></el-option>
  1366. </el-select>
  1367. </el-form-item>
  1368. </el-col>
  1369. <el-col :span="8">
  1370. <el-form-item label="A浓缩液批号:">
  1371. <el-input style="width:150px" v-model="qualityForm.concentrate_noa" :disabled="disable"></el-input>
  1372. </el-form-item>
  1373. </el-col>
  1374. </el-row>
  1375. <el-row>
  1376. <el-col :span="8">
  1377. <el-form-item label="B浓缩液批号">
  1378. <el-input style="width:150px" v-model="qualityForm.concentrate_nob" :disabled="diableTwo"></el-input>
  1379. </el-form-item>
  1380. </el-col>
  1381. <el-col :span="8">
  1382. <el-form-item label="采样部位:">
  1383. <el-select style="width:150px" v-model="qualityForm.sampling_locationa">
  1384. <el-option v-for="item in samplingLocation" :key="item.id" :label="item.name" :value="item.id"></el-option>
  1385. </el-select>
  1386. </el-form-item>
  1387. </el-col>
  1388. <el-col :span="8">
  1389. <el-form-item label="检测单位:" required prop="detection_unit">
  1390. <el-input style="width:150px" v-model="qualityForm.detection_unit"></el-input>
  1391. </el-form-item>
  1392. </el-col>
  1393. </el-row>
  1394. <el-row>
  1395. <el-col :span="8">
  1396. <el-form-item label="取样者:" required prop="sampler">
  1397. <el-select style="width:150px" v-model="qualityForm.sampler">
  1398. <el-option v-for="item in sampling" :key="item.addmin_user_id" :label="item.user_name" :value="item.admin_user_id"></el-option>
  1399. </el-select>
  1400. </el-form-item>
  1401. </el-col>
  1402. <el-col :span="8">
  1403. <el-form-item label="出报告日期:" required prop="reporting_date">
  1404. <el-date-picker
  1405. v-model="qualityForm.reporting_date"
  1406. prefix-icon="none"
  1407. type="date"
  1408. placeholder="请选择"
  1409. format="yyyy-MM-dd"
  1410. value-format="yyyy-MM-dd"
  1411. style="width:150px">
  1412. </el-date-picker>
  1413. </el-form-item>
  1414. </el-col>
  1415. <el-col :span="8">
  1416. <el-form-item label="顺序号:" required prop="sort">
  1417. <el-input v-model="qualityForm.sort" style="width:150px"></el-input>
  1418. </el-form-item>
  1419. </el-col>
  1420. </el-row>
  1421. <el-row>
  1422. <el-col :span="8">
  1423. <el-form-item label="检测合格:" required prop="pass_examination">
  1424. <el-radio v-model="qualityForm.pass_examination" label="1">是</el-radio>
  1425. <el-radio v-model="qualityForm.pass_examination" label="2">否</el-radio>
  1426. </el-form-item>
  1427. </el-col>
  1428. <el-col :span="8">
  1429. <el-form-item label="修改标志:" required prop="modifications">
  1430. <el-select style="width:150px" v-model="qualityForm.modifications">
  1431. <el-option v-for="(item,index) in modifications" :key="index" :label="item.name" :value="item.id"></el-option>
  1432. </el-select>
  1433. </el-form-item>
  1434. </el-col>
  1435. </el-row>
  1436. <el-row>
  1437. <el-col :span="24">
  1438. <el-form-item label="检测结果:(cfu/ml)">
  1439. <el-input
  1440. type="textarea"
  1441. :rows="2"
  1442. placeholder="请输入内容"
  1443. style="width:84%"
  1444. v-model="qualityForm.detection_result"
  1445. >
  1446. </el-input>
  1447. </el-form-item>
  1448. </el-col>
  1449. </el-row>
  1450. <el-row>
  1451. <!-- <el-col :span="24">
  1452. <span style="color:#FF9900">注:细菌检测应每个月一次,要求细菌数<100cfu/ml</span>
  1453. </el-col> -->
  1454. </el-row>
  1455. <el-row>
  1456. <div class="clearn">
  1457. <el-col :span="4">
  1458. <el-button @click="cleanSaveBacteria">取消</el-button>
  1459. </el-col>
  1460. <el-col :span="4">
  1461. <el-button type="primary" @click="SaveBacteria('qualityForm')">保存</el-button>
  1462. </el-col>
  1463. </div>
  1464. </el-row>
  1465. </el-form>
  1466. <el-divider></el-divider>
  1467. <span style="margin-bottom: 20px;display: block;">内毒素检测</span>
  1468. <el-form ref="qualityFormTwo" :model="qualityFormTwo" :rules="diaRules">
  1469. <el-row>
  1470. <el-col :span="8">
  1471. <el-form-item label="取样日期:">
  1472. <el-date-picker
  1473. v-model="qualityFormTwo.sampling_date"
  1474. prefix-icon="none"
  1475. type="date"
  1476. placeholder="请选择"
  1477. format="yyyy-MM-dd"
  1478. value-format="yyyy-MM-dd"
  1479. style="width:150px">
  1480. </el-date-picker>
  1481. </el-form-item>
  1482. </el-col>
  1483. <el-col :span="8">
  1484. <el-form-item label="取样标本:">
  1485. <el-select style="width:150px" v-model="qualityFormTwo.specimenb" @change="changeSpecimen">
  1486. <el-option v-for="item in samplingSpecimen" :key="item.id" :label="item.name" :value="item.id"></el-option>
  1487. </el-select>
  1488. </el-form-item>
  1489. </el-col>
  1490. <el-col :span="8">
  1491. <el-form-item label="A浓缩液批号:">
  1492. <el-input style="width:150px" v-model="qualityFormTwo.concentrate_noc" :disabled="disable"></el-input>
  1493. </el-form-item>
  1494. </el-col>
  1495. </el-row>
  1496. <el-row>
  1497. <el-col :span="8">
  1498. <el-form-item label="B浓缩液批号:">
  1499. <el-input style="width:150px" v-model ="qualityFormTwo.concentrateb_nod" :disabled="diableTwo"></el-input>
  1500. </el-form-item>
  1501. </el-col>
  1502. <el-col :span="8">
  1503. <el-form-item label="采样部位:">
  1504. <el-select style="width:150px" v-model="qualityFormTwo.sampling_locationb">
  1505. <el-option v-for="item in samplingLocation" :key="item.id" :label="item.name" :value="item.id"></el-option>
  1506. </el-select>
  1507. </el-form-item>
  1508. </el-col>
  1509. <el-col :span="8">
  1510. <el-form-item label="检测单位:" required prop="detection_unit">
  1511. <el-input style="width:150px" v-model ="qualityFormTwo.detection_unit"></el-input>
  1512. </el-form-item>
  1513. </el-col>
  1514. </el-row>
  1515. <el-row>
  1516. <el-col :span="8">
  1517. <el-form-item label="取样者:" required prop="samplerb">
  1518. <el-select style="width:150px" v-model="qualityFormTwo.samplerb">
  1519. <el-option v-for="item in sampling" :key="item.addmin_user_id" :label="item.user_name" :value="item.admin_user_id"></el-option>
  1520. </el-select>
  1521. </el-form-item>
  1522. </el-col>
  1523. <el-col :span="8">
  1524. <el-form-item label="出报告日期:" required prop="reporting_dateb">
  1525. <el-date-picker
  1526. v-model="qualityFormTwo.reporting_dateb"
  1527. prefix-icon="none"
  1528. type="date"
  1529. placeholder="请选择"
  1530. format="yyyy-MM-dd"
  1531. value-format="yyyy-MM-dd"
  1532. style="width:150px">
  1533. </el-date-picker>
  1534. </el-form-item>
  1535. </el-col>
  1536. <el-col :span="8">
  1537. <el-form-item label="顺序号:" required prop="sort">
  1538. <el-input style="width:150px" v-model="qualityFormTwo.sort" ></el-input>
  1539. </el-form-item>
  1540. </el-col>
  1541. </el-row>
  1542. <el-row>
  1543. <el-col :span="8">
  1544. <el-form-item label="检测合格:" required prop="pass_examination">
  1545. <el-radio v-model="qualityFormTwo.pass_examination" label="1">是</el-radio>
  1546. <el-radio v-model="qualityFormTwo.pass_examination" label="2">否</el-radio>
  1547. </el-form-item>
  1548. </el-col>
  1549. <el-col :span="8">
  1550. <el-form-item label="修改标志:" required prop="modifications">
  1551. <el-select style="width:150px" v-model="qualityFormTwo.modifications">
  1552. <el-option v-for="item in modifications" :key="item.id" :label="item.name" :value="item.id"></el-option>
  1553. </el-select>
  1554. </el-form-item>
  1555. </el-col>
  1556. </el-row>
  1557. <el-row>
  1558. <el-col :span="24">
  1559. <el-form-item label="检测结果:(EU/ml)" label-width="100px">
  1560. <el-input
  1561. type="textarea"
  1562. :rows="2"
  1563. placeholder="请输入内容"
  1564. style="width:600px"
  1565. v-model="qualityFormTwo.detection_resultb"
  1566. >
  1567. </el-input>
  1568. </el-form-item>
  1569. </el-col>
  1570. </el-row>
  1571. <el-row>
  1572. <!-- <el-col :span="24">
  1573. <span style="color:#FF9900">注:内毒素检测应至少每3个月1次,要求内毒素<0.25EU/ml,每台透析机每年至少检测一次</span>
  1574. </el-col> -->
  1575. </el-row>
  1576. <el-row>
  1577. <div class="clearn">
  1578. <el-col :span="4">
  1579. <el-button @click="cleanLincomycin">取消</el-button>
  1580. </el-col>
  1581. <el-col :span="4">
  1582. <el-button type="primary" @click="SaveLincomycin('qualityFormTwo')">保存</el-button>
  1583. </el-col>
  1584. </div>
  1585. </el-row>
  1586. </el-form>
  1587. <el-divider></el-divider>
  1588. <div v-if="device_type == 1">
  1589. <span style="margin-bottom: 20px;display: block;">透析液离子浓度检测</span>
  1590. <el-form ref="qualityFormThree" :model="qualityFormThree" :rules="ruleThree">
  1591. <el-row>
  1592. <el-col :span="8">
  1593. <el-form-item label="取样日期:">
  1594. <el-date-picker
  1595. v-model="qualityFormThree.dateb"
  1596. prefix-icon="none"
  1597. type="date"
  1598. placeholder="请选择"
  1599. format="yyyy-MM-dd"
  1600. value-format="yyyy-MM-dd"
  1601. style="width:150px">
  1602. </el-date-picker>
  1603. </el-form-item>
  1604. </el-col>
  1605. <el-col :span="8">
  1606. <el-form-item label="取样者:" required prop="samplerc">
  1607. <el-select style="width:150px" v-model="qualityFormThree.samplerc">
  1608. <el-option v-for="item in sampling" :key="item.addmin_user_id" :label="item.user_name" :value="item.admin_user_id"></el-option>
  1609. </el-select>
  1610. </el-form-item>
  1611. </el-col>
  1612. <el-col :span="8">
  1613. <el-form-item label="检测单位:" required prop="detection_unit">
  1614. <el-input style="width:150px" v-model ="qualityFormThree.detection_unit"></el-input>
  1615. </el-form-item>
  1616. </el-col>
  1617. </el-row>
  1618. <el-row>
  1619. <el-col :span="8">
  1620. <el-form-item label="A浓缩液批号:">
  1621. <el-input style="width:150px" v-model="qualityFormThree.concentrate_nof"></el-input>
  1622. </el-form-item>
  1623. </el-col>
  1624. <el-col :span="8">
  1625. <el-form-item label="B浓缩液批号:">
  1626. <el-input style="width:150px" v-model="qualityFormThree.concentrate_nog"></el-input>
  1627. </el-form-item>
  1628. </el-col>
  1629. <el-col :span="8">
  1630. <el-form-item label="出报告日期:" required prop="date_reportc">
  1631. <el-date-picker
  1632. v-model="qualityFormThree.date_reportc"
  1633. prefix-icon="none"
  1634. type="date"
  1635. placeholder="请选择"
  1636. format="yyyy-MM-dd"
  1637. value-format="yyyy-MM-dd"
  1638. style="width:150px">
  1639. </el-date-picker>
  1640. </el-form-item>
  1641. </el-col>
  1642. </el-row>
  1643. <el-row>
  1644. <el-col :span="8">
  1645. <!-- <span>Na<sup>+</sup></span> -->
  1646. <el-form-item class="newItem" label="实际Na⁺(mmol/L):" label-width="100">
  1647. <el-input style="width:123px" v-model="qualityFormThree.actual_na"></el-input>
  1648. </el-form-item>
  1649. </el-col>
  1650. <el-col :span="8">
  1651. <el-form-item class="newItem" label="配方Na⁺(mmol/L):" label-width="100">
  1652. <el-input style="width:123px" v-model="qualityFormThree.actual_pna"></el-input>
  1653. </el-form-item>
  1654. </el-col>
  1655. <el-col :span="8">
  1656. <el-form-item label="K⁺(mmol/L):">
  1657. <el-input style="width:150px" v-model="qualityFormThree.actual_k"></el-input>
  1658. </el-form-item>
  1659. </el-col>
  1660. </el-row>
  1661. <el-row>
  1662. <el-col :span="8">
  1663. <el-form-item label="Ca2⁺(mmol/L):">
  1664. <el-input style="width:150px" v-model="qualityFormThree.actual_ca"></el-input>
  1665. </el-form-item>
  1666. </el-col>
  1667. <el-col :span="8">
  1668. <el-form-item label="CI¯(mmol/L):">
  1669. <el-input style="width:150px" v-model="qualityFormThree.actual_ci"></el-input>
  1670. </el-form-item>
  1671. </el-col>
  1672. <el-col :span="8">
  1673. <el-form-item label="HCO3¯(mmol/L):">
  1674. <el-input style="width:150px" v-model="qualityFormThree.actual_hco"></el-input>
  1675. </el-form-item>
  1676. </el-col>
  1677. </el-row>
  1678. <el-row>
  1679. <el-col :span="8">
  1680. <el-form-item label="Mg2⁺(mmol/L):">
  1681. <el-input style="width:150px" v-model="qualityFormThree.actual_mg"></el-input>
  1682. </el-form-item>
  1683. </el-col>
  1684. <el-col :span="8">
  1685. <el-form-item label="PH:">
  1686. <el-input style="width:150px" v-model="qualityFormThree.actual_ph"></el-input>
  1687. </el-form-item>
  1688. </el-col>
  1689. <el-col :span="8">
  1690. <el-form-item label="顺序号:" required prop="sort">
  1691. <el-input v-model="qualityFormThree.sort" style="width:150px"></el-input>
  1692. </el-form-item>
  1693. </el-col>
  1694. </el-row>
  1695. <el-row>
  1696. <div></div>
  1697. </el-row>
  1698. <el-row>
  1699. <el-col :span="8">
  1700. <el-form-item label="检测合格:" required prop="pass_examination">
  1701. <el-radio v-model="qualityFormThree.pass_examination" label="1">是</el-radio>
  1702. <el-radio v-model="qualityFormThree.pass_examination" label="2">否</el-radio>
  1703. </el-form-item>
  1704. </el-col>
  1705. <el-col :span="8">
  1706. <el-form-item label="修改标志:" required prop="modifications">
  1707. <el-select style="width:150px" v-model="qualityFormThree.modifications">
  1708. <el-option v-for="item in modifications" :key="item.id" :label="item.name" :value="item.id"></el-option>
  1709. </el-select>
  1710. </el-form-item>
  1711. </el-col>
  1712. </el-row>
  1713. <el-row>
  1714. <el-col :span="24">
  1715. <el-form-item label="备注:">
  1716. <el-input
  1717. type="textarea"
  1718. :rows="2"
  1719. placeholder="请输入内容"
  1720. style="width:500px"
  1721. v-model="qualityFormThree.remakes"
  1722. >
  1723. </el-input>
  1724. </el-form-item>
  1725. </el-col>
  1726. </el-row>
  1727. <el-row>
  1728. <div class="clearn">
  1729. <el-col :span="4">
  1730. <el-button @click="cleanQuality">取消</el-button>
  1731. </el-col>
  1732. <el-col :span="4">
  1733. <el-button type="primary" @click="SaveQualityControl('qualityFormThree')">保存</el-button>
  1734. </el-col>
  1735. </div>
  1736. </el-row>
  1737. </el-form>
  1738. <span style="margin-bottom: 20px;display: block;">有毒化合物检测</span>
  1739. <el-form ref="qualityFormFour" :model="qualityFormFour" :rules="diaRules">
  1740. <el-row>
  1741. <el-col :span="8">
  1742. <el-form-item label="取样日期:">
  1743. <el-date-picker
  1744. v-model="qualityFormFour.sampling_date"
  1745. prefix-icon="none"
  1746. type="date"
  1747. placeholder="请选择"
  1748. format="yyyy-MM-dd"
  1749. value-format="yyyy-MM-dd"
  1750. style="width:150px">
  1751. </el-date-picker>
  1752. </el-form-item>
  1753. </el-col>
  1754. <el-col :span="8">
  1755. <el-form-item label="取样标本:">
  1756. <el-select style="width:150px" v-model="qualityFormFour.specimenb" @change="changeSpecimen">
  1757. <el-option v-for="item in samplingSpecimen" :key="item.id" :label="item.name" :value="item.id"></el-option>
  1758. </el-select>
  1759. </el-form-item>
  1760. </el-col>
  1761. <el-col :span="8">
  1762. <el-form-item label="A浓缩液批号:">
  1763. <el-input style="width:150px" v-model="qualityFormFour.concentrate_noc" :disabled="disable"></el-input>
  1764. </el-form-item>
  1765. </el-col>
  1766. </el-row>
  1767. <el-row>
  1768. <el-col :span="8">
  1769. <el-form-item label="B浓缩液批号:">
  1770. <el-input style="width:150px" v-model ="qualityFormFour.concentrateb_nod" :disabled="diableTwo"></el-input>
  1771. </el-form-item>
  1772. </el-col>
  1773. <el-col :span="8">
  1774. <el-form-item label="采样部位:">
  1775. <el-select style="width:150px" v-model="qualityFormFour.sampling_locationb">
  1776. <el-option v-for="item in samplingLocation" :key="item.id" :label="item.name" :value="item.id"></el-option>
  1777. </el-select>
  1778. </el-form-item>
  1779. </el-col>
  1780. <el-col :span="8">
  1781. <el-form-item label="检测单位:" required prop="detection_unit">
  1782. <el-input style="width:150px" v-model ="qualityFormFour.detection_unit"></el-input>
  1783. </el-form-item>
  1784. </el-col>
  1785. </el-row>
  1786. <el-row>
  1787. <el-col :span="8">
  1788. <el-form-item label="取样者:" required prop="samplerb">
  1789. <el-select style="width:150px" v-model="qualityFormFour.samplerb">
  1790. <el-option v-for="item in sampling" :key="item.addmin_user_id" :label="item.user_name" :value="item.admin_user_id"></el-option>
  1791. </el-select>
  1792. </el-form-item>
  1793. </el-col>
  1794. <el-col :span="8">
  1795. <el-form-item label="出报告日期:" required prop="reporting_dateb">
  1796. <el-date-picker
  1797. v-model="qualityFormFour.reporting_dateb"
  1798. prefix-icon="none"
  1799. type="date"
  1800. placeholder="请选择"
  1801. format="yyyy-MM-dd"
  1802. value-format="yyyy-MM-dd"
  1803. style="width:150px">
  1804. </el-date-picker>
  1805. </el-form-item>
  1806. </el-col>
  1807. <el-col :span="8">
  1808. <el-form-item label="顺序号:" required prop="sort">
  1809. <el-input style="width:150px" v-model="qualityFormFour.sort" ></el-input>
  1810. </el-form-item>
  1811. </el-col>
  1812. </el-row>
  1813. <el-row>
  1814. <el-col :span="8">
  1815. <el-form-item label="检测合格:" required prop="pass_examination">
  1816. <el-radio v-model="qualityFormFour.pass_examination" label="1">是</el-radio>
  1817. <el-radio v-model="qualityFormFour.pass_examination" label="2">否</el-radio>
  1818. </el-form-item>
  1819. </el-col>
  1820. <el-col :span="8">
  1821. <el-form-item label="修改标志:" required prop="modifications">
  1822. <el-select style="width:150px" v-model="qualityFormFour.modifications">
  1823. <el-option v-for="item in modifications" :key="item.id" :label="item.name" :value="item.id"></el-option>
  1824. </el-select>
  1825. </el-form-item>
  1826. </el-col>
  1827. </el-row>
  1828. <el-row>
  1829. <el-col :span="24">
  1830. <el-form-item label="检测结果:(EU/ml)" label-width="100px">
  1831. <el-input
  1832. type="textarea"
  1833. :rows="2"
  1834. placeholder="请输入内容"
  1835. style="width:600px"
  1836. v-model="qualityFormFour.detection_resultb"
  1837. >
  1838. </el-input>
  1839. </el-form-item>
  1840. </el-col>
  1841. </el-row>
  1842. <el-row>
  1843. <!-- <el-col :span="24">
  1844. <span style="color:#FF9900">注:有毒化合物检测应至少每3个月1次,每台透析机每年至少检测一次</span>
  1845. </el-col> -->
  1846. </el-row>
  1847. <el-row>
  1848. <div class="clearn">
  1849. <el-col :span="4">
  1850. <el-button @click="cleanLincomycin">取消</el-button>
  1851. </el-col>
  1852. <el-col :span="4">
  1853. <el-button type="primary" @click="saveOxygenates('qualityFormFour')">保存</el-button>
  1854. </el-col>
  1855. </div>
  1856. </el-row>
  1857. </el-form>
  1858. <el-divider></el-divider>
  1859. </div>
  1860. <span style="margin-bottom: 20px;display: block;">水硬度检测</span>
  1861. <el-form ref="qualityFormFive" :model="qualityFormFive" :rules="diaRules">
  1862. <el-row>
  1863. <el-col :span="8">
  1864. <el-form-item label="取样日期:">
  1865. <el-date-picker
  1866. v-model="qualityFormFive.sampling_date"
  1867. prefix-icon="none"
  1868. type="date"
  1869. placeholder="请选择"
  1870. format="yyyy-MM-dd"
  1871. value-format="yyyy-MM-dd"
  1872. style="width:150px">
  1873. </el-date-picker>
  1874. </el-form-item>
  1875. </el-col>
  1876. <el-col :span="8">
  1877. <el-form-item label="取样标本:">
  1878. <el-select style="width:150px" v-model="qualityFormFive.specimenb" @change="changeSpecimen">
  1879. <el-option v-for="item in samplingSpecimen" :key="item.id" :label="item.name" :value="item.id"></el-option>
  1880. </el-select>
  1881. </el-form-item>
  1882. </el-col>
  1883. <el-col :span="8">
  1884. <el-form-item label="A浓缩液批号:">
  1885. <el-input style="width:150px" v-model="qualityFormFive.concentrate_noc" :disabled="disable"></el-input>
  1886. </el-form-item>
  1887. </el-col>
  1888. </el-row>
  1889. <el-row>
  1890. <el-col :span="8">
  1891. <el-form-item label="B浓缩液批号:">
  1892. <el-input style="width:150px" v-model ="qualityFormFive.concentrateb_nod" :disabled="diableTwo"></el-input>
  1893. </el-form-item>
  1894. </el-col>
  1895. <el-col :span="8">
  1896. <el-form-item label="采样部位:">
  1897. <el-select style="width:150px" v-model="qualityFormFive.sampling_locationb">
  1898. <el-option v-for="item in samplingLocation" :key="item.id" :label="item.name" :value="item.id"></el-option>
  1899. </el-select>
  1900. </el-form-item>
  1901. </el-col>
  1902. <el-col :span="8">
  1903. <el-form-item label="检测单位:" required prop="detection_unit">
  1904. <el-input style="width:150px" v-model ="qualityFormFive.detection_unit"></el-input>
  1905. </el-form-item>
  1906. </el-col>
  1907. </el-row>
  1908. <el-row>
  1909. <el-col :span="8">
  1910. <el-form-item label="取样者:" required prop="samplerb">
  1911. <el-select style="width:150px" v-model="qualityFormFive.samplerb">
  1912. <el-option v-for="item in sampling" :key="item.addmin_user_id" :label="item.user_name" :value="item.admin_user_id"></el-option>
  1913. </el-select>
  1914. </el-form-item>
  1915. </el-col>
  1916. <el-col :span="8">
  1917. <el-form-item label="出报告日期:" required prop="reporting_dateb">
  1918. <el-date-picker
  1919. v-model="qualityFormFive.reporting_dateb"
  1920. prefix-icon="none"
  1921. type="date"
  1922. placeholder="请选择"
  1923. format="yyyy-MM-dd"
  1924. value-format="yyyy-MM-dd"
  1925. style="width:150px">
  1926. </el-date-picker>
  1927. </el-form-item>
  1928. </el-col>
  1929. <el-col :span="8">
  1930. <el-form-item label="顺序号:" required prop="sort">
  1931. <el-input style="width:150px" v-model="qualityFormFive.sort" ></el-input>
  1932. </el-form-item>
  1933. </el-col>
  1934. </el-row>
  1935. <el-row>
  1936. <el-col :span="8">
  1937. <el-form-item label="检测合格:" required prop="pass_examination">
  1938. <el-radio v-model="qualityFormFive.pass_examination" label="1">是</el-radio>
  1939. <el-radio v-model="qualityFormFive.pass_examination" label="2">否</el-radio>
  1940. </el-form-item>
  1941. </el-col>
  1942. <el-col :span="8">
  1943. <el-form-item label="修改标志:" required prop="modifications">
  1944. <el-select style="width:150px" v-model="qualityFormFive.modifications">
  1945. <el-option v-for="item in modifications" :key="item.id" :label="item.name" :value="item.id"></el-option>
  1946. </el-select>
  1947. </el-form-item>
  1948. </el-col>
  1949. </el-row>
  1950. <el-row>
  1951. <el-col :span="24">
  1952. <el-form-item label="检测结果:(EU/ml)" label-width="100px">
  1953. <el-input
  1954. type="textarea"
  1955. :rows="2"
  1956. placeholder="请输入内容"
  1957. style="width:600px"
  1958. v-model="qualityFormFive.detection_resultb"
  1959. >
  1960. </el-input>
  1961. </el-form-item>
  1962. </el-col>
  1963. </el-row>
  1964. <!-- <el-row>
  1965. <el-col :span="24">
  1966. <span style="color:#FF9900">注:水硬度检测应至少每3个月1次,每台透析机每年至少检测一次</span>
  1967. </el-col>
  1968. </el-row> -->
  1969. <el-row>
  1970. <div class="clearn">
  1971. <el-col :span="4">
  1972. <el-button @click="cleanLincomycin">取消</el-button>
  1973. </el-col>
  1974. <el-col :span="4">
  1975. <el-button type="primary" @click="saveHardWater('qualityFormFive')">保存</el-button>
  1976. </el-col>
  1977. </div>
  1978. </el-row>
  1979. </el-form>
  1980. <el-divider></el-divider>
  1981. <span style="margin-bottom: 20px;display: block;">水游离氯检测</span>
  1982. <el-form ref="qualityFormSix" :model="qualityFormSix" :rules="diaRules">
  1983. <el-row>
  1984. <el-col :span="8">
  1985. <el-form-item label="取样日期:">
  1986. <el-date-picker
  1987. v-model="qualityFormSix.sampling_date"
  1988. prefix-icon="none"
  1989. type="date"
  1990. placeholder="请选择"
  1991. format="yyyy-MM-dd"
  1992. value-format="yyyy-MM-dd"
  1993. style="width:150px">
  1994. </el-date-picker>
  1995. </el-form-item>
  1996. </el-col>
  1997. <el-col :span="8">
  1998. <el-form-item label="取样标本:">
  1999. <el-select style="width:150px" v-model="qualityFormSix.specimenb" @change="changeSpecimen">
  2000. <el-option v-for="item in samplingSpecimen" :key="item.id" :label="item.name" :value="item.id"></el-option>
  2001. </el-select>
  2002. </el-form-item>
  2003. </el-col>
  2004. <el-col :span="8">
  2005. <el-form-item label="A浓缩液批号:">
  2006. <el-input style="width:150px" v-model="qualityFormSix.concentrate_noc" :disabled="disable"></el-input>
  2007. </el-form-item>
  2008. </el-col>
  2009. </el-row>
  2010. <el-row>
  2011. <el-col :span="8">
  2012. <el-form-item label="B浓缩液批号:">
  2013. <el-input style="width:150px" v-model ="qualityFormSix.concentrateb_nod" :disabled="diableTwo"></el-input>
  2014. </el-form-item>
  2015. </el-col>
  2016. <el-col :span="8">
  2017. <el-form-item label="采样部位:">
  2018. <el-select style="width:150px" v-model="qualityFormSix.sampling_locationb">
  2019. <el-option v-for="item in samplingLocation" :key="item.id" :label="item.name" :value="item.id"></el-option>
  2020. </el-select>
  2021. </el-form-item>
  2022. </el-col>
  2023. <el-col :span="8">
  2024. <el-form-item label="检测单位:" required prop="detection_unit">
  2025. <el-input style="width:150px" v-model ="qualityFormSix.detection_unit"></el-input>
  2026. </el-form-item>
  2027. </el-col>
  2028. </el-row>
  2029. <el-row>
  2030. <el-col :span="8">
  2031. <el-form-item label="取样者:" required prop="samplerb">
  2032. <el-select style="width:150px" v-model="qualityFormSix.samplerb">
  2033. <el-option v-for="item in sampling" :key="item.addmin_user_id" :label="item.user_name" :value="item.admin_user_id"></el-option>
  2034. </el-select>
  2035. </el-form-item>
  2036. </el-col>
  2037. <el-col :span="8">
  2038. <el-form-item label="出报告日期:" required prop="reporting_dateb">
  2039. <el-date-picker
  2040. v-model="qualityFormSix.reporting_dateb"
  2041. prefix-icon="none"
  2042. type="date"
  2043. placeholder="请选择"
  2044. format="yyyy-MM-dd"
  2045. value-format="yyyy-MM-dd"
  2046. style="width:150px">
  2047. </el-date-picker>
  2048. </el-form-item>
  2049. </el-col>
  2050. <el-col :span="8">
  2051. <el-form-item label="顺序号:" required prop="sort">
  2052. <el-input style="width:150px" v-model="qualityFormSix.sort" ></el-input>
  2053. </el-form-item>
  2054. </el-col>
  2055. </el-row>
  2056. <el-row>
  2057. <el-col :span="8">
  2058. <el-form-item label="检测合格:" required prop="pass_examination">
  2059. <el-radio v-model="qualityFormSix.pass_examination" label="1">是</el-radio>
  2060. <el-radio v-model="qualityFormSix.pass_examination" label="2">否</el-radio>
  2061. </el-form-item>
  2062. </el-col>
  2063. <el-col :span="8">
  2064. <el-form-item label="修改标志:" required prop="modifications">
  2065. <el-select style="width:150px" v-model="qualityFormSix.modifications">
  2066. <el-option v-for="item in modifications" :key="item.id" :label="item.name" :value="item.id"></el-option>
  2067. </el-select>
  2068. </el-form-item>
  2069. </el-col>
  2070. </el-row>
  2071. <el-row>
  2072. <el-col :span="24">
  2073. <el-form-item label="检测结果:(EU/ml)" label-width="100px">
  2074. <el-input
  2075. type="textarea"
  2076. :rows="2"
  2077. placeholder="请输入内容"
  2078. style="width:600px"
  2079. v-model="qualityFormSix.detection_resultb"
  2080. >
  2081. </el-input>
  2082. </el-form-item>
  2083. </el-col>
  2084. </el-row>
  2085. <!-- <el-row>
  2086. <el-col :span="24">
  2087. <span style="color:#FF9900">注:水游离氯检测应至少每3个月1次,每台透析机每年至少检测一次</span>
  2088. </el-col>
  2089. </el-row> -->
  2090. <el-row>
  2091. <div class="clearn">
  2092. <el-col :span="4">
  2093. <el-button @click="cleanLincomycin">取消</el-button>
  2094. </el-col>
  2095. <el-col :span="4">
  2096. <el-button type="primary" @click="saveWater('qualityFormSix')">保存</el-button>
  2097. </el-col>
  2098. </div>
  2099. </el-row>
  2100. </el-form>
  2101. <el-divider></el-divider>
  2102. <span style="margin-bottom: 20px;display: block;">PH值检测</span>
  2103. <el-form ref="qualityFormSeven" :model="qualityFormSeven" :rules="diaRules">
  2104. <el-row>
  2105. <el-col :span="8">
  2106. <el-form-item label="取样日期:">
  2107. <el-date-picker
  2108. v-model="qualityFormSeven.sampling_date"
  2109. prefix-icon="none"
  2110. type="date"
  2111. placeholder="请选择"
  2112. format="yyyy-MM-dd"
  2113. value-format="yyyy-MM-dd"
  2114. style="width:150px">
  2115. </el-date-picker>
  2116. </el-form-item>
  2117. </el-col>
  2118. <el-col :span="8">
  2119. <el-form-item label="取样标本:">
  2120. <el-select style="width:150px" v-model="qualityFormSeven.specimenb" @change="changeSpecimen">
  2121. <el-option v-for="item in samplingSpecimen" :key="item.id" :label="item.name" :value="item.id"></el-option>
  2122. </el-select>
  2123. </el-form-item>
  2124. </el-col>
  2125. <el-col :span="8">
  2126. <el-form-item label="A浓缩液批号:">
  2127. <el-input style="width:150px" v-model="qualityFormSeven.concentrate_noc" :disabled="disable"></el-input>
  2128. </el-form-item>
  2129. </el-col>
  2130. </el-row>
  2131. <el-row>
  2132. <el-col :span="8">
  2133. <el-form-item label="B浓缩液批号:">
  2134. <el-input style="width:150px" v-model ="qualityFormSeven.concentrateb_nod" :disabled="diableTwo"></el-input>
  2135. </el-form-item>
  2136. </el-col>
  2137. <el-col :span="8">
  2138. <el-form-item label="采样部位:">
  2139. <el-select style="width:150px" v-model="qualityFormSeven.sampling_locationb">
  2140. <el-option v-for="item in samplingLocation" :key="item.id" :label="item.name" :value="item.id"></el-option>
  2141. </el-select>
  2142. </el-form-item>
  2143. </el-col>
  2144. <el-col :span="8">
  2145. <el-form-item label="检测单位:" required prop="detection_unit">
  2146. <el-input style="width:150px" v-model ="qualityFormSeven.detection_unit"></el-input>
  2147. </el-form-item>
  2148. </el-col>
  2149. </el-row>
  2150. <el-row>
  2151. <el-col :span="8">
  2152. <el-form-item label="取样者:" required prop="samplerb">
  2153. <el-select style="width:150px" v-model="qualityFormSeven.samplerb">
  2154. <el-option v-for="item in sampling" :key="item.addmin_user_id" :label="item.user_name" :value="item.admin_user_id"></el-option>
  2155. </el-select>
  2156. </el-form-item>
  2157. </el-col>
  2158. <el-col :span="8">
  2159. <el-form-item label="出报告日期:" required prop="reporting_dateb">
  2160. <el-date-picker
  2161. v-model="qualityFormSeven.reporting_dateb"
  2162. prefix-icon="none"
  2163. type="date"
  2164. placeholder="请选择"
  2165. format="yyyy-MM-dd"
  2166. value-format="yyyy-MM-dd"
  2167. style="width:150px">
  2168. </el-date-picker>
  2169. </el-form-item>
  2170. </el-col>
  2171. <el-col :span="8">
  2172. <el-form-item label="顺序号:" required prop="sort">
  2173. <el-input style="width:150px" v-model="qualityFormSeven.sort" ></el-input>
  2174. </el-form-item>
  2175. </el-col>
  2176. </el-row>
  2177. <el-row>
  2178. <el-col :span="8">
  2179. <el-form-item label="检测合格:" required prop="pass_examination">
  2180. <el-radio v-model="qualityFormSeven.pass_examination" label="1">是</el-radio>
  2181. <el-radio v-model="qualityFormSeven.pass_examination" label="2">否</el-radio>
  2182. </el-form-item>
  2183. </el-col>
  2184. <el-col :span="8">
  2185. <el-form-item label="修改标志:" required prop="modifications">
  2186. <el-select style="width:150px" v-model="qualityFormSeven.modifications">
  2187. <el-option v-for="item in modifications" :key="item.id" :label="item.name" :value="item.id"></el-option>
  2188. </el-select>
  2189. </el-form-item>
  2190. </el-col>
  2191. </el-row>
  2192. <el-row>
  2193. <el-col :span="24">
  2194. <el-form-item label="检测结果:(EU/ml)" label-width="100px">
  2195. <el-input
  2196. type="textarea"
  2197. :rows="2"
  2198. placeholder="请输入内容"
  2199. style="width:600px"
  2200. v-model="qualityFormSeven.detection_resultb"
  2201. >
  2202. </el-input>
  2203. </el-form-item>
  2204. </el-col>
  2205. </el-row>
  2206. <!-- <el-row>
  2207. <el-col :span="24">
  2208. <span style="color:#FF9900">注:PH值检测检测应至少每3个月1次,每台透析机每年至少检测一次</span>
  2209. </el-col>
  2210. </el-row> -->
  2211. <el-row>
  2212. <div class="clearn">
  2213. <el-col :span="4">
  2214. <el-button @click="cleanLincomycin">取消</el-button>
  2215. </el-col>
  2216. <el-col :span="4">
  2217. <el-button type="primary" @click="saveDevicePH('qualityFormSeven')">保存</el-button>
  2218. </el-col>
  2219. </div>
  2220. </el-row>
  2221. </el-form>
  2222. <el-divider></el-divider>
  2223. </el-tab-pane>
  2224. <el-tab-pane label="质量控制列表" name="second">
  2225. <quality-form ref="mychild"></quality-form>
  2226. </el-tab-pane>
  2227. </el-tabs>
  2228. </div>
  2229. <div v-show="zhShow" class="zClass">
  2230. 暂无数据
  2231. </div>
  2232. </el-tab-pane>
  2233. <el-tab-pane label="维修维护" name="five">
  2234. <el-tabs type="border-card" v-model="activeNameFive" @tab-click="handleClick">
  2235. <el-tab-pane label="新增维修维护" name="first">
  2236. <el-form :model="guaForm" ref="guaForm" :rules="repirRules">
  2237. <el-row>
  2238. <el-col :span="8">
  2239. <el-form-item label="保修日期:" required prop="guarantee_date">
  2240. <el-date-picker
  2241. v-model="guaForm.guarantee_date"
  2242. prefix-icon="none"
  2243. type="date"
  2244. placeholder="请选择"
  2245. format="yyyy-MM-dd"
  2246. value-format="yyyy-MM-dd"
  2247. style="width:150px">
  2248. </el-date-picker>
  2249. </el-form-item>
  2250. </el-col>
  2251. <el-col :span="8">
  2252. <el-form-item label="出发时间:">
  2253. <el-date-picker
  2254. type="datetime"
  2255. format="yyyy-MM-dd HH:mm"
  2256. value-format="yyyy-MM-dd HH:mm"
  2257. placeholder="选择时间"
  2258. v-model="guaForm.start_time"
  2259. style="width:185px;">
  2260. </el-date-picker>
  2261. </el-form-item>
  2262. </el-col>
  2263. </el-row>
  2264. <el-row>
  2265. <el-col :span="8">
  2266. <el-form-item label="到达时间:">
  2267. <el-date-picker
  2268. type="datetime"
  2269. format="yyyy-MM-dd HH:mm"
  2270. value-format="yyyy-MM-dd HH:mm"
  2271. placeholder="选择时间"
  2272. v-model="guaForm.arrive_time"
  2273. style="width:185px;">
  2274. </el-date-picker>
  2275. </el-form-item>
  2276. </el-col>
  2277. <el-col :span="8">
  2278. <el-form-item label="完成时间:">
  2279. <el-date-picker
  2280. type="datetime"
  2281. format="yyyy-MM-dd HH:mm"
  2282. value-format="yyyy-MM-dd HH:mm"
  2283. placeholder="选择时间"
  2284. v-model="guaForm.finish_time"
  2285. style="width:185px;">
  2286. </el-date-picker>
  2287. </el-form-item>
  2288. </el-col>
  2289. <el-col :span="8">
  2290. <el-form-item label="总路程:(公里)">
  2291. <el-input style="width:150px" v-model = "guaForm.total_distance"></el-input>
  2292. </el-form-item>
  2293. </el-col>
  2294. </el-row>
  2295. <el-row>
  2296. <el-col :span="24">
  2297. <el-form-item label="故障发生阶段">
  2298. <el-radio-group v-model="guaForm.failure_stage">
  2299. <el-radio :label="gender.id" :value="gender.id" v-for="(gender, index) in faultPhase" :key="index">{{gender.name}}</el-radio>
  2300. </el-radio-group>
  2301. </el-form-item>
  2302. </el-col>
  2303. </el-row>
  2304. <el-row>
  2305. <el-col :span="24">
  2306. <el-form-item class="formItem" label="故障提示信息及代码">
  2307. <el-input
  2308. type="textarea"
  2309. :rows="2"
  2310. placeholder="请输入内容"
  2311. v-model="guaForm.code_information"
  2312. style="width:85%">
  2313. </el-input>
  2314. </el-form-item>
  2315. </el-col>
  2316. </el-row>
  2317. <el-row>
  2318. <el-col :span="8">
  2319. <el-form-item label="故障描述:" required prop="fault_description">
  2320. <el-input
  2321. type="textarea"
  2322. :rows="2"
  2323. placeholder="请输入内容"
  2324. v-model="guaForm.fault_description"
  2325. style="width:86%;margin-left: 10%;">
  2326. </el-input>
  2327. </el-form-item>
  2328. </el-col>
  2329. <el-col :span="8">
  2330. <el-form-item label="原因分析:">
  2331. <el-input
  2332. type="textarea"
  2333. :rows="2"
  2334. placeholder="请输入内容"
  2335. v-model="guaForm.cause_analysis"
  2336. style="width:86%;margin-left: 10%;">
  2337. </el-input>
  2338. </el-form-item>
  2339. </el-col>
  2340. <el-col :span="8">
  2341. <el-form-item label="处理过程:">
  2342. <el-input
  2343. type="textarea"
  2344. :rows="2"
  2345. placeholder="请输入内容"
  2346. v-model="guaForm.treatment_process"
  2347. style="width:86%;margin-left: 10%;">
  2348. </el-input>
  2349. </el-form-item>
  2350. </el-col>
  2351. </el-row>
  2352. <el-row>
  2353. <el-col :span="24">
  2354. <el-form-item label="上传图片:">
  2355. <el-upload
  2356. :data="uploadFileData"
  2357. action="https://upload.qiniup.com"
  2358. :on-success="handleSuccess"
  2359. :before-upload="beforeUploadFile"
  2360. :limit="1"
  2361. ref='upload'
  2362. accept=".jpg,.png,.gif"
  2363. >
  2364. <el-button size="small" type="primary">上传图片</el-button>
  2365. </el-upload>
  2366. <a class="el-upload-list__item-name" v-show="classShow">
  2367. <i style="color:#0000EE"><a :href="guaForm.images" target="_blank">{{filename}}</a><span @click="hiddenShow"><li class="el-icon-circle-close"></li></span></i>
  2368. </a>
  2369. </el-form-item>
  2370. </el-col>
  2371. </el-row>
  2372. <el-row>
  2373. <el-col :span="20">
  2374. <el-form-item label="故障是否排除:">
  2375. <el-radio-group v-model="guaForm.exclude">
  2376. <el-radio :label="gender.id" :value="gender.id" v-for="(gender, index) in breakDown" :key="index">{{gender.name}}</el-radio>
  2377. </el-radio-group>
  2378. </el-form-item>
  2379. </el-col>
  2380. </el-row>
  2381. <el-row>
  2382. <el-col :span="20">
  2383. <el-form-item label="原因:">
  2384. <el-input
  2385. type="textarea"
  2386. :rows="2"
  2387. placeholder="请输入内容"
  2388. v-model="guaForm.reason"
  2389. style="width:300px">
  2390. </el-input>
  2391. </el-form-item>
  2392. </el-col>
  2393. </el-row>
  2394. <el-row>
  2395. <div class="clearn">
  2396. <el-col :span="4">
  2397. <el-button>取消</el-button>
  2398. </el-col>
  2399. <el-col :span="4">
  2400. <el-button type="primary" @click="SaveRepair('guaForm')">保存</el-button>
  2401. </el-col>
  2402. </div>
  2403. </el-row>
  2404. </el-form>
  2405. </el-tab-pane>
  2406. <el-tab-pane label="维修维护列表" name="second">
  2407. <repair-form ref="child"></repair-form>
  2408. </el-tab-pane>
  2409. </el-tabs>
  2410. </el-tab-pane>
  2411. </el-tabs>
  2412. </div>
  2413. <!-- <el-autocomplete
  2414. popper-class="my-autocomplete"
  2415. v-model="state"
  2416. :fetch-suggestions="querySearch"
  2417. placeholder="请输入内容"
  2418. @select="handleSelect"
  2419. >
  2420. <i
  2421. class="el-icon-edit el-input__icon"
  2422. slot="suffix"
  2423. @click="handleIconClick">
  2424. </i>
  2425. <template slot-scope="{ item }">
  2426. <div class="name">{{ item.value }}</div>
  2427. <span class="addr">{{ item.address }}</span>
  2428. </template>
  2429. </el-autocomplete> -->
  2430. </el-main>
  2431. </el-container>
  2432. </el-container>
  2433. </el-container>
  2434. <!-- 新增计划 -->
  2435. <plan-form ref="planForm" :equimentid="equimentid" v-on:getAllPlan="getAllPlan" v-on:getAllPlanDetail="getAllPlanDetail" @func="getPlanData"></plan-form>
  2436. <!-- <edit-machine-form ref="editmachineform" :planid="planid" ></edit-machine-form> -->
  2437. <!-- 综合查询 -->
  2438. <multiple-form ref="multipleform" :equimentid="equimentid"></multiple-form>
  2439. <!-- 使用登记提醒配置 -->
  2440. <remander-form ref="remanderform"> </remander-form>
  2441. <!-- 编辑消毒计划 -->
  2442. <el-dialog title="编辑消毒计划" :visible.sync="dialogVisible" width="50%" center>
  2443. <el-form :model="machineform" ref="machineform" :rules="planRules">
  2444. <el-row>
  2445. <el-col :span="10">
  2446. <el-form-item label="设备型号:" required prop = "device_type">
  2447. <el-select style="width:135px" v-model="machineform.device_type">
  2448. <el-option
  2449. v-for="item in this.DeviceType"
  2450. :key="item.id"
  2451. :label="item.device_mode"
  2452. :value="item.id"
  2453. ></el-option>
  2454. </el-select>
  2455. </el-form-item>
  2456. </el-col>
  2457. <el-col :span="10">
  2458. <el-form-item label="消毒时长:" required prop="disinfec_time">
  2459. <el-input style="width:135px" v-model="machineform.disinfec_time"></el-input>
  2460. <span>分钟</span>
  2461. </el-form-item>
  2462. </el-col>
  2463. </el-row>
  2464. <el-row>
  2465. <el-col :span="10">
  2466. <el-form-item label="时间:" required prop="time">
  2467. <el-select
  2468. v-model="machineform.time"
  2469. placeholder="请选择时间"
  2470. style="width: 140px;"
  2471. >
  2472. <el-option
  2473. v-for="item in this.timeType"
  2474. :key="item.id"
  2475. :label="item.name"
  2476. :value="item.id"
  2477. ></el-option>
  2478. </el-select>
  2479. </el-form-item>
  2480. </el-col>
  2481. <el-col :span="10">
  2482. <el-form-item label="班次:" required prop="class_time">
  2483. <el-select
  2484. v-model="machineform.class_time"
  2485. placeholder="请选择时间"
  2486. style="width: 140px;"
  2487. >
  2488. <el-option
  2489. v-for="item in this.classType"
  2490. :key="item.id"
  2491. :label="item.name"
  2492. :value="item.id"
  2493. ></el-option>
  2494. </el-select>
  2495. </el-form-item>
  2496. </el-col>
  2497. </el-row>
  2498. <el-row>
  2499. <el-col :span="10">
  2500. <el-form-item label="机表消毒方式:">
  2501. <el-select style="width:135px" v-model="machineform.way">
  2502. <el-option
  2503. v-for="item in this.disinfectType"
  2504. :key="item.id"
  2505. :label="item.name"
  2506. :value="item.id"
  2507. ></el-option>
  2508. </el-select>
  2509. </el-form-item>
  2510. </el-col>
  2511. <el-col :span="10">
  2512. <el-form-item label="机表消毒液:">
  2513. <el-select
  2514. style="width:135px"
  2515. v-model="machineform.machine_disinfectant"
  2516. >
  2517. <el-option
  2518. v-for="item in this.disinfectantType"
  2519. :key="item.id"
  2520. :label="item.name"
  2521. :value="item.id"
  2522. ></el-option>
  2523. </el-select>
  2524. </el-form-item>
  2525. </el-col>
  2526. </el-row>
  2527. <el-row>
  2528. <el-col :span="10">
  2529. <el-form-item label="液路消毒方式:">
  2530. <el-select style="width:135px" v-model="machineform.disinfectant_way">
  2531. <el-option
  2532. v-for="item in this.sterilizeType"
  2533. :key="item.id"
  2534. :label="item.name"
  2535. :value="item.id"
  2536. ></el-option>
  2537. </el-select>
  2538. </el-form-item>
  2539. </el-col>
  2540. <el-col :span="10">
  2541. <el-form-item label="液路消毒液:">
  2542. <el-select style="width:135px" v-model="machineform.disinfectant">
  2543. <el-option
  2544. v-for="item in this.fluidPathType"
  2545. :key="item.id"
  2546. :label="item.name"
  2547. :value="item.id"
  2548. ></el-option>
  2549. </el-select>
  2550. </el-form-item>
  2551. </el-col>
  2552. </el-row>
  2553. </el-form>
  2554. <span slot="footer" class="dialog-footer">
  2555. <el-button @click="dialogVisible = false">取 消</el-button>
  2556. <el-button type="primary" @click="UpdatePlanInfo('machineform')">保存</el-button>
  2557. </span>
  2558. </el-dialog>
  2559. </div>
  2560. </div>
  2561. </template>
  2562. <script>
  2563. import BreadCrumb from '../components/bread-crumb'
  2564. import { getAllSubregion, getAllMachine, getMachineDetailById,
  2565. UpdateMachineInfo, getAllPlan, getAllPlanDetail, DeletePlans,
  2566. getAllEquimentName, EditPlanDetail, UpdatePlanInfo, SaveInformation, getPatientInfo,
  2567. ChangeClass, getAllOrganization, getUserRegister, SaveQualityControl, getOrgName, SaveRepair, SaveBacteria, SaveLincomycin, getAutoData, getAllEquitType, UpdateMacheineTwo, getTotalNumber, getTimeWarning, getTimeBeteen, getAllpatient, UpdateMachineInfoTwo, getPatientDetail,
  2568. openDelete, getAllMode, selectChange, selectBed,GetUserTotalCount } from '@/api/manage'
  2569. import { uParseTime } from '@/utils/tools'
  2570. import { getToken } from '@/api/qiniu'
  2571. import PlanForm from './components/PlanForm'
  2572. import EditMachineForm from './components/EditMachineForm'
  2573. import MultipleForm from './components/MultipleForm'
  2574. import UserForm from './components/UserForm'
  2575. import QualityForm from './components/QualityForm'
  2576. import RepairForm from './components/RepairForm'
  2577. import RemanderForm from './components/RemanderForm'
  2578. import { parseTime } from '@/utils'
  2579. import { getFileExtension } from '@/utils/tools'
  2580. import { PostSearch } from '@/api/patient'
  2581. import {saveOxygenates,saveHardWater,saveWater,saveDevicePH} from '@/api/device'
  2582. const cityOptions = ['HD', 'HDF', 'HD+HP', 'HP', 'HF', 'SCUF', 'IUF', 'HFHD', 'HFHD+HP', 'PHF', 'HFR', 'HDF+HP', 'CRRT', '腹水回输']
  2583. const moment = require('moment')
  2584. export default {
  2585. name: 'home',
  2586. components: {
  2587. BreadCrumb,
  2588. PlanForm,
  2589. EditMachineForm,
  2590. MultipleForm,
  2591. UserForm,
  2592. QualityForm,
  2593. RepairForm,
  2594. RemanderForm
  2595. },
  2596. data() {
  2597. return {
  2598. crumbs: [
  2599. { path: false, name: '设备管理详情页' }
  2600. ],
  2601. tableData: [],
  2602. tableDatatwo: [],
  2603. planData: [],
  2604. DeviceTypeType: [
  2605. { id: 0, name: '全部' },
  2606. { id: 1, name: '透析机' },
  2607. { id: 2, name: '水处理机' },
  2608. { id: 3, name: '其他' }
  2609. ],
  2610. bedNumber: [],
  2611. zoneNumber: [],
  2612. Number: [],
  2613. form: {
  2614. id: '',
  2615. serial_number: '',
  2616. devicetype: '',
  2617. bed_number: '',
  2618. device_name: '',
  2619. manufacture_factory: '',
  2620. service_manufacturer: '',
  2621. unit_type: '',
  2622. use_section: '',
  2623. section_number: '',
  2624. buy_date: '',
  2625. install_date: '',
  2626. start_date: '',
  2627. maintenance_engineer: '',
  2628. telephone: '',
  2629. guarantee_date: '',
  2630. machine_status: '',
  2631. user_total: '',
  2632. remarks: '',
  2633. rubbish_date: '',
  2634. rubbish_reason: '',
  2635. user_year: '',
  2636. work_time: '',
  2637. treat_mode: [],
  2638. treat_type: [],
  2639. bed: '', // 治疗模式
  2640. Disinfection_mode: '',
  2641. revers_mode: '',
  2642. beds: '',
  2643. bed_numbers: ''
  2644. },
  2645. activeName: 'first',
  2646. activeNameTwo: 'first',
  2647. activeNameThree: 'first',
  2648. activeNameSix: 'first',
  2649. activeNameFive: 'first',
  2650. machineStatus: [
  2651. { id: 1, name: '使用机' },
  2652. { id: 2, name: '备用机' },
  2653. { id: 3, name: '急诊机' },
  2654. { id: 4, name: '报废机' }
  2655. ],
  2656. DisCardResion: [
  2657. { id: 0, name: '请选择' },
  2658. { id: 1, name: '超期限报废' },
  2659. { id: 2, name: '故障报废' },
  2660. { id: 3, name: '核定报废' }
  2661. ],
  2662. DeviceTypes: [
  2663. { id: 1, name: '透析机' },
  2664. { id: 2, name: '水处理机' },
  2665. { id: 3, name: '其他' }
  2666. ],
  2667. Classes: [
  2668. { id: 0, name: '全部' },
  2669. { id: 1, name: '上午' },
  2670. { id: 2, name: '下午' },
  2671. { id: 3, name: '晚上' }
  2672. ],
  2673. names: [
  2674. { id: 0, name: '请选择' },
  2675. { id: 1, name: '20%柠檬酸' },
  2676. { id: 2, name: '50%柠檬酸' },
  2677. { id: 3, name: '次氯酸钠' }
  2678. ],
  2679. germs: [
  2680. { id: 0, name: '请选择' },
  2681. { id: 1, name: '费森细菌过滤器' },
  2682. { id: 2, name: '日机装细菌过滤器' },
  2683. { id: 3, name: '贝朗机细菌过滤器' },
  2684. { id: 4, name: '东丽机细菌过滤器' }
  2685. ],
  2686. DisinfectionMode: [
  2687. { id: 0, name: '请选择' },
  2688. { id: 1, name: '化学消毒' },
  2689. { id: 2, name: '热消毒' },
  2690. { id: 3, name: '化学消毒+热消毒' }
  2691. ],
  2692. autograph: [],
  2693. bedZone: [],
  2694. bedZoneTwo: [],
  2695. forms: {
  2696. zone_id: 0, // 分区号
  2697. class_id: '', // 班次
  2698. device_type: 0, // 设备类型
  2699. date: ''
  2700. },
  2701. currentRow: null,
  2702. cancelShow: false,
  2703. confirmShow: false,
  2704. isIndeterminate: true,
  2705. checkAll: false,
  2706. cities: cityOptions,
  2707. rules: {
  2708. serial_number: [{ required: true, message: '请填写序列号' }],
  2709. device_name: [{ required: true, message: '请填写序列号' }],
  2710. devicetype: [{ required: true, message: '请填写设备类型' }],
  2711. unit_type: [{ required: true, message: '请填写设备型号' }],
  2712. },
  2713. qualitRules: {
  2714. detection_unit: [{ required: true, message: '请填写检测单位' }],
  2715. sampler: [{ required: true, message: '请填写取样者' }],
  2716. sort: [{required:true,message:"请填写顺序号"}],
  2717. pass_examination:[{required:true,message:"请选择检测合格"}],
  2718. modifications:[{required:true,message:"请选择修改标志"}],
  2719. reporting_date:[{required:true,message:"请填写出报告日期"}]
  2720. },
  2721. diaRules: {
  2722. detection_unit: [{ required: true, message: '请填写检测单位' }],
  2723. samplerb: [{ required: true, message: '请填写取样者' }],
  2724. sort: [{required:true,message:"请填写顺序号"}],
  2725. pass_examination:[{required:true,message:"请选择检测合格"}],
  2726. modifications:[{required:true,message:"请选择修改标志"}],
  2727. reporting_dateb:[{required:true,message:"请填写出报告日期"}],
  2728. },
  2729. repirRules: {
  2730. guarantee_date: [{ required: true, message: '请填写保修日期' }],
  2731. fault_description: [{ required: true, message: '请填写故障描述' }]
  2732. },
  2733. ruleThree: {
  2734. detection_unit: [{ required: true, message: '请填写检测单位' }],
  2735. samplerc: [{ required: true, message: '请填写取样者' }],
  2736. sort: [{required:true,message:"请填写顺序号"}],
  2737. pass_examination:[{required:true,message:"请选择检测合格"}],
  2738. modifications:[{required:true,message:"请选择修改标志"}],
  2739. date_reportc:[{required:true,message:"请填写出报告日期"}]
  2740. },
  2741. userRules: {
  2742. date: [{ required: true, message: '请填写日期' }],
  2743. zone: [{ required: true, message: '请填写分区' }],
  2744. bed_number: [{ required: true, message: '请填写机位号' }],
  2745. patient_name: [{ required: true, message: '请填写患者', trigger: ['blur', 'change'] }],
  2746. disinfect_type: [{ required: true, message: '请填写消毒方式' }],
  2747. disinfectant_type: [{ required: true, message: '请填写消毒液' }],
  2748. disinfection: [{ required: true, message: '请填写消毒状态' }],
  2749. fluid_path: [{ required: true, message: '请填写消毒方式' }],
  2750. disinfectant: [{ required: true, message: '请填写消毒液' }],
  2751. disinfection_status: [{ required: true, message: '消毒状态' }],
  2752. sign_name: [{ required: true, message: '请填写签名', trigger: ['change'] }],
  2753. classtype: [{ required: true, message: '请填写班次' }],
  2754. reporting_date:[{required:true,message:"请填写出报告日期"}]
  2755. },
  2756. planRules: {
  2757. device_type: [{ required: true, message: '请输入设备型号' }],
  2758. disinfec_time: [{ required: true, message: '请输入消毒时长' }],
  2759. time: [{ required: true, message: '请输入时间' }],
  2760. class_time: [{ required: true, message: '请输入班次' }]
  2761. },
  2762. runOption: [
  2763. { id: 1, name: '正常' },
  2764. { id: 2, name: '故障' }
  2765. ],
  2766. runOptions: [
  2767. { id: 1, name: '达标' },
  2768. { id: 2, name: '未达标' }
  2769. ],
  2770. faultPhase: [
  2771. { id: 1, name: '开机启动' },
  2772. { id: 2, name: '自检' },
  2773. { id: 3, name: '准备' },
  2774. { id: 4, name: '治疗' },
  2775. { id: 5, name: '消毒' }
  2776. ],
  2777. Disinfectant: [
  2778. { id: 1, name: '有' },
  2779. { id: 2, name: '无' }
  2780. ],
  2781. potency: [
  2782. { id: 1, name: '达标' },
  2783. { id: 2, name: '未达标' }
  2784. ],
  2785. sampling: [],
  2786. DeviceType: [],
  2787. equimentid: 0,
  2788. checkAllStatus: false,
  2789. checkAllStatusOne: false,
  2790. selectMachines: [],
  2791. selectMachinesOne: [],
  2792. machineIndex: -1,
  2793. planid: 0,
  2794. machineform: {
  2795. id: '',
  2796. device_type: '',
  2797. disinfec_time: '',
  2798. time: '',
  2799. class_time: '',
  2800. way: '',
  2801. machine_disinfectant: '',
  2802. disinfectant_way: '',
  2803. disinfectant: ''
  2804. },
  2805. dialogVisible: false,
  2806. timeType: [
  2807. { id: 1, name: '周一' },
  2808. { id: 2, name: '周二' },
  2809. { id: 3, name: '周三' },
  2810. { id: 4, name: '周四' },
  2811. { id: 5, name: '周五' },
  2812. { id: 6, name: '周六' },
  2813. { id: 7, name: '周日' }
  2814. ],
  2815. classType: [
  2816. { id: 0, name: '请选择' },
  2817. { id: 1, name: '上午' },
  2818. { id: 2, name: '下午' },
  2819. { id: 3, name: '晚上' }
  2820. ],
  2821. // 基表消毒方式
  2822. disinfectType:
  2823. [
  2824. { id: 0, name: '/' },
  2825. { id: 1, name: '擦拭' },
  2826. { id: 2, name: '化学消毒' }
  2827. ],
  2828. // 基表消毒液
  2829. disinfectantType: [
  2830. { id: 0, name: '/' },
  2831. { id: 1, name: '0.22%季铵盐' },
  2832. { id: 2, name: '500mg/l含氯消毒剂' },
  2833. { id: 3, name: '1000mg/l含氯消毒剂' },
  2834. { id: 4, name: '1500mg/l含氯消毒剂' },
  2835. { id: 5, name: "消毒湿巾"}
  2836. ],
  2837. // 夜路消毒方式
  2838. sterilizeType: [
  2839. { id: 0, name: '/' },
  2840. { id: 1, name: '热化学消毒' },
  2841. { id: 2, name: '化学消毒 + 除钙' },
  2842. { id: 3, name: '热化学消毒 + 除钙' },
  2843. { id: 4, name: '热消毒' },
  2844. { id: 5, name: '化学消毒' },
  2845. { id: 6, name: '除钙' },
  2846. { id: 7, name: '清洗' }
  2847. ],
  2848. // 夜路消毒液
  2849. fluidPathType: [
  2850. { id: 0, name: '/' },
  2851. { id: 1, name: '20%柠檬酸' },
  2852. { id: 2, name: '25%柠檬酸' },
  2853. { id: 3, name: '50%柠檬酸' },
  2854. { id: 4, name: '50%柠檬酸 + 5%次氯酸钠' },
  2855. { id: 5, name: '20%柠檬酸 + 10%冰醋酸' },
  2856. { id: 6, name: '0.2%过氧化乙酸' },
  2857. { id: 7, name: '10%冰醋酸' },
  2858. { id: 8, name: '50%冰醋酸' },
  2859. { id: 9, name: '5%次氯酸钠' },
  2860. { id: 10,name:"25%的柠檬酸+5%次氯酸钠"},
  2861. ],
  2862. userform: {
  2863. id: 0,
  2864. date: moment(new Date()).format('YYYY-MM-DD'), // 日期
  2865. classtype: '', // 班次
  2866. zone: '', // 分区
  2867. bed_number: '', // 床位号
  2868. patient_name: '', // 患者
  2869. contagion: '', // 传染病
  2870. dialysis_mode: '', // 透析方式
  2871. start_time: '', // 上机时间
  2872. end_time: '', // 下机时间
  2873. dialysis_time: '', // 透析时长
  2874. hyperfiltratio: '', // 实际超滤量
  2875. weight_loss: '', // 体重减少
  2876. warning_value: '', // 预警值
  2877. user_total: '', // 使用次数
  2878. run: 1, // 运行
  2879. failure_stage: '', // 故事发生阶段
  2880. fault_description: '', // 故障描述
  2881. code_information: '', // 故障提示及代码
  2882. // 机器消毒
  2883. disinfect_type: 1, // 消毒方式
  2884. disinfectant_type: 2, // 消毒液
  2885. disinfection: 1, // 消毒状态
  2886. machine_run: 1, // 运行
  2887. // 液路
  2888. fluid_path: 3, // 消毒方式
  2889. disinfectant: 3, // 消毒液
  2890. disinfection_status: 1, // 消毒状态
  2891. disinfection_residue: 1, // 消毒液残留
  2892. longtime: '', // 消毒时长
  2893. starttime: '', // 开始消毒时间
  2894. endtime: '', // 结束消毒时间
  2895. dialysis_checked: '', // 更换
  2896. dialysis_name: '', // 名称
  2897. norms: '', // 规格
  2898. dialysis_concentration: 1, // 浓度
  2899. germ_checked: '', // 更换
  2900. germ_name: '', // 名称
  2901. germ_number: '', // 数量
  2902. clean: '', // 清洁
  2903. sign_name: '', // 签名
  2904. patient_id: ''
  2905. },
  2906. treatmentmodes: [
  2907. { id: 1, name: 'HD' },
  2908. { id: 2, name: 'HDF' },
  2909. { id: 3, name: 'HD+HP' },
  2910. { id: 4, name: 'HP' },
  2911. { id: 5, name: 'HF' },
  2912. { id: 6, name: 'SCUF' },
  2913. { id: 7, name: 'IUF' },
  2914. { id: 8, name: 'HFHD+HP' },
  2915. { id: 9, name: 'HFR' },
  2916. { id: 10, name: 'HDF+HP' },
  2917. { id: 11, name: 'GRRT' },
  2918. { id: 12, name: '腹水回输' }
  2919. ],
  2920. treatmode: [
  2921. { id: 0, name: '请选择' },
  2922. { id: 1, name: 'HD' },
  2923. { id: 2, name: 'HDF' },
  2924. { id: 3, name: 'HD + HP' },
  2925. { id: 4, name: 'HP' },
  2926. { id: 5, name: 'HF' },
  2927. { id: 6, name: 'SCUF' },
  2928. { id: 7, name: 'IUF' },
  2929. { id: 8, name: 'HFHD' },
  2930. { id: 9, name: 'HFHD+HP' },
  2931. { id: 10, name: 'PHF' },
  2932. { id: 11, name: 'HFR' },
  2933. { id: 12, name: 'HDF+HP' },
  2934. { id: 13, name: 'CRRT' },
  2935. { id: 14, name: '腹水回输' },
  2936. { id: 15, name: 'HD前置换' },
  2937. { id: 16, name: 'HD后置换' },
  2938. { id: 17, name: 'HDF前置换' },
  2939. { id: 18, name: 'HDF后置换' },
  2940. { id:19, name:"IUF+HD"},
  2941. { id:20, name:"UF"},
  2942. { id:21, name:"HD+"},
  2943. { id:22, name:"血浆胆红素吸附+HDF"},
  2944. { id:23, name:"血浆胆红素吸附"},
  2945. { id:24, name:"I-HDF"},
  2946. { id:25, name:"HD高通"},
  2947. { id:26, name:"CVVH"},
  2948. { id:27, name:"CVVHD"},
  2949. { id:28, name:"CVVHDF"},
  2950. { id:29, name:"PE"},
  2951. ],
  2952. disinfection: [
  2953. { id: 0, name: '请选择' },
  2954. { id: 1, name: '已消毒' },
  2955. { id: 2, name: '未消毒' },
  2956. { id: 3, name: '消毒未完成' }
  2957. ],
  2958. patientName: [],
  2959. start: '',
  2960. end: '',
  2961. // 细菌培养
  2962. qualityForm: {
  2963. date: moment(new Date()).format('YYYY-MM-DD'), // 取样日期
  2964. specimen: '', // 取样标本
  2965. concentrate_noa: '', // 浓A
  2966. concentrate_nob: '', // 浓B,
  2967. sampling_locationa: '', // 采样部位
  2968. detection_unit: '', // 检测单位
  2969. sampler: '', // 取样者
  2970. reporting_date: '', // 报告日期
  2971. detection_result: '', // 检测结果
  2972. sort:'1', //顺序号
  2973. pass_examination:'1',//检验合格
  2974. modifications:'',//修改标志
  2975. },
  2976. qualityFormTwo: {
  2977. // 内毒素检测
  2978. detection_unit: '', // 检测单位
  2979. sampling_date: moment(new Date()).format('YYYY-MM-DD'), // 取样日期
  2980. specimenb: '', // 取样标本
  2981. concentrate_noc: '', // A浓缩液批号
  2982. concentrateb_nod: '', // B浓
  2983. sampling_locationb: '', // 采样部位
  2984. samplerb: '', // 取样者
  2985. reporting_dateb: '', // 出报告日期
  2986. detection_resultb: '', // 检测结果
  2987. sort:'1', //顺序号
  2988. pass_examination:'1',//检验合格
  2989. modifications:'',//修改标志
  2990. },
  2991. qualityFormThree: {
  2992. detection_unit: '', // 检测单位
  2993. // 透析液离子浓度检测
  2994. dateb: moment(new Date()).format('YYYY-MM-DD'), // 取样日期
  2995. samplerc: '', // 取样者
  2996. concentrate_nof: '', // A浓
  2997. concentrate_nog: '', // B浓
  2998. date_reportc: '', // 出报告日期
  2999. actual_na: '',
  3000. actual_pna: '',
  3001. actual_k: '',
  3002. actual_ca: '',
  3003. actual_ci: '',
  3004. actual_hco: '',
  3005. actual_mg: '',
  3006. actual_ph: '',
  3007. remakes: '',
  3008. sort:'1', //顺序号
  3009. pass_examination:'1',//检验合格
  3010. modifications:'',//修改标志
  3011. },
  3012. qualityFormFour: {
  3013. // 内毒素检测
  3014. detection_unit: '', // 检测单位
  3015. sampling_date: moment(new Date()).format('YYYY-MM-DD'), // 取样日期
  3016. specimenb: '', // 取样标本
  3017. concentrate_noc: '', // A浓缩液批号
  3018. concentrateb_nod: '', // B浓
  3019. sampling_locationb: '', // 采样部位
  3020. samplerb: '', // 取样者
  3021. reporting_dateb: '', // 出报告日期
  3022. detection_resultb: '', // 检测结果
  3023. sort:'1', //顺序号
  3024. pass_examination:'1',//检验合格
  3025. modifications:'',//修改标志
  3026. },
  3027. qualityFormFive: {
  3028. // 内毒素检测
  3029. detection_unit: '', // 检测单位
  3030. sampling_date: moment(new Date()).format('YYYY-MM-DD'), // 取样日期
  3031. specimenb: '', // 取样标本
  3032. concentrate_noc: '', // A浓缩液批号
  3033. concentrateb_nod: '', // B浓
  3034. sampling_locationb: '', // 采样部位
  3035. samplerb: '', // 取样者
  3036. reporting_dateb: '', // 出报告日期
  3037. detection_resultb: '', // 检测结果
  3038. sort:'1', //顺序号
  3039. pass_examination:'1',//检验合格
  3040. modifications:'',//修改标志
  3041. },
  3042. qualityFormSix: {
  3043. // 内毒素检测
  3044. detection_unit: '', // 检测单位
  3045. sampling_date: moment(new Date()).format('YYYY-MM-DD'), // 取样日期
  3046. specimenb: '', // 取样标本
  3047. concentrate_noc: '', // A浓缩液批号
  3048. concentrateb_nod: '', // B浓
  3049. sampling_locationb: '', // 采样部位
  3050. samplerb: '', // 取样者
  3051. reporting_dateb: '', // 出报告日期
  3052. detection_resultb: '', // 检测结果
  3053. sort:'1', //顺序号
  3054. pass_examination:'1',//检验合格
  3055. modifications:'',//修改标志
  3056. },
  3057. qualityFormSeven: {
  3058. // 内毒素检测
  3059. detection_unit: '', // 检测单位
  3060. sampling_date: moment(new Date()).format('YYYY-MM-DD'), // 取样日期
  3061. specimenb: '', // 取样标本
  3062. concentrate_noc: '', // A浓缩液批号
  3063. concentrateb_nod: '', // B浓
  3064. sampling_locationb: '', // 采样部位
  3065. samplerb: '', // 取样者
  3066. reporting_dateb: '', // 出报告日期
  3067. detection_resultb: '', // 检测结果
  3068. sort:'1', //顺序号
  3069. pass_examination:'1',//检验合格
  3070. modifications:'',//修改标志
  3071. },
  3072. disable: false,
  3073. diableTwo: false,
  3074. samplingSpecimen: [
  3075. { id: 0, name: '请选择' },
  3076. { id: 1, name: '透析液' },
  3077. { id: 2, name: 'A浓缩液' },
  3078. { id: 3, name: 'B浓缩液' },
  3079. { id: 4, name: '置换液' },
  3080. { id: 5, name: '透析用水' }
  3081. ],
  3082. samplingLocation: [
  3083. { id: 0, name: '请选择' },
  3084. { id: 1, name: '透析液入口' },
  3085. { id: 2, name: '透析液取样口' },
  3086. { id: 3, name: '置换液出口' },
  3087. { id: 4, name: '透析机反渗水入口' },
  3088. { id: 5, name:'反渗水末端取样口'}
  3089. ],
  3090. breakDown: [
  3091. { id: 1, name: '是' },
  3092. { id: 2, name: '待观察' },
  3093. { id: 3, name: '未解决' }
  3094. ],
  3095. guaForm: {
  3096. guarantee_date: moment(new Date()).format('YYYY-MM-DD'),
  3097. start_time: '',
  3098. arrive_time: '',
  3099. finish_time: '',
  3100. total_distance: '',
  3101. failure_stage: '',
  3102. fault_description: '',
  3103. cause_analysis: '',
  3104. treatment_process: '',
  3105. images: '',
  3106. exclude: '',
  3107. reason: '',
  3108. code_information: '',
  3109. imageName: ''
  3110. },
  3111. filename: '',
  3112. qiniuDomain: 'https://images.shengws.com/',
  3113. uploadFileData: { token: '', key: '' },
  3114. tShow: false,
  3115. sShow: false,
  3116. qShow: false,
  3117. readisable: true,
  3118. fileList: [],
  3119. DisShow: true,
  3120. DioShow: false,
  3121. zhiShow: true,
  3122. zhShow: false,
  3123. UserShow: true,
  3124. Ushow: false,
  3125. restaurants: [],
  3126. state: '',
  3127. userdata: 0,
  3128. disableThree: true,
  3129. disableFour: true,
  3130. disableFive: true,
  3131. runDisable: true,
  3132. warnShow: false,
  3133. warnShowTwo: false,
  3134. warnShowThree: false,
  3135. bedZoneThree: [],
  3136. bedNumberTwo: [],
  3137. reverseMode: [
  3138. { id: 0, name: '请选择' },
  3139. { id: 1, name: '单级反渗' },
  3140. { id: 2, name: '双级反渗' }
  3141. ],
  3142. tabIndex: '',
  3143. deviceMode: [],
  3144. zoneDisabled: false,
  3145. bedid: '',
  3146. unitType: '',
  3147. classShow: false,
  3148. modifications:[
  3149. {id:1,name:"正常"},
  3150. {id:2,name:"撤销"}
  3151. ],
  3152. device_type:""
  3153. }
  3154. },
  3155. methods: {
  3156. changeRun(val) {
  3157. if (val === 1) {
  3158. this.runDisable = true
  3159. this.userform.failure_stage = ''
  3160. }
  3161. if (val === 2) {
  3162. this.runDisable = false
  3163. }
  3164. },
  3165. handleClick(tab, event) {
  3166. // console.log(tab, event)
  3167. },
  3168. handleExceed(file) {
  3169. // console.log(file)
  3170. },
  3171. handleRemove(file, fileList) {
  3172. },
  3173. beforeRemove(file, fileList) {
  3174. // console.log(file, fileList)
  3175. },
  3176. handlePreview(file) {
  3177. // console.log(file)
  3178. },
  3179. changetreatmentmode(val) {
  3180. const checkedCount = val.length
  3181. this.checkAll = checkedCount === this.treatmentmode.length
  3182. this.isIndeterminate = checkedCount > 0 && checkedCount < this.treatmentmode.length
  3183. },
  3184. handleCheckAllChange(val) {
  3185. this.form.treat_mode = val ? cityOptions : []
  3186. this.isIndeterminate = false
  3187. },
  3188. handleCheckedCitiesChange(value) {
  3189. const checkedCount = value.length
  3190. this.checkAll = checkedCount === this.cities.length
  3191. this.isIndeterminate = checkedCount > 0 && checkedCount < this.cities.length
  3192. },
  3193. // 获取所有分区
  3194. getAllSubregion() {
  3195. getAllSubregion().then(response => {
  3196. var zones = response.data.data.zones
  3197. this.deviceType = zones
  3198. var numbers = response.data.data.numbers
  3199. var zone = [{ id: 0, name: '全部' }]
  3200. for (let i = 0; i < zones.length; i++) {
  3201. const item = zones[i]
  3202. zone.push({ id: item.id, name: item.name })
  3203. }
  3204. var devicenumber = response.data.data.devicenumber
  3205. this.bedZone = zone
  3206. var zoness = [{ id: 0, name: '请选择' }]
  3207. for (let i = 0; i < zones.length; i++) {
  3208. const item = zones[i]
  3209. zoness.push({ id: item.id, name: item.name })
  3210. }
  3211. var bed = [{ id: 0, number: '请选择' }]
  3212. for (let i = 0; i < numbers.length; i++) {
  3213. const item = numbers[i]
  3214. bed.push({ id: item.id, number: item.number })
  3215. }
  3216. this.bedNumberTwo = bed
  3217. this.bedZoneTwo = zones
  3218. this.bedZoneThree = zoness
  3219. this.bedNumber = numbers
  3220. })
  3221. },
  3222. changeBedNumber(val) {
  3223. this.forms.zone_id = val
  3224. this.getAllMachine()
  3225. },
  3226. changeClassId(val) {
  3227. this.forms.class_id = val
  3228. this.getAllMachine()
  3229. },
  3230. changeDeviceId(val) {
  3231. if (val === 1) {
  3232. this.zoneDisabled = false
  3233. } else {
  3234. this.zoneDisabled = true
  3235. }
  3236. this.forms.device_type = val
  3237. this.getAllMachine()
  3238. },
  3239. getAllMachine() {
  3240. getAllMachine(this.forms.zone_id, this.forms.device_type).then(response => {
  3241. if (response.data.state === 1) {
  3242. var addmahcer = response.data.data.addmahcer
  3243. for(let j=0;j<addmahcer.length;j++){
  3244. if(addmahcer[j].device_type == 1){
  3245. addmahcer[j].bed_number = addmahcer[j].number
  3246. }
  3247. if(addmahcer[j].device_type == 2){
  3248. addmahcer[j].bed_number = addmahcer[j].bed_number
  3249. }
  3250. if(addmahcer[j].device_type == 3){
  3251. addmahcer[j].bed_number = addmahcer[j].bed_number
  3252. }
  3253. }
  3254. this.tableDatatwo = addmahcer
  3255. this.tabIndex = this.$route.query.index
  3256. var id = this.$route.query.id
  3257. for (let i = 0; i < this.tableDatatwo.length; i++) {
  3258. if (this.tableDatatwo[i].id == id) {
  3259. this.$refs.singleTable.setCurrentRow(this.tableDatatwo[i])
  3260. break
  3261. }
  3262. }
  3263. }
  3264. })
  3265. },
  3266. handleIndex(index) {
  3267. this.tabIndex = index
  3268. },
  3269. handleCurrentChange(val) {
  3270. console.log("Val222222222",val)
  3271. this.device_type = val.device_type
  3272. this.unitType = val.unit_type
  3273. this.currentRow = val
  3274. this.$forceUpdate()
  3275. this.getMachineDetailById(val.id)
  3276. this.equimentid = val.id
  3277. this.userdata = val.id
  3278. this.getAllPlanDetail(val.unit_type)
  3279. this.getPatientInfo(val.id)
  3280. // 获取基本信息
  3281. this.getUserRegister(val.id)
  3282. // 病人下机后插入数据
  3283. this.getAutoData(val.id)
  3284. this.GetUserTotalCount(val.bed_id)
  3285. this.getTimeBeteen(val.id)
  3286. this.getData(val.bed_id)
  3287. },
  3288. getAutoData(id) {
  3289. getAutoData(id).then(response => {
  3290. if (response.data.state === 1) {
  3291. var dialysis = response.data.data.dialysis
  3292. }
  3293. })
  3294. },
  3295. getMachineDetailById(id) {
  3296. getMachineDetailById(id).then(response => {
  3297. if (response.data.state === 1) {
  3298. var addmacher = response.data.data.addmacher
  3299. var warning = response.data.data.warning
  3300. var time = this.getTimestamp(this.userform.date) - warning.stime
  3301. var germ = response.data.data.germ
  3302. var timetwo = this.getTimestamp(this.userform.date) - germ.stime
  3303. var clean = response.data.data.clean
  3304. var timethree = this.getTimestamp(this.userform.date) - clean.stime
  3305. var number = response.data.data.number
  3306. this.Number = number
  3307. if (addmacher.device_type === 1) {
  3308. this.sShow = false
  3309. this.qShow = false
  3310. this.tShow = true
  3311. this.DisShow = true
  3312. this.DioShow = false
  3313. this.zhiShow = true
  3314. this.zhShow = false
  3315. this.UserShow = true
  3316. this.Ushow = false
  3317. }
  3318. if (addmacher.device_type === 2) {
  3319. this.tShow = false
  3320. this.qShow = false
  3321. this.sShow = true
  3322. this.DisShow = false
  3323. this.DioShow = true
  3324. this.zhiShow = true
  3325. this.zhShow = false
  3326. this.UserShow = true
  3327. this.Ushow = false
  3328. }
  3329. if (addmacher.device_type === 3) {
  3330. this.tShow = false
  3331. this.sShow = false
  3332. this.qShow = true
  3333. this.DisShow = false
  3334. this.DioShow = true
  3335. this.zhiShow = false
  3336. this.zhShow = true
  3337. this.UserShow = false
  3338. this.Ushow = true
  3339. }
  3340. var mode = response.data.data.mode
  3341. var zone = response.data.data.zone
  3342. const arr1 = []
  3343. for (let index = 0; index < mode.length; index++) {
  3344. if (mode[index].treate_mode === 1) {
  3345. mode[index] = 'HD'
  3346. }
  3347. if (mode[index].treate_mode === 2) {
  3348. mode[index] = 'HDF'
  3349. }
  3350. if (mode[index].treate_mode === 3) {
  3351. mode[index] = 'HD+HP'
  3352. }
  3353. if (mode[index].treate_mode === 4) {
  3354. mode[index] = 'HP'
  3355. }
  3356. if (mode[index].treate_mode === 5) {
  3357. mode[index] = 'HF'
  3358. }
  3359. if (mode[index].treate_mode === 6) {
  3360. mode[index] = 'SCUF'
  3361. }
  3362. if (mode[index].treate_mode === 7) {
  3363. mode[index] = 'IUF'
  3364. }
  3365. if (mode[index].treate_mode === 8) {
  3366. mode[index] = 'HFHD'
  3367. }
  3368. if (mode[index].treate_mode === 9) {
  3369. mode[index] = 'HFHD+HP'
  3370. }
  3371. if (mode[index].treate_mode === 10) {
  3372. mode[index] = 'PHF'
  3373. }
  3374. if (mode[index].treate_mode === 11) {
  3375. mode[index] = 'HFR'
  3376. }
  3377. if (mode[index].treate_mode === 12) {
  3378. mode[index] = 'HDF+HP'
  3379. }
  3380. if (mode[index].treate_mode === 13) {
  3381. mode[index] = 'CRRT'
  3382. }
  3383. if (mode[index].treate_mode === 14) {
  3384. mode[index] = '腹水回输'
  3385. }
  3386. arr1.push(mode[index])
  3387. }
  3388. this.form.treat_mode = arr1
  3389. this.form.id = addmacher.id
  3390. this.form.serial_number = addmacher.serial_number
  3391. this.form.devicetype = addmacher.device_type
  3392. this.form.bed_number = addmacher.bed_id
  3393. this.form.bed_numbers = addmacher.bed_number
  3394. this.form.beds = addmacher.bed_number
  3395. this.form.device_name = addmacher.device_name
  3396. this.form.manufacture_factory = addmacher.manufacture_factory
  3397. this.form.service_manufacturer = addmacher.service_manufacturer
  3398. // this.form.unit_type = addmacher.unit_type
  3399. this.form.unit_type = parseInt(addmacher.device_mode)
  3400. this.form.use_section = addmacher.use_section
  3401. this.form.section_number = addmacher.section_number
  3402. if (addmacher.buy_date !== 0) {
  3403. this.form.buy_date = uParseTime(addmacher.buy_date, '{y}-{m}-{d}')
  3404. }
  3405. if (addmacher.install_date !== 0) {
  3406. this.form.install_date = uParseTime(addmacher.install_date, '{y}-{m}-{d}')
  3407. }
  3408. if (addmacher.start_date !== 0) {
  3409. this.form.start_date = uParseTime(addmacher.start_date, '{y}-{m}-{d}')
  3410. }
  3411. this.form.maintenance_engineer = addmacher.maintenace_engineer
  3412. this.form.telephone = addmacher.telephone
  3413. this.form.guarantee_date = addmacher.guarantee_date
  3414. this.form.machine_status = addmacher.machine_status
  3415. this.form.user_total = addmacher.user_total
  3416. this.form.remarks = addmacher.remarks
  3417. if (addmacher.rubbish_date !== 0) {
  3418. this.form.rubbish_date = uParseTime(addmacher.rubbish_date, '{y}-{m}-{d}')
  3419. }
  3420. this.form.rubbish_reason = addmacher.rubbish_reason
  3421. this.form.user_year = addmacher.user_year
  3422. this.form.work_time = addmacher.work_time
  3423. // eslint-disable-next-line eqeqeq
  3424. if (addmacher.disinfection_mode == 0) {
  3425. this.form.Disinfection_mode = 0
  3426. } else {
  3427. this.form.Disinfection_mode = addmacher.disinfection_mode
  3428. }
  3429. // eslint-disable-next-line eqeqeq
  3430. if (addmacher.revers_mode == 0) {
  3431. this.form.revers_mode = 0
  3432. } else {
  3433. this.form.revers_mode = addmacher.revers_mode
  3434. }
  3435. this.getAllSubregion()
  3436. }
  3437. })
  3438. },
  3439. UpdateMachine() {
  3440. this.cancelShow = true
  3441. this.confirmShow = true
  3442. this.disableThree = false
  3443. this.disableFour = false
  3444. this.disableFive = false
  3445. },
  3446. UpdateMachineInfo(formName) {
  3447. const arr2 = []
  3448. this.form.treat_mode.map((item, index) => {
  3449. const obj = {}
  3450. if (item === 'HD') {
  3451. obj.id = 1
  3452. }
  3453. if (item === 'HDF') {
  3454. obj.id = 2
  3455. }
  3456. if (item === 'HD+HP') {
  3457. obj.id = 3
  3458. }
  3459. if (item === 'HP') {
  3460. obj.id = 4
  3461. }
  3462. if (item === 'HF') {
  3463. obj.id = 5
  3464. }
  3465. if (item === 'SCUF') {
  3466. obj.id = 6
  3467. }
  3468. if (item === 'IUF') {
  3469. obj.id = 7
  3470. }
  3471. if (item === 'HFHD') {
  3472. obj.id = 8
  3473. }
  3474. if (item === 'HFHD+HP') {
  3475. obj.id = 9
  3476. }
  3477. if (item === 'PHF') {
  3478. obj.id = 10
  3479. }
  3480. if (item === 'HFR') {
  3481. obj.id = 11
  3482. }
  3483. if (item === 'HDF+HP') {
  3484. obj.id = 12
  3485. }
  3486. if (item === 'CRRT') {
  3487. obj.id = 13
  3488. }
  3489. if (item === '腹水回输') {
  3490. obj.id = 14
  3491. }
  3492. arr2.push(obj.id)
  3493. })
  3494. this.form.treat_type = arr2
  3495. var device_type = this.form.devicetype
  3496. var device_types = parseInt(device_type)
  3497. this.form.devicetype = device_types
  3498. if (this.form.rubbish_reason === '') {
  3499. this.form.rubbish_reason = 0
  3500. }
  3501. var rubbish_reason = this.form.rubbish_reason
  3502. var rubbish_reasons = parseInt(rubbish_reason)
  3503. this.form.rubbish_reason = rubbish_reasons
  3504. var machine_status = this.form.machine_status
  3505. var machine_statuss = parseInt(machine_status)
  3506. this.form.machine_status = machine_statuss
  3507. // if (this.form.bed_number === '') {
  3508. // this.form.bed_number = 0
  3509. // }
  3510. var bed_numbers = this.form.bed_number
  3511. var bed_numberss = parseInt(bed_numbers)
  3512. this.form.bed_number = bed_numberss
  3513. this.$refs[formName].validate(valid => {
  3514. UpdateMachineInfo(this.form).then(response => {
  3515. if (response.data.state === 1) {
  3516. var addmacher = response.data.data.addmacher
  3517. this.$message.success('修改成功')
  3518. for (let i = 0; i < this.tableDatatwo.length; i++) {
  3519. if (this.tableDatatwo[i].id == addmacher.id) {
  3520. for (let j = 0; j < this.deviceMode.length; j++) {
  3521. if (this.deviceMode[j].id === parseInt(addmacher.unit_type)) {
  3522. addmacher.device_mode = this.deviceMode[j].device_mode
  3523. }
  3524. }
  3525. this.tableDatatwo[i] = addmacher
  3526. // this.$refs.singleTable.setCurrentRow(this.tableDatatwo[i])
  3527. }
  3528. }
  3529. // this.getAllMachine()
  3530. // this.getAllSubregion()
  3531. this.$refs.singleTable.setCurrentRow(addmacher)
  3532. this.$forceUpdate()
  3533. }else{
  3534. this.$message.error("修改失败");
  3535. }
  3536. })
  3537. })
  3538. },
  3539. // eslint-disable-next-line no-irregular-whitespace
  3540. // 更新水处理机
  3541. UpdateMachineInfoTwo(formName) {
  3542. var device_type = this.form.devicetype
  3543. var device_types = parseInt(device_type)
  3544. this.form.devicetype = device_types
  3545. if (this.form.rubbish_reason === '') {
  3546. this.form.rubbish_reason = 0
  3547. }
  3548. var rubbish_reason = this.form.rubbish_reason
  3549. var rubbish_reasons = parseInt(rubbish_reason)
  3550. this.form.rubbish_reason = rubbish_reasons
  3551. var machine_status = this.form.machine_status
  3552. var machine_statuss = parseInt(machine_status)
  3553. this.form.machine_status = machine_statuss
  3554. var revers_mode = this.form.revers_mode
  3555. var revers_modes = parseInt(revers_mode)
  3556. this.form.revers_mode = revers_modes
  3557. var disinfecction_modes = this.form.Disinfection_mode
  3558. var disinfecction_modess = parseInt(disinfecction_modes)
  3559. this.form.Disinfection_mode = disinfecction_modess
  3560. this.$refs[formName].validate(valid => {
  3561. if (valid) {
  3562. UpdateMachineInfoTwo(this.form).then(response => {
  3563. if (response.data.state === 1) {
  3564. // eslint-disable-next-line no-unused-vars
  3565. var addmacher = response.data.data.addmacher
  3566. this.$message.success('修改成功')
  3567. for (let i = 0; i < this.tableDatatwo.length; i++) {
  3568. if (this.tableDatatwo[i].id == addmacher.id) {
  3569. for (let j = 0; j < this.deviceMode.length; j++) {
  3570. if (this.deviceMode[j].id === parseInt(addmacher.unit_type)) {
  3571. addmacher.device_mode = this.deviceMode[j].device_mode
  3572. // this.$forceUpdate()
  3573. }
  3574. }
  3575. this.tableDatatwo[i] = addmacher
  3576. // this.$refs.singleTable.setCurrentRow(this.tableDatatwo[i])
  3577. }
  3578. }
  3579. // this.getAllMachine()
  3580. this.getAllSubregion()
  3581. this.$refs.singleTable.setCurrentRow(addmacher)
  3582. this.$forceUpdate()
  3583. }
  3584. })
  3585. }
  3586. })
  3587. },
  3588. UpdateMacheineTwo(formName) {
  3589. var device_type = this.form.devicetype
  3590. var device_types = parseInt(device_type)
  3591. this.form.devicetype = device_types
  3592. if (this.form.rubbish_reason === '') {
  3593. this.form.rubbish_reason = 0
  3594. }
  3595. var rubbish_reason = this.form.rubbish_reason
  3596. var rubbish_reasons = parseInt(rubbish_reason)
  3597. this.form.rubbish_reason = rubbish_reasons
  3598. var machine_status = this.form.machine_status
  3599. var machine_statuss = parseInt(machine_status)
  3600. this.form.machine_status = machine_statuss
  3601. this.$refs[formName].validate(valid => {
  3602. UpdateMacheineTwo(this.form).then(response => {
  3603. if (response.data.state === 1) {
  3604. var addmacher = response.data.data.addmacher
  3605. this.$message.success('修改成功')
  3606. for (let i = 0; i < this.tableDatatwo.length; i++) {
  3607. if (this.tableDatatwo[i].id == addmacher.id) {
  3608. for (let j = 0; j < this.deviceMode.length; j++) {
  3609. if (this.deviceMode[j].id === parseInt(addmacher.unit_type)) {
  3610. addmacher.device_mode = this.deviceMode[j].device_mode
  3611. // this.$forceUpdate()
  3612. }
  3613. }
  3614. this.tableDatatwo[i] = addmacher
  3615. // this.$refs.singleTable.setCurrentRow(this.tableDatatwo[i])
  3616. }
  3617. }
  3618. // this.getAllMachine()
  3619. this.getAllSubregion()
  3620. this.$refs.singleTable.setCurrentRow(addmacher)
  3621. this.$forceUpdate()
  3622. }
  3623. })
  3624. })
  3625. },
  3626. cleanMainchine() {
  3627. this.confirmShow = false
  3628. this.cancelShow = false
  3629. },
  3630. addPlan() {
  3631. this.$refs.planForm.open()
  3632. },
  3633. ToReminders() {
  3634. this.$refs.remanderform.open()
  3635. },
  3636. changeCheck() {
  3637. this.$refs.multipleTableOne.clearSelection()
  3638. if (this.checkAllStatusOne) {
  3639. this.$refs.multipleTableOne.toggleAllSelection()
  3640. }
  3641. },
  3642. handleSelectionChange(val) {
  3643. this.selectMachinesOne = val
  3644. },
  3645. changeCheckOne() {
  3646. this.$refs.multipleTable.clearSelection()
  3647. if (this.checkAllStatus) {
  3648. this.$refs.multipleTable.toggleAllSelection()
  3649. }
  3650. },
  3651. handleSelectionChangeOne(val) {
  3652. this.selectMachines = val
  3653. },
  3654. changeMachineStatus(val) {
  3655. if (val === 4) {
  3656. this.readisable = false
  3657. } else {
  3658. this.readisable = true
  3659. this.form.rubbish_date = ''
  3660. this.form.rubbish_reason = ''
  3661. }
  3662. },
  3663. getAllPlan() {
  3664. getAllPlan().then(response => {
  3665. if (response.data.state === 1) {
  3666. var plan = response.data.data.plan
  3667. console.log("plan=====",plan )
  3668. for (let index = 0; index < plan.length; index++) {
  3669. if (plan[index].time === 1) {
  3670. plan[index].time = '周一'
  3671. }
  3672. if (plan[index].time === 2) {
  3673. plan[index].time = '周二'
  3674. }
  3675. if (plan[index].time === 3) {
  3676. plan[index].time = '周三'
  3677. }
  3678. if (plan[index].time === 4) {
  3679. plan[index].time = '周四'
  3680. }
  3681. if (plan[index].time === 5) {
  3682. plan[index].time = '周五'
  3683. }
  3684. if (plan[index].time === 6) {
  3685. plan[index].time = '周六'
  3686. }
  3687. if (plan[index].time === 7) {
  3688. plan[index].time = '周日'
  3689. }
  3690. if (plan[index].classtime === 1) {
  3691. plan[index].classtime = '上午'
  3692. }
  3693. if (plan[index].classtime === 2) {
  3694. plan[index].classtime = '下午'
  3695. }
  3696. if (plan[index].classtime === 3) {
  3697. plan[index].classtime = '晚上'
  3698. }
  3699. if (plan[index].way === 0) {
  3700. plan[index].way = '/'
  3701. }
  3702. if (plan[index].way === 1) {
  3703. plan[index].way = '擦拭'
  3704. }
  3705. if (plan[index].way === 2) {
  3706. plan[index].way = '化学消毒'
  3707. }
  3708. if (plan[index].machine_disinfectant === 0) {
  3709. plan[index].machine_disinfectant = '/'
  3710. }
  3711. if (plan[index].machine_disinfectant === 1) {
  3712. plan[index].machine_disinfectant = '0.22%季铵盐'
  3713. }
  3714. if (plan[index].machine_disinfectant === 2) {
  3715. plan[index].machine_disinfectant = '500mg/l含氯消毒剂'
  3716. }
  3717. if (plan[index].machine_disinfectant === 3) {
  3718. plan[index].machine_disinfectant = '1000mg/l含氯消毒剂'
  3719. }
  3720. if (plan[index].machine_disinfectant === 4) {
  3721. plan[index].machine_disinfectant = '1500mg/l含氯消毒剂'
  3722. }
  3723. if(plan[index].machine_disinfectant === 5){
  3724. plan[index].machine_disinfectant = "消毒湿巾"
  3725. }
  3726. if (plan[index].disinfectan_way === 0) {
  3727. plan[index].disinfectan_way = '/'
  3728. }
  3729. if (plan[index].disinfectan_way === 1) {
  3730. plan[index].disinfectan_way = '热化学消毒'
  3731. }
  3732. if (plan[index].disinfectan_way === 2) {
  3733. plan[index].disinfectan_way = '化学消毒 + 除钙'
  3734. }
  3735. if (plan[index].disinfectan_way === 3) {
  3736. plan[index].disinfectan_way = '热化学消毒 + 除钙'
  3737. }
  3738. if (plan[index].disinfectan_way === 4) {
  3739. plan[index].disinfectan_way = '热消毒'
  3740. }
  3741. if (plan[index].disinfectan_way === 5) {
  3742. plan[index].disinfectan_way = '化学消毒'
  3743. }
  3744. if (plan[index].disinfectan_way === 6) {
  3745. plan[index].disinfectan_way = '除钙'
  3746. }
  3747. if (plan[index].disinfectan_way === 7) {
  3748. plan[index].disinfectan_way = '清洗'
  3749. }
  3750. if (plan[index].disinfectant === 0) {
  3751. plan[index].disinfectant = '/'
  3752. }
  3753. if (plan[index].disinfectant === 1) {
  3754. plan[index].disinfectant = '20%柠檬酸'
  3755. }
  3756. if (plan[index].disinfectant === 2) {
  3757. plan[index].disinfectant = '25%柠檬酸'
  3758. }
  3759. if (plan[index].disinfectant === 3) {
  3760. plan[index].disinfectant = '50%柠檬酸'
  3761. }
  3762. if (plan[index].disinfectant === 4) {
  3763. plan[index].disinfectant = '50%柠檬酸 + 5%次氯酸钠'
  3764. }
  3765. if (plan[index].disinfectant === 5) {
  3766. plan[index].disinfectant = '20%柠檬酸 + 10%冰醋酸'
  3767. }
  3768. if (plan[index].disinfectant === 6) {
  3769. plan[index].disinfectant = '0.2%过氧化乙酸'
  3770. }
  3771. if (plan[index].disinfectant === 7) {
  3772. plan[index].disinfectant = '10%冰醋酸'
  3773. }
  3774. if (plan[index].disinfectant === 8) {
  3775. plan[index].disinfectant = '50%冰醋酸'
  3776. }
  3777. if (plan[index].disinfectant === 9) {
  3778. plan[index].disinfectant = '5%次氯酸钠'
  3779. }
  3780. if (plan[index].disinfectant === 10) {
  3781. plan[index].disinfectant = '25%的柠檬酸+5%次氯酸钠'
  3782. }
  3783. }
  3784. this.tableData = plan
  3785. }
  3786. })
  3787. },
  3788. getAllPlanDetail(unit_type) {
  3789. getAllPlanDetail(unit_type).then(response => {
  3790. if (response.data.state === 1) {
  3791. var plandetail = response.data.data.plandetail
  3792. console.log("plandetail",plandetail)
  3793. for (let index = 0; index < plandetail.length; index++) {
  3794. if (plandetail[index].time === 1) {
  3795. plandetail[index].time = '周一'
  3796. }
  3797. if (plandetail[index].time === 2) {
  3798. plandetail[index].time = '周二'
  3799. }
  3800. if (plandetail[index].time === 3) {
  3801. plandetail[index].time = '周三'
  3802. }
  3803. if (plandetail[index].time === 4) {
  3804. plandetail[index].time = '周四'
  3805. }
  3806. if (plandetail[index].time === 5) {
  3807. plandetail[index].time = '周五'
  3808. }
  3809. if (plandetail[index].time === 6) {
  3810. plandetail[index].time = '周六'
  3811. }
  3812. if (plandetail[index].time === 7) {
  3813. plandetail[index].time = '周日'
  3814. }
  3815. if (plandetail[index].classtime === 1) {
  3816. plandetail[index].classtime = '上午'
  3817. }
  3818. if (plandetail[index].classtime === 2) {
  3819. plandetail[index].classtime = '下午'
  3820. }
  3821. if (plandetail[index].classtime === 3) {
  3822. plandetail[index].classtime = '晚上'
  3823. }
  3824. if (plandetail[index].way === 0) {
  3825. plandetail[index].way = '/'
  3826. }
  3827. if (plandetail[index].way === 1) {
  3828. plandetail[index].way = '擦拭'
  3829. }
  3830. if (plandetail[index].way === 2) {
  3831. plandetail[index].way = '化学消毒'
  3832. }
  3833. if (plandetail[index].machine_disinfectant === 0) {
  3834. plandetail[index].machine_disinfectant = '/'
  3835. }
  3836. if (plandetail[index].machine_disinfectant === 1) {
  3837. plandetail[index].machine_disinfectant = '0.22%季铵盐'
  3838. }
  3839. if (plandetail[index].machine_disinfectant === 2) {
  3840. plandetail[index].machine_disinfectant = '500mg/l含氯消毒剂'
  3841. }
  3842. if (plandetail[index].machine_disinfectant === 3) {
  3843. plandetail[index].machine_disinfectant = '1000mg/l含氯消毒剂'
  3844. }
  3845. if (plandetail[index].machine_disinfectant === 4) {
  3846. plandetail[index].machine_disinfectant = '1500mg/l含氯消毒剂'
  3847. }
  3848. if(plandetail[index].machine_disinfectant === 5){
  3849. plandetail[index].machine_disinfectant = "消毒湿巾"
  3850. }
  3851. if (plandetail[index].disinfectan_way === 0) {
  3852. plandetail[index].disinfectan_way = '/'
  3853. }
  3854. if (plandetail[index].disinfectan_way === 1) {
  3855. plandetail[index].disinfectan_way = '热化学消毒'
  3856. }
  3857. if (plandetail[index].disinfectan_way === 2) {
  3858. plandetail[index].disinfectan_way = '化学消毒 + 除钙'
  3859. }
  3860. if (plandetail[index].disinfectan_way === 3) {
  3861. plandetail[index].disinfectan_way = '热化学消毒 + 除钙'
  3862. }
  3863. if (plandetail[index].disinfectan_way === 4) {
  3864. plandetail[index].disinfectan_way = '热消毒'
  3865. }
  3866. if (plandetail[index].disinfectan_way === 5) {
  3867. plandetail[index].disinfectan_way = '化学消毒'
  3868. }
  3869. if (plandetail[index].disinfectan_way === 6) {
  3870. plandetail[index].disinfectan_way = '除钙'
  3871. }
  3872. if (plandetail[index].disinfectan_way === 7) {
  3873. plandetail[index].disinfectan_way = '清洗'
  3874. }
  3875. if (plandetail[index].disinfectant === 0) {
  3876. plandetail[index].disinfectant = '/'
  3877. }
  3878. if (plandetail[index].disinfectant === 1) {
  3879. plandetail[index].disinfectant = '20%柠檬酸'
  3880. }
  3881. if (plandetail[index].disinfectant === 2) {
  3882. plandetail[index].disinfectant = '25%柠檬酸'
  3883. }
  3884. if (plandetail[index].disinfectant === 3) {
  3885. plandetail[index].disinfectant = '50%柠檬酸'
  3886. }
  3887. if (plandetail[index].disinfectant === 4) {
  3888. plandetail[index].disinfectant = '50%柠檬酸 + 5%次氯酸钠'
  3889. }
  3890. if (plandetail[index].disinfectant === 5) {
  3891. plandetail[index].disinfectant = '20%柠檬酸 + 10%冰醋酸'
  3892. }
  3893. if (plandetail[index].disinfectant === 6) {
  3894. plandetail[index].disinfectant = '0.2%过氧化乙酸'
  3895. }
  3896. if (plandetail[index].disinfectant === 7) {
  3897. plandetail[index].disinfectant = '10%冰醋酸'
  3898. }
  3899. if (plandetail[index].disinfectant === 8) {
  3900. plandetail[index].disinfectant = '50%冰醋酸'
  3901. }
  3902. if (plandetail[index].disinfectant === 9) {
  3903. plandetail[index].disinfectant = '5%次氯酸钠'
  3904. }
  3905. if (plandetail[index].disinfectant === 10) {
  3906. plandetail[index].disinfectant = '25%的柠檬酸+5%次氯酸钠'
  3907. }
  3908. }
  3909. this.planData = plandetail
  3910. }
  3911. })
  3912. },
  3913. EditMachine(id, index) {
  3914. this.dialogVisible = true
  3915. EditPlanDetail(id).then(response => {
  3916. if (response.data.state === 1) {
  3917. var plan = response.data.data.plan
  3918. this.machineform.id = plan.id
  3919. this.machineform.device_type = plan.device_type
  3920. this.machineform.disinfec_time = plan.disinfec_time
  3921. this.machineform.time = plan.time
  3922. this.machineform.class_time = plan.classtime
  3923. this.machineform.way = plan.way
  3924. this.machineform.machine_disinfectant = plan.machine_disinfectant
  3925. this.machineform.disinfectant_way = plan.disinfectan_way
  3926. this.machineform.disinfectant = plan.disinfectant
  3927. // this.getPatientDetail(this.unitType, this.$route.query.bedid)
  3928. }
  3929. })
  3930. },
  3931. UpdatePlanInfo(formName) {
  3932. var devicetype = this.machineform.device_type
  3933. var devicetypes = parseInt(devicetype)
  3934. this.machineform.device_type = devicetypes
  3935. if (this.machineform.disinfec_time === '') {
  3936. this.machineform.disinfec_time = ''
  3937. }
  3938. if (this.machineform.disinfec_time !== '') {
  3939. var disinfectimes = this.machineform.disinfec_time
  3940. var disinfectime = parseInt(disinfectimes)
  3941. this.machineform.disinfec_time = disinfectime
  3942. }
  3943. var times = this.machineform.time
  3944. var time = parseInt(times)
  3945. this.machineform.time = time
  3946. var classtimes = this.machineform.class_time
  3947. var classtime = parseInt(classtimes)
  3948. this.machineform.class_time = classtime
  3949. var ways = this.machineform.way
  3950. var way = parseInt(ways)
  3951. this.machineform.way = way
  3952. var machinedisinfectant = this.machineform.machine_disinfectant
  3953. var machinedisinfectants = parseInt(machinedisinfectant)
  3954. this.machineform.machine_disinfectant = machinedisinfectants
  3955. var disinfectantways = this.machineform.disinfectant_way
  3956. var disinfectantway = parseInt(disinfectantways)
  3957. this.machineform.disinfectant_way = disinfectantway
  3958. var disinfectants = this.machineform.disinfectant
  3959. var disinfectant = parseInt(disinfectants)
  3960. this.machineform.disinfectant = disinfectant
  3961. UpdatePlanInfo(this.machineform).then(response => {
  3962. if (response.data.state === 1) {
  3963. var plan = response.data.data.plan
  3964. this.dialogVisible = false
  3965. this.$message.success('修改成功')
  3966. this.getAllPlanDetail(this.unitType)
  3967. this.getAllPlan()
  3968. }
  3969. })
  3970. },
  3971. openDeleteMahcine() {
  3972. if (this.selectMachines.length == 0) {
  3973. this.$message.error('请选择要删除的信息')
  3974. return false
  3975. }
  3976. this.$confirm(
  3977. '确认要删除所选记录吗? <br>删除后,信息将无法恢复',
  3978. '删除提示',
  3979. {
  3980. dangerouslyUseHTMLString: true,
  3981. confirmButtonText: '确定',
  3982. cancelButtonText: '取消',
  3983. type: 'warning'
  3984. }
  3985. )
  3986. .then(() => {
  3987. var ids = []
  3988. var idMap = {}
  3989. for (const index in this.selectMachines) {
  3990. ids.push(this.selectMachines[index].id)
  3991. idMap[this.selectMachines[index].id] = this.selectMachines[
  3992. index
  3993. ].id
  3994. }
  3995. DeletePlans({ ids: ids }).then(response => {
  3996. // eslint-disable-next-line eqeqeq
  3997. if (response.data.state == 1) {
  3998. // eslint-disable-next-line no-unused-vars
  3999. var msg = response.data.data.msg
  4000. var planDataLength = this.planData.length
  4001. for (let index = planDataLength - 1; index >= 0; index--) {
  4002. if (this.planData[index].id in idMap) {
  4003. this.planData.splice(index, 1)
  4004. }
  4005. }
  4006. var planDataLengths = this.tableData.length
  4007. for (let index = planDataLengths - 1; index >= 0; index--) {
  4008. if (this.tableData[index].id in idMap) {
  4009. this.tableData.splice(index, 1)
  4010. }
  4011. }
  4012. this.$message.success('删除消毒计划成功')
  4013. } else {
  4014. this.$message.error('删除消毒计划失败')
  4015. }
  4016. })
  4017. .catch(e => {})
  4018. })
  4019. .catch(() => {
  4020. return false
  4021. })
  4022. },
  4023. openDelete(id, index) {
  4024. // eslint-disable-next-line no-undef
  4025. this.$confirm(
  4026. '确认要删除所选记录吗? <br>删除后,信息将无法恢复',
  4027. '删除提示',
  4028. {
  4029. dangerouslyUseHTMLString: true,
  4030. confirmButtonText: '确定',
  4031. cancelButtonText: '取消',
  4032. type: 'warning'
  4033. }
  4034. ).then(() => {
  4035. openDelete(id, index).then(response => {
  4036. if (response.data.state === 1) {
  4037. var msg = response.data.data.msg
  4038. this.tableData.splice(index, 1)
  4039. this.planData.splice(index, 1)
  4040. }
  4041. })
  4042. })
  4043. },
  4044. openDeleteMahcineOne() {
  4045. if (this.selectMachinesOne.length == 0) {
  4046. this.$message.error('请选择要删除的信息')
  4047. return false
  4048. }
  4049. this.$confirm(
  4050. '确认要删除所选记录吗? <br>删除后,信息将无法恢复',
  4051. '删除提示',
  4052. {
  4053. dangerouslyUseHTMLString: true,
  4054. confirmButtonText: '确定',
  4055. cancelButtonText: '取消',
  4056. type: 'warning'
  4057. }
  4058. )
  4059. .then(() => {
  4060. var ids = []
  4061. var idMap = {}
  4062. for (const index in this.selectMachinesOne) {
  4063. ids.push(this.selectMachinesOne[index].id)
  4064. idMap[this.selectMachinesOne[index].id] = this.selectMachinesOne[
  4065. index
  4066. ].id
  4067. }
  4068. DeletePlans({ ids: ids })
  4069. .then(response => {
  4070. if (response.data.state == 1) {
  4071. var msg = response.data.data.msg
  4072. var planDataLength = this.tableData.length
  4073. for (let index = planDataLength - 1; index >= 0; index--) {
  4074. if (this.tableData[index].id in idMap) {
  4075. this.tableData.splice(index, 1)
  4076. }
  4077. }
  4078. var planDataLengths = this.planData.length
  4079. for (let index = planDataLengths - 1; index >= 0; index--) {
  4080. if (this.planData[index].id in idMap) {
  4081. this.planData.splice(index, 1)
  4082. }
  4083. }
  4084. this.$message.success('删除消毒计划成功')
  4085. } else {
  4086. this.$message.error('删除消毒计划失败')
  4087. }
  4088. })
  4089. .catch(e => {})
  4090. })
  4091. .catch(() => {
  4092. return false
  4093. })
  4094. },
  4095. getAllEquimentName() {
  4096. getAllEquimentName().then(response => {
  4097. if (response.data.state === 1) {
  4098. var equit = response.data.data.equit
  4099. // this.DeviceType = equit
  4100. }
  4101. })
  4102. },
  4103. clickQuery() {
  4104. this.$refs.multipleform.open()
  4105. },
  4106. getPatientInfo(bedid) {
  4107. getPatientInfo(bedid).then(response => {
  4108. if (response.data.state === 1) {
  4109. var schedules = response.data.data.schedules
  4110. // this.patientName = schedules
  4111. }
  4112. })
  4113. },
  4114. ChangeClass(id) {
  4115. ChangeClass(this.equimentid, id).then(response => {
  4116. if (response.data.state === 1) {
  4117. var patients = response.data.data.patients
  4118. if (patients.is_infectious === 0) {
  4119. this.userform.contagion = ''
  4120. }
  4121. if (patients.is_infectious === 1) {
  4122. this.userform.contagion = '无'
  4123. }
  4124. if (patients.is_infectious === 2) {
  4125. this.userform.contagion = '有'
  4126. }
  4127. this.userform.date = uParseTime(patients.schedule_date, '{y}-{m}-{d}')
  4128. this.userform.patient_name = patients.name
  4129. this.userform.patient_id = patients.patient_id
  4130. var zone = response.data.data.zone
  4131. this.userform.zone = zone.id
  4132. var number = response.data.data.number
  4133. this.userform.bed_number = number.id
  4134. var order = response.data.data.order
  4135. this.userform.start_time = uParseTime(order.start_time, '{y}-{m}-{d} {h}:{i}')
  4136. this.userform.end_time = uParseTime(order.end_time, '{y}-{m}-{d} {h}:{i}')
  4137. var prescription = response.data.data.prescription
  4138. this.userform.dialysis_mode = prescription.mode_id
  4139. var dislysis = response.data.data.dislysis
  4140. this.userform.dialysis_time = dislysis.actual_treatment_hour + 'h' + dislysis.actual_treatment_minute + 'min'
  4141. this.userform.hyperfiltratio = dislysis.actual_ultrafiltration
  4142. this.userform.weight_loss = dislysis.weight_loss
  4143. }
  4144. })
  4145. },
  4146. updateTimes(time) {
  4147. if (time < 0) {
  4148. return ''
  4149. } else {
  4150. return uParseTime(time, '{y}-{m}-{d} {h}:{i}')
  4151. }
  4152. },
  4153. getTimes(time) {
  4154. return uParseTime(time, '{y}-{m}-{d} {h}:{i}')
  4155. },
  4156. getTime(time) {
  4157. return uParseTime(time, '{y}-{m}-{d}')
  4158. },
  4159. SaveInformation(formName) {
  4160. if (this.userform.classtype === '') {
  4161. this.userform.classtype = 0
  4162. }
  4163. var classtypes = this.userform.classtype
  4164. var classtype = parseInt(classtypes)
  4165. this.userform.classtype = classtype
  4166. var zone = this.userform.zone
  4167. var zones = parseInt(zone)
  4168. this.userform.zone = zones
  4169. var bednumber = this.userform.bed_number
  4170. var bednumbers = parseInt(bednumber)
  4171. this.userform.bed_number = bednumbers
  4172. var dialysismode = this.userform.dialysis_mode
  4173. var dialysis_mode = parseInt(dialysismode)
  4174. this.userform.dialysis_mode = dialysis_mode
  4175. if (this.userform.failure_stage === '') {
  4176. this.userform.failure_stage = 0
  4177. }
  4178. if (this.userform.dialysis_checked === '') {
  4179. this.userform.dialysis_checked = 0
  4180. }
  4181. if (this.userform.dialysis_checked === true) {
  4182. this.userform.dialysis_checked = 1
  4183. }
  4184. if (this.userform.dialysis_checked === false) {
  4185. this.userform.dialysis_checked = 2
  4186. }
  4187. if (this.userform.germ_checked === '') {
  4188. this.userform.germ_checked = 0
  4189. }
  4190. if (this.userform.germ_checked === true) {
  4191. this.userform.germ_checked = 1
  4192. }
  4193. if (this.userform.germ_checked === false) {
  4194. this.userform.germ_checked = 2
  4195. }
  4196. if (this.userform.dialysis_name === '') {
  4197. this.userform.dialysis_name = 0
  4198. }
  4199. var dialysis_name = this.userform.dialysis_name
  4200. var dialysis = parseInt(dialysis_name)
  4201. this.userform.dialysis_name = dialysis
  4202. if (this.userform.germ_name === '') {
  4203. this.userform.germ_name = 0
  4204. }
  4205. var germname = this.userform.germ_name
  4206. var germames = parseInt(germname)
  4207. this.userform.germ_name = germames
  4208. if (this.userform.clean === '') {
  4209. this.userform.clean = 0
  4210. }
  4211. if (this.userform.clean === true) {
  4212. this.userform.clean = 1
  4213. }
  4214. if (this.userform.clean === false) {
  4215. this.userform.clean = 2
  4216. }
  4217. // eslint-disable-next-line eqeqeq
  4218. if (this.userform.start_time == '') {
  4219. this.userform.start_time = '0'
  4220. }
  4221. // eslint-disable-next-line eqeqeq
  4222. if (this.userform.end_time == '') {
  4223. this.userform.end_time = '0'
  4224. }
  4225. // eslint-disable-next-line eqeqeq
  4226. if (this.userform.starttime == '') {
  4227. this.userform.starttime = '0'
  4228. }
  4229. // eslint-disable-next-line eqeqeq
  4230. if (this.userform.endtime == '') {
  4231. this.userform.endtime = '0'
  4232. }
  4233. if (this.userform.hyperfiltratio === '') {
  4234. this.userform.hyperfiltratio = 0
  4235. }
  4236. var hyperfiltratio = this.userform.hyperfiltratio
  4237. var hyperfiltratios = parseFloat(hyperfiltratio)
  4238. this.userform.hyperfiltratio = hyperfiltratios
  4239. if (this.userform.weight_loss === '') {
  4240. this.userform.weight_loss = 0
  4241. }
  4242. var weightloss = this.userform.weight_loss
  4243. var weidht = parseFloat(weightloss)
  4244. this.userform.weight_loss = weidht
  4245. if (this.userform.user_total === '0') {
  4246. this.userform.user_total = 0
  4247. }
  4248. if (this.userform.user_total == ""){
  4249. this.userform.user_total = 0
  4250. }
  4251. this.userform.user_total = parseInt(this.userform.user_total)
  4252. console.log("user_form",this.userform)
  4253. this.$refs[formName].validate((valid) => {
  4254. if (valid) {
  4255. SaveInformation(this.equimentid, this.userform).then(response => {
  4256. if (response.data.state === 1) {
  4257. // eslint-disable-next-line no-unused-vars
  4258. var information = response.data.data.information
  4259. var infor = response.data.data.infor
  4260. this.userform.start_time = ''
  4261. this.userform.end_time = ''
  4262. this.userform.starttime = ''
  4263. this.userform.endtime = ''
  4264. this.userform.date = ''
  4265. this.userform.classtype = ''
  4266. this.userform.zone = ''
  4267. this.userform.patient_name = ''
  4268. this.userform.sign_name = ''
  4269. this.userform.bed_number = ''
  4270. this.userform.hyperfiltratio = ''
  4271. this.userform.weight_loss = ''
  4272. this.userform.dialysis_time = ''
  4273. this.$message.success('添加成功')
  4274. // this.$refs.child.getInformationData()
  4275. }
  4276. })
  4277. }
  4278. })
  4279. },
  4280. toLink() {
  4281. window.location.href = this.guaForm.images
  4282. },
  4283. // 获取签名
  4284. getAllOrganization() {
  4285. getAllOrganization().then(response => {
  4286. if (response.data.state === 1) {
  4287. var approle = response.data.data.approle
  4288. this.autograph = approle
  4289. this.sampling = approle
  4290. }
  4291. })
  4292. },
  4293. getUserRegister(id) {
  4294. getUserRegister(id).then(response => {
  4295. if (response.data.state === 1) {
  4296. var information = response.data.data.information
  4297. var role = response.data.data.role
  4298. var dislysis = response.data.data.dislysis
  4299. this.userform.id = information.id
  4300. if (information.date === 0) {
  4301. this.userform.date = moment(new Date()).format('YYYY-MM-DD')
  4302. } else {
  4303. this.userform.date = uParseTime(information.date, '{y}-{m}-{d}')
  4304. }
  4305. this.userform.classtype = information.class
  4306. this.userform.zone = information.zone
  4307. this.userform.bed_number = information.bed_number
  4308. this.userform.patient_name = information.name
  4309. this.userform.patient_id = information.patient_id
  4310. this.userform.contagion = information.contagion
  4311. this.userform.dialysis_mode = information.dialysis_mode
  4312. this.userform.start_time = this.updateTimes(information.start_time)
  4313. this.userform.end_time = this.updateTimes(information.end_time)
  4314. // this.userform.end_time = uParseTime(information.end_time, '{y}-{m}-{d} {h}:{i}')
  4315. if (information.hyperfiltratio === '') {
  4316. this.userform.hyperfiltratio = dislysis.actual_ultrafiltration
  4317. } else {
  4318. this.userform.hyperfiltratio = information.hyperfiltratio
  4319. }
  4320. if (information.dialysis_hour === '') {
  4321. this.userform.dialysis_time = dislysis.actual_treatment_hour + 'h' + dislysis.actual_treatment_minute + 'min'
  4322. } else {
  4323. this.userform.dialysis_time = information.dialysis_hour
  4324. }
  4325. if (information.weight_loss === '') {
  4326. this.userform.weight_loss = dislysis.weight_loss
  4327. } else {
  4328. this.userform.weight_loss = information.weight_loss
  4329. }
  4330. this.userform.warning_value = information.warning_value
  4331. this.userform.user_total = information.user_total
  4332. if (information.move === 0) {
  4333. this.userform.run = 1
  4334. } else {
  4335. this.userform.run = information.move
  4336. }
  4337. this.userform.failure_stage = information.failure_stage
  4338. this.userform.fault_description = information.fault_description
  4339. this.userform.code_information = information.code_information
  4340. this.userform.disinfect_type = information.disinfect_type
  4341. this.userform.disinfection = information.disinfection
  4342. this.userform.machine_run = information.machine_run
  4343. this.userform.fluid_path = information.fluid_path
  4344. this.userform.disinfectant = information.disinfectant
  4345. this.userform.disinfection_status = information.disinfection_status
  4346. this.userform.disinfection_residue = information.disinfection_residue
  4347. this.userform.longtime = information.long_time
  4348. this.userform.starttime = this.updateTimes(information.disinfec_startime)
  4349. this.userform.endtime = this.updateTimes(information.disinfec_endtime)
  4350. if (information.dialysis_checked === 1) {
  4351. this.userform.dialysis_checked = true
  4352. }
  4353. if (information.dialysis_checked === 0) {
  4354. this.userform.dialysis_checked = false
  4355. }
  4356. if (information.dialysis_checked === 2) {
  4357. this.userform.dialysis_checked = false
  4358. }
  4359. this.userform.dialysis_name = information.dialysis_name
  4360. this.userform.norms = information.norms
  4361. this.userform.dialysis_concentration = information.dialysis_concentration
  4362. if (information.germ_checked === 0) {
  4363. this.userform.germ_checked = false
  4364. }
  4365. if (information.germ_checked === 2) {
  4366. this.userform.germ_checked = false
  4367. }
  4368. if (information.germ_checked === 1) {
  4369. this.userform.germ_checked = true
  4370. }
  4371. this.userform.germ_name = information.germ_name
  4372. this.userform.germ_number = information.germ_number
  4373. if (information.clean === 1) {
  4374. this.userform.clean = true
  4375. }
  4376. if (information.clean === 0) {
  4377. this.userform.clean = false
  4378. }
  4379. if (information.clean === 2) {
  4380. this.userform.clean = false
  4381. }
  4382. // eslint-disable-next-line eqeqeq
  4383. if (information.admin_user_id == 0) {
  4384. this.userform.sign_name = ''
  4385. } else {
  4386. this.userform.sign_name = information.admin_user_id
  4387. }
  4388. this.$forceUpdate()
  4389. }
  4390. })
  4391. },
  4392. getOrgName() {
  4393. getOrgName().then(response => {
  4394. if (response.data.state === 1) {
  4395. var org = response.data.data.org
  4396. this.qualityForm.detection_unit = org.org_name
  4397. this.qualityFormTwo.detection_unit = org.org_name
  4398. this.qualityFormThree.detection_unit = org.org_name
  4399. this.qualityFormFour.detection_unit =org.org_name
  4400. this.qualityFormFive.detection_unit = org.org_name
  4401. this.qualityFormSix.detection_unit = org.org_name
  4402. this.qualityFormSeven.detection_unit = org.org_name
  4403. }
  4404. })
  4405. },
  4406. SaveBacteria(formName) {
  4407. if (this.qualityForm.specimen === '') {
  4408. this.qualityForm.specimen = 0
  4409. }
  4410. var specimen = this.qualityForm.specimen
  4411. var specimens = parseInt(specimen)
  4412. this.qualityForm.specimen = specimens
  4413. if (this.qualityForm.sampling_locationa === '') {
  4414. this.qualityForm.sampling_locationa = 0
  4415. }
  4416. var samplinglocationa = this.qualityForm.sampling_locationa
  4417. var samplinglocationas = parseInt(samplinglocationa)
  4418. this.qualityForm.sampling_locationa = samplinglocationas
  4419. // if(this.qualityForm.pass_examination!=''){
  4420. // this.qualityForm.pass_examination = parseInt(this.qualityForm.pass_examination)
  4421. // }
  4422. if(this.qualityForm.modifications!=''){
  4423. this.qualityForm.modifications = parseInt(this.qualityForm.modifications)
  4424. }
  4425. console.log("3333333",this.qualityForm)
  4426. this.$refs[formName].validate(response => {
  4427. SaveBacteria(this.equimentid, this.qualityForm).then(response => {
  4428. if (response.data.state === 1) {
  4429. var culture = response.data.data.culture
  4430. this.$message.success('保存成功')
  4431. this.qualityForm.specimen = '',
  4432. this.qualityForm.concentrate_noa = '',
  4433. this.qualityForm.concentrate_nob = '',
  4434. this.qualityForm.sampling_locationa = '',
  4435. this.qualityForm.detection_result = ''
  4436. this.$refs.mychild.getAllQulityInfo()
  4437. }else{
  4438. this.$message.error("创建失败")
  4439. }
  4440. })
  4441. })
  4442. },
  4443. cleanSaveBacteria() {
  4444. this.qualityForm.specimen = '',
  4445. this.qualityForm.concentrate_noa = '',
  4446. this.qualityForm.concentrate_nob = '',
  4447. this.qualityForm.sampling_locationa = '',
  4448. this.qualityForm.sampler = ''
  4449. this.qualityForm.reporting_date = ''
  4450. this.qualityForm.detection_result = ''
  4451. },
  4452. SaveLincomycin(formName) {
  4453. this.$refs[formName].validate((valid) => {
  4454. if (this.qualityFormTwo.specimenb === '') {
  4455. this.qualityFormTwo.specimenb = 0
  4456. }
  4457. var specimen = this.qualityFormTwo.specimenb
  4458. var specimenb = parseInt(specimen)
  4459. this.qualityFormTwo.specimenb = specimenb
  4460. if (this.qualityFormTwo.sampling_locationb === '') {
  4461. this.qualityFormTwo.sampling_locationb = 0
  4462. }
  4463. var sampling = this.qualityFormTwo.sampling_locationb
  4464. var samplings = parseInt(sampling)
  4465. this.qualityFormTwo.sampling_locationb = samplings
  4466. if(this.qualityFormTwo.modifications!=''){
  4467. this.qualityFormTwo.modifications = parseInt(this.qualityFormTwo.modifications)
  4468. }
  4469. if (valid) {
  4470. SaveLincomycin(this.equimentid, this.qualityFormTwo).then(response => {
  4471. if (response.data.state === 1) {
  4472. var dialysate = response.data.data.dialysate
  4473. this.$message.success('保存成功')
  4474. this.qualityFormTwo.specimenb = ''
  4475. this.qualityFormTwo.concentrate_noc = ''
  4476. this.qualityFormTwo.concentrateb_nod = ''
  4477. this.qualityFormTwo.sampling_locationb = ''
  4478. this.qualityFormTwo.detection_resultb = ''
  4479. this.$refs.mychild.getAllQulityInfo()
  4480. }
  4481. })
  4482. }
  4483. })
  4484. },
  4485. cleanLincomycin() {
  4486. this.qualityFormTwo.specimenb = ''
  4487. this.qualityFormTwo.concentrate_noc = ''
  4488. this.qualityFormTwo.concentrateb_nod = ''
  4489. this.qualityFormTwo.sampling_locationb = ''
  4490. this.qualityFormTwo.samplerb = ''
  4491. this.qualityFormTwo.reporting_dateb = ''
  4492. this.qualityFormTwo.detection_resultb = ''
  4493. },
  4494. SaveQualityControl(formName) {
  4495. this.$refs[formName].validate((valid) => {
  4496. if (valid) {
  4497. if(this.qualityFormThree.modifications!=''){
  4498. this.qualityFormThree.modifications = parseInt(this.qualityFormThree.modifications)
  4499. }
  4500. SaveQualityControl(this.equimentid, this.qualityFormThree).then(response => {
  4501. if (response.data.state === 1) {
  4502. var ion = response.data.data.ion
  4503. this.$message.success('保存成功')
  4504. this.$refs.mychild.getAllQulityInfo()
  4505. this.qualityFormThree.concentrate_nof = ''
  4506. this.qualityFormThree.concentrate_nog = ''
  4507. this.qualityFormThree.actual_na = ''
  4508. this.qualityFormThree.actual_pna = ''
  4509. this.qualityFormThree.actual_k = ''
  4510. this.qualityFormThree.actual_ca = ''
  4511. this.qualityFormThree.actual_ci = ''
  4512. this.qualityFormThree.actual_hco = ''
  4513. this.qualityFormThree.actual_mg = ''
  4514. this.qualityFormThree.actual_ph = ''
  4515. this.qualityFormThree.remakes = ''
  4516. }
  4517. })
  4518. }
  4519. })
  4520. },
  4521. cleanQuality() {
  4522. this.qualityFormThree.samplerc = ''
  4523. this.qualityFormThree.concentrate_nof = ''
  4524. this.qualityFormThree.concentrate_nog = ''
  4525. this.qualityFormThree.date_reportc = ''
  4526. this.qualityFormThree.actual_na = ''
  4527. this.qualityFormThree.actual_pna = ''
  4528. this.qualityFormThree.actual_k = ''
  4529. this.qualityFormThree.actual_ca = ''
  4530. this.qualityFormThree.actual_ci = ''
  4531. this.qualityFormThree.actual_hco = ''
  4532. this.qualityFormThree.actual_mg = ''
  4533. this.qualityFormThree.actual_ph = ''
  4534. this.qualityFormThree.remakes = ''
  4535. },
  4536. changeSpecimen(val) {
  4537. if (val === 0) {
  4538. this.disable = false
  4539. this.diableTwo = false
  4540. }
  4541. if (val === 1) {
  4542. this.disable = false
  4543. this.diableTwo = false
  4544. }
  4545. if (val === 2) {
  4546. this.qualityForm.concentrate_nob = ''
  4547. this.qualityFormTwo.concentrateb_nod = ''
  4548. this.diableTwo = true
  4549. this.disable = false
  4550. }
  4551. if (val === 3) {
  4552. this.qualityForm.concentrate_noa = ''
  4553. this.qualityFormTwo.concentrate_noc = ''
  4554. this.disable = true
  4555. this.diableTwo = false
  4556. }
  4557. if (val === 4) {
  4558. this.disable = false
  4559. this.diableTwo = false
  4560. }
  4561. if (val === 5) {
  4562. this.disable = false
  4563. this.diableTwo = false
  4564. }
  4565. },
  4566. beforeUploadFile(file) {
  4567. var testmsg = file.name.substring(file.name.lastIndexOf('.') + 1)
  4568. const extension = testmsg === 'jpg' || testmsg === 'JPG' || testmsg === 'png' || testmsg === 'PNG' || testmsg === 'gif' || testmsg === 'GIF'
  4569. if (!extension) {
  4570. // eslint-disable-next-line no-mixed-spaces-and-tabs
  4571. this.$message({
  4572. // eslint-disable-next-line no-mixed-spaces-and-tabs
  4573. message: '上传文件只能是jpg或者png或者gif格式!',
  4574. type: 'error'
  4575. })
  4576. return false// 必须加上return false; 才能阻止
  4577. }
  4578. this.filename = file.name
  4579. this.classShow = true
  4580. this.guaForm.imageName = file.name
  4581. const isLt2M = file.size / 1024 / 1024 <= 2048
  4582. var date = new Date()
  4583. var ext = getFileExtension(file.name)
  4584. var key = date.getFullYear() + (date.getMonth() + 1) + date.getDate() + date.getHours() + date.getMinutes() + date.getSeconds() + '_o_' + file.uid + '.' + ext
  4585. const _self = this
  4586. return new Promise((resolve, reject) => {
  4587. getToken().then(response => {
  4588. const token = response.data.data.uptoken
  4589. _self._data.uploadFileData.token = token
  4590. _self._data.uploadFileData.key = key
  4591. resolve(true)
  4592. }).catch(err => {
  4593. reject(false)
  4594. })
  4595. })
  4596. },
  4597. handleSuccess(res, file, fileList) {
  4598. this.guaForm.images = this.qiniuDomain + res.url
  4599. this.$refs.upload.clearFiles()
  4600. this.filename = file.name
  4601. this.guaForm.imageName = file.name
  4602. },
  4603. // eslint-disable-next-line no-dupe-keys
  4604. getTime(value, temp) {
  4605. // eslint-disable-next-line eqeqeq
  4606. if (value != undefined) {
  4607. return parseTime(value, temp)
  4608. }
  4609. return ''
  4610. },
  4611. SaveRepair(formName) {
  4612. if (this.guaForm.start_time === '') {
  4613. this.guaForm.start_time = '0'
  4614. }
  4615. if (this.guaForm.arrive_time === '') {
  4616. this.guaForm.arrive_time = '0'
  4617. }
  4618. if (this.guaForm.finish_time === '') {
  4619. this.guaForm.finish_time = '0'
  4620. }
  4621. if (this.guaForm.failure_stage === '') {
  4622. this.guaForm.failure_stage = '0'
  4623. }
  4624. var failurestages = this.guaForm.failure_stage
  4625. var falur = parseInt(failurestages)
  4626. this.guaForm.failure_stage = falur
  4627. if (this.guaForm.exclude === '') {
  4628. this.guaForm.exclude = 0
  4629. }
  4630. var excludes = this.guaForm.exclude
  4631. var exclude = parseInt(excludes)
  4632. this.guaForm.exclude = exclude
  4633. this.$refs[formName].validate((valid) => {
  4634. if (valid) {
  4635. SaveRepair(this.equimentid, this.guaForm).then(response => {
  4636. if (response.data.state === 1) {
  4637. var repair = response.data.data.repair
  4638. this.$message.success('保存成功')
  4639. this.$refs.child.getAllRepair()
  4640. this.guaForm.start_time = ''
  4641. this.guaForm.arrive_time = ''
  4642. this.guaForm.finish_time = ''
  4643. this.guaForm.total_distance = ''
  4644. this.guaForm.code_information = ''
  4645. this.guaForm.fault_description = ''
  4646. this.guaForm.cause_analysis = ''
  4647. this.guaForm.reason = ''
  4648. this.guaForm.failure_stage = 0
  4649. this.guaForm.exclude = 0
  4650. this.guaForm.images = ''
  4651. this.guaForm.treatment_process = ''
  4652. this.classShow = false
  4653. this.guaForm.imageName = ''
  4654. }
  4655. })
  4656. }
  4657. })
  4658. },
  4659. querySearchAsync(keyword, cb) {
  4660. let key = ''
  4661. if (keyword != undefined) {
  4662. key = keyword
  4663. }
  4664. let searchArray = []
  4665. PostSearch(key).then(response => {
  4666. if (response.data.state == 1) {
  4667. searchArray = response.data.data.patient
  4668. cb(searchArray)
  4669. }
  4670. })
  4671. return searchArray
  4672. },
  4673. createFilter(queryString) {
  4674. return (searchArray) => {
  4675. return (searchArray.id.toLowerCase().indexOf(queryString.toLowerCase()) === 0)
  4676. }
  4677. },
  4678. handleSelect(item) {
  4679. this.userform.patient_id = item.id
  4680. this.userform.patient_name = item.name
  4681. // eslint-disable-next-line no-undef
  4682. getPatientDetail(item.id).then(response => {
  4683. // eslint-disable-next-line eqeqeq
  4684. if (response.data.state == 1) {
  4685. var patient = response.data.data.patient
  4686. // eslint-disable-next-line no-undef
  4687. if (patient.is_infectious === 0) {
  4688. this.userform.contagion = ''
  4689. }
  4690. // eslint-disable-next-line no-undef
  4691. if (patient.is_infectious === 1) {
  4692. this.userform.contagion = '无'
  4693. }
  4694. // eslint-disable-next-line no-undef
  4695. if (patient.is_infectious === 2) {
  4696. this.userform.contagion = '有'
  4697. }
  4698. }
  4699. })
  4700. },
  4701. getAllEquitType() {
  4702. getAllEquitType().then(response => {
  4703. if (response.data.state === 1) {
  4704. var equitname = response.data.data.mode
  4705. this.DeviceType = equitname
  4706. }
  4707. })
  4708. },
  4709. getTotalNumber() {
  4710. getTotalNumber(this.equimentid).then(response => {
  4711. if (response.data.state === 1) {
  4712. var total = response.data.data.total
  4713. if (total === '') {
  4714. this.userform.user_total = ''
  4715. }
  4716. this.userform.user_total = total
  4717. } else {
  4718. this.$message.error('数据返回失败')
  4719. }
  4720. })
  4721. },
  4722. getAllpatient() {
  4723. getAllpatient().then(response => {
  4724. if (response.data.state === 1) {
  4725. var allpatient = response.data.data.allpatient
  4726. this.patientName = allpatient
  4727. }
  4728. })
  4729. },
  4730. getTimeWarning(id) {
  4731. getTimeWarning(id).then(response => {
  4732. if (response.data.state === 1) {
  4733. var information = response.data.data.information
  4734. var time = this.getTimestamp(this.userform.date) - information.stime
  4735. var deviceInformation = response.data.data.deviceInformation
  4736. var timetwo = this.getTimestamp(this.userform.date) - deviceInformation.stime
  4737. var clean = response.data.data.clean
  4738. }
  4739. })
  4740. },
  4741. getTimeBeteen(id) {
  4742. var todayTime = moment(new Date()).format('YYYY-MM-DD')
  4743. getTimeBeteen(id, todayTime).then(response => {
  4744. if (response.data.state === 1) {
  4745. var timedata = response.data.data.timeData
  4746. if (timedata.length === 0) {
  4747. this.warnShow = true
  4748. }
  4749. if (timedata.length !== 0) {
  4750. this.warnShow = false
  4751. }
  4752. var todayTimeTwo = response.data.data.timeDataTwo
  4753. if (todayTimeTwo.length === 0) {
  4754. this.warnShowTwo = true
  4755. }
  4756. if (todayTimeTwo.length !== 0) {
  4757. this.warnShowTwo = false
  4758. }
  4759. var timeDataThree = response.data.data.timeDataThree
  4760. if (timeDataThree.length === 0) {
  4761. this.warnShowThree = true
  4762. }
  4763. if (timeDataThree.length !== 0) {
  4764. this.warnShowThree = false
  4765. }
  4766. }
  4767. })
  4768. },
  4769. getTimestamp(time) { // 把时间日期转成时间戳
  4770. return (new Date(time)).getTime() / 1000
  4771. },
  4772. // eslint-disable-next-line no-irregular-whitespace
  4773. // 通过自组建传值改变表格数据
  4774. getPlanData(data) {
  4775. if (data === 1) {
  4776. this.getAllPlanDetail(this.unitType)
  4777. }
  4778. },
  4779. getAllMode() {
  4780. getAllMode().then(response => {
  4781. var mode = response.data.data.mode
  4782. this.deviceMode = mode
  4783. })
  4784. },
  4785. selectChange(id) {
  4786. selectChange(id).then(response => {
  4787. if (response.data.state === 1) {
  4788. this.userform.bed_number = ''
  4789. var change = response.data.data.change
  4790. this.bedNumberTwo = change
  4791. // console.log('change', change)
  4792. }
  4793. })
  4794. },
  4795. selectBed(id) {
  4796. selectBed(id).then(response => {
  4797. if (response.data.state === 1) {
  4798. var zone = response.data.data.zone
  4799. }
  4800. })
  4801. },
  4802. getData(id) {
  4803. selectBed(id).then(response => {
  4804. if (response.data.state === 1) {
  4805. var zone = response.data.data.zone
  4806. this.$forceUpdate()
  4807. this.userform.bed_number = zone.id
  4808. this.userform.zone = zone.zone_id
  4809. }
  4810. })
  4811. },
  4812. hiddenShow() {
  4813. this.$confirm(
  4814. '确认要删除所选图片吗? <br>删除后,信息将无法恢复',
  4815. '删除提示',
  4816. {
  4817. dangerouslyUseHTMLString: true,
  4818. confirmButtonText: '确定',
  4819. cancelButtonText: '取消',
  4820. type: 'warning'
  4821. }
  4822. ).then(() => {
  4823. this.filename = ''
  4824. this.guaForm.imageName = ''
  4825. this.guaForm.images = ''
  4826. this.classShow = false
  4827. })
  4828. },
  4829. //获取机器的使用次数
  4830. GetUserTotalCount(bedid){
  4831. this.userform.user_total = ""
  4832. GetUserTotalCount(bedid).then(response=>{
  4833. if(response.data.state == 1){
  4834. var count = response.data.data.count
  4835. var addmacher = response.data.data.addmacher
  4836. if(addmacher.user_total == ''){
  4837. addmacher.user_total = 0
  4838. }
  4839. this.userform.user_total = count[0].Total + parseInt(addmacher.user_total)
  4840. }
  4841. })
  4842. },
  4843. saveOxygenates(formName) {
  4844. this.$refs[formName].validate((valid) => {
  4845. if (this.qualityFormFour.specimenb === '') {
  4846. this.qualityFormFour.specimenb = 0
  4847. }
  4848. var specimen = this.qualityFormFour.specimenb
  4849. var specimenb = parseInt(specimen)
  4850. this.qualityFormFour.specimenb = specimenb
  4851. if (this.qualityFormFour.sampling_locationb === '') {
  4852. this.qualityFormFour.sampling_locationb = 0
  4853. }
  4854. var sampling = this.qualityFormFour.sampling_locationb
  4855. var samplings = parseInt(sampling)
  4856. this.qualityFormFour.sampling_locationb = samplings
  4857. if(this.qualityFormFour.modifications!=''){
  4858. this.qualityFormFour.modifications = parseInt(this.qualityFormFour.modifications)
  4859. }
  4860. if (valid) {
  4861. saveOxygenates(this.equimentid, this.qualityFormFour).then(response => {
  4862. if (response.data.state === 1) {
  4863. var oxygenates = response.data.data.oxygenates
  4864. console.log("oxygenates",oxygenates)
  4865. this.$message.success('保存成功')
  4866. this.qualityFormFour.specimenb = ''
  4867. this.qualityFormFour.concentrate_noc = ''
  4868. this.qualityFormFour.concentrateb_nod = ''
  4869. this.qualityFormFour.sampling_locationb = ''
  4870. this.qualityFormFour.detection_resultb = ''
  4871. this.$refs.mychild.getAllQulityInfo()
  4872. }
  4873. })
  4874. }
  4875. })
  4876. },
  4877. saveHardWater(formName) {
  4878. this.$refs[formName].validate((valid) => {
  4879. if (this.qualityFormFive.specimenb === '') {
  4880. this.qualityFormFive.specimenb = 0
  4881. }
  4882. var specimen = this.qualityFormFive.specimenb
  4883. var specimenb = parseInt(specimen)
  4884. this.qualityFormFive.specimenb = specimenb
  4885. if (this.qualityFormFive.sampling_locationb === '') {
  4886. this.qualityFormFive.sampling_locationb = 0
  4887. }
  4888. var sampling = this.qualityFormFive.sampling_locationb
  4889. var samplings = parseInt(sampling)
  4890. this.qualityFormFive.sampling_locationb = samplings
  4891. if(this.qualityFormFive.modifications!=''){
  4892. this.qualityFormFive.modifications = parseInt(this.qualityFormFive.modifications)
  4893. }
  4894. if (valid) {
  4895. saveHardWater(this.equimentid, this.qualityFormFive).then(response => {
  4896. if (response.data.state === 1) {
  4897. var hadwater = response.data.data.hadwater
  4898. console.log("hadwater",hadwater)
  4899. this.$message.success('保存成功')
  4900. this.qualityFormFive.specimenb = ''
  4901. this.qualityFormFive.concentrate_noc = ''
  4902. this.qualityFormFive.concentrateb_nod = ''
  4903. this.qualityFormFive.sampling_locationb = ''
  4904. this.qualityFormFive.detection_resultb = ''
  4905. this.$refs.mychild.getAllQulityInfo()
  4906. }
  4907. })
  4908. }
  4909. })
  4910. },
  4911. saveWater(formName) {
  4912. this.$refs[formName].validate((valid) => {
  4913. if (this.qualityFormSix.specimenb === '') {
  4914. this.qualityFormSix.specimenb = 0
  4915. }
  4916. var specimen = this.qualityFormSix.specimenb
  4917. var specimenb = parseInt(specimen)
  4918. this.qualityFormSix.specimenb = specimenb
  4919. if (this.qualityFormSix.sampling_locationb === '') {
  4920. this.qualityFormSix.sampling_locationb = 0
  4921. }
  4922. var sampling = this.qualityFormSix.sampling_locationb
  4923. var samplings = parseInt(sampling)
  4924. this.qualityFormSix.sampling_locationb = samplings
  4925. if(this.qualityFormSix.modifications!=''){
  4926. this.qualityFormSix.modifications = parseInt(this.qualityFormSix.modifications)
  4927. }
  4928. if (valid) {
  4929. saveWater(this.equimentid, this.qualityFormSix).then(response => {
  4930. if (response.data.state === 1) {
  4931. var deviceWater = response.data.data.deviceWater
  4932. console.log("deviceWater",deviceWater)
  4933. this.$message.success('保存成功')
  4934. this.qualityFormSix.specimenb = ''
  4935. this.qualityFormSix.concentrate_noc = ''
  4936. this.qualityFormSix.concentrateb_nod = ''
  4937. this.qualityFormSix.sampling_locationb = ''
  4938. this.qualityFormSix.detection_resultb = ''
  4939. this.$refs.child.getAllQulityInfo()
  4940. }else{
  4941. this.qualityFormSix.pass_examination = "1"
  4942. }
  4943. })
  4944. }
  4945. })
  4946. },
  4947. saveDevicePH(formName) {
  4948. this.$refs[formName].validate((valid) => {
  4949. if (this.qualityFormSeven.specimenb === '') {
  4950. this.qualityFormSeven.specimenb = 0
  4951. }
  4952. var specimen = this.qualityFormSeven.specimenb
  4953. var specimenb = parseInt(specimen)
  4954. this.qualityFormSeven.specimenb = specimenb
  4955. if (this.qualityFormSeven.sampling_locationb === '') {
  4956. this.qualityFormSeven.sampling_locationb = 0
  4957. }
  4958. var sampling = this.qualityFormSeven.sampling_locationb
  4959. var samplings = parseInt(sampling)
  4960. this.qualityFormSeven.sampling_locationb = samplings
  4961. if(this.qualityFormSeven.modifications!=''){
  4962. this.qualityFormSeven.modifications = parseInt(this.qualityFormSeven.modifications)
  4963. }
  4964. if (valid) {
  4965. saveDevicePH(this.equimentid, this.qualityFormSeven).then(response => {
  4966. if (response.data.state === 1) {
  4967. var devicePh = response.data.data.devicePh
  4968. console.log("devicePh",devicePh)
  4969. this.$message.success('保存成功')
  4970. this.qualityFormSeven.specimenb = ''
  4971. this.qualityFormSeven.concentrate_noc = ''
  4972. this.qualityFormSeven.concentrateb_nod = ''
  4973. this.qualityFormSeven.sampling_locationb = ''
  4974. this.qualityFormSeven.detection_resultb = ''
  4975. this.$refs.mychild.getAllQulityInfo()
  4976. }
  4977. })
  4978. }
  4979. })
  4980. },
  4981. },
  4982. created() {
  4983. this.getAllSubregion()
  4984. this.getAllMachine()
  4985. var bedid = this.$route.query.bedid
  4986. this.bedid = bedid
  4987. this.getAllPlan()
  4988. this.getAllEquimentName()
  4989. this.getAllOrganization()
  4990. this.getOrgName()
  4991. this.getAllEquitType()
  4992. this.getAllpatient()
  4993. this.getAllMode()
  4994. this.GetUserTotalCount(bedid)
  4995. }
  4996. }
  4997. </script>
  4998. <style lang="scss" scoped>
  4999. .zone{
  5000. // margin-left: 30px;
  5001. // text-align: left;
  5002. width: 70px;
  5003. display: inline-block;
  5004. color:#606266;
  5005. }
  5006. .disinfect{
  5007. position: relative;
  5008. .newButton{
  5009. // position: absolute;
  5010. // right: 2%;
  5011. // top:4px;
  5012. // z-index: 9;
  5013. margin-bottom: 10px;
  5014. margin-left: 90%;
  5015. }
  5016. }
  5017. .disinfectOne{
  5018. position: relative;
  5019. .newButtonOne{
  5020. position: absolute;
  5021. right: 0;
  5022. top: -10;
  5023. z-index: 18;
  5024. }
  5025. }
  5026. .but{
  5027. width: 200px;
  5028. height: 50px;
  5029. // border: solid 1px red;
  5030. margin-left: 77%;
  5031. }
  5032. .clearn{
  5033. width: 460px;
  5034. height: 50px;
  5035. // border:solid 1px red;
  5036. margin-left:650px;
  5037. }
  5038. .zClass{
  5039. width: 200px;
  5040. height: 200px;
  5041. // border:solid 1px red;
  5042. margin-left: 450px;
  5043. margin-top: 200px;
  5044. }
  5045. .warn{
  5046. color: red;
  5047. font-size: 14px;
  5048. width: 100%;
  5049. display: inline-block;
  5050. margin-left: 96px;
  5051. }
  5052. .userbutton{
  5053. margin-bottom: 10px;
  5054. margin-left: 82%
  5055. }
  5056. </style>
  5057. <style lang="scss">
  5058. .a{
  5059. margin-bottom: 10px;
  5060. margin-top: 6px;
  5061. }
  5062. .b{
  5063. .el-button{
  5064. margin-left: 90%;
  5065. margin-bottom: 10px;
  5066. }
  5067. }
  5068. .stoppage{
  5069. .el-form-item__label{
  5070. width:190px;
  5071. }
  5072. }
  5073. .st{
  5074. .el-form-item__label{
  5075. width:-10px;
  5076. }
  5077. }
  5078. .main{
  5079. position: relative;
  5080. .newButtonOne{
  5081. position:absolute;
  5082. right: 0;
  5083. z-index: 2;
  5084. }
  5085. }
  5086. .elbutton{
  5087. // border: solid 1px red;
  5088. height: 50px;
  5089. width: 400px;
  5090. margin-left: 650px;
  5091. }
  5092. // .el-form-item__label {
  5093. // width: 130px;
  5094. // font-size: 14px;
  5095. // }
  5096. .el-form-item__error {
  5097. margin-left: 130px;
  5098. }
  5099. .el-upload-list__item-name {
  5100. color: #606266;
  5101. display: block;
  5102. margin-right: 40px;
  5103. overflow: hidden;
  5104. padding-left: 4px;
  5105. text-overflow: ellipsis;
  5106. transition: color .3s;
  5107. white-space: nowrap;
  5108. }
  5109. .el-main{
  5110. padding-top: 0px;
  5111. }
  5112. .newMain{
  5113. .el-form-item__label{
  5114. width: 104px;
  5115. }
  5116. }
  5117. .newDisinfectOne{
  5118. .el-input--prefix .el-input__inner{
  5119. padding-left: 15px
  5120. }
  5121. }
  5122. .stoppage{
  5123. .el-form-item__label{
  5124. width: 18%;
  5125. }
  5126. }
  5127. .newItem{
  5128. .el-form-item__label{
  5129. width: 130px;
  5130. }
  5131. }
  5132. .formItem{
  5133. .el-form-item__label{
  5134. width: 104px;
  5135. line-height: 30px;
  5136. }
  5137. }
  5138. .newname{
  5139. .el-form-item__label{
  5140. width: 60px;
  5141. }
  5142. }
  5143. ::-webkit-scrollbar{
  5144. height: 20px;
  5145. }
  5146. </style>