hushijiandan.component.html 166 KB

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