hushijiandan.component.html 169 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911
  1. <div class="nurse">
  2. <nz-layout class="app-layout display_flex flex_auto">
  3. <nz-sider
  4. class="menu-sidebar slider"
  5. nzWidth="224px"
  6. nzBreakpoint="xs"
  7. [nzTrigger]="null"
  8. >
  9. <div
  10. class="sidebar-logo display_flex align-items_center justify-content_flex-center"
  11. >
  12. <div style="line-height: normal;height: 100%;" class="display_flex align-items_center justify-content_flex-center flex-direction_column">
  13. <!-- <img src="../../assets/images/xiehe_logo.jpg" style="width:100%;" alt="logo" /> -->
  14. <img [src]="tool.logoUrl" />
  15. <span>{{tool.logoTitle}}</span>
  16. </div>
  17. </div>
  18. <div
  19. class="notAvailable display_flex align-items_center justify-content_flex-center"
  20. *ngIf="
  21. !deptTaskTypeRules.openInspection &&
  22. !deptTaskTypeRules.openPatientTransport
  23. "
  24. >
  25. <div>
  26. <img src="../../assets/images/icon_jianchakong.png" alt="" />
  27. <div>暂未开通</div>
  28. </div>
  29. </div>
  30. <div class="mainInfo">
  31. <div class="searchBox">
  32. <input
  33. nz-input
  34. [(ngModel)]="tabSearchCont"
  35. (ngModelChange)="searchTabInp($event)"
  36. placeholder="请输入关键字"
  37. />
  38. </div>
  39. <div class="checkBanner" nz-row>
  40. <button
  41. nz-button
  42. nz-col
  43. nzSpan="12"
  44. class="checkItem checked"
  45. (click)="changeInfo()"
  46. >
  47. {{(currentDept.typeValue == 'surgery' && !this.tabSearchCont) ? '手术安排信息' : '患者信息'}}
  48. </button>
  49. </div>
  50. <!-- 患者信息-复苏室科室类型 -->
  51. <div class="checkedInfo patient" style="padding-bottom: 0" *ngIf="currentDept.typeValue == 'recovery'">
  52. <overlay-scrollbars #osComponentRef4 class="box">
  53. <div
  54. class="loading display_flex align-items_center justify-content_flex-center"
  55. *ngIf="
  56. pLoading &&
  57. (deptTaskTypeRules.openInspection ||
  58. deptTaskTypeRules.openPatientTransport)
  59. "
  60. >
  61. <div>
  62. <img src="../../assets/images/loading.gif" alt="" />
  63. <div>加载中...</div>
  64. </div>
  65. </div>
  66. <div
  67. class="loading display_flex align-items_center justify-content_flex-center"
  68. *ngIf="!patientList.length && !pLoading"
  69. >
  70. <div>
  71. <div>暂无数据</div>
  72. </div>
  73. </div>
  74. <div *ngIf="patientList.length && !pLoading">
  75. <div class="item" *ngFor="let item of patientList">
  76. <div class="itemTit txtC" style="font-weight: bold">
  77. <ng-container *ngIf="item.illnessState">
  78. <i
  79. *ngIf="item.illnessState.value === '2'"
  80. class="colorRed icon_transport transport-wei"
  81. nz-tooltip
  82. nzTooltipTitle="病危"
  83. ></i>
  84. <i
  85. *ngIf="item.illnessState.value === '3'"
  86. class="colorRed icon_transport transport-zhong1"
  87. nz-tooltip
  88. nzTooltipTitle="病重"
  89. ></i>
  90. </ng-container>
  91. <ng-container *ngIf="item.careLevel">
  92. <i
  93. *ngIf="item.careLevel.value === '0'"
  94. class="icon_transport transport-te1"
  95. nz-tooltip
  96. nzTooltipTitle="特级护理"
  97. ></i>
  98. <i
  99. *ngIf="item.careLevel.value === '1'"
  100. class="icon_transport transport-Bduanshuzi1"
  101. nz-tooltip
  102. nzTooltipTitle="一级护理"
  103. ></i>
  104. <i
  105. *ngIf="item.careLevel.value === '2'"
  106. class="icon_transport transport-Bduanshuzi"
  107. nz-tooltip
  108. nzTooltipTitle="二级护理"
  109. ></i>
  110. <i
  111. *ngIf="item.careLevel.value === '3'"
  112. class="icon_transport transport-Bduanshuzi11"
  113. nz-tooltip
  114. nzTooltipTitle="三级护理"
  115. ></i>
  116. </ng-container>
  117. <span
  118. nz-tooltip
  119. [nzTooltipTitle]="recentInfo"
  120. nzTooltipPlacement="right"
  121. [nzMouseEnterDelay]="1"
  122. (mouseenter)="getRecentInfo(item.patientCode)"
  123. >{{ item.patientName }}({{ item.bedNum }})</span
  124. >
  125. </div>
  126. <div
  127. class="checkInfo"
  128. nz-row
  129. *ngIf="
  130. followFlag === '1' &&
  131. currentDept.typeValue != 'checkRoom2' &&
  132. currentDept.typeValue != 'outpatientDept' &&
  133. currentDept.typeValue != 'checkRoom'
  134. "
  135. >
  136. <span
  137. nz-col
  138. nzSpan="2"
  139. class="icon_transport transport-zhongdianguanzhu"
  140. (click)="follow(item)"
  141. [ngStyle]="{
  142. color: item.focusPatient === 0 ? 'white' : 'red'
  143. }"
  144. nz-tooltip
  145. [nzTooltipTitle]="
  146. item.focusPatient === 0
  147. ? '白色心为非特殊关注,需手动建单后配送人员上门送检'
  148. : '红色心为特殊关注,患者所有检查会自动建单,配送人员主动上门送检'
  149. "
  150. ></span>
  151. <span nz-col nzSpan="2"></span>
  152. <span nz-col nzSpan="12">{{ item.residenceNo }}</span>
  153. <span nz-col nzSpan="6" class="txtR"
  154. >待检 {{ item.watingCount }}</span
  155. >
  156. <span nz-col nzSpan="2"></span>
  157. </div>
  158. <div
  159. class="checkInfo"
  160. nz-row
  161. *ngIf="
  162. followFlag === '0' ||
  163. currentDept.typeValue == 'checkRoom2' ||
  164. currentDept.typeValue == 'outpatientDept' ||
  165. currentDept.typeValue == 'checkRoom'
  166. "
  167. >
  168. <span nz-col nzSpan="2"></span>
  169. <span nz-col nzSpan="12">{{ item.residenceNo }}</span>
  170. <span nz-col nzSpan="6" class="txtR"
  171. >待检 {{ item.watingCount }}</span
  172. >
  173. <span nz-col nzSpan="2"></span>
  174. </div>
  175. <div class="btn" (click)="newPatientOrder(item)">一键建单</div>
  176. </div>
  177. </div>
  178. </overlay-scrollbars>
  179. </div>
  180. <!-- 患者信息 -->
  181. <div class="checkedInfo patient" style="padding-bottom: 0" *ngIf="(currentDept.typeValue != 'surgery' || (currentDept.typeValue == 'surgery' && this.tabSearchCont)) && currentDept.typeValue != 'recovery'">
  182. <overlay-scrollbars #osComponentRef4 class="box">
  183. <div
  184. class="loading display_flex align-items_center justify-content_flex-center"
  185. *ngIf="
  186. pLoading &&
  187. (deptTaskTypeRules.openInspection ||
  188. deptTaskTypeRules.openPatientTransport)
  189. "
  190. >
  191. <div>
  192. <img src="../../assets/images/loading.gif" alt="" />
  193. <div>加载中...</div>
  194. </div>
  195. </div>
  196. <div
  197. class="loading display_flex align-items_center justify-content_flex-center"
  198. *ngIf="!patientList.length && !pLoading"
  199. >
  200. <div>
  201. <div>暂无数据</div>
  202. </div>
  203. </div>
  204. <div *ngIf="patientList.length && !pLoading">
  205. <div class="item" *ngFor="let item of patientList">
  206. <div class="itemTit txtC" style="font-weight: bold">
  207. <ng-container *ngIf="item.illnessState">
  208. <i
  209. *ngIf="item.illnessState.value === '2'"
  210. class="colorRed icon_transport transport-wei"
  211. nz-tooltip
  212. nzTooltipTitle="病危"
  213. ></i>
  214. <i
  215. *ngIf="item.illnessState.value === '3'"
  216. class="colorRed icon_transport transport-zhong1"
  217. nz-tooltip
  218. nzTooltipTitle="病重"
  219. ></i>
  220. </ng-container>
  221. <ng-container *ngIf="item.careLevel">
  222. <i
  223. *ngIf="item.careLevel.value === '0'"
  224. class="icon_transport transport-te1"
  225. nz-tooltip
  226. nzTooltipTitle="特级护理"
  227. ></i>
  228. <i
  229. *ngIf="item.careLevel.value === '1'"
  230. class="icon_transport transport-Bduanshuzi1"
  231. nz-tooltip
  232. nzTooltipTitle="一级护理"
  233. ></i>
  234. <i
  235. *ngIf="item.careLevel.value === '2'"
  236. class="icon_transport transport-Bduanshuzi"
  237. nz-tooltip
  238. nzTooltipTitle="二级护理"
  239. ></i>
  240. <i
  241. *ngIf="item.careLevel.value === '3'"
  242. class="icon_transport transport-Bduanshuzi11"
  243. nz-tooltip
  244. nzTooltipTitle="三级护理"
  245. ></i>
  246. </ng-container>
  247. <span
  248. nz-tooltip
  249. [nzTooltipTitle]="recentInfo"
  250. nzTooltipPlacement="right"
  251. [nzMouseEnterDelay]="1"
  252. (mouseenter)="getRecentInfo(item.patientCode)"
  253. >{{ item.patientName }}({{ item.bedNum }})</span
  254. >
  255. </div>
  256. <div
  257. class="checkInfo"
  258. nz-row
  259. *ngIf="
  260. followFlag === '1' &&
  261. currentDept.typeValue != 'checkRoom2' &&
  262. currentDept.typeValue != 'outpatientDept' &&
  263. currentDept.typeValue != 'checkRoom'
  264. "
  265. >
  266. <span
  267. nz-col
  268. nzSpan="2"
  269. class="icon_transport transport-zhongdianguanzhu"
  270. (click)="follow(item)"
  271. [ngStyle]="{
  272. color: item.focusPatient === 0 ? 'white' : 'red'
  273. }"
  274. nz-tooltip
  275. [nzTooltipTitle]="
  276. item.focusPatient === 0
  277. ? '白色心为非特殊关注,需手动建单后配送人员上门送检'
  278. : '红色心为特殊关注,患者所有检查会自动建单,配送人员主动上门送检'
  279. "
  280. ></span>
  281. <span nz-col nzSpan="2"></span>
  282. <span nz-col nzSpan="12">{{ item.residenceNo }}</span>
  283. <span nz-col nzSpan="6" class="txtR"
  284. >待检 {{ item.watingCount }}</span
  285. >
  286. <span nz-col nzSpan="2"></span>
  287. </div>
  288. <div
  289. class="checkInfo"
  290. nz-row
  291. *ngIf="
  292. followFlag === '0' ||
  293. currentDept.typeValue == 'checkRoom2' ||
  294. currentDept.typeValue == 'outpatientDept' ||
  295. currentDept.typeValue == 'checkRoom'
  296. "
  297. >
  298. <span nz-col nzSpan="2"></span>
  299. <span nz-col nzSpan="12">{{ item.residenceNo }}</span>
  300. <span nz-col nzSpan="6" class="txtR"
  301. >待检 {{ item.watingCount }}</span
  302. >
  303. <span nz-col nzSpan="2"></span>
  304. </div>
  305. <div class="btnNews">
  306. <div class="btn" (click)="newPatientOrder(item)">一键建单</div>
  307. <div class="btn" (click)="openOutpatientServiceModal(item)" *ngIf="currentDept.typeValue == 'outpatientService'">打印二维码</div>
  308. </div>
  309. </div>
  310. </div>
  311. </overlay-scrollbars>
  312. </div>
  313. <!-- 手术安排信息-手术室科室类型 -->
  314. <div class="checkedInfo patient" style="padding-bottom: 0" *ngIf="currentDept.typeValue == 'surgery' && !this.tabSearchCont">
  315. <overlay-scrollbars #osComponentRef4 class="box">
  316. <div
  317. class="loading display_flex align-items_center justify-content_flex-center"
  318. *ngIf="
  319. pLoading &&
  320. (deptTaskTypeRules.openInspection ||
  321. deptTaskTypeRules.openPatientTransport)
  322. "
  323. >
  324. <div>
  325. <img src="../../assets/images/loading.gif" alt="" />
  326. <div>加载中...</div>
  327. </div>
  328. </div>
  329. <div
  330. class="loading display_flex align-items_center justify-content_flex-center"
  331. *ngIf="!patientList.length && !pLoading"
  332. >
  333. <div>
  334. <div>暂无数据</div>
  335. </div>
  336. </div>
  337. <div *ngIf="patientList.length && !pLoading">
  338. <div class="item" *ngFor="let item of patientList">
  339. <div class="itemTit txtC" style="font-weight: bold">
  340. <ng-container *ngIf="item.patientDTO && item.patientDTO.illnessState">
  341. <i
  342. *ngIf="item.patientDTO && item.patientDTO.illnessState.value === '2'"
  343. class="colorRed icon_transport transport-wei"
  344. nz-tooltip
  345. nzTooltipTitle="病危"
  346. ></i>
  347. <i
  348. *ngIf="item.patientDTO && item.patientDTO.illnessState.value === '3'"
  349. class="colorRed icon_transport transport-zhong1"
  350. nz-tooltip
  351. nzTooltipTitle="病重"
  352. ></i>
  353. </ng-container>
  354. <ng-container *ngIf="item.patientDTO && item.patientDTO.careLevel">
  355. <i
  356. *ngIf="item.patientDTO && item.patientDTO.careLevel.value === '0'"
  357. class="icon_transport transport-te1"
  358. nz-tooltip
  359. nzTooltipTitle="特级护理"
  360. ></i>
  361. <i
  362. *ngIf="item.patientDTO && item.patientDTO.careLevel.value === '1'"
  363. class="icon_transport transport-Bduanshuzi1"
  364. nz-tooltip
  365. nzTooltipTitle="一级护理"
  366. ></i>
  367. <i
  368. *ngIf="item.patientDTO && item.patientDTO.careLevel.value === '2'"
  369. class="icon_transport transport-Bduanshuzi"
  370. nz-tooltip
  371. nzTooltipTitle="二级护理"
  372. ></i>
  373. <i
  374. *ngIf="item.patientDTO && item.patientDTO.careLevel.value === '3'"
  375. class="icon_transport transport-Bduanshuzi11"
  376. nz-tooltip
  377. nzTooltipTitle="三级护理"
  378. ></i>
  379. </ng-container>
  380. <span>{{ item.patientDTO ? item.patientDTO.patientName : '' }}({{ item.patientDTO ? item.patientDTO.residenceNo : '' }})</span>
  381. </div>
  382. <div class="checkInfo" nz-row>
  383. <span nz-col nzSpan="24">{{ item.applyDate | date:'HH:mm' }}({{ item.orders }})</span>
  384. <span nz-col nzSpan="24" class="wordBreak">{{ item.areaDeptDTO ? (deptDisplay == 2 ? item.areaDeptDTO.deptalias : item.areaDeptDTO.dept) : '' }}</span>
  385. <span nz-col nzSpan="24" class="wordBreak">{{ item.surgeryName }}</span>
  386. </div>
  387. <div class="btnNews">
  388. <div class="btn" (click)="surgeryBegin($event, item)" *ngIf="surgeryConfigs.surgeryBegin == 1">即将开始</div>
  389. <div class="btn" (click)="pickUpPatient($event, item)">一键接患者</div>
  390. </div>
  391. </div>
  392. </div>
  393. </overlay-scrollbars>
  394. </div>
  395. <!-- 翻页 -->
  396. <!-- <div class="paging">
  397. <div>
  398. <nz-pagination [(nzPageIndex)]="infoPageIdx" [(nzTotal)]="infoLength" (nzPageIndexChange)="getPatient()"
  399. [nzPageSize]='5' nzSimple>
  400. </nz-pagination>
  401. </div>
  402. </div> -->
  403. </div>
  404. </nz-sider>
  405. <nz-layout class="layout" style="background: #fff; position: relative">
  406. <nz-header>
  407. <div
  408. class="app-header borderB display_flex justify-content_space-between align-items_center"
  409. >
  410. <div
  411. class="nurseTitle display_flex justify-content_space-between align-items_center"
  412. >
  413. <div class="todayNumWrap">护士端<span class="todayNum">当日建单数:{{ todayNum }}</span></div>
  414. <div class="updateTipsForNurses red">{{ updateTipsForNurses }}</div>
  415. <div class="queuingInformation" *ngIf="!updateTipsForNurses && inspectAndPatientTransportConfig.queuingInformation == 1">等待陪检:<span class="red">{{queuingInformationList[0]}}</span>&emsp;陪检中:<span class="red">{{queuingInformationList[1]}}</span></div>
  416. <div class="nurseCode" (click)="showNurseCode()">
  417. <i class="nurseCodeIcon icon_transport transport-erweima"></i
  418. >二维码
  419. </div>
  420. </div>
  421. <div class="userInfo">
  422. <div class="wel">欢迎您:</div>
  423. <div class="user">
  424. <img src="../../assets/images/icon_keshi.png" alt="" />
  425. <span *ngIf="deptDisplay" [title]="deptDisplay == 2 ? loginUser.dept.deptalias : loginUser.dept.dept">{{deptDisplay == 2 ? loginUser.dept.deptalias : loginUser.dept.dept}}</span>
  426. </div>
  427. <div class="userInfo-wrap">
  428. <div class="logOut" (click)="changeKsNow()">切换科室</div>
  429. <div class="logOut" (click)="logOut()">退出</div>
  430. </div>
  431. </div>
  432. </div>
  433. </nz-header>
  434. <nz-content class="nzContent">
  435. <div class="inner-content">
  436. <div class="mainInfo" nz-row>
  437. <div nz-col nzSpan="17" class="cont">
  438. <div class="top" [ngSwitch]="currentDept.typeValue">
  439. <div class="nums borderB" nz-row *ngSwitchCase="'outpatientService'" hidden></div>
  440. <div class="nums borderB" nz-row *ngSwitchCase="'surgery'">
  441. <!-- 手术未开通 -->
  442. <div
  443. *ngIf="!deptTaskTypeRules.openPatientTransport && !surgeryLoading"
  444. nz-col
  445. nzSpan="24"
  446. nz-row
  447. class="h100p"
  448. >
  449. <div
  450. class="notAvailable display_flex align-items_center justify-content_flex-center"
  451. >
  452. <div>
  453. <img
  454. src="../../assets/images/icon_jianchakong.png"
  455. alt=""
  456. />
  457. <div>暂未开通</div>
  458. </div>
  459. </div>
  460. <div
  461. nz-col
  462. nzSpan="6"
  463. class="borderR alignC display_flex justify-content_flex-center align-items_center h100p"
  464. >
  465. <span>*****</span>
  466. </div>
  467. <div nz-col nzSpan="18" class="h100p">
  468. <div
  469. class="txtC h50p alignC display_flex justify-content_flex-center align-items_center overAuto borderB"
  470. >
  471. <span>*****</span>
  472. </div>
  473. <div
  474. class="txtC h50p alignC display_flex justify-content_flex-center align-items_center overAuto"
  475. >
  476. <span>*****</span>
  477. </div>
  478. </div>
  479. </div>
  480. <!-- 手术已开通 -->
  481. <div
  482. *ngIf="deptTaskTypeRules.openPatientTransport && !surgeryLoading"
  483. nz-col
  484. nzSpan="24"
  485. nz-row
  486. class="h100p"
  487. >
  488. <div nz-col nzSpan="16" class="h100p">
  489. <div class="txtC h50p borderB">
  490. <div class="swiperBox">
  491. <div class="swiper" *ngIf="surgeryWKOMsg.patientDTO">
  492. <div class="item txtC alignC display_flex justify-content_flex-center align-items_center patientStyle">
  493. <ng-container *ngIf="surgeryWKOMsg.patientDTO && surgeryWKOMsg.patientDTO.illnessState">
  494. <i
  495. *ngIf="surgeryWKOMsg.patientDTO && surgeryWKOMsg.patientDTO.illnessState.value === '2'"
  496. class="colorRed icon_transport transport-wei"
  497. nz-tooltip
  498. nzTooltipTitle="病危"
  499. ></i>
  500. <i
  501. *ngIf="surgeryWKOMsg.patientDTO && surgeryWKOMsg.patientDTO.illnessState.value === '3'"
  502. class="colorRed icon_transport transport-zhong1"
  503. nz-tooltip
  504. nzTooltipTitle="病重"
  505. ></i>
  506. </ng-container>
  507. <ng-container *ngIf="surgeryWKOMsg.patientDTO && surgeryWKOMsg.patientDTO.careLevel">
  508. <i
  509. *ngIf="surgeryWKOMsg.patientDTO && surgeryWKOMsg.patientDTO.careLevel.value === '0'"
  510. class="icon_transport transport-te1"
  511. nz-tooltip
  512. nzTooltipTitle="特级护理"
  513. ></i>
  514. <i
  515. *ngIf="surgeryWKOMsg.patientDTO && surgeryWKOMsg.patientDTO.careLevel.value === '1'"
  516. class="icon_transport transport-Bduanshuzi1"
  517. nz-tooltip
  518. nzTooltipTitle="一级护理"
  519. ></i>
  520. <i
  521. *ngIf="surgeryWKOMsg.patientDTO && surgeryWKOMsg.patientDTO.careLevel.value === '2'"
  522. class="icon_transport transport-Bduanshuzi"
  523. nz-tooltip
  524. nzTooltipTitle="二级护理"
  525. ></i>
  526. <i
  527. *ngIf="surgeryWKOMsg.patientDTO && surgeryWKOMsg.patientDTO.careLevel.value === '3'"
  528. class="icon_transport transport-Bduanshuzi11"
  529. nz-tooltip
  530. nzTooltipTitle="三级护理"
  531. ></i>
  532. </ng-container>
  533. <strong>{{ surgeryWKOMsg.patientDTO ? surgeryWKOMsg.patientDTO.patientName : '' }}({{ surgeryWKOMsg.patientDTO ? surgeryWKOMsg.patientDTO.residenceNo : '' }})</strong>
  534. </div>
  535. </div>
  536. <div class="swiper none display_flex justify-content_flex-center align-items_center" *ngIf="!surgeryWKOMsg.patientDTO">
  537. <div class="item alignC display_flex justify-content_flex-center align-items_center">
  538. <span>暂无信息</span>
  539. </div>
  540. </div>
  541. </div>
  542. </div>
  543. <div class="txtC h50p">
  544. <div class="swiperBox">
  545. <div class="swiper" *ngIf="surgeryWKOMsg.surgeryName">
  546. <div class="item txtC alignC display_flex justify-content_flex-center align-items_center">
  547. <span>{{ surgeryWKOMsg.surgeryName }}</span>
  548. </div>
  549. </div>
  550. <div class="swiper none display_flex justify-content_flex-center align-items_center" *ngIf="!surgeryWKOMsg.surgeryName">
  551. <div class="item alignC display_flex justify-content_flex-center align-items_center">
  552. <span>暂无信息</span>
  553. </div>
  554. </div>
  555. </div>
  556. </div>
  557. </div>
  558. <div
  559. nz-col
  560. nzSpan="8"
  561. class="borderL alignC display_flex justify-content_flex-center align-items_center h100p"
  562. >
  563. <button *ngIf="surgeryWKOMsg.patientDTO && surgeryConfigs && surgeryConfigs.remandClinical == 1" nz-button nzType="primary" class="btn txtC mr8" (click)="sendWard($event, surgeryWKOMsg)">送回病房</button>
  564. <button *ngIf="surgeryWKOMsg.patientDTO && surgeryConfigs && surgeryConfigs.remandRecovery == 1" nz-button nzType="primary" class="btn txtC" (click)="sendAwakeningRoom($event, surgeryWKOMsg)">送回苏醒间</button>
  565. </div>
  566. </div>
  567. <div
  568. *ngIf="surgeryLoading"
  569. nz-col
  570. nzSpan="24"
  571. nz-row
  572. class="h100p display_flex justify-content_flex-center align-items_center"
  573. >
  574. <div class="txtC" style="text-align: center">
  575. <img src="../../../assets/images/loading.gif" alt="" />
  576. <div>加载中...</div>
  577. </div>
  578. </div>
  579. </div>
  580. <div class="nums borderB" nz-row *ngSwitchDefault>
  581. <!-- 标本信息未开通 -->
  582. <div
  583. *ngIf="!deptTaskTypeRules.openSpecimen"
  584. nz-col
  585. nzSpan="13"
  586. nz-row
  587. class="h100p"
  588. >
  589. <div
  590. class="notAvailable display_flex align-items_center justify-content_flex-center"
  591. >
  592. <div>
  593. <img
  594. src="../../assets/images/icon_jianchakong.png"
  595. alt=""
  596. />
  597. <div>暂未开通</div>
  598. </div>
  599. </div>
  600. <div nz-col nzSpan="18" nz-row class="borderR h100p">
  601. <div
  602. nz-col
  603. nzSpan="4"
  604. class="borderR alignC display_flex justify-content_flex-center align-items_center h100p"
  605. >
  606. <img
  607. src="../../assets/images/icon_hubiaoben.png"
  608. alt=""
  609. />
  610. </div>
  611. <div nz-col nzSpan="20">
  612. <div class="txtC h33 borderB overAuto">*****</div>
  613. <div nz-row class="h53">
  614. <div nz-col nzSpan="12" class="txtC borderR h100p">
  615. <p>*</p>
  616. <div>急标数量</div>
  617. </div>
  618. <div nz-col nzSpan="12" class="txtC h100p">
  619. <p>*</p>
  620. <div>普标数量</div>
  621. </div>
  622. </div>
  623. </div>
  624. </div>
  625. <div nz-col nzSpan="6" class="borderR h100p">
  626. <div class="quick">
  627. <button class="btn txtC">{{ specimenButton }}</button>
  628. </div>
  629. </div>
  630. </div>
  631. <!-- 标本信息已开通 -->
  632. <div
  633. *ngIf="deptTaskTypeRules.openSpecimen"
  634. nz-col
  635. nzSpan="13"
  636. nz-row
  637. class="h100p"
  638. >
  639. <div nz-col nzSpan="18" nz-row class="borderR h100p">
  640. <div
  641. nz-col
  642. nzSpan="4"
  643. class="borderR alignC display_flex justify-content_flex-center align-items_center h100p"
  644. >
  645. <img
  646. src="../../assets/images/icon_hubiaoben.png"
  647. alt=""
  648. />
  649. </div>
  650. <div nz-col nzSpan="20">
  651. <div class="txtC h33 borderB overAuto">
  652. {{ specimenWorkOrderMsg.specimenInfo || "" }}
  653. </div>
  654. <div nz-row class="h53">
  655. <div
  656. nz-col
  657. nzSpan="12"
  658. class="txtC borderR h100p cur"
  659. (click)="changeSpeDetail(1)"
  660. >
  661. <p>
  662. {{
  663. specimenWorkOrderMsg.specimenCount
  664. ? specimenWorkOrderMsg.specimenCount.urgent
  665. : 0
  666. }}
  667. </p>
  668. <div>急标数量</div>
  669. </div>
  670. <div
  671. nz-col
  672. nzSpan="12"
  673. class="txtC h100p cur"
  674. (click)="changeSpeDetail(0)"
  675. >
  676. <p>
  677. {{
  678. specimenWorkOrderMsg.specimenCount
  679. ? specimenWorkOrderMsg.specimenCount.noUrgent
  680. : 0
  681. }}
  682. </p>
  683. <div>普标数量</div>
  684. </div>
  685. </div>
  686. </div>
  687. </div>
  688. <div nz-col nzSpan="6" class="borderR h100p">
  689. <div class="quick">
  690. <button
  691. [nzLoading]="bLoading"
  692. nz-button
  693. nzType="primary"
  694. class="btn txtC"
  695. (click)="newShortcutOrder1(bbMsg, 'bb')"
  696. >
  697. {{ specimenButton }}
  698. </button>
  699. <!-- <button class="btn txtC" (click)="newShortcutOrder1(bbMsg,'bb',true)">
  700. 收取急查标本
  701. </button> -->
  702. </div>
  703. </div>
  704. </div>
  705. <!-- 药品/静配信息未开通 -->
  706. <div
  707. *ngIf="
  708. !deptTaskTypeRules.openStaticDistribution &&
  709. !deptTaskTypeRules.openDrugsBag &&
  710. !drugJpLoading
  711. "
  712. nz-col
  713. nzSpan="11"
  714. nz-row
  715. class="h100p"
  716. >
  717. <div
  718. class="notAvailable display_flex align-items_center justify-content_flex-center"
  719. >
  720. <div>
  721. <img
  722. src="../../assets/images/icon_jianchakong.png"
  723. alt=""
  724. />
  725. <div>暂未开通</div>
  726. </div>
  727. </div>
  728. <div
  729. nz-col
  730. nzSpan="6"
  731. class="borderR alignC display_flex justify-content_flex-center align-items_center h100p"
  732. >
  733. <img
  734. src="../../assets/images/icon_hujingpei.png"
  735. alt=""
  736. />
  737. </div>
  738. <div nz-col nzSpan="18" class="h100p">
  739. <div
  740. class="txtC h50p alignC display_flex justify-content_flex-center align-items_center overAuto borderB"
  741. >
  742. <span>*****</span>
  743. </div>
  744. <div
  745. class="txtC h50p alignC display_flex justify-content_flex-center align-items_center overAuto"
  746. >
  747. <span>*****</span>
  748. </div>
  749. </div>
  750. </div>
  751. <!-- 药品/静配信息已开通 -->
  752. <div
  753. *ngIf="
  754. (deptTaskTypeRules.openStaticDistribution ||
  755. deptTaskTypeRules.openDrugsBag) &&
  756. !drugJpLoading
  757. "
  758. nz-col
  759. nzSpan="11"
  760. nz-row
  761. class="h100p"
  762. >
  763. <div
  764. nz-col
  765. nzSpan="6"
  766. class="borderR alignC display_flex justify-content_flex-center align-items_center h100p"
  767. >
  768. <img
  769. src="../../assets/images/icon_hujingpei.png"
  770. alt=""
  771. />
  772. </div>
  773. <div nz-col nzSpan="18" class="h100p">
  774. <div class="txtC h50p borderB">
  775. <div class="swiperBox">
  776. <div
  777. class="swiper"
  778. [ngStyle]="{ top: swiperTop + 'px' }"
  779. *ngIf="
  780. jpDrugsWKOMsg.drugsInfoList &&
  781. jpDrugsWKOMsg.drugsInfoList.length > 0
  782. "
  783. >
  784. <div
  785. class="item txtC alignC display_flex justify-content_flex-center align-items_center"
  786. *ngFor="let item of jpDrugsWKOMsg.drugsInfoList"
  787. >
  788. <span>{{ item }}</span>
  789. </div>
  790. </div>
  791. <div
  792. class="swiper none display_flex justify-content_flex-center align-items_center"
  793. *ngIf="
  794. !jpDrugsWKOMsg.drugsInfoList ||
  795. !jpDrugsWKOMsg.drugsInfoList.length
  796. "
  797. >
  798. <div
  799. class="item alignC display_flex justify-content_flex-center align-items_center"
  800. >
  801. <span>暂无药品配送信息</span>
  802. </div>
  803. </div>
  804. </div>
  805. </div>
  806. <div class="txtC h50p">
  807. <div class="swiperBox">
  808. <div
  809. class="swiper"
  810. [ngStyle]="{ top: swiperTop1 + 'px' }"
  811. *ngIf="
  812. jpDrugsWKOMsg.jpInfoList &&
  813. jpDrugsWKOMsg.jpInfoList.length > 0
  814. "
  815. >
  816. <div
  817. class="item txtC alignC display_flex justify-content_flex-center align-items_center"
  818. *ngFor="let item of jpDrugsWKOMsg.jpInfoList"
  819. >
  820. <span>{{ item }}</span>
  821. </div>
  822. </div>
  823. <div
  824. class="swiper none display_flex justify-content_flex-center align-items_center"
  825. *ngIf="
  826. !jpDrugsWKOMsg.jpInfoList ||
  827. !jpDrugsWKOMsg.jpInfoList.length
  828. "
  829. >
  830. <div
  831. class="item alignC display_flex justify-content_flex-center align-items_center"
  832. >
  833. <!-- <span>暂无静配配送信息</span> -->
  834. <span></span>
  835. </div>
  836. </div>
  837. </div>
  838. </div>
  839. </div>
  840. </div>
  841. <div
  842. *ngIf="drugJpLoading"
  843. nz-col
  844. nzSpan="11"
  845. nz-row
  846. class="h100p display_flex justify-content_flex-center align-items_center"
  847. >
  848. <div class="txtC" style="text-align: center">
  849. <img src="../../../assets/images/loading.gif" alt="" />
  850. <div>加载中...</div>
  851. </div>
  852. </div>
  853. </div>
  854. <div class="tab borderB" nz-row style="padding: 4px 0">
  855. <div nz-col nzSpan="21" class="h100p">
  856. <overlay-scrollbars #osComponentRef11 nz-row class="h100p w100">
  857. <div style="height: 100%; display: flex;">
  858. <ng-container *ngFor="let item of tabPermission">
  859. <div *ngIf="(coopBtns.buildOrdersForOtherTasks && item.system) || !item.system" nz-col nzSpan="3" [ngClass]="{txtC: true, cur: true, checked: item.system ? checkedTableType == 'other' : checkedTableType == item.id}" (click)="checkTable(item)">
  860. <div class="text">{{ item.title }}</div>
  861. </div>
  862. </ng-container>
  863. <div *ngIf="coopBtns.suggestionBox" nz-col nzSpan="3" [ngClass]="{txtC: true, cur: true, checked: checkedTableType == 'advice'}" (click)="checkTable('advice')">
  864. <div class="text">意见箱</div>
  865. </div>
  866. <div *ngIf="coopBtns.surgery" nz-col nzSpan="3" [ngClass]="{txtC: true, cur: true, checked: checkedTableType == 'surgery'}" (click)="checkTable('surgery')">
  867. <div class="text">手术排程信息</div>
  868. </div>
  869. <div *ngIf="coopBtns.inquiryOfHistoricalSpecimens && currentDept.typeValue != 'outpatientService'" nz-col nzSpan="3" [ngClass]="{txtC: true, cur: true, checked: checkedTableType == 'historySpecimen'}" (click)="checkTable('historySpecimen')">
  870. <div class="text">历史标本查询</div>
  871. </div>
  872. <div *ngIf="coopBtns.historicalMedicineListInquiry && currentDept.typeValue != 'outpatientService'" nz-col nzSpan="3" [ngClass]="{txtC: true, cur: true, checked: checkedTableType == 'historyDrugsbag'}" (click)="checkTable('historyDrugsbag')">
  873. <div class="text">历史药单查询</div>
  874. </div>
  875. <div *ngIf="coopBtns.quickReportForRepair && isShowBx" nz-col nzSpan="3" [ngClass]="{txtC: true, cur: true, checked: checkedTableType == 'kjbx'}" (click)="checkTable('kjbx')">
  876. <div class="text">快捷报修</div>
  877. </div>
  878. <div *ngIf="coopBtns.repairList && isShowBx" nz-col nzSpan="3" [ngClass]="{txtC: true, cur: true, checked: checkedTableType == 'bxlb'}" (click)="checkTable('bxlb')">
  879. <div class="text">
  880. 报修列表<strong class="red">&nbsp;({{processing}})</strong>
  881. </div>
  882. </div>
  883. </div>
  884. </overlay-scrollbars>
  885. </div>
  886. <div nz-col nzSpan="3" class="txtC h100p alignR display_flex justify-content_flex-end align-items_center">
  887. <div class="btn txtC" *ngIf="mainRole && loginUser.usertype.value != 1" (click)="toMain()">
  888. 回到系统管理
  889. </div>
  890. <div class="btn txtC" *ngIf="mainRole && loginUser.usertype.value == 1" (click)="toOrder()">
  891. 查看工单
  892. </div>
  893. </div>
  894. </div>
  895. </div>
  896. <!-- 其他任务建单 -->
  897. <ng-container *ngIf="othersList[checkedTableType]">
  898. <div style="flex: 1; height: 100%; position: relative">
  899. <div class="otherBox">
  900. <div class="otherBoxInner">
  901. <div class="otherBox-nav">
  902. <div class="otherBox-nav__head">
  903. <input
  904. nz-input
  905. placeholder="请输入关键字"
  906. [(ngModel)]="otherSearch"
  907. (ngModelChange)="otherSearchChange()"
  908. />
  909. </div>
  910. <overlay-scrollbars
  911. #osComponentRef2
  912. class="otherBox-nav__main"
  913. [ngStyle]="{ height: '100%' }"
  914. >
  915. <div
  916. class="otherBox-nav__mainInner"
  917. *ngIf="!oLoading && othersList[checkedTableType]?.length > 0"
  918. >
  919. <div
  920. [sortablejs]="othersList[checkedTableType]"
  921. [sortablejsOptions]="othersListOptions"
  922. class="w100"
  923. >
  924. <div
  925. class="otherBox-nav__mainItem"
  926. *ngFor="let item of othersList[checkedTableType]"
  927. (click)="otherClick(item)"
  928. [ngClass]="{ active: selectOtherId == item.id }"
  929. [title]="item.taskName"
  930. >
  931. {{ item.taskName }}
  932. </div>
  933. </div>
  934. </div>
  935. <div
  936. class="otherBox-nav__mainInner noData"
  937. *ngIf="!oLoading && othersList[checkedTableType].length == 0"
  938. >
  939. 暂无数据
  940. </div>
  941. <div
  942. class="otherBox-nav__mainInner oLoading"
  943. *ngIf="oLoading"
  944. >
  945. <img
  946. src="../../../assets/images/loading.gif"
  947. alt=""
  948. />
  949. <div>加载中...</div>
  950. </div>
  951. </overlay-scrollbars>
  952. </div>
  953. <div class="otherBox-main">
  954. <div class="otherBox-main__main">
  955. <!-- -----------------start------------------ -->
  956. <div class="modalBody_box">
  957. <div class="modalBody">
  958. <div
  959. class="modalBody_left"
  960. *ngIf="!nLoading && selectOtherId"
  961. >
  962. <overlay-scrollbars
  963. class="modalBody_left_box"
  964. #osComponentRef3
  965. style="height: calc(100vh - 263px)"
  966. >
  967. <div class="modalBody_left_box">
  968. <div
  969. style="
  970. flex:1 1 auto;
  971. display: flex;
  972. flex-direction: column;
  973. justify-content: center;
  974. align-items: center;
  975. "
  976. >
  977. <div
  978. class="content txtC"
  979. *ngIf="
  980. buildMsg.status == 100013 ||
  981. buildMsg.status == 100014 ||
  982. buildMsg.status == 100015
  983. "
  984. >
  985. <div
  986. class="defeat"
  987. [innerHTML]="buildMsg.msg"
  988. ></div>
  989. </div>
  990. <!-- 200 该任务类型运送过程暂未配置 -->
  991. <div
  992. class="content txtC"
  993. *ngIf="
  994. buildMsg.status == 200 &&
  995. buildType == 'bb'
  996. "
  997. >
  998. <div
  999. class="defeat"
  1000. [innerHTML]="buildMsg.msg"
  1001. ></div>
  1002. </div>
  1003. <!-- 100009 该任务类型运送过程暂未配置 -->
  1004. <div
  1005. class="content txtC"
  1006. *ngIf="buildMsg.status == 100009"
  1007. >
  1008. <div
  1009. class="defeat"
  1010. [innerHTML]="buildMsg.msg"
  1011. ></div>
  1012. </div>
  1013. <!-- 100010 系统未查询到该任务类型关联信息 -->
  1014. <div
  1015. class="content txtC"
  1016. *ngIf="buildMsg.status == 100010"
  1017. >
  1018. <div
  1019. class="defeat"
  1020. [innerHTML]="buildMsg.msg"
  1021. ></div>
  1022. </div>
  1023. <!-- 100012 (护士端一键建单展示策略)直接取msg -->
  1024. <div
  1025. class="content txtC"
  1026. *ngIf="buildMsg.status == 100012"
  1027. >
  1028. <div
  1029. class="defeat"
  1030. [innerHTML]="buildMsg.msg"
  1031. ></div>
  1032. </div>
  1033. <!-- 100013 (护士端一键建单展示策略)取起点科室,和mgs值展示 -->
  1034. <div
  1035. class="content"
  1036. *ngIf="buildMsg.status == 100013"
  1037. >
  1038. <div>
  1039. <form
  1040. nz-form
  1041. [formGroup]="shortcutForm"
  1042. class="shortcutForm"
  1043. >
  1044. <nz-form-item>
  1045. <nz-form-label
  1046. [nzSm]="6"
  1047. [nzXs]="24"
  1048. nzRequired
  1049. nzFor="originOffice"
  1050. >起点科室
  1051. </nz-form-label>
  1052. <nz-form-control
  1053. nzErrorTip="请选择起点科室!"
  1054. >
  1055. <nz-select
  1056. class="w100"
  1057. formControlName="originOffice"
  1058. [nzDropdownMatchSelectWidth]="
  1059. false
  1060. "
  1061. nzServerSearch
  1062. nzShowSearch
  1063. (nzOnSearch)="
  1064. searchDept(
  1065. 'start',
  1066. buildMsg,
  1067. $event
  1068. )
  1069. "
  1070. nzPlaceHolder="请选择起点科室"
  1071. >
  1072. <ng-container
  1073. *ngFor="
  1074. let option of buildMsg.start
  1075. .start.list
  1076. "
  1077. >
  1078. <nz-option
  1079. *ngIf="true"
  1080. [nzLabel]="
  1081. deptDisplay == 2
  1082. ? option.deptalias
  1083. : option.dept
  1084. "
  1085. [nzValue]="option.id"
  1086. >
  1087. </nz-option>
  1088. </ng-container>
  1089. <nz-option
  1090. *ngIf="false"
  1091. nzDisabled
  1092. nzCustomContent
  1093. >
  1094. <i
  1095. nz-icon
  1096. nzType="loading"
  1097. class="loading-icon"
  1098. ></i>
  1099. 搜索中...
  1100. </nz-option>
  1101. </nz-select>
  1102. </nz-form-control>
  1103. </nz-form-item>
  1104. </form>
  1105. </div>
  1106. </div>
  1107. <!-- 100014 (护士端一键建单展示策略)取终点科室和msg 值展示 -->
  1108. <div
  1109. class="content"
  1110. *ngIf="buildMsg.status == 100014"
  1111. >
  1112. <div>
  1113. <form
  1114. nz-form
  1115. [formGroup]="shortcutForm"
  1116. class="shortcutForm"
  1117. >
  1118. <nz-form-item>
  1119. <nz-form-label
  1120. [nzSm]="6"
  1121. [nzXs]="24"
  1122. nzRequired
  1123. nzFor="targetOffice"
  1124. >目标科室
  1125. </nz-form-label>
  1126. <nz-form-control
  1127. nzErrorTip="请选择目标科室!"
  1128. >
  1129. <nz-select
  1130. class="w100"
  1131. formControlName="targetOffice"
  1132. [nzDropdownMatchSelectWidth]="
  1133. false
  1134. "
  1135. nzServerSearch
  1136. nzShowSearch
  1137. (nzOnSearch)="
  1138. searchDept(
  1139. 'target',
  1140. buildMsg,
  1141. $event
  1142. )
  1143. "
  1144. nzAllowClear
  1145. nzPlaceHolder="请选择目标科室"
  1146. >
  1147. <ng-container
  1148. *ngFor="
  1149. let option of buildMsg.end
  1150. .end.list
  1151. "
  1152. >
  1153. <nz-option
  1154. *ngIf="true"
  1155. [nzLabel]="
  1156. deptDisplay == 2
  1157. ? option.deptalias
  1158. : option.dept
  1159. "
  1160. [nzValue]="option.id"
  1161. >
  1162. </nz-option>
  1163. </ng-container>
  1164. <nz-option
  1165. *ngIf="false"
  1166. nzDisabled
  1167. nzCustomContent
  1168. >
  1169. <i
  1170. nz-icon
  1171. nzType="loading"
  1172. class="loading-icon"
  1173. ></i>
  1174. 搜索中...
  1175. </nz-option>
  1176. </nz-select>
  1177. </nz-form-control>
  1178. </nz-form-item>
  1179. </form>
  1180. </div>
  1181. </div>
  1182. <!-- 100015 (护士端一键建单展策略)起点科室和终点科室下拉展示 -->
  1183. <div
  1184. class="content"
  1185. *ngIf="buildMsg.status == 100015"
  1186. >
  1187. <div>
  1188. <form
  1189. nz-form
  1190. [formGroup]="shortcutForm"
  1191. class="shortcutForm"
  1192. >
  1193. <nz-form-item>
  1194. <nz-form-label
  1195. [nzSm]="6"
  1196. [nzXs]="24"
  1197. nzRequired
  1198. nzFor="originOffice"
  1199. >起点科室
  1200. </nz-form-label>
  1201. <nz-form-control
  1202. nzErrorTip="请选择起点科室!"
  1203. >
  1204. <nz-select
  1205. class="w100"
  1206. formControlName="originOffice"
  1207. [nzDropdownMatchSelectWidth]="
  1208. false
  1209. "
  1210. nzServerSearch
  1211. nzShowSearch
  1212. (nzOnSearch)="
  1213. searchDept(
  1214. 'start',
  1215. buildMsg,
  1216. $event
  1217. )
  1218. "
  1219. nzPlaceHolder="请选择起点科室"
  1220. >
  1221. <ng-container
  1222. *ngFor="
  1223. let option of buildMsg.start
  1224. .start.list
  1225. "
  1226. >
  1227. <nz-option
  1228. *ngIf="true"
  1229. [nzLabel]="
  1230. deptDisplay == 2
  1231. ? option.deptalias
  1232. : option.dept
  1233. "
  1234. [nzValue]="option.id"
  1235. >
  1236. </nz-option>
  1237. </ng-container>
  1238. <nz-option
  1239. *ngIf="false"
  1240. nzDisabled
  1241. nzCustomContent
  1242. >
  1243. <i
  1244. nz-icon
  1245. nzType="loading"
  1246. class="loading-icon"
  1247. ></i>
  1248. 搜索中...
  1249. </nz-option>
  1250. </nz-select>
  1251. </nz-form-control>
  1252. </nz-form-item>
  1253. <nz-form-item>
  1254. <nz-form-label
  1255. [nzSm]="6"
  1256. [nzXs]="24"
  1257. nzRequired
  1258. nzFor="targetOffice"
  1259. >目标科室
  1260. </nz-form-label>
  1261. <nz-form-control
  1262. nzErrorTip="请选择目标科室!"
  1263. >
  1264. <nz-select
  1265. class="w100"
  1266. formControlName="targetOffice"
  1267. [nzDropdownMatchSelectWidth]="
  1268. false
  1269. "
  1270. nzServerSearch
  1271. nzShowSearch
  1272. (nzOnSearch)="
  1273. searchDept(
  1274. 'target',
  1275. buildMsg,
  1276. $event
  1277. )
  1278. "
  1279. nzPlaceHolder="请选择目标科室"
  1280. >
  1281. <ng-container
  1282. *ngFor="
  1283. let option of buildMsg.end
  1284. .end.list
  1285. "
  1286. >
  1287. <nz-option
  1288. *ngIf="true"
  1289. [nzLabel]="
  1290. deptDisplay == 2
  1291. ? option.deptalias
  1292. : option.dept
  1293. "
  1294. [nzValue]="option.id"
  1295. >
  1296. </nz-option>
  1297. </ng-container>
  1298. <nz-option
  1299. *ngIf="false"
  1300. nzDisabled
  1301. nzCustomContent
  1302. >
  1303. <i
  1304. nz-icon
  1305. nzType="loading"
  1306. class="loading-icon"
  1307. ></i>
  1308. 搜索中...
  1309. </nz-option>
  1310. </nz-select>
  1311. </nz-form-control>
  1312. </nz-form-item>
  1313. </form>
  1314. </div>
  1315. </div>
  1316. <!-- 工号 -->
  1317. <div
  1318. style="width: 100%; margin: 10px auto 0"
  1319. *ngIf="buildMsg.reserveUserSwitch == 1"
  1320. >
  1321. <p><span class="red">*</span>工号:</p>
  1322. <nz-select class="w100" [nzDropdownMatchSelectWidth]="false" nzServerSearch nzShowSearch (nzOnSearch)="searchAccount($event)" nzPlaceHolder="请选择工号" [(ngModel)]="account" (ngModelChange)="changeAccount($event)">
  1323. <ng-container *ngFor="let option of accountList">
  1324. <nz-option *ngIf="!isLoading" [nzLabel]="option.account + '-' + option.name" [nzValue]="option.id">
  1325. </nz-option>
  1326. </ng-container>
  1327. <nz-option *ngIf="isLoading" nzDisabled nzCustomContent>
  1328. <i nz-icon nzType="loading" class="loading-icon"></i>
  1329. 搜索中...
  1330. </nz-option>
  1331. </nz-select>
  1332. </div>
  1333. <!-- 工单备注: -->
  1334. <div
  1335. style="width: 100%; margin: 10px auto 0"
  1336. *ngIf="buildMsg.remarksSwitch == 1"
  1337. >
  1338. <p>工单备注:</p>
  1339. <textarea
  1340. nz-input
  1341. [placeholder]="workOrderRemarkTips"
  1342. [nzAutosize]="{
  1343. minRows: 3,
  1344. maxRows: 5
  1345. }"
  1346. maxlength="100"
  1347. [(ngModel)]="workOrderRemark"
  1348. #remarksEle
  1349. ></textarea>
  1350. <p
  1351. class="mt8 mb8"
  1352. *ngIf="customRemarks.length"
  1353. >
  1354. 快捷输入:
  1355. </p>
  1356. <div *ngIf="customRemarks.length">
  1357. <span
  1358. class="addRemarks"
  1359. *ngFor="let item of customRemarks"
  1360. (click)="addRemarks(item)"
  1361. >【{{ item }}】</span
  1362. >
  1363. </div>
  1364. <p
  1365. class="mt8 mb8"
  1366. *ngIf="historyCustomRemarks.length"
  1367. >
  1368. 历史输入:
  1369. </p>
  1370. <div *ngIf="historyCustomRemarks.length">
  1371. <span
  1372. class="addRemarks"
  1373. *ngFor="
  1374. let item of historyCustomRemarks
  1375. "
  1376. (click)="addRemarks(item)"
  1377. >【{{ item }}】</span
  1378. >
  1379. </div>
  1380. </div>
  1381. </div>
  1382. <div
  1383. *ngIf="selectOtherId"
  1384. class="btns display_flex justify-content_flex-center"
  1385. >
  1386. <button
  1387. *ngIf="
  1388. buildMsg.status != 100009 &&
  1389. buildMsg.status != 100010
  1390. "
  1391. nz-button
  1392. nzType="primary"
  1393. [nzLoading]="loading5"
  1394. (click)="confirmShortcut()"
  1395. >
  1396. 确认
  1397. </button>
  1398. </div>
  1399. </div>
  1400. </overlay-scrollbars>
  1401. </div>
  1402. <div
  1403. class="modalBody_left nLoading"
  1404. *ngIf="nLoading"
  1405. >
  1406. <img
  1407. src="../../../assets/images/loading.gif"
  1408. alt=""
  1409. />
  1410. <div>加载中...</div>
  1411. </div>
  1412. <div
  1413. class="modalBody_left noData"
  1414. *ngIf="!nLoading && !selectOtherId"
  1415. >
  1416. 暂无数据
  1417. </div>
  1418. <div class="modalBody_right">
  1419. <div class="modalBody_right_head">
  1420. <div class="smallTab">
  1421. <div
  1422. class="s_tab"
  1423. *ngFor="let stab of smallTabs"
  1424. (click)="changeSmallTab(stab.id)"
  1425. [ngClass]="{
  1426. active: smallTabId == stab.id
  1427. }"
  1428. >
  1429. {{ stab.name }}
  1430. </div>
  1431. </div>
  1432. <span>{{ logTime }}秒后自动刷新</span>
  1433. </div>
  1434. <overlay-scrollbars
  1435. class="modalBody_right_box"
  1436. #osComponentRef9
  1437. style="height: 100%"
  1438. *ngIf="
  1439. (smallTabId == 1 &&
  1440. !rLoading &&
  1441. listDeptOrderRecords.length) ||
  1442. smallTabId == 2
  1443. "
  1444. >
  1445. <div class="modalBody_right_box">
  1446. <ng-container
  1447. *ngIf="smallTabId == 1; else elseSmall"
  1448. >
  1449. <div
  1450. class="modalBody_right_list"
  1451. *ngFor="let item of listDeptOrderRecords"
  1452. [innerHTML]="item.msg | htmlTransform"
  1453. ></div>
  1454. </ng-container>
  1455. <ng-template #elseSmall>
  1456. <nz-table
  1457. class="bxFlex bxTable"
  1458. [nzData]="quickBxlbList"
  1459. nzSize="small"
  1460. [nzShowPagination]="false"
  1461. [nzLoading]="quickBxlbLoading"
  1462. >
  1463. <tbody>
  1464. <tr
  1465. (click)="
  1466. showBxModal(
  1467. data,
  1468. '您的报修为“' +
  1469. data.content +
  1470. '” 是否确认报修?'
  1471. )
  1472. "
  1473. *ngFor="
  1474. let data of quickBxlbList;
  1475. let i = index
  1476. "
  1477. >
  1478. <td>{{ data.content || "无" }}</td>
  1479. </tr>
  1480. <tr (click)="checkTable('kjbx')">
  1481. <td class="moreBx">
  1482. 更多报修&gt;&gt;
  1483. </td>
  1484. </tr>
  1485. </tbody>
  1486. </nz-table>
  1487. </ng-template>
  1488. </div>
  1489. </overlay-scrollbars>
  1490. <div
  1491. class="modalBody_left nLoading w100"
  1492. *ngIf="smallTabId == 1 && rLoading"
  1493. >
  1494. <img
  1495. src="../../../assets/images/loading.gif"
  1496. alt=""
  1497. />
  1498. <div>加载中...</div>
  1499. </div>
  1500. <div
  1501. class="modalBody_left noData w100"
  1502. *ngIf="
  1503. smallTabId == 1 &&
  1504. !rLoading &&
  1505. !listDeptOrderRecords.length
  1506. "
  1507. >
  1508. 暂无数据
  1509. </div>
  1510. </div>
  1511. </div>
  1512. </div>
  1513. <!-- -----------------end------------------ -->
  1514. </div>
  1515. </div>
  1516. </div>
  1517. </div>
  1518. </div>
  1519. </ng-container>
  1520. <!-- 意见箱 -->
  1521. <div
  1522. *ngIf="checkedTableType == 'advice'"
  1523. style="flex: 1; height: 100%"
  1524. >
  1525. <div
  1526. class="searchBox display_flex align-items_center justify-content_space-between"
  1527. >
  1528. <div
  1529. class="left alignC display_flex justify-content_flex-center align-items_center"
  1530. >
  1531. <div>意见内容:</div>
  1532. <div>
  1533. <input
  1534. nz-input
  1535. placeholder="请输入关键字"
  1536. [(ngModel)]="adviceSearchInp"
  1537. />
  1538. </div>
  1539. </div>
  1540. <div class="btns">
  1541. <button
  1542. nz-button
  1543. nzType="primary"
  1544. nzGhost
  1545. (click)="getAdvice()"
  1546. >
  1547. 搜索
  1548. </button>
  1549. <button nz-button nzType="primary" (click)="addAdvice()">
  1550. 新增
  1551. </button>
  1552. </div>
  1553. </div>
  1554. <div class="table">
  1555. <div class="box">
  1556. <nz-table
  1557. class="hospitalTable"
  1558. [nzData]="adviceList"
  1559. nzSize="middle"
  1560. [nzShowPagination]="false"
  1561. [nzLoading]="adviceLoading"
  1562. >
  1563. <thead>
  1564. <tr class="thead">
  1565. <th nzWidth="7%">序号</th>
  1566. <th nzWidth="15%">填写时间</th>
  1567. <th nzWidth="36%">意见内容</th>
  1568. <th nzWidth="12%">状态</th>
  1569. <th nzWidth="30%">操作</th>
  1570. </tr>
  1571. </thead>
  1572. <tbody>
  1573. <tr *ngFor="let data of adviceList; let i = index">
  1574. <td>{{ i + 1 }}</td>
  1575. <td>{{ data.createTime.slice(0, 16) }}</td>
  1576. <td>
  1577. <span
  1578. style="overflow: hidden; text-overflow: ellipsis"
  1579. >
  1580. {{ spliceContent(data.content) }}
  1581. </span>
  1582. </td>
  1583. <td>
  1584. {{ data.replaceFlag == 1 ? "已回复" : "未回复" }}
  1585. </td>
  1586. <td>
  1587. <div class="coop">
  1588. <span (click)="adviceDetail(data.id)">查看</span>
  1589. <span
  1590. *ngIf="data.replaceFlag == 0"
  1591. (click)="addAdvice(data)"
  1592. >编辑</span
  1593. >
  1594. <span
  1595. *ngIf="data.replaceFlag == 0"
  1596. (click)="delAdvice(data.id)"
  1597. >删除</span
  1598. >
  1599. </div>
  1600. </td>
  1601. </tr>
  1602. </tbody>
  1603. </nz-table>
  1604. <div class="pagination">
  1605. <nz-pagination
  1606. [(nzPageIndex)]="advicePageIndex"
  1607. [(nzTotal)]="adviceListLength"
  1608. nzShowSizeChanger
  1609. [(nzPageSize)]="advicePageSize"
  1610. (nzPageIndexChange)="getAdvice()"
  1611. (nzPageSizeChange)="getAdvice()"
  1612. >
  1613. </nz-pagination>
  1614. </div>
  1615. </div>
  1616. </div>
  1617. </div>
  1618. <!-- 手术排程信息 -->
  1619. <div *ngIf="checkedTableType == 'surgery'" style="flex: 1; height: 100%">
  1620. <div class="searchBox display_flex align-items_center justify-content_space-between">
  1621. <div class="left alignC display_flex justify-content_flex-center align-items_center"></div>
  1622. <div class="btns">
  1623. <button
  1624. nz-button
  1625. nzType="primary"
  1626. nzGhost
  1627. (click)="getSurgery(true)"
  1628. >
  1629. 搜索
  1630. </button>
  1631. </div>
  1632. </div>
  1633. <div class="table">
  1634. <div class="box">
  1635. <nz-table
  1636. class="hospitalTable"
  1637. [nzData]="surgeryList"
  1638. nzSize="middle"
  1639. [nzShowPagination]="false"
  1640. [nzLoading]="surgeryInfoLoading"
  1641. >
  1642. <thead>
  1643. <tr class="thead">
  1644. <th nzWidth="6%">序号</th>
  1645. <th nzWidth="12%">患者姓名<br>住院号</th>
  1646. <th nzWidth="12%">手术时间</th>
  1647. <th nzWidth="20%">申请科室</th>
  1648. <th>手术名称</th>
  1649. <th nzWidth="15%">状态</th>
  1650. <th nzWidth="20%" *ngIf="currentDept.typeValue == 'surgery'">操作</th>
  1651. </tr>
  1652. </thead>
  1653. <tbody>
  1654. <tr *ngFor="let item of surgeryList;let i = index">
  1655. <td>{{ i + 1 }}</td>
  1656. <td>{{ item.patientDTO ? item.patientDTO.patientName : '' }}({{ item.patientDTO ? item.patientDTO.bedNum : '' }})<br>{{ item.patientDTO ? item.patientDTO.residenceNo : '' }}</td>
  1657. <td>{{ item.applyDate | date:'MM-dd HH:mm' }}</td>
  1658. <td>{{ item.areaDeptDTO ? (deptDisplay == 2 ? item.areaDeptDTO.deptalias : item.areaDeptDTO.dept) : '' }}</td>
  1659. <td>{{ item.surgeryName }}</td>
  1660. <td>{{ item.state?.name }}</td>
  1661. <td *ngIf="currentDept.typeValue == 'surgery'">
  1662. <!-- 手术状态是【手术安排】和【接患者中】,并且【是否开启手术即将开始通知】开启 -->
  1663. <button class="btn1 mr8 mb8 mt8" (click)="surgeryBegin($event, item)" *ngIf="item.state && (item.state.value == 3 || item.state.value == 7) && surgeryConfigs.surgeryBegin == 1">即将开始</button>
  1664. <!-- 【是否开启手术即将开始通知】开启 -->
  1665. <button class="btn1 mr8 mb8 mt8" (click)="pickUpPatient($event, item)" *ngIf="item.state && item.state.value == 3">一键接患者</button>
  1666. <!-- 手术状态是【手术中】,并且【是否开通送回病房】开启 -->
  1667. <button class="btn1 mr8 mb8 mt8" (click)="sendWard($event, item)" *ngIf="item.patientDTO && surgeryConfigs && surgeryConfigs.remandClinical == 1 && item.state && item.state.value == 8">送回病房</button>
  1668. <!-- 手术状态是【手术中】,并且【是否开通送回苏醒室】开启 -->
  1669. <button class="btn1 mr8 mb8 mt8" (click)="sendAwakeningRoom($event, item)" *ngIf="item.patientDTO && surgeryConfigs && surgeryConfigs.remandRecovery == 1 && item.state && item.state.value == 8">送回苏醒间</button>
  1670. </td>
  1671. </tr>
  1672. </tbody>
  1673. </nz-table>
  1674. <div class="pagination">
  1675. <nz-pagination
  1676. [(nzPageIndex)]="surgeryPageIndex"
  1677. [(nzTotal)]="surgeryListLength"
  1678. [(nzPageSize)]="surgeryPageSize"
  1679. (nzPageIndexChange)="getSurgery()"
  1680. (nzPageSizeChange)="getSurgery()"
  1681. >
  1682. </nz-pagination>
  1683. </div>
  1684. </div>
  1685. </div>
  1686. </div>
  1687. <!-- 历史标本查询 -->
  1688. <div
  1689. *ngIf="checkedTableType == 'historySpecimen'"
  1690. style="flex: 1; height: 100%"
  1691. >
  1692. <div
  1693. class="searchBox display_flex align-items_center justify-content_space-between"
  1694. >
  1695. <div
  1696. class="left alignC display_flex justify-content_flex-center align-items_center"
  1697. >
  1698. <div>标本编码:</div>
  1699. <div>
  1700. <input
  1701. nz-input
  1702. placeholder="请输入标本编码"
  1703. [(ngModel)]="historySpecimenCodeSearchInp"
  1704. />
  1705. </div>
  1706. <div class="ml8">患者信息:</div>
  1707. <div>
  1708. <input
  1709. nz-input
  1710. placeholder="请输入患者信息"
  1711. [(ngModel)]="historySpecimenParentSearchInp"
  1712. />
  1713. </div>
  1714. </div>
  1715. <div class="btns">
  1716. <button
  1717. nz-button
  1718. nzType="primary"
  1719. nzGhost
  1720. (click)="getHistorySpecimen(true)"
  1721. >
  1722. 搜索
  1723. </button>
  1724. </div>
  1725. </div>
  1726. <div class="table">
  1727. <div class="box">
  1728. <nz-table
  1729. class="hospitalTable"
  1730. [nzData]="historySpecimenList"
  1731. nzSize="middle"
  1732. [nzShowPagination]="false"
  1733. [nzLoading]="hsLoading"
  1734. >
  1735. <thead>
  1736. <tr class="thead">
  1737. <th nzWidth="7%">序号</th>
  1738. <th nzWidth="8%">标本类型</th>
  1739. <th nzWidth="8%">状态</th>
  1740. <th nzWidth="10%">标本编码</th>
  1741. <th nzWidth="8%">患者姓名</th>
  1742. <th nzWidth="8%">床号</th>
  1743. <th nzWidth="12%">收取扫描时间</th>
  1744. <th nzWidth="8%">收取人</th>
  1745. <th nzWidth="10%">送达目标科室</th>
  1746. <th nzWidth="12%">送达到达时间</th>
  1747. <th nzWidth="9%"></th>
  1748. </tr>
  1749. </thead>
  1750. <tbody>
  1751. <tr
  1752. *ngFor="
  1753. let data of historySpecimenList;
  1754. let i = index
  1755. "
  1756. >
  1757. <td>{{ i + 1 }}</td>
  1758. <td>{{ data.stype ? data.stype.name : "-" }}</td>
  1759. <td>
  1760. {{ data.speState ? data.speState.name : "-" }}
  1761. </td>
  1762. <td>{{ data.scode || "-" }}</td>
  1763. <td>{{ data.patientName || "-" }}</td>
  1764. <td>{{ data.bedNum || "-" }}</td>
  1765. <td>{{ data.arriveTime || "-" }}</td>
  1766. <td>{{ data.receiverName || "-" }}</td>
  1767. <td>
  1768. {{
  1769. data.checkDept
  1770. ? deptDisplay == 2
  1771. ? data.checkDept.deptalias
  1772. : data.checkDept.dept
  1773. : "-"
  1774. }}
  1775. </td>
  1776. <td>{{ data.sendTime || "-" }}</td>
  1777. <td>
  1778. <button class="btn1 mr8 mb8 mt8" (click)="viewSpecimenHistory(data)">查看</button>
  1779. </td>
  1780. </tr>
  1781. </tbody>
  1782. </nz-table>
  1783. <div class="pagination">
  1784. <nz-pagination
  1785. [(nzPageIndex)]="historySpecimenPageIndex"
  1786. [(nzTotal)]="historySpecimenListLength"
  1787. [(nzPageSize)]="historySpecimenPageSize"
  1788. (nzPageIndexChange)="getHistorySpecimen()"
  1789. (nzPageSizeChange)="getHistorySpecimen()"
  1790. >
  1791. </nz-pagination>
  1792. </div>
  1793. </div>
  1794. </div>
  1795. </div>
  1796. <!-- 历史药单查询 -->
  1797. <div
  1798. *ngIf="checkedTableType == 'historyDrugsbag'"
  1799. style="flex: 1; height: 100%"
  1800. >
  1801. <div
  1802. class="searchBox display_flex align-items_center justify-content_space-between"
  1803. >
  1804. <div
  1805. class="left alignC display_flex justify-content_flex-center align-items_center"
  1806. >
  1807. <div>发药单号:</div>
  1808. <div>
  1809. <input
  1810. nz-input
  1811. placeholder="请输入发药单号"
  1812. [(ngModel)]="historyDrugsbagCodeSearchInp"
  1813. />
  1814. </div>
  1815. <!-- <div class="ml8">患者信息:</div>
  1816. <div>
  1817. <input nz-input placeholder="请输入患者信息" [(ngModel)]="historySpecimenParentSearchInp" />
  1818. </div> -->
  1819. </div>
  1820. <div class="btns">
  1821. <button
  1822. nz-button
  1823. nzType="primary"
  1824. nzGhost
  1825. (click)="getHistoryDrugsbag(true)"
  1826. >
  1827. 搜索
  1828. </button>
  1829. </div>
  1830. </div>
  1831. <div class="table">
  1832. <div class="box">
  1833. <nz-table
  1834. class="hospitalTable"
  1835. [nzData]="historyDrugsbagList"
  1836. nzSize="middle"
  1837. [nzShowPagination]="false"
  1838. [nzLoading]="hsDLoading"
  1839. >
  1840. <thead>
  1841. <tr class="thead">
  1842. <th nzWidth="7%">序号</th>
  1843. <th nzWidth="15%">药单单号</th>
  1844. <th nzWidth="18%">发药科室</th>
  1845. <th nzWidth="15%">申请时间</th>
  1846. <th nzWidth="15%">记账时间</th>
  1847. <th nzWidth="15%">状态</th>
  1848. <th nzWidth="15%">查看过程</th>
  1849. </tr>
  1850. </thead>
  1851. <tbody>
  1852. <tr
  1853. *ngFor="
  1854. let data of historyDrugsbagList;
  1855. let i = index
  1856. "
  1857. >
  1858. <td>{{ i + 1 }}</td>
  1859. <td>{{ data.packid || "-" }}</td>
  1860. <td>
  1861. {{
  1862. data.launch
  1863. ? deptDisplay == 2
  1864. ? data.launch.deptalias
  1865. : data.launch.dept
  1866. : "-"
  1867. }}
  1868. </td>
  1869. <td>{{ data.creatTime || "-" }}</td>
  1870. <td>{{ data.bagTime || "-" }}</td>
  1871. <td>
  1872. {{ data.drugsState ? data.drugsState.name : "-" }}
  1873. </td>
  1874. <td>
  1875. <button class="btn1 mr8 mb8 mt8" (click)="viewDrugsbagHistory(data)">查看过程</button>
  1876. </td>
  1877. </tr>
  1878. </tbody>
  1879. </nz-table>
  1880. <div class="pagination">
  1881. <nz-pagination
  1882. [(nzPageIndex)]="historyDrugsbagPageIndex"
  1883. [(nzTotal)]="historyDrugsbagListLength"
  1884. [(nzPageSize)]="historyDrugsbagPageSize"
  1885. (nzPageIndexChange)="getHistoryDrugsbag()"
  1886. (nzPageSizeChange)="getHistoryDrugsbag()"
  1887. >
  1888. </nz-pagination>
  1889. </div>
  1890. </div>
  1891. </div>
  1892. </div>
  1893. <!-- 快捷报修 -->
  1894. <div
  1895. *ngIf="checkedTableType == 'kjbx' && isShowBx && coopBtns.quickReportForRepair"
  1896. style="flex: 1; height: 100%; display: flex"
  1897. >
  1898. <div class="otherBox">
  1899. <div class="otherBoxInner">
  1900. <!-- 故障现象查询 -->
  1901. <div class="otherBox-nav" style="width: 30%">
  1902. <div class="otherBox-nav__head">
  1903. <input
  1904. nz-input
  1905. placeholder="请输入关键字"
  1906. [(ngModel)]="incidentSearch"
  1907. (ngModelChange)="incidentSearchChange()"
  1908. />
  1909. </div>
  1910. <overlay-scrollbars
  1911. #osComponentRef10
  1912. class="otherBox-nav__main"
  1913. [ngStyle]="{ height: '100%' }"
  1914. >
  1915. <div
  1916. class="otherBox-nav__mainInner"
  1917. *ngIf="!iLoading && incidentList.length > 0"
  1918. >
  1919. <div class="w100">
  1920. <div
  1921. class="otherBox-nav__mainItem"
  1922. *ngFor="let item of incidentList"
  1923. (click)="incidentClick(item)"
  1924. [ngClass]="{
  1925. active: selectIncidentId == item.id
  1926. }"
  1927. [title]="item.mutiCategory"
  1928. >
  1929. {{ item.mutiCategory }}
  1930. </div>
  1931. </div>
  1932. </div>
  1933. <div
  1934. class="otherBox-nav__mainInner noData"
  1935. *ngIf="!iLoading && incidentList.length == 0"
  1936. >
  1937. 暂无数据
  1938. </div>
  1939. <div
  1940. class="otherBox-nav__mainInner oLoading"
  1941. *ngIf="iLoading"
  1942. >
  1943. <img
  1944. src="../../../assets/images/loading.gif"
  1945. alt=""
  1946. />
  1947. <div>加载中...</div>
  1948. </div>
  1949. </overlay-scrollbars>
  1950. </div>
  1951. <form
  1952. nz-form
  1953. [formGroup]="bxForm"
  1954. (ngSubmit)="submitBxForm()"
  1955. class="bxForm bxFlex"
  1956. >
  1957. <!-- <nz-form-item>
  1958. <nz-form-label [nzSpan]="8" nzRequired nzFor="name"
  1959. >联系人</nz-form-label
  1960. >
  1961. <nz-form-control [nzSpan]="12" nzErrorTip="请填写联系人">
  1962. <input
  1963. type="text"
  1964. nz-input
  1965. formControlName="name"
  1966. placeholder="请填写联系人"
  1967. />
  1968. </nz-form-control>
  1969. </nz-form-item>
  1970. <nz-form-item>
  1971. <nz-form-label [nzSpan]="8" nzRequired nzFor="phone"
  1972. >联系人电话</nz-form-label
  1973. >
  1974. <nz-form-control
  1975. [nzSpan]="12"
  1976. nzErrorTip="请填写联系人电话"
  1977. >
  1978. <input
  1979. type="text"
  1980. nz-input
  1981. formControlName="phone"
  1982. placeholder="请填写联系人电话"
  1983. />
  1984. </nz-form-control>
  1985. </nz-form-item>
  1986. <nz-form-item>
  1987. <nz-form-label [nzSpan]="8" nzFor="hospital" nzRequired
  1988. >所属院区</nz-form-label
  1989. >
  1990. <nz-form-control [nzSpan]="12" nzErrorTip="请选择所属院区!">
  1991. <nz-select
  1992. formControlName="hospital"
  1993. nzPlaceHolder="请选择所属院区"
  1994. (ngModelChange)="getPlace($event)"
  1995. >
  1996. <nz-option
  1997. [nzValue]="area.id"
  1998. [nzLabel]="area.area"
  1999. *ngFor="let area of areas"
  2000. ></nz-option>
  2001. </nz-select>
  2002. </nz-form-control>
  2003. </nz-form-item>
  2004. <nz-form-item>
  2005. <nz-form-label [nzSpan]="8" nzFor="building" nzRequired
  2006. >楼栋</nz-form-label
  2007. >
  2008. <nz-form-control [nzSpan]="12" nzErrorTip="请选择楼栋!">
  2009. <nz-select
  2010. formControlName="building"
  2011. nzPlaceHolder="请选择楼栋"
  2012. >
  2013. <nz-option
  2014. [nzValue]="place.id"
  2015. [nzLabel]="place.place"
  2016. *ngFor="let place of places"
  2017. >
  2018. </nz-option>
  2019. </nz-select>
  2020. </nz-form-control>
  2021. </nz-form-item>
  2022. <nz-form-item>
  2023. <nz-form-label [nzSpan]="8" nzRequired
  2024. >详细地址</nz-form-label
  2025. >
  2026. <nz-form-control [nzSpan]="12" nzErrorTip="请填写详细地址">
  2027. <textarea
  2028. formControlName="address"
  2029. nz-input
  2030. rows="2"
  2031. placeholder="请填写详细地址"
  2032. ></textarea>
  2033. </nz-form-control>
  2034. </nz-form-item> -->
  2035. <nz-form-item>
  2036. <nz-form-label [nzSpan]="8" nzRequired
  2037. >报修内容</nz-form-label
  2038. >
  2039. <nz-form-control
  2040. [nzSpan]="12"
  2041. nzErrorTip="请填写报修内容"
  2042. >
  2043. <textarea
  2044. formControlName="content"
  2045. nz-input
  2046. rows="2"
  2047. placeholder="请填写报修内容"
  2048. ></textarea>
  2049. </nz-form-control>
  2050. </nz-form-item>
  2051. <nz-form-item>
  2052. <nz-form-label
  2053. [nzSpan]="8"
  2054. style="visibility: hidden"
  2055. ></nz-form-label>
  2056. <nz-form-control [nzSpan]="12">
  2057. <button
  2058. nz-button
  2059. nzType="primary"
  2060. [nzLoading]="bxLoading"
  2061. >
  2062. 提交
  2063. </button>
  2064. </nz-form-control>
  2065. </nz-form-item>
  2066. </form>
  2067. </div>
  2068. </div>
  2069. <!-- <nz-table class="bxFlex bxTable" [nzData]="quickBxlbList" nzSize="small" [nzShowPagination]="false"
  2070. [nzLoading]="quickBxlbLoading">
  2071. <tbody>
  2072. <tr (click)="showBxModal(data,'您的报修为“'+data.content+'” 是否确认报修?')" *ngFor="
  2073. let data of quickBxlbList;
  2074. let i = index
  2075. ">
  2076. <td>{{ data.content||'无' }}</td>
  2077. </tr>
  2078. </tbody>
  2079. </nz-table> -->
  2080. </div>
  2081. <!-- 报修列表 -->
  2082. <div
  2083. *ngIf="checkedTableType == 'bxlb' && isShowBx && coopBtns.repairList"
  2084. style="flex: 1; height: 100%"
  2085. >
  2086. <div
  2087. class="searchBox display_flex align-items_center justify-content_space-between"
  2088. >
  2089. <div
  2090. class="left alignC display_flex justify-content_flex-center align-items_center"
  2091. >
  2092. <div>状态:</div>
  2093. <div>
  2094. <nz-select
  2095. style="width: 160px;"
  2096. class="formItem"
  2097. [nzDropdownMatchSelectWidth]="false"
  2098. [nzShowSearch]="false"
  2099. nzAllowClear
  2100. nzPlaceHolder="请选择状态"
  2101. [(ngModel)]="incidentStateId"
  2102. >
  2103. <nz-option
  2104. [nzLabel]="data.name"
  2105. [nzValue]="data.id"
  2106. *ngFor="let data of incidentStateList"
  2107. ></nz-option>
  2108. </nz-select>
  2109. </div>
  2110. </div>
  2111. <div class="btns">
  2112. <button
  2113. nz-button
  2114. nzType="primary"
  2115. nzGhost
  2116. (click)="getBxlb(true)"
  2117. >
  2118. 搜索
  2119. </button>
  2120. </div>
  2121. </div>
  2122. <div class="table">
  2123. <div class="box">
  2124. <nz-table
  2125. class="hospitalTable"
  2126. [nzData]="bxlbList"
  2127. nzSize="middle"
  2128. [nzShowPagination]="false"
  2129. [nzLoading]="bxlbLoading"
  2130. >
  2131. <thead>
  2132. <tr class="thead">
  2133. <th nzWidth="7%">序号</th>
  2134. <th nzWidth="16%">报修内容</th>
  2135. <th nzWidth="16%">报修时间</th>
  2136. <th nzWidth="16%">报修科室</th>
  2137. <th nzWidth="10%">状态</th>
  2138. <th nzWidth="20%">维修人</th>
  2139. <th nzWidth="15%"></th>
  2140. </tr>
  2141. </thead>
  2142. <tbody>
  2143. <tr *ngFor="let data of bxlbList; let i = index">
  2144. <td>{{ i + 1 }}</td>
  2145. <td>{{ data.description || "无" }}</td>
  2146. <td>
  2147. {{ data.createTime | date: "MM-dd HH:mm" }}
  2148. </td>
  2149. <td>
  2150. {{ data.departmentDTO ? data.departmentDTO.dept : "无" }}
  2151. </td>
  2152. <td>{{ data.state?data.state.name:'无' }}</td>
  2153. <td>
  2154. {{
  2155. data.incident
  2156. ? data.incident.handlingPersonnelUser
  2157. ? data.incident.handlingPersonnelUser.name + (data.incident.handlingPersonnelUser.phone?'('+ data.incident.handlingPersonnelUser.phone +')':'')
  2158. : "无"
  2159. : "无"
  2160. }}
  2161. </td>
  2162. <td>
  2163. <!-- <button (click)="viewBx(data)">查看</button> -->
  2164. <button class="btn1 mr8 mb8 mt8" (click)="detailBx(data)">查看</button>
  2165. <button class="btn1 mr8 mb8 mt8" (click)="showAppraiseBx(data.id)" *ngIf="data.state.name == '待评价'">评价</button>
  2166. </td>
  2167. </tr>
  2168. </tbody>
  2169. </nz-table>
  2170. <div class="pagination">
  2171. <nz-pagination
  2172. [(nzPageIndex)]="bxlbPageIndex"
  2173. [(nzTotal)]="bxlbListLength"
  2174. [(nzPageSize)]="bxlbPageSize"
  2175. (nzPageIndexChange)="getBxlb(bxlbPageIndex)"
  2176. (nzPageSizeChange)="getBxlb(bxlbPageIndex)"
  2177. >
  2178. </nz-pagination>
  2179. </div>
  2180. </div>
  2181. </div>
  2182. </div>
  2183. </div>
  2184. <div nz-col nzSpan="7" class="orders">
  2185. <div
  2186. class="orderTit display_flex justify-content_space-between align-items_center"
  2187. >
  2188. <span>工单列表<b style="font-size: 12px">({{ orderListTime }}秒)</b></span>
  2189. <div>
  2190. <nz-select
  2191. style="width: 100px"
  2192. [(ngModel)]="orderStateSelected"
  2193. (ngModelChange)="changeOrderState($event)"
  2194. nzPlaceHolder="请选择工单状态"
  2195. >
  2196. <nz-option nzValue="-1" nzLabel="全部"></nz-option>
  2197. <nz-option nzValue="1" nzLabel="执行中"></nz-option>
  2198. <nz-option nzValue="2" nzLabel="待评价"></nz-option>
  2199. </nz-select>
  2200. <nz-select
  2201. class="ml8"
  2202. style="width: 100px"
  2203. [(ngModel)]="orderSelected"
  2204. (ngModelChange)="changeOrderSel(orderSelected)"
  2205. nzPlaceHolder="请选择任务类型"
  2206. >
  2207. <nz-option nzValue="-1" nzLabel="全部"></nz-option>
  2208. <nz-option
  2209. *ngFor="let item of orderSelectList"
  2210. [nzValue]="item.id"
  2211. [nzLabel]="item.name"
  2212. >
  2213. </nz-option>
  2214. </nz-select>
  2215. </div>
  2216. </div>
  2217. <div
  2218. class="loading display_flex align-items_center justify-content_flex-center"
  2219. *ngIf="OLoading"
  2220. >
  2221. <div>
  2222. <img src="../../assets/images/loading.gif" alt="" />
  2223. <div>加载中...</div>
  2224. </div>
  2225. </div>
  2226. <div
  2227. class="loading none display_flex align-items_center justify-content_flex-center"
  2228. *ngIf="orderLength == 0 && !OLoading"
  2229. >
  2230. <div>
  2231. <div>暂无数据</div>
  2232. </div>
  2233. </div>
  2234. <div class="orderList" *ngIf="orderLength != 0 && !OLoading">
  2235. <overlay-scrollbars #osComponentRef1 class="box">
  2236. <div class="orderLisBox">
  2237. <div class="orderLis">
  2238. <div
  2239. class="loading display_flex align-items_center justify-content_flex-center"
  2240. *ngIf="OLoading"
  2241. >
  2242. <div>
  2243. <img src="../../assets/images/loading.gif" alt="" />
  2244. <div>加载中...</div>
  2245. </div>
  2246. </div>
  2247. <div
  2248. class="orderItem borderB"
  2249. *ngFor="let item of orderList"
  2250. >
  2251. <div class="info">
  2252. <div class="row" nz-row>
  2253. <div nz-col nzSpan="12" class="col txtL">
  2254. {{
  2255. item.isHalfInspect === 1
  2256. ? "半程陪检"
  2257. : item.taskType.taskName
  2258. }}
  2259. <ng-container
  2260. *ngIf="
  2261. item.taskType.associationType.value ==
  2262. 'drugsBag' && item.drugs
  2263. "
  2264. >
  2265. ({{ item.drugs.packid }})
  2266. </ng-container>
  2267. <ng-container *ngIf="item.goodsRemark"
  2268. >-{{ item.goodsRemark }}</ng-container
  2269. >
  2270. <span
  2271. *ngIf="
  2272. item.patient &&
  2273. (item.taskType.associationType.value ==
  2274. 'patientTransport' ||
  2275. item.taskType.associationType.value ==
  2276. 'inspect')
  2277. "
  2278. >
  2279. ({{ item.patient.patientName }})
  2280. </span>
  2281. </div>
  2282. <div nz-col nzSpan="12" class="col txtR">
  2283. {{ item.gdState.name }}
  2284. </div>
  2285. </div>
  2286. <div class="row" nz-row>
  2287. <div nz-col nzSpan="24" class="col txtL">
  2288. {{item.workOrderRemark}}
  2289. </div>
  2290. </div>
  2291. <div class="row" nz-row>
  2292. <!-- <div nz-col nzSpan="12" class="col txtL"></div> -->
  2293. <div nz-col nzSpan="12" class="col txtL">
  2294. <ng-container
  2295. *ngIf="
  2296. item.taskType.associationType.value ==
  2297. 'drugsBag' && item.startDept
  2298. "
  2299. >
  2300. {{
  2301. deptDisplay == 2
  2302. ? item.startDept.deptalias
  2303. : item.startDept.dept
  2304. }}
  2305. </ng-container>
  2306. </div>
  2307. <div
  2308. *ngIf="item.showCreateTime"
  2309. nz-col
  2310. nzSpan="12"
  2311. class="col txtR"
  2312. >
  2313. {{ item.showCreateTime }}
  2314. </div>
  2315. <div
  2316. *ngIf="item.yyjdTime && item.gdState.value == 11"
  2317. nz-col
  2318. nzSpan="12"
  2319. class="col txtR"
  2320. >
  2321. {{ item.yyjdTime | date: "MM-dd HH:mm" }}
  2322. </div>
  2323. </div>
  2324. <div class="row" nz-row>
  2325. <div nz-col nzSpan="12" class="col txtL">
  2326. <span *ngIf="item.worker"
  2327. >{{ item.worker.name }}
  2328. {{
  2329. item.worker.phone
  2330. ? "(" + item.worker.phone + ")"
  2331. : ""
  2332. }}</span
  2333. >
  2334. </div>
  2335. <div
  2336. nz-col
  2337. nzSpan="12"
  2338. class="col txtR toDetail"
  2339. (click)="openDetails(item)"
  2340. >
  2341. <span>查看详情>></span>
  2342. </div>
  2343. </div>
  2344. </div>
  2345. <div class="process">
  2346. <div class="box display_flex">
  2347. <div class="steps" *ngFor="let step of item.record">
  2348. <div class="step">
  2349. <div class="txt">
  2350. <i
  2351. [ngClass]="{
  2352. icon_transport: true,
  2353. 'transport-icon_liucheng': true,
  2354. green:
  2355. step.record &&
  2356. step.record[0] &&
  2357. step.record[0].operationTime
  2358. }"
  2359. ></i>
  2360. <p>{{ step.operationName }}</p>
  2361. <p
  2362. class="time"
  2363. *ngIf="
  2364. step.record &&
  2365. step.record[0] &&
  2366. step.record[0].operationTime
  2367. "
  2368. >
  2369. {{
  2370. step.record[0].operationTime
  2371. | date: "MM-dd HH:mm"
  2372. }}
  2373. </p>
  2374. </div>
  2375. <div class="line"></div>
  2376. </div>
  2377. </div>
  2378. </div>
  2379. </div>
  2380. <div class="btns display_flex">
  2381. <div
  2382. class="btn flex_1 appraise"
  2383. *ngIf="item.gdState.id == 73"
  2384. (click)="showAppraise(item.id)"
  2385. >
  2386. 评价
  2387. </div>
  2388. <div
  2389. *ngIf="isAssign && item.gdState.value == 2"
  2390. class="btn flex_1 revocation borderR primary"
  2391. (click)="allotWorker(item.id, item.gdState.id)"
  2392. >
  2393. 指派
  2394. </div>
  2395. <div
  2396. *ngIf="isAssign && item.gdState.value == 4"
  2397. class="btn flex_1 revocation borderR primary"
  2398. (click)="allotWorker(item.id, item.gdState.id, 1)"
  2399. >
  2400. 指派
  2401. </div>
  2402. <div
  2403. *ngIf="
  2404. item.gdState.id == 69 ||
  2405. item.gdState.id == 70 ||
  2406. item.gdState.id == 71 ||
  2407. item.gdState.id == 433
  2408. "
  2409. class="btn flex_1 revocation borderR"
  2410. (click)="openRecallModal(item.id)"
  2411. >
  2412. 撤销
  2413. </div>
  2414. <div
  2415. *ngIf="item.gdState.id == 433"
  2416. class="btn flex_1 revocation borderR"
  2417. (click)="openExecModal(item)"
  2418. >
  2419. 立即执行
  2420. </div>
  2421. <div
  2422. *ngIf="
  2423. (item.gdState.id == 69 ||
  2424. item.gdState.id == 71) &&
  2425. item.taskType.allowUrgent == 1 &&
  2426. !item.urgentDetails
  2427. "
  2428. class="btn flex_1 urgent"
  2429. (click)="showJiaji(item.id)"
  2430. >
  2431. 加急
  2432. </div>
  2433. </div>
  2434. <img
  2435. src="../../assets/images/icon_ji.png"
  2436. class="icon_ji"
  2437. *ngIf="
  2438. item.emergencyType && item.emergencyType.id == 300
  2439. "
  2440. />
  2441. <img
  2442. src="../../assets/images/icon_jiaji.png"
  2443. class="icon_ji"
  2444. *ngIf="
  2445. item.emergencyType && item.emergencyType.id == 301
  2446. "
  2447. />
  2448. </div>
  2449. </div>
  2450. </div>
  2451. </overlay-scrollbars>
  2452. <!-- 翻页 -->
  2453. <div class="pageing">
  2454. <div>
  2455. <nz-pagination
  2456. [(nzPageIndex)]="orderIdx"
  2457. [(nzTotal)]="orderLength"
  2458. (nzPageIndexChange)="getOrderList()"
  2459. [nzPageSize]="10"
  2460. nzSimple
  2461. >
  2462. </nz-pagination>
  2463. </div>
  2464. </div>
  2465. </div>
  2466. </div>
  2467. </div>
  2468. </div>
  2469. </nz-content>
  2470. </nz-layout>
  2471. </nz-layout>
  2472. </div>
  2473. <!-- 返回系统按钮 -->
  2474. <!-- 右侧悬浮框 -->
  2475. <!-- <div id="fixedMenu" class="fixed" *ngIf="mainRole">
  2476. <div class="right">
  2477. <div class="fixedMenu hujiaozhongxin">
  2478. <div class="menuItems">
  2479. <div class="item">快捷菜单</div>
  2480. </div>
  2481. </div>
  2482. <div class="fixedMenu">
  2483. <div class="menuItems">
  2484. <div class="others" [ngStyle]="{'height':showLastItems?(mainRole?(35*2)+'px':(35*1)+'px'):0}">
  2485. <div [ngClass]="{'item':true,'checked':fixedTab=='back'}" *ngIf="mainRole"
  2486. (click)="checkFixedTab('toSystem')">
  2487. 返回系统
  2488. </div>
  2489. </div>
  2490. </div>
  2491. <div class="arrow" *ngIf="!showLastItems" (click)="fixedMenuXiala()">
  2492. <i class="icon_transport transport-xiala2-01"></i>
  2493. </div>
  2494. <div class="arrow" *ngIf="showLastItems" (click)="fixedMenuShangla()">
  2495. <i class="icon_transport transport-shangla-"></i>
  2496. </div>
  2497. </div>
  2498. </div>
  2499. <div *ngIf="showLastItems&&fixedTab!=''" (click)="fixedMenuShangla()" class="fixedMark">
  2500. </div>
  2501. </div> -->
  2502. <!-- 患者信息一键建单模态框 -->
  2503. <div
  2504. class="save display_flex align-items_center justify-content_flex-center patient"
  2505. *ngIf="patientModal"
  2506. >
  2507. <div class="modalBody" style="width: 500px">
  2508. <div class="title">
  2509. 患者送检<i
  2510. class="icon_transport transport-guanbi"
  2511. (click)="hidePatientOrder()"
  2512. ></i>
  2513. </div>
  2514. <overlay-scrollbars
  2515. #osComponentRef7
  2516. class="content"
  2517. style="max-height: 80vh"
  2518. >
  2519. <div class="jiTit borderB" *ngIf="checkedShowMsg.msg">
  2520. 提示:您即将创建<b style="color: red">{{ patientMsg.patientName }}</b
  2521. >患者检查,{{ checkedShowMsg.msg }}
  2522. </div>
  2523. <div class="jiTit borderB" *ngIf="!checkedShowMsg.msg">
  2524. 提示:您即将创建<b style="color: red">{{ patientMsg.patientName }}</b
  2525. >患者检查
  2526. </div>
  2527. <div class="jiTit borderB jiTitB">
  2528. 如患者无预约检查无法进行“当天预约检查时”,可使用“特殊情况送检”进行建单。
  2529. </div>
  2530. <div>
  2531. <form nz-form [formGroup]="patientForm" class="patientForm">
  2532. <nz-form-item class="datesControl">
  2533. <nz-form-label [nzSm]="6" [nzXs]="24" nzRequired nzFor="checkedType"
  2534. >任务类型</nz-form-label
  2535. >
  2536. <nz-form-control nzErrorTip="请选择任务类型!" class="checkedType">
  2537. <nz-radio-group
  2538. class="radioGroup"
  2539. formControlName="checkedType"
  2540. (ngModelChange)="changeCheckedType()"
  2541. >
  2542. <label
  2543. *ngFor="let item of checkTypeLis"
  2544. nz-radio
  2545. [nzValue]="item.id"
  2546. >{{ item.taskName }}</label
  2547. >
  2548. </nz-radio-group>
  2549. </nz-form-control>
  2550. </nz-form-item>
  2551. <ng-container *ngIf="cLoading">
  2552. <div style="text-align: center">
  2553. <img src="../../../assets/images/loading.gif" alt="" />
  2554. <div>加载中...</div>
  2555. </div>
  2556. </ng-container>
  2557. <ng-container *ngIf="!cLoading">
  2558. <!-- 检查 -->
  2559. <nz-form-item *ngIf="checkedShowMsg.status == 200">
  2560. <nz-form-label [nzSm]="24" [nzXs]="24" nzFor="linkCheck"
  2561. >关联的检查</nz-form-label
  2562. >
  2563. <nz-form-control class="datesGroup" *ngIf="linkCheckLis.length">
  2564. <nz-checkbox-wrapper
  2565. class="linkCheckCheck"
  2566. ngDefaultControl
  2567. formControlName="linkCheck"
  2568. (nzOnChange)="linkCheckLisChange($event)"
  2569. >
  2570. <div nz-row *ngFor="let item of linkCheckLis">
  2571. <div nz-col nzSpan="24">
  2572. <label nz-checkbox [nzValue]="item">{{
  2573. item.label
  2574. }}</label>
  2575. <i
  2576. class="icon_transport transport-zu1468 priority"
  2577. *ngIf="item.priority === 1 || item.priority === '1'"
  2578. ></i>
  2579. </div>
  2580. </div>
  2581. </nz-checkbox-wrapper>
  2582. <div
  2583. class="red"
  2584. style="line-height: normal; font-weight: bold"
  2585. *ngIf="currentTasktype.isMoreDept === 0 && isInspects"
  2586. >
  2587. 您选择的检查包含了多个科室,请您只包含一个科室。
  2588. </div>
  2589. </nz-form-control>
  2590. <div *ngIf="!linkCheckLis.length">暂无关联的检查</div>
  2591. </nz-form-item>
  2592. <div
  2593. class="pos"
  2594. *ngIf="
  2595. (currentTasktype.associationType.value === 'patientTransport' &&
  2596. appointmentZyBuildFlag == 1) ||
  2597. (currentTasktype.associationType.value === 'inspect' &&
  2598. appointmentBuildFlag == 1)
  2599. "
  2600. >
  2601. <!-- 需要预约检查 -->
  2602. <nz-form-item class="pos-item">
  2603. <nz-form-control>
  2604. <label
  2605. nz-checkbox
  2606. [nzDisabled]="
  2607. (!linkCheckLisTrue &&
  2608. currentTasktype.associationType.value === 'inspect') ||
  2609. (linkCheckLisTrue &&
  2610. allowUrgent == 1 &&
  2611. currentTasktype.associationType.value === 'inspect') ||
  2612. (allowUrgent == 1 &&
  2613. currentTasktype.associationType.value ===
  2614. 'patientTransport')
  2615. "
  2616. [(ngModel)]="isYyInspect"
  2617. (ngModelChange)="yyInspectChange($event)"
  2618. [ngModelOptions]="{ standalone: true }"
  2619. style="font-weight: bold"
  2620. >需要预约检查</label
  2621. >
  2622. </nz-form-control>
  2623. </nz-form-item>
  2624. <!-- 预约建单时间-患者其他服务 -->
  2625. <nz-form-item
  2626. class="yyTime"
  2627. [ngClass]="{
  2628. yyTimeError: (!yyTimeZy || !yyDateZy) && clickYYZyFlag
  2629. }"
  2630. *ngIf="
  2631. currentTasktype.associationType.value === 'patientTransport'
  2632. "
  2633. >
  2634. <nz-form-label [nzSm]="24" [nzXs]="24"
  2635. >预约建单时间</nz-form-label
  2636. >
  2637. <nz-form-control [nzSm]="24" [nzXs]="24">
  2638. <nz-date-picker
  2639. [nzDisabled]="!isYyInspect"
  2640. [(ngModel)]="yyDateZy"
  2641. (ngModelChange)="yyDateChange($event)"
  2642. [ngModelOptions]="{ standalone: true }"
  2643. [nzAllowClear]="false"
  2644. [nzDisabledDate]="disabledyyDateZy"
  2645. [nzShowToday]="false"
  2646. ></nz-date-picker>
  2647. <nz-time-picker
  2648. [nzDisabled]="!isYyInspect || !yyDateZy"
  2649. class="ml8"
  2650. nzFormat="HH:mm"
  2651. [nzMinuteStep]="inspectAndPatientTransportConfig.timeMod"
  2652. [nzSecondStep]="60"
  2653. [(ngModel)]="yyTimeZy"
  2654. (ngModelChange)="yyTimeZyChange($event)"
  2655. [ngModelOptions]="{ standalone: true }"
  2656. [nzDisabledHours]="disabledHours"
  2657. [nzDisabledMinutes]="disabledMinutes"
  2658. [nzAllowEmpty]="false"
  2659. >
  2660. </nz-time-picker>
  2661. <button
  2662. [disabled]="!isYyInspect || (isYyInspect && !yyDateZy)"
  2663. nz-button
  2664. nzType="primary"
  2665. class="ml8"
  2666. (click)="nextDayZy()"
  2667. >
  2668. 下一日
  2669. </button>
  2670. </nz-form-control>
  2671. <div
  2672. class="red w100"
  2673. *ngIf="(!yyTimeZy || !yyDateZy) && clickYYZyFlag"
  2674. >
  2675. 请填写预约建单时间!
  2676. </div>
  2677. <div class="red">
  2678. 请您填写实际预约检查时间,系统会根据时间安排人员进行陪检!
  2679. </div>
  2680. </nz-form-item>
  2681. <!-- 预约建单时间 -->
  2682. <nz-form-item
  2683. class="yyTime"
  2684. [ngClass]="{ yyTimeError: (!yyTime || !yyDate) && clickYYFlag }"
  2685. *ngIf="currentTasktype.associationType.value === 'inspect'"
  2686. >
  2687. <nz-form-label [nzSm]="24" [nzXs]="24"
  2688. >预约建单时间</nz-form-label
  2689. >
  2690. <nz-form-control [nzSm]="24" [nzXs]="24">
  2691. <nz-date-picker
  2692. [nzDisabled]="!isYyInspect"
  2693. [(ngModel)]="yyDate"
  2694. (ngModelChange)="yyDateChange($event)"
  2695. [ngModelOptions]="{ standalone: true }"
  2696. [nzAllowClear]="false"
  2697. [nzDisabledDate]="disabledyyDate"
  2698. [nzShowToday]="false"
  2699. >
  2700. </nz-date-picker>
  2701. <nz-time-picker
  2702. [nzDisabled]="!isYyInspect || !yyDate"
  2703. class="ml8"
  2704. nzFormat="HH:mm"
  2705. [nzMinuteStep]="inspectAndPatientTransportConfig.timeMod"
  2706. [nzSecondStep]="60"
  2707. [(ngModel)]="yyTime"
  2708. (ngModelChange)="yyTimeChange($event)"
  2709. [ngModelOptions]="{ standalone: true }"
  2710. [nzDisabledHours]="disabledHours"
  2711. [nzDisabledMinutes]="disabledMinutes"
  2712. [nzAllowEmpty]="false"
  2713. >
  2714. </nz-time-picker>
  2715. <button
  2716. [disabled]="!isYyInspect || (isYyInspect && !yyDate)"
  2717. nz-button
  2718. nzType="primary"
  2719. class="ml8"
  2720. (click)="nextDay()"
  2721. >
  2722. 下一日
  2723. </button>
  2724. </nz-form-control>
  2725. <div
  2726. class="red w100"
  2727. *ngIf="(!yyTime || !yyDate) && clickYYFlag"
  2728. >
  2729. 请填写预约建单时间!
  2730. </div>
  2731. <div class="red">
  2732. 请您填写实际预约检查时间,系统会根据时间安排人员进行陪检!
  2733. </div>
  2734. </nz-form-item>
  2735. </div>
  2736. <!-- 100009 科室任务类型状态码未配置 -->
  2737. <nz-form-item
  2738. *ngIf="
  2739. checkedShowMsg.status != 200 && checkedShowMsg.status == 100009
  2740. "
  2741. >
  2742. <div class="txtC">{{ checkedShowMsg.msg }}</div>
  2743. </nz-form-item>
  2744. <!-- 100015 (护士端一键建单展策略)起点科室和终点科室下拉展示 -->
  2745. <nz-form-item
  2746. *ngIf="
  2747. checkedShowMsg.status != 200 &&
  2748. (checkedShowMsg.status == 100015 ||
  2749. checkedShowMsg.status == 100013)
  2750. "
  2751. >
  2752. <nz-form-label
  2753. [nzSm]="6"
  2754. [nzXs]="24"
  2755. nzRequired
  2756. nzFor="originOffice"
  2757. >起点科室</nz-form-label
  2758. >
  2759. <nz-form-control nzErrorTip="请选择起点科室!">
  2760. <nz-select
  2761. class="w100"
  2762. formControlName="originOffice"
  2763. [nzDropdownMatchSelectWidth]="false"
  2764. nzServerSearch
  2765. nzShowSearch
  2766. (nzOnSearch)="searchDept('start', checkedShowMsg, $event)"
  2767. nzPlaceHolder="请选择起点科室"
  2768. >
  2769. <ng-container
  2770. *ngFor="let option of checkedShowMsg.start.start.list"
  2771. >
  2772. <nz-option
  2773. *ngIf="true"
  2774. [nzLabel]="
  2775. deptDisplay == 2 ? option.deptalias : option.dept
  2776. "
  2777. [nzValue]="option.id"
  2778. ></nz-option>
  2779. </ng-container>
  2780. <nz-option *ngIf="false" nzDisabled nzCustomContent>
  2781. <i nz-icon nzType="loading" class="loading-icon"></i>
  2782. 搜索中...
  2783. </nz-option>
  2784. </nz-select>
  2785. </nz-form-control>
  2786. </nz-form-item>
  2787. <!-- 100014 (护士端一键建单展示策略)取终点科室和msg 值展示 -->
  2788. <nz-form-item
  2789. *ngIf="
  2790. checkedShowMsg.status != 200 &&
  2791. (checkedShowMsg.status == 100014 ||
  2792. checkedShowMsg.status == 100015)
  2793. "
  2794. >
  2795. <nz-form-label
  2796. [nzSm]="6"
  2797. [nzXs]="24"
  2798. nzRequired
  2799. nzFor="targetOffice"
  2800. >目标科室</nz-form-label
  2801. >
  2802. <nz-form-control nzErrorTip="请选择目标科室!">
  2803. <nz-select
  2804. class="w100"
  2805. formControlName="targetOffice"
  2806. [nzDropdownMatchSelectWidth]="false"
  2807. nzServerSearch
  2808. nzShowSearch
  2809. (nzOnSearch)="searchDept('target', checkedShowMsg, $event)"
  2810. nzPlaceHolder="请选择目标科室"
  2811. >
  2812. <ng-container
  2813. *ngFor="let option of checkedShowMsg.end.end.list"
  2814. >
  2815. <nz-option
  2816. *ngIf="true"
  2817. [nzLabel]="
  2818. deptDisplay == 2 ? option.deptalias : option.dept
  2819. "
  2820. [nzValue]="option.id"
  2821. ></nz-option>
  2822. </ng-container>
  2823. <nz-option *ngIf="false" nzDisabled nzCustomContent>
  2824. <i nz-icon nzType="loading" class="loading-icon"></i>
  2825. 搜索中...
  2826. </nz-option>
  2827. </nz-select>
  2828. </nz-form-control>
  2829. </nz-form-item>
  2830. <!-- 自动送回 -->
  2831. <nz-form-item
  2832. *ngIf="
  2833. checkedShowMsg.status != 200 && checkedShowMsg.isRemand == 1
  2834. "
  2835. >
  2836. <nz-form-control>
  2837. <label
  2838. nz-checkbox
  2839. [(ngModel)]="isRemand"
  2840. [ngModelOptions]="{ standalone: true }"
  2841. >自动送回</label
  2842. >
  2843. </nz-form-control>
  2844. </nz-form-item>
  2845. <!-- 工单备注 -->
  2846. <!-- <div *ngIf="isRemarks">
  2847. <p class="mt8 mb8">工单备注:</p>
  2848. <textarea
  2849. nz-input
  2850. [placeholder]="workOrderRemarkTips1"
  2851. [nzAutosize]="{ minRows: 3, maxRows: 5 }"
  2852. maxlength="100"
  2853. [(ngModel)]="workOrderRemark1"
  2854. #remarksEle1
  2855. ></textarea>
  2856. <p class="mt8 mb8" *ngIf="customRemarks1.length">快捷输入:</p>
  2857. <div *ngIf="customRemarks1.length">
  2858. <span
  2859. class="addRemarks"
  2860. *ngFor="let item of customRemarks1"
  2861. (click)="addRemarks1(item)"
  2862. >【{{ item }}】</span
  2863. >
  2864. </div>
  2865. <p class="mt8 mb8" *ngIf="historyCustomRemarks1.length">历史输入:</p>
  2866. <div *ngIf="historyCustomRemarks1.length">
  2867. <span
  2868. class="addRemarks"
  2869. *ngFor="let item of historyCustomRemarks1"
  2870. (click)="addRemarks1(item)"
  2871. >【{{ item }}】</span
  2872. >
  2873. </div>
  2874. </div> -->
  2875. <!-- 工单备注 -->
  2876. <ng-container *ngIf="isRemarks">
  2877. <nz-form-item>
  2878. <!-- <p class="mt8 mb8" *ngIf="customRemarks2.length">快捷输入:</p>
  2879. <div *ngIf="customRemarks2.length">
  2880. <span
  2881. class="addRemarks"
  2882. *ngFor="let item of customRemarks2"
  2883. (click)="addRemarks2(item)"
  2884. >【{{ item }}】</span
  2885. >
  2886. </div> -->
  2887. <!-- <p class="mt8 mb8" *ngIf="historyCustomRemarks2.length">历史输入:</p>
  2888. <div *ngIf="historyCustomRemarks2.length">
  2889. <span
  2890. class="addRemarks"
  2891. *ngFor="let item of historyCustomRemarks2"
  2892. (click)="addRemarks2(item)"
  2893. >【{{ item }}】</span
  2894. >
  2895. </div> -->
  2896. <div class="display_flex align-items_center">
  2897. <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="workOrderRemark2" class="mt8 mb8">工单备注</nz-form-label>
  2898. <div *ngIf="customRemarks2.length" style="word-break: break-all;">
  2899. <span class="addRemarks" *ngFor="let item of customRemarks2" (click)="addRemarks2(item)">【{{ item }}】</span>
  2900. </div>
  2901. </div>
  2902. <nz-form-control>
  2903. <textarea
  2904. nz-input
  2905. [placeholder]="workOrderRemarkTips2"
  2906. [nzAutosize]="{ minRows: 3, maxRows: 5 }"
  2907. maxlength="100"
  2908. formControlName="workOrderRemark2"
  2909. [(ngModel)]="workOrderRemark2"
  2910. #remarksEle2
  2911. ></textarea>
  2912. </nz-form-control>
  2913. </nz-form-item>
  2914. </ng-container>
  2915. <!-- 携带设备 -->
  2916. <nz-form-item *ngIf="!isRemarks && goodsLis.length">
  2917. <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="goods" class="goods"
  2918. >携带设备</nz-form-label
  2919. >
  2920. <nz-form-control>
  2921. <nz-checkbox-group
  2922. formControlName="goods"
  2923. [(ngModel)]="goodsLis"
  2924. >
  2925. </nz-checkbox-group>
  2926. </nz-form-control>
  2927. </nz-form-item>
  2928. <!-- 是否加急 -->
  2929. <nz-form-item *ngIf="current_allowUrgent">
  2930. <nz-form-label
  2931. [nzSm]="6"
  2932. [nzXs]="24"
  2933. nzFor="allowUrgent"
  2934. class="goods"
  2935. >是否加急</nz-form-label
  2936. >
  2937. <nz-form-control>
  2938. <nz-radio-group
  2939. [(ngModel)]="allowUrgent"
  2940. (ngModelChange)="allowUrgentChange($event)"
  2941. formControlName="allowUrgent"
  2942. >
  2943. <label nz-radio nzValue="1">是</label>
  2944. <label nz-radio nzValue="0">否</label>
  2945. </nz-radio-group>
  2946. </nz-form-control>
  2947. </nz-form-item>
  2948. <!-- 加急原因 -->
  2949. <nz-form-item *ngIf="current_allowUrgent && allowUrgent == 1">
  2950. <nz-form-label
  2951. [nzSm]="6"
  2952. [nzXs]="24"
  2953. nzRequired
  2954. nzFor="urgentReason"
  2955. class="goods"
  2956. >加急原因</nz-form-label
  2957. >
  2958. <nz-form-control>
  2959. <textarea
  2960. rows="4"
  2961. placeholder="请输入加急原因"
  2962. nz-input
  2963. [(ngModel)]="urgentReason"
  2964. formControlName="urgentReason"
  2965. ></textarea>
  2966. </nz-form-control>
  2967. </nz-form-item>
  2968. </ng-container>
  2969. </form>
  2970. </div>
  2971. </overlay-scrollbars>
  2972. <div class="btns display_flex justify-content_flex-center">
  2973. <button
  2974. nz-button
  2975. nzType="primary"
  2976. [nzLoading]="btnLoading1"
  2977. (click)="confirmPatient1('patient-yuyue')"
  2978. *ngIf="
  2979. currentTasktype.associationType.value === 'inspect' &&
  2980. isYyInspect &&
  2981. !(currentTasktype.isMoreDept === 0 && isInspects) && checkedShowMsg.status != 100009
  2982. "
  2983. >
  2984. 预约建单
  2985. </button>
  2986. <button
  2987. nz-button
  2988. nzType="primary"
  2989. [nzLoading]="btnLoading1"
  2990. (click)="confirmPatient1('patient-zy-yuyue')"
  2991. *ngIf="
  2992. currentTasktype.associationType.value === 'patientTransport' &&
  2993. isYyInspect && checkedShowMsg.status != 100009
  2994. "
  2995. >
  2996. 预约建单
  2997. </button>
  2998. <button
  2999. nz-button
  3000. nzType="default"
  3001. [nzLoading]="btnLoading"
  3002. (click)="confirmPatient()"
  3003. class="orderThis"
  3004. *ngIf="
  3005. ((!isYyInspect &&
  3006. currentTasktype.associationType.value === 'inspect' &&
  3007. linkCheckLisTrue) ||
  3008. (!isYyInspect &&
  3009. currentTasktype.associationType.value === 'patientTransport')) &&
  3010. !(currentTasktype.isMoreDept === 0 && isInspects) && checkedShowMsg.status != 100009
  3011. "
  3012. >
  3013. 直接建单
  3014. </button>
  3015. <button
  3016. class="btn cancel"
  3017. nz-button
  3018. nzType="default"
  3019. (click)="hidePatientOrder()"
  3020. >
  3021. 取消
  3022. </button>
  3023. </div>
  3024. </div>
  3025. </div>
  3026. <!-- 标本一键建单模态框 其他-->
  3027. <div
  3028. class="save display_flex align-items_center justify-content_flex-center shortcut"
  3029. *ngIf="shortcutModal"
  3030. >
  3031. <div class="modalBody">
  3032. <div class="title">
  3033. 快捷建单<i
  3034. class="icon_transport transport-guanbi"
  3035. (click)="hideShortcutOrder()"
  3036. ></i>
  3037. </div>
  3038. <!-- 200 该任务类型运送过程暂未配置 -->
  3039. <div
  3040. class="content txtC bb"
  3041. *ngIf="buildMsg1.status == 200 && buildType == 'bb'"
  3042. >
  3043. <div class="defeat">{{ buildMsg1.msg }}</div>
  3044. </div>
  3045. <!-- 100009 该任务类型运送过程暂未配置 -->
  3046. <div class="content txtC" *ngIf="buildMsg1.status == 100009">
  3047. <div class="defeat">{{ buildMsg1.msg }}</div>
  3048. </div>
  3049. <!-- 100010 系统未查询到该任务类型关联信息 -->
  3050. <div class="content txtC" *ngIf="buildMsg1.status == 100010">
  3051. <div class="icon"><i class="icon_transport transport-wenhao"></i></div>
  3052. <div class="defeat">{{ buildMsg1.msg }}</div>
  3053. </div>
  3054. <!-- 100012 (护士端一键建单展示策略)直接取msg -->
  3055. <div class="content txtC" *ngIf="buildMsg1.status == 100012">
  3056. <div class="icon"><i class="icon_transport transport-wenhao"></i></div>
  3057. <div class="defeat">{{ buildMsg1.msg }}</div>
  3058. </div>
  3059. <!-- 100013 (护士端一键建单展示策略)取起点科室,和mgs值展示 -->
  3060. <div class="content" *ngIf="buildMsg1.status == 100013">
  3061. <div class="jiTit borderB">
  3062. <span>{{ buildMsg1.msg }}</span>
  3063. </div>
  3064. <div>
  3065. <form nz-form [formGroup]="shortcutForm1" class="shortcutForm">
  3066. <nz-form-item>
  3067. <nz-form-label
  3068. [nzSm]="6"
  3069. [nzXs]="24"
  3070. nzRequired
  3071. nzFor="originOffice"
  3072. >起点科室</nz-form-label
  3073. >
  3074. <nz-form-control nzErrorTip="请选择起点科室!">
  3075. <nz-select
  3076. class="w100"
  3077. formControlName="originOffice"
  3078. [nzDropdownMatchSelectWidth]="false"
  3079. nzServerSearch
  3080. nzShowSearch
  3081. (nzOnSearch)="searchDept('start', buildMsg1, $event)"
  3082. nzPlaceHolder="请选择起点科室"
  3083. >
  3084. <ng-container *ngFor="let option of buildMsg1.start.start.list">
  3085. <nz-option
  3086. *ngIf="true"
  3087. [nzLabel]="
  3088. deptDisplay == 2 ? option.deptalias : option.dept
  3089. "
  3090. [nzValue]="option.id"
  3091. >
  3092. </nz-option>
  3093. </ng-container>
  3094. <nz-option *ngIf="false" nzDisabled nzCustomContent>
  3095. <i nz-icon nzType="loading" class="loading-icon"></i>
  3096. 搜索中...
  3097. </nz-option>
  3098. </nz-select>
  3099. </nz-form-control>
  3100. </nz-form-item>
  3101. </form>
  3102. </div>
  3103. </div>
  3104. <!-- 100014 (护士端一键建单展示策略)取终点科室和msg 值展示 -->
  3105. <div class="content" *ngIf="buildMsg1.status == 100014">
  3106. <div class="jiTit borderB">
  3107. <span>{{ buildMsg1.msg }}</span>
  3108. </div>
  3109. <div>
  3110. <form nz-form [formGroup]="shortcutForm1" class="shortcutForm">
  3111. <nz-form-item>
  3112. <nz-form-label
  3113. [nzSm]="6"
  3114. [nzXs]="24"
  3115. nzRequired
  3116. nzFor="targetOffice"
  3117. >目标科室</nz-form-label
  3118. >
  3119. <nz-form-control nzErrorTip="请选择目标科室!">
  3120. <nz-select
  3121. class="w100"
  3122. formControlName="targetOffice"
  3123. [nzDropdownMatchSelectWidth]="false"
  3124. nzServerSearch
  3125. nzShowSearch
  3126. (nzOnSearch)="searchDept('target', buildMsg1, $event)"
  3127. nzAllowClear
  3128. nzPlaceHolder="请选择目标科室"
  3129. >
  3130. <ng-container *ngFor="let option of buildMsg1.end.end.list">
  3131. <nz-option
  3132. *ngIf="true"
  3133. [nzLabel]="
  3134. deptDisplay == 2 ? option.deptalias : option.dept
  3135. "
  3136. [nzValue]="option.id"
  3137. >
  3138. </nz-option>
  3139. </ng-container>
  3140. <nz-option *ngIf="false" nzDisabled nzCustomContent>
  3141. <i nz-icon nzType="loading" class="loading-icon"></i>
  3142. 搜索中...
  3143. </nz-option>
  3144. </nz-select>
  3145. </nz-form-control>
  3146. </nz-form-item>
  3147. </form>
  3148. </div>
  3149. </div>
  3150. <!-- 100015 (护士端一键建单展策略)起点科室和终点科室下拉展示 -->
  3151. <div class="content" *ngIf="buildMsg1.status == 100015">
  3152. <div class="jiTit borderB">
  3153. <span>{{ buildMsg1.msg }}</span>
  3154. </div>
  3155. <div>
  3156. <form nz-form [formGroup]="shortcutForm1" class="shortcutForm">
  3157. <nz-form-item>
  3158. <nz-form-label
  3159. [nzSm]="6"
  3160. [nzXs]="24"
  3161. nzRequired
  3162. nzFor="originOffice"
  3163. >起点科室</nz-form-label
  3164. >
  3165. <nz-form-control nzErrorTip="请选择起点科室!">
  3166. <nz-select
  3167. class="w100"
  3168. formControlName="originOffice"
  3169. [nzDropdownMatchSelectWidth]="false"
  3170. nzServerSearch
  3171. nzShowSearch
  3172. (nzOnSearch)="searchDept('start', buildMsg1, $event)"
  3173. nzPlaceHolder="请选择起点科室"
  3174. >
  3175. <ng-container *ngFor="let option of buildMsg1.start.start.list">
  3176. <nz-option
  3177. *ngIf="true"
  3178. [nzLabel]="
  3179. deptDisplay == 2 ? option.deptalias : option.dept
  3180. "
  3181. [nzValue]="option.id"
  3182. >
  3183. </nz-option>
  3184. </ng-container>
  3185. <nz-option *ngIf="false" nzDisabled nzCustomContent>
  3186. <i nz-icon nzType="loading" class="loading-icon"></i>
  3187. 搜索中...
  3188. </nz-option>
  3189. </nz-select>
  3190. </nz-form-control>
  3191. </nz-form-item>
  3192. <nz-form-item>
  3193. <nz-form-label
  3194. [nzSm]="6"
  3195. [nzXs]="24"
  3196. nzRequired
  3197. nzFor="targetOffice"
  3198. >目标科室</nz-form-label
  3199. >
  3200. <nz-form-control nzErrorTip="请选择目标科室!">
  3201. <nz-select
  3202. class="w100"
  3203. formControlName="targetOffice"
  3204. [nzDropdownMatchSelectWidth]="false"
  3205. nzServerSearch
  3206. nzShowSearch
  3207. (nzOnSearch)="searchDept('target', buildMsg1, $event)"
  3208. nzPlaceHolder="请选择目标科室"
  3209. >
  3210. <ng-container *ngFor="let option of buildMsg1.end.end.list">
  3211. <nz-option
  3212. *ngIf="true"
  3213. [nzLabel]="
  3214. deptDisplay == 2 ? option.deptalias : option.dept
  3215. "
  3216. [nzValue]="option.id"
  3217. >
  3218. </nz-option>
  3219. </ng-container>
  3220. <nz-option *ngIf="false" nzDisabled nzCustomContent>
  3221. <i nz-icon nzType="loading" class="loading-icon"></i>
  3222. 搜索中...
  3223. </nz-option>
  3224. </nz-select>
  3225. </nz-form-control>
  3226. </nz-form-item>
  3227. </form>
  3228. </div>
  3229. </div>
  3230. <!-- 标本配送备注 -->
  3231. <div *ngIf="buildMsg1.remarksSwitch == 1">
  3232. <p class="mt8 mb8">工单备注:</p>
  3233. <textarea
  3234. nz-input
  3235. [placeholder]="workOrderRemarkTips1"
  3236. [nzAutosize]="{ minRows: 3, maxRows: 5 }"
  3237. maxlength="100"
  3238. [(ngModel)]="workOrderRemark1"
  3239. #remarksEle1
  3240. ></textarea>
  3241. <p class="mt8 mb8" *ngIf="customRemarks1.length">快捷输入:</p>
  3242. <div *ngIf="customRemarks1.length">
  3243. <span
  3244. class="addRemarks"
  3245. *ngFor="let item of customRemarks1"
  3246. (click)="addRemarks1(item)"
  3247. >【{{ item }}】</span
  3248. >
  3249. </div>
  3250. <p class="mt8 mb8" *ngIf="historyCustomRemarks1.length">历史输入:</p>
  3251. <div *ngIf="historyCustomRemarks1.length">
  3252. <span
  3253. class="addRemarks"
  3254. *ngFor="let item of historyCustomRemarks1"
  3255. (click)="addRemarks1(item)"
  3256. >【{{ item }}】</span
  3257. >
  3258. </div>
  3259. </div>
  3260. <div class="btns display_flex justify-content_flex-center">
  3261. <button
  3262. *ngIf="buildMsg1.status != 100009 && buildMsg1.status != 100010"
  3263. nz-button
  3264. nzType="primary"
  3265. [nzLoading]="btnLoading"
  3266. (click)="confirmShortcut1()"
  3267. >
  3268. 确认
  3269. </button>
  3270. <button
  3271. class="btn cancel"
  3272. nz-button
  3273. nzType="default"
  3274. (click)="hideShortcutOrder()"
  3275. >
  3276. 取消
  3277. </button>
  3278. </div>
  3279. </div>
  3280. </div>
  3281. <!-- 一键建单确认模态框 -->
  3282. <div
  3283. class="save display_flex align-items_center justify-content_flex-center shortcut"
  3284. *ngIf="confirmSub"
  3285. >
  3286. <div class="modalBody sm">
  3287. <div class="title">
  3288. 快捷建单<i class="icon_transport transport-guanbi" (click)="cancel()"></i>
  3289. </div>
  3290. <div class="content txtC">
  3291. <div class="icon"><i class="icon_transport transport-wenhao"></i></div>
  3292. <div class="defeat">{{ confirmInfo }}</div>
  3293. <div class="otherInfo">请谨慎操作,如撤销请点击取消。</div>
  3294. </div>
  3295. <div class="btns display_flex justify-content_flex-center">
  3296. <button
  3297. nz-button
  3298. nzType="primary"
  3299. [nzLoading]="btnLoading3"
  3300. (click)="confirm()"
  3301. >
  3302. 确认
  3303. </button>
  3304. <button class="btn cancel" nz-button nzType="default" (click)="cancel()">
  3305. 取消
  3306. </button>
  3307. </div>
  3308. </div>
  3309. </div>
  3310. <!-- 撤销工单 -->
  3311. <app-dialog-delete
  3312. [delModal]="recallOrderModal"
  3313. (hideDelModalEvent)="closeRecallOrderModal()"
  3314. [btnLoading]="btnLoading"
  3315. (confirmDelEvent)="confirmRec()"
  3316. content="您确认要撤销工单吗?撤销工单我们会通知服务台、配送人员不再执行此工单,请谨慎操作,如确认撤销请点击确认。"
  3317. ></app-dialog-delete>
  3318. <!-- 打印二维码-门诊服务点 -->
  3319. <app-dialog-delete
  3320. [delModal]="outpatientServiceModal"
  3321. (hideDelModalEvent)="closeOutpatientServiceModal()"
  3322. [btnLoading]="btnLoading"
  3323. (confirmDelEvent)="confirmOutpatientService()"
  3324. [content]="outpatientServiceMsg"
  3325. ></app-dialog-delete>
  3326. <!-- 立即执行定时预约工单 -->
  3327. <app-dialog-delete
  3328. [delModal]="execModal"
  3329. (hideDelModalEvent)="closeExecModal()"
  3330. [btnLoading]="btnLoading"
  3331. (confirmDelEvent)="confirmExec()"
  3332. content="您确认要立即执行该工单吗?"
  3333. ></app-dialog-delete>
  3334. <!-- 评价模态框 -->
  3335. <div
  3336. class="save display_flex align-items_center justify-content_flex-center appraise"
  3337. *ngIf="appraiseModal"
  3338. >
  3339. <div class="modalBody">
  3340. <div class="title">
  3341. 评价<i
  3342. class="icon_transport transport-guanbi"
  3343. (click)="hideAppraise()"
  3344. ></i>
  3345. </div>
  3346. <div class="content">
  3347. <div class="jiTit borderB">您的评价对我们至关重要,感谢您!</div>
  3348. <br />
  3349. <div class="star">
  3350. <div
  3351. nz-row
  3352. class="alignC display_flex justify-content_flex-center align-items_center"
  3353. >
  3354. <div nz-col nzSpan="4">星级:</div>
  3355. <div nz-col nzSpan="20">
  3356. <nz-rate [(ngModel)]="starNum"></nz-rate>
  3357. </div>
  3358. </div>
  3359. <div nz-row>
  3360. <div nz-col nzSpan="4">评级:</div>
  3361. <div nz-col nzSpan="20">
  3362. <textarea
  3363. rows="4"
  3364. nz-input
  3365. [(ngModel)]="appraiseContent"
  3366. ></textarea>
  3367. </div>
  3368. </div>
  3369. </div>
  3370. <br />
  3371. </div>
  3372. <div class="btns display_flex justify-content_flex-center">
  3373. <button
  3374. nz-button
  3375. nzType="primary"
  3376. [nzLoading]="btnLoading"
  3377. (click)="confirmAppraise()"
  3378. >
  3379. 确认
  3380. </button>
  3381. <button
  3382. class="btn cancel"
  3383. nz-button
  3384. nzType="default"
  3385. (click)="hideAppraise()"
  3386. >
  3387. 关闭
  3388. </button>
  3389. </div>
  3390. </div>
  3391. </div>
  3392. <!-- 报修评价模态框 -->
  3393. <div
  3394. class="save display_flex align-items_center justify-content_flex-center appraise"
  3395. *ngIf="appraiseModalBx"
  3396. >
  3397. <div class="modalBody">
  3398. <div class="title">
  3399. 评价<i
  3400. class="icon_transport transport-guanbi"
  3401. (click)="hideAppraiseBx()"
  3402. ></i>
  3403. </div>
  3404. <div class="content">
  3405. <div class="jiTit borderB">您的评价对我们至关重要,感谢您!</div>
  3406. <br />
  3407. <div class="star">
  3408. <div
  3409. nz-row
  3410. class="alignC display_flex justify-content_flex-center align-items_center"
  3411. >
  3412. <div nz-col nzSpan="4">星级:</div>
  3413. <div nz-col nzSpan="20">
  3414. <nz-rate [(ngModel)]="starNumBx"></nz-rate>
  3415. </div>
  3416. </div>
  3417. <div nz-row>
  3418. <div nz-col nzSpan="4">评级:</div>
  3419. <div nz-col nzSpan="20">
  3420. <textarea
  3421. rows="4"
  3422. nz-input
  3423. [(ngModel)]="appraiseContentBx"
  3424. ></textarea>
  3425. </div>
  3426. </div>
  3427. </div>
  3428. <br />
  3429. </div>
  3430. <div class="btns display_flex justify-content_flex-center">
  3431. <button
  3432. nz-button
  3433. nzType="primary"
  3434. [nzLoading]="btnLoading"
  3435. (click)="confirmAppraiseBx()"
  3436. >
  3437. 确认
  3438. </button>
  3439. <button
  3440. class="btn cancel"
  3441. nz-button
  3442. nzType="default"
  3443. (click)="hideAppraiseBx()"
  3444. >
  3445. 关闭
  3446. </button>
  3447. </div>
  3448. </div>
  3449. </div>
  3450. <!-- 意见箱查看 -->
  3451. <div
  3452. class="save display_flex align-items_center justify-content_flex-center advice"
  3453. *ngIf="adviceModal"
  3454. >
  3455. <div class="modalBody">
  3456. <div class="title">
  3457. 意见箱-查看<i
  3458. class="icon_transport transport-guanbi"
  3459. (click)="hideAdvice()"
  3460. ></i>
  3461. </div>
  3462. <div class="content">
  3463. <div class="conItem">
  3464. <div class="jiTit borderB color3" nz-row>
  3465. <div nz-col nzSpan="11" class="txtL">
  3466. 发起人:{{
  3467. adviceDetailInfo.createUser
  3468. ? adviceDetailInfo.createUser.name
  3469. : ""
  3470. }}
  3471. </div>
  3472. <div nz-col nzSpan="13" class="txtR">
  3473. 填写时间:{{ adviceDetailInfo.createTime }}
  3474. </div>
  3475. </div>
  3476. <div class="defeat">意见内容:{{ adviceDetailInfo.content }}</div>
  3477. </div>
  3478. <div class="conItem" *ngIf="adviceDetailInfo.replaceFlag == 1">
  3479. <div class="jiTit borderB color3" nz-row>
  3480. <div nz-col nzSpan="11" class="txtL">
  3481. 回复人:{{
  3482. adviceDetailInfo.replyUser ? adviceDetailInfo.replyUser.name : ""
  3483. }}
  3484. </div>
  3485. <div nz-col nzSpan="13" class="txtR">
  3486. 填写时间:{{ adviceDetailInfo.replyTime }}
  3487. </div>
  3488. </div>
  3489. <div class="defeat">意见内容:{{ adviceDetailInfo.replyContent }}</div>
  3490. </div>
  3491. <div class="conItem noCon" *ngIf="adviceDetailInfo.replaceFlag == 0">
  3492. <div class="jiTit color3" nz-row>暂未回复</div>
  3493. </div>
  3494. </div>
  3495. <div class="btns display_flex justify-content_flex-center">
  3496. <button
  3497. class="btn know"
  3498. nz-button
  3499. nzType="primary"
  3500. nzGhost
  3501. (click)="hideAdvice()"
  3502. >
  3503. 知道了
  3504. </button>
  3505. </div>
  3506. </div>
  3507. </div>
  3508. <!-- 意见收集 -->
  3509. <div
  3510. class="save display_flex align-items_center justify-content_flex-center advice"
  3511. *ngIf="adviceSubModal"
  3512. >
  3513. <div class="modalBody">
  3514. <div class="title">
  3515. 意见收集<i
  3516. class="icon_transport transport-guanbi"
  3517. (click)="hideSubAdvice()"
  3518. ></i>
  3519. </div>
  3520. <div class="content">
  3521. <div class="title">意见内容:</div>
  3522. <textarea
  3523. rows="4"
  3524. maxlength="255"
  3525. nz-input
  3526. [(ngModel)]="adviceSubContent"
  3527. placeholder="请填写意见内容"
  3528. ></textarea>
  3529. <br /><br />
  3530. </div>
  3531. <div class="btns display_flex justify-content_flex-center">
  3532. <button
  3533. nz-button
  3534. nzType="primary"
  3535. [nzLoading]="btnLoading"
  3536. (click)="confirmSubAdvice()"
  3537. >
  3538. 确认
  3539. </button>
  3540. <button
  3541. class="btn cancel"
  3542. nz-button
  3543. nzType="default"
  3544. (click)="hideSubAdvice()"
  3545. >
  3546. 取消
  3547. </button>
  3548. </div>
  3549. </div>
  3550. </div>
  3551. <!-- 加急模态框 -->
  3552. <div
  3553. class="save display_flex align-items_center justify-content_flex-center jiaji"
  3554. *ngIf="jiajiModal"
  3555. >
  3556. <div class="modalBody">
  3557. <div class="title">
  3558. 加急<i class="icon_transport transport-guanbi" (click)="hideJiaji()"></i>
  3559. </div>
  3560. <div class="content">
  3561. <div class="jiTit borderB">
  3562. 请填写加急原因,填写后我们会根据您的诉求优先处理
  3563. </div>
  3564. <div class="title">加急原因:</div>
  3565. <textarea
  3566. rows="4"
  3567. nz-input
  3568. [(ngModel)]="jiajiContent"
  3569. placeholder="请填写加急原因"
  3570. ></textarea>
  3571. <br /><br />
  3572. </div>
  3573. <div class="btns display_flex justify-content_flex-center">
  3574. <button
  3575. nz-button
  3576. nzType="primary"
  3577. [nzLoading]="btnLoading"
  3578. (click)="confirmJiaji()"
  3579. >
  3580. 确认
  3581. </button>
  3582. <button
  3583. class="btn cancel"
  3584. nz-button
  3585. nzType="default"
  3586. (click)="hideJiaji()"
  3587. >
  3588. 取消
  3589. </button>
  3590. </div>
  3591. </div>
  3592. </div>
  3593. <!-- 查看标本详情模态框 -->
  3594. <div *ngIf="detailModel" [class.detailModel]="detailModel">
  3595. <div class="box">
  3596. <h2 class="title">未取标本详情</h2>
  3597. <div class="table">
  3598. <div class="table-content">
  3599. <table>
  3600. <thead>
  3601. <tr>
  3602. <th>序号</th>
  3603. <th>标本类型</th>
  3604. <th>标本编码</th>
  3605. <th>患者姓名</th>
  3606. <th>床号</th>
  3607. <th>采集时间</th>
  3608. <th>目标科室</th>
  3609. </tr>
  3610. </thead>
  3611. <tbody>
  3612. <overlay-scrollbars
  3613. #osComponentRef6
  3614. style="height: 100%"
  3615. *ngIf="detailList.length && !loading33"
  3616. >
  3617. <tr
  3618. *ngFor="let detail of detailList; let i = index"
  3619. [style]="{ background: i % 2 === 1 ? '#fff' : '#f9fafb' }"
  3620. >
  3621. <td>{{ i + 1 }}</td>
  3622. <td>{{ detail.stype ? detail.stype.name : "-" }}</td>
  3623. <td>{{ detail.scode || "-" }}</td>
  3624. <td>{{ detail.patientName || "-" }}</td>
  3625. <td>{{ detail.bedNum || "-" }}</td>
  3626. <td>
  3627. {{ detail.printDate || "-" }}
  3628. </td>
  3629. <td>
  3630. {{
  3631. detail.checkDept
  3632. ? deptDisplay == 2
  3633. ? detail.checkDept.deptalias
  3634. : detail.checkDept.dept
  3635. : "-"
  3636. }}
  3637. <div
  3638. *ngIf="detail.urgent != 0"
  3639. [class.ji]="detail.urgent == 1"
  3640. ></div>
  3641. </td>
  3642. </tr>
  3643. </overlay-scrollbars>
  3644. <div
  3645. style="font-size: 18px"
  3646. *ngIf="!detailList.length && !loading33"
  3647. class="noData33"
  3648. >
  3649. 暂无数据
  3650. </div>
  3651. <div class="loading33" *ngIf="loading33">
  3652. <img src="./../../assets/images/loading.gif" alt="" />
  3653. <p>正在加载中</p>
  3654. </div>
  3655. </tbody>
  3656. </table>
  3657. </div>
  3658. </div>
  3659. <div class="btns">
  3660. <div class="btn" (click)="hideSpeDetailModel()">知道了</div>
  3661. </div>
  3662. <i
  3663. class="icon_transport transport-guanbi"
  3664. (click)="hideSpeDetailModel()"
  3665. ></i>
  3666. </div>
  3667. </div>
  3668. <!-- 删除意见模态框 -->
  3669. <app-dialog-delete
  3670. [delModal]="delAdviceModal"
  3671. (hideDelModalEvent)="hideDelAdviceModal()"
  3672. [btnLoading]="btnLoading"
  3673. (confirmDelEvent)="confirmDelAdvice()"
  3674. content="您确认要删除此条意见吗?"
  3675. ></app-dialog-delete>
  3676. <!-- 关注模态框 -->
  3677. <div
  3678. class="commonModal display_flex justify-content_flex-center align-items_center"
  3679. *ngIf="commonModal"
  3680. >
  3681. <div class="modalBody">
  3682. <div class="title">
  3683. 提示<i
  3684. class="icon_transport transport-guanbi"
  3685. (click)="hideCommonModal()"
  3686. ></i>
  3687. </div>
  3688. <div class="content">
  3689. <div class="icon"><i class="icon_transport transport-wenhao"></i></div>
  3690. <div class="defeat">{{ tipsMsg1 }}</div>
  3691. </div>
  3692. <div class="display_flex justify-content_flex-center">
  3693. <button
  3694. nz-button
  3695. nzType="primary"
  3696. (click)="confirmCommon()"
  3697. [nzLoading]="loading4"
  3698. >
  3699. 确认
  3700. </button>
  3701. <button
  3702. class="btn cancel"
  3703. nz-button
  3704. nzType="default"
  3705. (click)="hideCommonModal()"
  3706. >
  3707. 取消
  3708. </button>
  3709. </div>
  3710. </div>
  3711. </div>
  3712. <!-- 是否确认报修模态框 -->
  3713. <div
  3714. class="commonModal display_flex justify-content_flex-center align-items_center"
  3715. *ngIf="bxModal"
  3716. >
  3717. <div class="modalBody">
  3718. <div class="title">
  3719. 提示<i
  3720. class="icon_transport transport-guanbi"
  3721. (click)="hideBxModal()"
  3722. ></i>
  3723. </div>
  3724. <div class="content">
  3725. <div class="icon"><i class="icon_transport transport-wenhao"></i></div>
  3726. <div class="defeat">{{ tipsMsg2 }}</div>
  3727. </div>
  3728. <div class="display_flex justify-content_flex-center">
  3729. <button
  3730. nz-button
  3731. nzType="primary"
  3732. (click)="confirmBx()"
  3733. [nzLoading]="loading6"
  3734. >
  3735. 确认
  3736. </button>
  3737. <button
  3738. class="btn cancel"
  3739. nz-button
  3740. nzType="default"
  3741. (click)="hideBxModal()"
  3742. >
  3743. 取消
  3744. </button>
  3745. </div>
  3746. </div>
  3747. </div>
  3748. <!-- 消息弹框模板 -->
  3749. <ng-template #msgTemplate let-msg="data">
  3750. <div class="msgTemBox ant-notification-notice-content">
  3751. <div class="borderLeft"></div>
  3752. <div class="ant-notification-notice-with-icon">
  3753. <span class="ant-notification-notice-icon">
  3754. <i class="icon icon_transport transport-shouye9"></i>
  3755. </span>
  3756. <div class="ant-notification-notice-message">
  3757. {{ msg.type == 1 ? "通知" : "消息" }}
  3758. </div>
  3759. <div class="ant-notification-notice-description">{{ msg.content }}</div>
  3760. </div>
  3761. </div>
  3762. </ng-template>
  3763. <!-- 操作成功/失败提示框 -->
  3764. <app-prompt-modal
  3765. *ngIf="promptModalShow"
  3766. [content]="promptContent"
  3767. [success]="ifSuccess"
  3768. [show]="promptModalShow"
  3769. [info]="promptInfo"
  3770. [back]="back"
  3771. (closeModel)="closeModel($event)"
  3772. ></app-prompt-modal>
  3773. <!-- 护士端科室切换提示框 -->
  3774. <app-hs-prompt-modal
  3775. [changeShow]="changeShow"
  3776. [closeTime]="closeTime"
  3777. [closeTimeFlag]="closeTimeFlag"
  3778. [show]="hsPromptModalShow"
  3779. (closeModelHs)="closeModelHs($event)"
  3780. (clearModelHs)="clearModelHs($event)"
  3781. deptType="nurse"
  3782. >
  3783. </app-hs-prompt-modal>
  3784. <!-- 标本历史记录查看 -->
  3785. <app-history-prompt-modal
  3786. *ngIf="historyPromptModalShow"
  3787. [show]="historyPromptModalShow"
  3788. [scode]="scode"
  3789. (closeModelHs)="closeModelHistory($event)"
  3790. ></app-history-prompt-modal>
  3791. <!-- 药包流程信息查看 -->
  3792. <app-log-prompt-modal
  3793. *ngIf="historyDPromptModalShow"
  3794. [show]="historyDPromptModalShow"
  3795. [drugsBagId]="drugsBagId"
  3796. (closeModelHs)="closeModelHistoryDrugsbag($event)"
  3797. ></app-log-prompt-modal>
  3798. <!-- 报修详情查看 -->
  3799. <app-bx-prompt-modal
  3800. *ngIf="bxPromptModalShow"
  3801. [show]="bxPromptModalShow"
  3802. [bData]="bData"
  3803. (closeModelHs)="closeModelBx($event)"
  3804. ></app-bx-prompt-modal>
  3805. <!-- 科室二维码模态框 -->
  3806. <!-- 在模态框所在的 div 添加属性 [appDrag] -->
  3807. <div appDrag class="modal" *ngIf="isShowNurseCode">
  3808. <div class="header drag-title">
  3809. <h2>签到二维码</h2>
  3810. <i
  3811. class="icon-close icon_transport transport-guanbi1"
  3812. (click)="closeNurseCode()"
  3813. ></i>
  3814. </div>
  3815. <div class="dialog-center">
  3816. <div class="dialog-code">
  3817. <img [src]="nurseCodeImg" alt="" />
  3818. </div>
  3819. </div>
  3820. <div class="dialog-operate">
  3821. <strong class="dialog-refresh" (click)="showNurseCode()">刷新</strong>
  3822. <span>{{ refreshQRCodeTime }}s</span>
  3823. </div>
  3824. </div>
  3825. <router-outlet (deactivate)="refreshList($event)"></router-outlet>
  3826. <!-- 遮罩 -->
  3827. <app-mask *ngIf="maskFlag"></app-mask>
  3828. <!-- 是否需要医护陪同检查模态框 -->
  3829. <app-dialog-delete
  3830. [delModal]="accompanyModal"
  3831. (hideDelModalEvent)="hideAccompanyModal($event)"
  3832. (cancelDelEvent)="hideAccompanyModal($event)"
  3833. [btnLoading]="accompanyLoading"
  3834. [cancenlLoading]="cancenlLoading"
  3835. (confirmDelEvent)="confirmAccompany()"
  3836. confirmTxt="是"
  3837. cancelTxt="否"
  3838. content="您选择的患者是危重或特级护理或一级护理患者,请问是否需要医护陪同检查?"
  3839. >
  3840. </app-dialog-delete>
  3841. <!-- 重复建单策略 -->
  3842. <app-dialog-delete
  3843. [delModal]="repeatModal"
  3844. (hideDelModalEvent)="hideRepeatModal()"
  3845. [btnLoading]="loadingRepeat"
  3846. (confirmDelEvent)="confirmRepeat()"
  3847. [content]="repeatMsg"
  3848. confirmTxt="是"
  3849. cancelTxt="否"
  3850. (cancelDelEvent)="hideRepeatModal()"
  3851. ></app-dialog-delete>
  3852. <!-- 是否一键接患者模态框 -->
  3853. <app-dialog-delete [delModal]="pickUpModal" (hideDelModalEvent)="hidePickUpModal()" [btnLoading]="btnLoading"
  3854. (confirmDelEvent)="confirmPickUp()" [content]="pickUpInfo"></app-dialog-delete>
  3855. <!-- 其他临床服务-关联数据-模态框 -->
  3856. <app-dialog-delete [delModal]="otherDataModal" (hideDelModalEvent)="hideOtherDataModal()" (confirmDelEvent)="confirmOtherData()" [content]="otherDataInfo"></app-dialog-delete>
  3857. <!-- 手术即将开始通知 -->
  3858. <app-dialog-surgery [delModal]="surgeryModal" (hideDelModalEvent)="hideSurgeryModal()" [btnLoading]="btnLoading"
  3859. (confirmDelEvent)="confirmSurgery($event)" [content]="surgeryInfo" [dataObj]="surgeryItem"></app-dialog-surgery>
  3860. <!-- 手术中患者-送回病房 -->
  3861. <app-dialog-delete [delModal]="sendWardModal" (hideDelModalEvent)="hideSendWardModal()" [btnLoading]="sLoading1"
  3862. (confirmDelEvent)="confirmSendWard($event)" [content]="sendWardInfo" [isChecked]="surgeryConfigs && surgeryConfigs.remandClean == 1"></app-dialog-delete>
  3863. <!-- 手术中患者-送回苏醒区 -->
  3864. <app-dialog-delete [delModal]="sendAwakeningRoomModal" (hideDelModalEvent)="hideSendAwakeningRoomModal()" [btnLoading]="sLoading2"
  3865. (confirmDelEvent)="confirmSendAwakeningRoom($event)" [content]="sendAwakeningRoomInfo" [isChecked]="surgeryConfigs && surgeryConfigs.remandClean == 1" [isSelected]="surgeryCarryingCourse && (surgeryCarryingCourse.departmentStrategy.value == 2 || surgeryCarryingCourse.departmentStrategy.value == 3)" [isSelectedArr]="surgeryCarryingCourseDepts" [deptDisplay]="deptDisplay"></app-dialog-delete>
  3866. <!-- 是否限制业务发起时间模态框 -->
  3867. <app-dialog-delete [delModal]="limitTimeModal" (hideDelModalEvent)="hideLimitTimeModal()" [btnLoading]="limitTimeLoading"
  3868. (confirmDelEvent)="confirmLimitTime()" [content]="limitTimeInfo" confirmTxt="继续建单" [isShowConfirm]="isShowConfirm" [isShowConfirmInfo]="isShowConfirmInfo"></app-dialog-delete>
  3869. <!-- 关联业务查看 -->
  3870. <app-relationTrans-detail-modal *ngIf="relationTransModalShow" [show]="relationTransModalShow" [otherBindConfigDto]="otherBindConfigDto" (closeModelHs)="closeModelRelationTrans($event)" (confirmModelHs)="confirmModelRelationTrans($event)" [deptDisplay]="deptDisplay"></app-relationTrans-detail-modal>
  3871. <!-- 打印门诊二维码的内容 -->
  3872. <div id="print-section" hidden>
  3873. <div style="width: 105mm;height: 148mm;overflow: hidden;display:flex;flex-direction: column;align-items: center; box-sizing: border-box;">
  3874. <div style="display:flex;justify-content: center;align-items: center;padding: 5mm;border-bottom: 1px solid #88c785;margin-bottom: 5mm;">
  3875. <img [src]="cardNoDto.logo" style="width: 90%;height: auto;">
  3876. </div>
  3877. <div style="padding: 5mm 10mm;flex: 1;margin:0 5mm 5mm;background-color: #007138;-webkit-print-color-adjust: exact;display:flex;flex-direction: column;align-items: center;overflow: hidden;">
  3878. <img [src]="cardNoDto.base64" style="width: 100%;">
  3879. <p style="font-size: 7mm;margin: 2mm auto;color:#fff;">{{cardNoDto.name}}</p>
  3880. <p style="font-size: 6mm;margin: 1mm auto;color:#fff;">{{cardNoDto.cardNo}}</p>
  3881. <p style="font-size: 5mm;margin: 2mm auto 0;color:#fff;">{{cardNoDto.sysName}}患者帮扶服务</p>
  3882. </div>
  3883. </div>
  3884. </div>
  3885. <button ngxPrint printSectionId="print-section" #printBtn hidden [printStyle]="{ '@page': { margin: '0 !important' }, 'body': { margin: '0 !important' } }">打印</button>