fuwutai.component.html 131 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392
  1. <div class="fuwutai">
  2. <div class="top" id="top" *ngIf="hurseInfoHiding != '1'">
  3. <!-- 头部Tab -->
  4. <div class="tabBox">
  5. <div class="tab" #tabs>
  6. <div
  7. class="tab_inner"
  8. [style.transform]="'translateX(' + disXHead + 'px)'"
  9. >
  10. <div
  11. [ngClass]="{ tabItem: true, checked: typeId == -1 }"
  12. (click)="checkTab(-1)"
  13. >
  14. 全部
  15. </div>
  16. <div
  17. [ngClass]="{ tabItem: true, checked: typeId == item.id }"
  18. *ngFor="let item of scopeGroups"
  19. (click)="checkTab(item.id)"
  20. [title]="item.groupName"
  21. >
  22. {{ item.groupName }}
  23. </div>
  24. </div>
  25. </div>
  26. <div class="tabBox__operate">
  27. <i
  28. class="tabBox__Icon--right icon_transport transport-xiangzuo"
  29. (click)="headToLeft()"
  30. ></i>
  31. <i
  32. class="tabBox__Icon--left icon_transport transport-xiangzuo"
  33. (click)="headToRight()"
  34. ></i>
  35. </div>
  36. <div class="timer">{{ workerRefreshTime }}s</div>
  37. </div>
  38. <!-- 配送人员信息内容 -->
  39. <div class="message_cot">
  40. <!-- 配送人员信息 -->
  41. <div class="cot_hid" [style.height]="cotHeight + 'px'">
  42. <div id="cotAll" class="cot_all" *ngIf="patientCareCol != 6">
  43. <div
  44. [ngClass]="{
  45. cot: true,
  46. fourCol: patientCareCol == 4,
  47. sevenCol: patientCareCol == 7
  48. }"
  49. *ngFor="let data of workerMessage"
  50. >
  51. <div class="first">
  52. <span nz-tooltip [nzTooltipTitle]="data.phone">{{
  53. data.name
  54. }}</span>
  55. <span>累计{{ data.totalCount }}单</span>
  56. <span
  57. class="times imptime"
  58. *ngIf="
  59. data.freetime === '今日还未接单' || data.freetime === null
  60. "
  61. >{{ data.freetime }}</span
  62. >
  63. <span
  64. class="times imptime imptime-green"
  65. *ngIf="
  66. data.freetime !== '今日还未接单' && data.freetime !== null
  67. "
  68. >{{ "空闲时间" + data.freetime }}</span
  69. >
  70. </div>
  71. <div class="second">
  72. <span *ngIf="data.workingFlag == true">{{ data.gdType }}</span>
  73. <span
  74. [ngClass]="{ fr: true, colorRed: data.timeOut == true }"
  75. *ngIf="data.workingFlag == true"
  76. >{{ data.gdState }}</span
  77. >
  78. </div>
  79. </div>
  80. </div>
  81. <div id="cotAll" nz-row *ngIf="patientCareCol == 6">
  82. <div
  83. nz-col
  84. nzSpan="4"
  85. class="cot col-6"
  86. *ngFor="let data of workerMessage"
  87. >
  88. <div class="first">
  89. <span nz-tooltip [nzTooltipTitle]="data.phone">{{
  90. data.name
  91. }}</span>
  92. <span
  93. class="times imptime"
  94. *ngIf="
  95. data.freetime === '今日还未接单' || data.freetime === null
  96. "
  97. >{{ data.freetime }}</span
  98. >
  99. <span
  100. class="times imptime imptime-green"
  101. *ngIf="
  102. data.freetime !== '今日还未接单' && data.freetime !== null
  103. "
  104. >{{ "空闲时间" + data.freetime }}</span
  105. >
  106. </div>
  107. </div>
  108. </div>
  109. <div class="cot_img" *ngIf="workerMessage.length == 0">
  110. <img src="../../assets/images/loading.gif" alt="" />
  111. </div>
  112. <div class="cot_img" *ngIf="workerMessage.length == 0">
  113. <span>暂无数据</span>
  114. </div>
  115. </div>
  116. <div class="arrow" *ngIf="showRowNum < maxNum" (click)="unfold()">
  117. <i class="icon_transport transport-xiala2-01"></i>
  118. </div>
  119. <div
  120. class="arrow"
  121. *ngIf="showRowNum > maxNum || showRowNum == maxNum"
  122. (click)="retract()"
  123. >
  124. <i class="icon_transport transport-shangla-"></i>
  125. </div>
  126. </div>
  127. </div>
  128. <!-- 状态工单 -->
  129. <div class="lists_box" [ngClass]="{ top185: hurseInfoHiding != '1' }">
  130. <!-- 未分派 -->
  131. <div class="lists">
  132. <div class="head">
  133. <span class="auto_tit">未分派({{ unassignedList.length }}条)</span>
  134. <div class="ml8 auto_building">
  135. <nz-select
  136. class="auto_building_select"
  137. [(ngModel)]="unassignedBuilding"
  138. nzMode="multiple"
  139. nzPlaceHolder="请选择楼栋"
  140. (nzOpenChange)="openChangeUnassignedBuilding($event)"
  141. (ngModelChange)="changeUnassignedBuilding($event)"
  142. >
  143. <ng-container *ngFor="let option of unassignedBuildings">
  144. <nz-option
  145. *ngIf="!bLoading && !b2Loading"
  146. [nzLabel]="option[0] + '(' + option[2] + ')'"
  147. [nzValue]="option[3]"
  148. >
  149. </nz-option>
  150. </ng-container>
  151. <nz-option *ngIf="bLoading || b2Loading" nzDisabled nzCustomContent>
  152. <i nz-icon nzType="loading" class="loading-icon"></i> 搜索中...
  153. </nz-option>
  154. </nz-select>
  155. </div>
  156. <span class="toLastTime"
  157. >刷新倒计时<span class="time">{{ orderRefreshTime }}s</span></span
  158. >
  159. </div>
  160. <div class="searchBox">
  161. <label
  162. nz-checkbox
  163. [(ngModel)]="allUnassignedList"
  164. (ngModelChange)="changeAllUnassignedList($event)"
  165. >全选</label
  166. >
  167. <div class="search wp60">
  168. <input
  169. class="wp75"
  170. type="text"
  171. placeholder="请输入关键字"
  172. [(ngModel)]="unassignedSearchCon"
  173. />
  174. <div class="magnifier wp20" (click)="searchUnassigned()">
  175. <i class="icon_transport transport-sousuo"></i>
  176. <span>搜索</span>
  177. </div>
  178. </div>
  179. <button
  180. nz-button
  181. nzType="primary"
  182. (click)="batchDispatch()"
  183. [disabled]="!batchType"
  184. >
  185. 批量派单
  186. </button>
  187. </div>
  188. <div
  189. class="cots_body weifenpai"
  190. *ngIf="txtLabelCol == 1"
  191. [ngClass]="{ top185: hurseInfoHiding != '1' }"
  192. >
  193. <overlay-scrollbars #osComponentRef2 [ngStyle]="{ height: '100%' }">
  194. <ng-container *ngIf="unassignedList.length && !loading1">
  195. <div
  196. class="list listsTypeColor"
  197. *ngFor="let data of unassignedList"
  198. >
  199. <div class="left_cots">
  200. <!-- 工单 -->
  201. <div
  202. class="gongdan"
  203. (click)="batchDispatchSelect(!data.checked, data.id)"
  204. >
  205. <span class="left mr8"
  206. ><label
  207. nz-checkbox
  208. [ngModel]="data.checked"
  209. (ngModelChange)="batchDispatchSelect($event, data.id)"
  210. ></label
  211. ></span>
  212. <span class="left gongdan_name" nz-tooltip [nzTooltipTitle]="data.taskType.taskName + (data.goodsRemark?'-'+data.goodsRemark:'')+'(' + data.gdcode + ')'">
  213. {{ data.isHalfInspect === 1 ? "半程陪检" : data.taskType.taskName }}<ng-container *ngIf="data.goodsRemark">-{{data.goodsRemark}}</ng-container>({{ data.gdcode }})
  214. </span>
  215. <div class="right_all">
  216. <span nz-tooltip [nzTooltipTitle]="data.worker ? data.worker.phone : ''" class="right_all_name">{{ data.worker ? data.worker.name : "" }}</span>
  217. <span class="right">
  218. <span [ngClass]="{ colorRed: data.timeOut == true }">{{ data.gdState.name }}</span>
  219. </span>
  220. </div>
  221. </div>
  222. <!-- 地点 -->
  223. <div
  224. class="didian"
  225. (click)="
  226. openDetails(data)
  227. "
  228. >
  229. <span class="left" *ngIf="data.taskType.associationType.value == 'inspect'">
  230. {{ data.startDept ? data.startDept.dept : "" }}
  231. <span *ngFor="let item of data.middleDept">
  232. ->{{ item.dept }}
  233. </span>
  234. </span>
  235. <span class="left" *ngIf="data.taskType.associationType.id != 260">
  236. {{ data.startDept ? data.startDept.dept : ""}}{{ data.endDepts ? "->" + data.endDepts[0].dept : "" }}
  237. </span>
  238. <span class="right" *ngIf="data.goods">
  239. <i class="icon_transport transport-icon3"></i>
  240. <span>{{ data.goods }}</span>
  241. </span>
  242. <span class="right" *ngIf="data.workOrderRemark" [title]="data.workOrderRemark">
  243. <i class="icon_transport transport-icon3"></i>
  244. <span>{{ data.workOrderRemark }}</span>
  245. </span>
  246. </div>
  247. <!-- 时间 -->
  248. <div
  249. class="shijian"
  250. (click)="
  251. openDetails(data)
  252. "
  253. >
  254. <span
  255. class="left"
  256. *ngIf="data.expectTimeNum && data.timeOut != true"
  257. >
  258. <i
  259. class="icon_transport transport-shouye10"
  260. nz-tooltip
  261. nzTooltipTitle="进行中"
  262. ></i>
  263. <ng-container
  264. *ngIf="
  265. (data.taskType.associationType.value ==
  266. 'patientTransport' ||
  267. data.taskType.associationType.value == 'inspect') &&
  268. data.patient?.illnessState
  269. "
  270. >
  271. <i
  272. *ngIf="data.patient.illnessState.value === '2'"
  273. class="colorRed icon_transport transport-tubiao_wei"
  274. nz-tooltip
  275. nzTooltipTitle="病危"
  276. ></i>
  277. <i
  278. *ngIf="data.patient.illnessState.value === '3'"
  279. class="colorRed icon_transport transport-zhong"
  280. nz-tooltip
  281. nzTooltipTitle="病重"
  282. ></i>
  283. </ng-container>
  284. <ng-container
  285. *ngIf="
  286. (data.taskType.associationType.value ==
  287. 'patientTransport' ||
  288. data.taskType.associationType.value == 'inspect') &&
  289. data.patient?.careLevel
  290. "
  291. >
  292. <i
  293. *ngIf="data.patient.careLevel.value === '0'"
  294. class="icon_transport transport-te1"
  295. nz-tooltip
  296. nzTooltipTitle="特级护理"
  297. ></i>
  298. <i
  299. *ngIf="data.patient.careLevel.value === '1'"
  300. class="icon_transport transport-1_round_solid"
  301. nz-tooltip
  302. nzTooltipTitle="一级护理"
  303. ></i>
  304. <i
  305. *ngIf="data.patient.careLevel.value === '2'"
  306. class="icon_transport transport-2_round_solid"
  307. nz-tooltip
  308. nzTooltipTitle="二级护理"
  309. ></i>
  310. <i
  311. *ngIf="data.patient.careLevel.value === '3'"
  312. class="icon_transport transport-3_round_solid"
  313. nz-tooltip
  314. nzTooltipTitle="三级护理"
  315. ></i>
  316. </ng-container>
  317. <span nz-tooltip nzTooltipTitle="患者姓名(住院号)" *ngIf="data.taskType.associationType.value == 'patientTransport' || data.taskType.associationType.value == 'inspect'">{{ data.patient.patientName }}<span *ngIf="data.patient.residenceNo">({{ data.patient.residenceNo }})</span></span>
  318. <!-- <span>总时长{{formatTime(data.expectTimeNum/1000)}}</span> -->
  319. </span>
  320. <span
  321. class="left"
  322. *ngIf="data.timeOutLength && data.timeOut == true"
  323. >
  324. <i
  325. class="colorRed icon_transport transport-daojishi"
  326. nz-tooltip
  327. nzTooltipTitle="超时"
  328. ></i>
  329. <ng-container
  330. *ngIf="
  331. (data.taskType.associationType.value ==
  332. 'patientTransport' ||
  333. data.taskType.associationType.value == 'inspect') &&
  334. data.patient?.illnessState
  335. "
  336. >
  337. <i
  338. *ngIf="data.patient.illnessState.value === '2'"
  339. class="colorRed icon_transport transport-tubiao_wei"
  340. nz-tooltip
  341. nzTooltipTitle="病危"
  342. ></i>
  343. <i
  344. *ngIf="data.patient.illnessState.value === '3'"
  345. class="colorRed icon_transport transport-zhong"
  346. nz-tooltip
  347. nzTooltipTitle="病重"
  348. ></i>
  349. </ng-container>
  350. <ng-container
  351. *ngIf="
  352. (data.taskType.associationType.value ==
  353. 'patientTransport' ||
  354. data.taskType.associationType.value == 'inspect') &&
  355. data.patient?.careLevel
  356. "
  357. >
  358. <i
  359. *ngIf="data.patient.careLevel.value === '0'"
  360. class="icon_transport transport-te1"
  361. nz-tooltip
  362. nzTooltipTitle="特级护理"
  363. ></i>
  364. <i
  365. *ngIf="data.patient.careLevel.value === '1'"
  366. class="icon_transport transport-1_round_solid"
  367. nz-tooltip
  368. nzTooltipTitle="一级护理"
  369. ></i>
  370. <i
  371. *ngIf="data.patient.careLevel.value === '2'"
  372. class="icon_transport transport-2_round_solid"
  373. nz-tooltip
  374. nzTooltipTitle="二级护理"
  375. ></i>
  376. <i
  377. *ngIf="data.patient.careLevel.value === '3'"
  378. class="icon_transport transport-3_round_solid"
  379. nz-tooltip
  380. nzTooltipTitle="三级护理"
  381. ></i>
  382. </ng-container>
  383. <span nz-tooltip nzTooltipTitle="患者姓名(住院号)" *ngIf="data.taskType.associationType.value == 'patientTransport' || data.taskType.associationType.value == 'inspect'">{{ data.patient.patientName }}<span *ngIf="data.patient.residenceNo">({{ data.patient.residenceNo }})</span></span>
  384. <!-- <span>已超时{{formatTime(data.timeOutLength/1000)}}</span> -->
  385. </span>
  386. <span
  387. class="right"
  388. nz-tooltip
  389. [nzTooltipTitle]="
  390. '总时长' + formatTime(data.expectTimeNum / 1000)
  391. "
  392. >
  393. {{ data.showCreateTime }}
  394. </span>
  395. </div>
  396. <!-- 急单 -->
  397. <img
  398. *ngIf="data.emergencyType && data.emergencyType.id == 300"
  399. src="../../assets/images/icon_ji.png"
  400. alt=""
  401. class="ji"
  402. />
  403. <!-- 加急单 -->
  404. <img
  405. *ngIf="data.emergencyType && data.emergencyType.id == 301"
  406. src="../../assets/images/icon_jiaji.png"
  407. alt=""
  408. class="ji"
  409. />
  410. </div>
  411. <div
  412. class="
  413. right_bots
  414. display_flex
  415. col-flex
  416. align-items_center
  417. justify-content_space-around
  418. "
  419. >
  420. <input
  421. type="button"
  422. *ngIf="data.gdState.value == 2"
  423. class="top_bot"
  424. value="派单"
  425. (click)="allotWorker(data.id, data.gdState.id)"
  426. />
  427. <input
  428. type="button"
  429. *ngIf="!data.worker && data.gdState.value != 2"
  430. class="top_bot"
  431. value="派单"
  432. (click)="allotWorker(data.id, data.gdState.id, 1)"
  433. />
  434. <input
  435. type="button"
  436. *ngIf="
  437. data.gdState.value == 2 ||
  438. ((data.gdState.value == 3 || data.gdState.value == 4) &&
  439. data.worker)
  440. "
  441. class="btm_bot"
  442. value="删除"
  443. (click)="openDelModal(data.id)"
  444. />
  445. </div>
  446. <div
  447. *ngIf="data.timeOut != true"
  448. class="slider sgreen"
  449. [ngStyle]="{ width: data.percent + '%' }"
  450. ></div>
  451. <div
  452. *ngIf="data.timeOut == true"
  453. class="slider sred"
  454. [ngStyle]="{ width: '100%' }"
  455. ></div>
  456. </div>
  457. </ng-container>
  458. <div
  459. class="
  460. loading
  461. display_flex
  462. col-flex
  463. justify-content_flex-center
  464. align-items_center
  465. "
  466. *ngIf="loading1"
  467. >
  468. <img src="../../assets/images/loading.gif" alt="" />
  469. </div>
  470. <div class="no_data" *ngIf="unassignedList.length == 0 && !loading1">
  471. 暂无数据
  472. </div>
  473. </overlay-scrollbars>
  474. </div>
  475. <div
  476. class="cots_body weifenpai twoCol"
  477. *ngIf="txtLabelCol == 2"
  478. [ngClass]="{ top185: hurseInfoHiding != '1' }"
  479. >
  480. <overlay-scrollbars #osComponentRef1 [ngStyle]="{ height: '100%' }">
  481. <ng-container *ngIf="unassignedList.length && !loading1">
  482. <div
  483. class="list listsTypeColor"
  484. *ngFor="let data of unassignedList"
  485. >
  486. <div
  487. class="left_cots"
  488. (click)="openDetails(data)"
  489. >
  490. <!-- 工单 -->
  491. <div class="gongdan">
  492. <span class="left"
  493. >{{ data.taskType.associationType.name
  494. }}{{
  495. data.createDeptDTO
  496. ? "(" + data.createDeptDTO.dept + ")"
  497. : ""
  498. }}</span
  499. >
  500. <span
  501. [ngClass]="{ right: true, colorRed: data.timeOut == true }"
  502. >
  503. {{ data.gdState.name }}
  504. </span>
  505. </div>
  506. <!-- 时间 -->
  507. <div class="shijian">
  508. <div class="left">
  509. {{ data.createUser ? data.createUser.name : "" }}
  510. </div>
  511. <span class="right">
  512. <span>{{ data.showCreateTime }}</span>
  513. </span>
  514. </div>
  515. <!-- 急单 -->
  516. <img
  517. *ngIf="data.emergencyType && data.emergencyType.id == 300"
  518. src="../../assets/images/icon_ji.png"
  519. alt=""
  520. class="ji"
  521. />
  522. <!-- 加急单 -->
  523. <img
  524. *ngIf="data.emergencyType && data.emergencyType.id == 301"
  525. src="../../assets/images/icon_jiaji.png"
  526. alt=""
  527. class="ji"
  528. />
  529. </div>
  530. <div
  531. *ngIf="data.timeOut != true"
  532. class="slider sgreen"
  533. [ngStyle]="{ width: data.percent + '%' }"
  534. ></div>
  535. <div
  536. *ngIf="data.timeOut == true"
  537. class="slider sred"
  538. [ngStyle]="{ width: '100%' }"
  539. ></div>
  540. </div>
  541. </ng-container>
  542. <div
  543. class="
  544. loading
  545. display_flex
  546. col-flex
  547. justify-content_flex-center
  548. align-items_center
  549. "
  550. *ngIf="loading1"
  551. >
  552. <img src="../../assets/images/loading.gif" alt="" />
  553. </div>
  554. <div class="no_data" *ngIf="unassignedList.length == 0 && !loading1">
  555. 暂无数据
  556. </div>
  557. </overlay-scrollbars>
  558. </div>
  559. </div>
  560. <!-- 待到达 -->
  561. <div class="lists">
  562. <div class="head">
  563. <span class="auto_tit">待到达({{ arriveList.length }}条)</span>
  564. <span class="toLastTime"
  565. >刷新倒计时<span class="time">{{ orderRefreshTime }}s</span></span
  566. >
  567. </div>
  568. <div class="searchBox">
  569. <label
  570. nz-checkbox
  571. [(ngModel)]="allArriveList"
  572. (ngModelChange)="changeAllArriveList($event)"
  573. >全选</label
  574. >
  575. <div class="search wp60">
  576. <input
  577. class="wp75"
  578. type="text"
  579. placeholder="请输入关键字"
  580. [(ngModel)]="arriveSearchCon"
  581. />
  582. <div class="magnifier wp20" (click)="searchArrive()">
  583. <i class="icon_transport transport-sousuo"></i>
  584. <span>搜索</span>
  585. </div>
  586. </div>
  587. <button
  588. nz-button
  589. nzType="primary"
  590. (click)="batchWithdrawal()"
  591. [disabled]="!batchType1"
  592. >
  593. 批量撤回
  594. </button>
  595. </div>
  596. <div
  597. class="cots_body daidaoda"
  598. *ngIf="txtLabelCol == 1"
  599. [ngClass]="{ top185: hurseInfoHiding != '1' }"
  600. >
  601. <overlay-scrollbars #osComponentRef3 [ngStyle]="{ height: '100%' }">
  602. <ng-container *ngIf="arriveList.length && !loading2">
  603. <div class="list listsTypeColor" *ngFor="let data of arriveList">
  604. <div class="left_cots">
  605. <!-- 工单 -->
  606. <div
  607. class="gongdan"
  608. (click)="batchWithdrawalSelect(!data.checked, data.id)"
  609. >
  610. <span class="left mr8"
  611. ><label
  612. nz-checkbox
  613. [ngModel]="data.checked"
  614. (ngModelChange)="batchWithdrawalSelect($event, data.id)"
  615. ></label
  616. ></span>
  617. <span class="left gongdan_name" nz-tooltip [nzTooltipTitle]="data.taskType.taskName + (data.goodsRemark?'-'+data.goodsRemark:'')+'(' + data.gdcode + ')'">
  618. {{ data.isHalfInspect === 1 ? "半程陪检" : data.taskType.taskName }}<ng-container *ngIf="data.goodsRemark">-{{data.goodsRemark}}</ng-container>({{ data.gdcode }})
  619. </span>
  620. <div class="right_all">
  621. <span nz-tooltip [nzTooltipTitle]="data.worker ? data.worker.phone : ''" class="right_all_name">{{ data.worker ? data.worker.name : "" }}</span>
  622. <span class="right">
  623. <span [ngClass]="{ colorRed: data.timeOut == true }">{{ data.gdState.name }}</span>
  624. </span>
  625. </div>
  626. </div>
  627. <!-- 地点 -->
  628. <div
  629. class="didian"
  630. (click)="
  631. openDetails(data)
  632. "
  633. >
  634. <span
  635. class="left"
  636. *ngIf="
  637. data.taskType.associationType &&
  638. data.taskType.associationType.value == 'inspect'
  639. "
  640. >
  641. {{ data.startDept ? data.startDept.dept : "" }}
  642. <span *ngFor="let item of data.middleDept">
  643. ->{{ item.dept }}
  644. </span>
  645. </span>
  646. <span
  647. class="left"
  648. *ngIf="
  649. data.taskType.associationType &&
  650. data.taskType.associationType.id != 260
  651. "
  652. >
  653. {{ data.startDept ? data.startDept.dept : ""
  654. }}{{ data.endDepts ? " -> " + data.endDepts[0].dept : "" }}
  655. </span>
  656. <span class="right" *ngIf="data.goods">
  657. <i class="icon_transport transport-icon3"></i>
  658. <span>{{ data.goods }}</span>
  659. </span>
  660. <span class="right" *ngIf="data.workOrderRemark" [title]="data.workOrderRemark">
  661. <i class="icon_transport transport-icon3"></i>
  662. <span>{{ data.workOrderRemark }}</span>
  663. </span>
  664. </div>
  665. <!-- 时间 -->
  666. <div
  667. class="shijian"
  668. (click)="
  669. openDetails(data)
  670. "
  671. >
  672. <span
  673. class="left"
  674. *ngIf="data.expectTimeNum && data.timeOut != true"
  675. >
  676. <i
  677. class="icon_transport transport-shouye10"
  678. nz-tooltip
  679. nzTooltipTitle="进行中"
  680. ></i>
  681. <ng-container
  682. *ngIf="
  683. (data.taskType.associationType.value ==
  684. 'patientTransport' ||
  685. data.taskType.associationType.value == 'inspect') &&
  686. data.patient?.illnessState
  687. "
  688. >
  689. <i
  690. *ngIf="data.patient.illnessState.value === '2'"
  691. class="colorRed icon_transport transport-tubiao_wei"
  692. nz-tooltip
  693. nzTooltipTitle="病危"
  694. ></i>
  695. <i
  696. *ngIf="data.patient.illnessState.value === '3'"
  697. class="colorRed icon_transport transport-zhong"
  698. nz-tooltip
  699. nzTooltipTitle="病重"
  700. ></i>
  701. </ng-container>
  702. <ng-container
  703. *ngIf="
  704. (data.taskType.associationType.value ==
  705. 'patientTransport' ||
  706. data.taskType.associationType.value == 'inspect') &&
  707. data.patient?.careLevel
  708. "
  709. >
  710. <i
  711. *ngIf="data.patient.careLevel.value === '0'"
  712. class="icon_transport transport-te1"
  713. nz-tooltip
  714. nzTooltipTitle="特级护理"
  715. ></i>
  716. <i
  717. *ngIf="data.patient.careLevel.value === '1'"
  718. class="icon_transport transport-1_round_solid"
  719. nz-tooltip
  720. nzTooltipTitle="一级护理"
  721. ></i>
  722. <i
  723. *ngIf="data.patient.careLevel.value === '2'"
  724. class="icon_transport transport-2_round_solid"
  725. nz-tooltip
  726. nzTooltipTitle="二级护理"
  727. ></i>
  728. <i
  729. *ngIf="data.patient.careLevel.value === '3'"
  730. class="icon_transport transport-3_round_solid"
  731. nz-tooltip
  732. nzTooltipTitle="三级护理"
  733. ></i>
  734. </ng-container>
  735. <span nz-tooltip nzTooltipTitle="患者姓名(住院号)" *ngIf="data.taskType.associationType.value == 'patientTransport' || data.taskType.associationType.value == 'inspect'">{{ data.patient.patientName }}<span *ngIf="data.patient.residenceNo">({{ data.patient.residenceNo }})</span></span>
  736. <!-- <span>总时长{{formatTime(data.expectTimeNum/1000)}}</span> -->
  737. </span>
  738. <span
  739. class="left"
  740. *ngIf="data.timeOutLength && data.timeOut == true"
  741. >
  742. <i
  743. class="colorRed icon_transport transport-daojishi"
  744. nz-tooltip
  745. nzTooltipTitle="超时"
  746. ></i>
  747. <ng-container
  748. *ngIf="
  749. (data.taskType.associationType.value ==
  750. 'patientTransport' ||
  751. data.taskType.associationType.value == 'inspect') &&
  752. data.patient?.illnessState
  753. "
  754. >
  755. <i
  756. *ngIf="data.patient.illnessState.value === '2'"
  757. class="colorRed icon_transport transport-tubiao_wei"
  758. nz-tooltip
  759. nzTooltipTitle="病危"
  760. ></i>
  761. <i
  762. *ngIf="data.patient.illnessState.value === '3'"
  763. class="colorRed icon_transport transport-zhong"
  764. nz-tooltip
  765. nzTooltipTitle="病重"
  766. ></i>
  767. </ng-container>
  768. <ng-container
  769. *ngIf="
  770. (data.taskType.associationType.value ==
  771. 'patientTransport' ||
  772. data.taskType.associationType.value == 'inspect') &&
  773. data.patient?.careLevel
  774. "
  775. >
  776. <i
  777. *ngIf="data.patient.careLevel.value === '0'"
  778. class="icon_transport transport-te1"
  779. nz-tooltip
  780. nzTooltipTitle="特级护理"
  781. ></i>
  782. <i
  783. *ngIf="data.patient.careLevel.value === '1'"
  784. class="icon_transport transport-1_round_solid"
  785. nz-tooltip
  786. nzTooltipTitle="一级护理"
  787. ></i>
  788. <i
  789. *ngIf="data.patient.careLevel.value === '2'"
  790. class="icon_transport transport-2_round_solid"
  791. nz-tooltip
  792. nzTooltipTitle="二级护理"
  793. ></i>
  794. <i
  795. *ngIf="data.patient.careLevel.value === '3'"
  796. class="icon_transport transport-3_round_solid"
  797. nz-tooltip
  798. nzTooltipTitle="三级护理"
  799. ></i>
  800. </ng-container>
  801. <span nz-tooltip nzTooltipTitle="患者姓名(住院号)" *ngIf="data.taskType.associationType.value == 'patientTransport' || data.taskType.associationType.value == 'inspect'">{{ data.patient.patientName }}<span *ngIf="data.patient.residenceNo">({{ data.patient.residenceNo }})</span></span>
  802. <!-- <span>已超时{{formatTime(data.timeOutLength/1000)}}</span> -->
  803. </span>
  804. <span
  805. class="right"
  806. nz-tooltip
  807. [nzTooltipTitle]="
  808. '总时长' + formatTime(data.expectTimeNum / 1000)
  809. "
  810. >
  811. {{ data.showCreateTime }}
  812. </span>
  813. </div>
  814. <!-- 急单 -->
  815. <img
  816. *ngIf="data.emergencyType && data.emergencyType.id == 300"
  817. src="../../assets/images/icon_ji.png"
  818. alt=""
  819. class="ji"
  820. />
  821. <!-- 加急单 -->
  822. <img
  823. *ngIf="data.emergencyType && data.emergencyType.id == 301"
  824. src="../../assets/images/icon_jiaji.png"
  825. alt=""
  826. class="ji"
  827. />
  828. </div>
  829. <div
  830. class="
  831. right_bots
  832. display_flex
  833. col-flex
  834. align-items_center
  835. justify-content_space-around
  836. "
  837. >
  838. <input
  839. type="button"
  840. *ngIf="data.gdState.value == 2"
  841. class="top_bot"
  842. value="派单"
  843. (click)="allotWorker(data.id, data.gdState.id)"
  844. />
  845. <input
  846. type="button"
  847. *ngIf="data.gdState.value == 3 || data.gdState.value == 4"
  848. class="mid_bot"
  849. value="撤回"
  850. (click)="openRecallModal(data.id)"
  851. />
  852. <input
  853. type="button"
  854. *ngIf="
  855. data.gdState.value == 2 ||
  856. data.gdState.value == 3 ||
  857. data.gdState.value == 4
  858. "
  859. class="btm_bot"
  860. value="删除"
  861. (click)="openDelModal(data.id)"
  862. />
  863. </div>
  864. <div
  865. *ngIf="data.timeOut != true"
  866. class="slider sgreen"
  867. [ngStyle]="{ width: data.percent + '%' }"
  868. ></div>
  869. <div
  870. *ngIf="data.timeOut == true"
  871. class="slider sred"
  872. [ngStyle]="{ width: '100%' }"
  873. ></div>
  874. </div>
  875. </ng-container>
  876. <div
  877. class="
  878. loading
  879. display_flex
  880. col-flex
  881. justify-content_flex-center
  882. align-items_center
  883. "
  884. *ngIf="loading2"
  885. >
  886. <img src="../../assets/images/loading.gif" alt="" />
  887. </div>
  888. <div class="no_data" *ngIf="arriveList.length == 0 && !loading2">
  889. 暂无数据
  890. </div>
  891. </overlay-scrollbars>
  892. </div>
  893. <div
  894. class="cots_body daidaoda twoCol"
  895. *ngIf="txtLabelCol == 2"
  896. [ngClass]="{ top185: hurseInfoHiding != '1' }"
  897. >
  898. <overlay-scrollbars #osComponentRef4 [ngStyle]="{ height: '100%' }">
  899. <ng-container *ngIf="arriveList.length && !loading2">
  900. <div class="list listsTypeColor" *ngFor="let data of arriveList">
  901. <div
  902. class="left_cots"
  903. (click)="openDetails(data)"
  904. >
  905. <!-- 工单 -->
  906. <div class="gongdan">
  907. <span class="left"
  908. >{{ data.taskType.associationType.name
  909. }}{{
  910. data.createDeptDTO
  911. ? "(" + data.createDeptDTO.dept + ")"
  912. : ""
  913. }}</span
  914. >
  915. <span
  916. [ngClass]="{ right: true, colorRed: data.timeOut == true }"
  917. >
  918. {{ data.gdState.name }}
  919. </span>
  920. </div>
  921. <!-- 时间 -->
  922. <div class="shijian">
  923. <span class="left">
  924. {{ data.worker ? data.worker.name : "" }}
  925. </span>
  926. <span class="right">
  927. <span>{{ data.showCreateTime }}</span>
  928. </span>
  929. </div>
  930. <!-- 急标 -->
  931. <!-- 急单 -->
  932. <img
  933. *ngIf="data.emergencyType && data.emergencyType.id == 300"
  934. src="../../assets/images/icon_ji.png"
  935. alt=""
  936. class="ji"
  937. />
  938. <!-- 加急单 -->
  939. <img
  940. *ngIf="data.emergencyType && data.emergencyType.id == 301"
  941. src="../../assets/images/icon_jiaji.png"
  942. alt=""
  943. class="ji"
  944. />
  945. </div>
  946. <div
  947. *ngIf="data.timeOut != true"
  948. class="slider sgreen"
  949. [ngStyle]="{ width: data.percent + '%' }"
  950. ></div>
  951. <div
  952. *ngIf="data.timeOut == true"
  953. class="slider sred"
  954. [ngStyle]="{ width: '100%' }"
  955. ></div>
  956. </div>
  957. </ng-container>
  958. <div
  959. class="
  960. loading
  961. display_flex
  962. col-flex
  963. justify-content_flex-center
  964. align-items_center
  965. "
  966. *ngIf="loading2"
  967. >
  968. <img src="../../assets/images/loading.gif" alt="" />
  969. </div>
  970. <div class="no_data" *ngIf="arriveList.length == 0 && !loading2">
  971. 暂无数据
  972. </div>
  973. </overlay-scrollbars>
  974. </div>
  975. </div>
  976. <!-- 执行中 -->
  977. <div class="lists">
  978. <div class="head">
  979. <span class="auto_tit">执行中({{ executionList.length }}条)</span>
  980. <span class="toLastTime"
  981. >刷新倒计时<span class="time">{{ orderRefreshTime }}s</span></span
  982. >
  983. </div>
  984. <div class="searchBox">
  985. <div class="search">
  986. <input
  987. type="text"
  988. placeholder="请输入关键字"
  989. [(ngModel)]="executionSearchCon"
  990. />
  991. <div class="magnifier" (click)="searchExecution()">
  992. <i class="icon_transport transport-sousuo"></i>
  993. <span>搜索</span>
  994. </div>
  995. </div>
  996. </div>
  997. <div
  998. class="cots_body zhixingzhong"
  999. *ngIf="txtLabelCol == 1"
  1000. [ngClass]="{ top185: hurseInfoHiding != '1' }"
  1001. >
  1002. <overlay-scrollbars #osComponentRef5 [ngStyle]="{ height: '100%' }">
  1003. <ng-container *ngIf="executionList.length && !loading3">
  1004. <div class="list" *ngFor="let data of executionList">
  1005. <div
  1006. class="left_cots"
  1007. (click)="openDetails(data)"
  1008. >
  1009. <!-- 工单 -->
  1010. <div class="gongdan">
  1011. <span class="left gongdan_name" nz-tooltip [nzTooltipTitle]="data.taskType.taskName + (data.goodsRemark?'-'+data.goodsRemark:'')+'(' + data.gdcode + ')'">
  1012. {{ data.isHalfInspect === 1 ? "半程陪检" : data.taskType.taskName }}<ng-container *ngIf="data.goodsRemark">-{{data.goodsRemark}}</ng-container>({{ data.gdcode }})
  1013. </span>
  1014. <div class="right_all">
  1015. <span nz-tooltip [nzTooltipTitle]="data.worker ? data.worker.phone : ''" class="right_all_name">{{ data.worker ? data.worker.name : "" }}</span>
  1016. <span class="right">
  1017. <span [ngClass]="{ colorRed: data.timeOut == true }">{{ data.gdState.name }}</span>
  1018. </span>
  1019. </div>
  1020. </div>
  1021. <!-- 地点 -->
  1022. <div class="didian">
  1023. <span
  1024. class="left"
  1025. *ngIf="
  1026. data.taskType.associationType &&
  1027. data.taskType.associationType.value == 'inspect'
  1028. "
  1029. >
  1030. {{ data.startDept ? data.startDept.dept : "" }}
  1031. <span *ngFor="let item of data.middleDept">
  1032. ->{{ item.dept }}
  1033. </span>
  1034. </span>
  1035. <span
  1036. class="left"
  1037. *ngIf="
  1038. data.taskType.associationType &&
  1039. data.taskType.associationType.id != 260
  1040. "
  1041. >
  1042. {{ data.startDept ? data.startDept.dept : ""
  1043. }}{{ data.endDepts ? " -> " + data.endDepts[0].dept : "" }}
  1044. </span>
  1045. <span class="right" *ngIf="data.goods">
  1046. <i class="icon_transport transport-icon3"></i>
  1047. <span>{{ data.goods }}</span>
  1048. </span>
  1049. <span class="right" *ngIf="data.workOrderRemark" [title]="data.workOrderRemark">
  1050. <i class="icon_transport transport-icon3"></i>
  1051. <span>{{ data.workOrderRemark }}</span>
  1052. </span>
  1053. </div>
  1054. <!-- 时间 -->
  1055. <div class="shijian">
  1056. <span
  1057. class="left"
  1058. *ngIf="data.expectTimeNum && data.timeOut != true"
  1059. >
  1060. <i
  1061. class="icon_transport transport-shouye10"
  1062. nz-tooltip
  1063. nzTooltipTitle="进行中"
  1064. ></i>
  1065. <ng-container
  1066. *ngIf="
  1067. (data.taskType.associationType.value ==
  1068. 'patientTransport' ||
  1069. data.taskType.associationType.value == 'inspect') &&
  1070. data.patient?.illnessState
  1071. "
  1072. >
  1073. <i
  1074. *ngIf="data.patient.illnessState.value === '2'"
  1075. class="colorRed icon_transport transport-tubiao_wei"
  1076. nz-tooltip
  1077. nzTooltipTitle="病危"
  1078. ></i>
  1079. <i
  1080. *ngIf="data.patient.illnessState.value === '3'"
  1081. class="colorRed icon_transport transport-zhong"
  1082. nz-tooltip
  1083. nzTooltipTitle="病重"
  1084. ></i>
  1085. </ng-container>
  1086. <ng-container
  1087. *ngIf="
  1088. (data.taskType.associationType.value ==
  1089. 'patientTransport' ||
  1090. data.taskType.associationType.value == 'inspect') &&
  1091. data.patient?.careLevel
  1092. "
  1093. >
  1094. <i
  1095. *ngIf="data.patient.careLevel.value === '0'"
  1096. class="icon_transport transport-te1"
  1097. nz-tooltip
  1098. nzTooltipTitle="特级护理"
  1099. ></i>
  1100. <i
  1101. *ngIf="data.patient.careLevel.value === '1'"
  1102. class="icon_transport transport-1_round_solid"
  1103. nz-tooltip
  1104. nzTooltipTitle="一级护理"
  1105. ></i>
  1106. <i
  1107. *ngIf="data.patient.careLevel.value === '2'"
  1108. class="icon_transport transport-2_round_solid"
  1109. nz-tooltip
  1110. nzTooltipTitle="二级护理"
  1111. ></i>
  1112. <i
  1113. *ngIf="data.patient.careLevel.value === '3'"
  1114. class="icon_transport transport-3_round_solid"
  1115. nz-tooltip
  1116. nzTooltipTitle="三级护理"
  1117. ></i>
  1118. </ng-container>
  1119. <span nz-tooltip nzTooltipTitle="患者姓名(住院号)" *ngIf="data.taskType.associationType.value == 'patientTransport' || data.taskType.associationType.value == 'inspect'">{{ data.patient.patientName }}<span *ngIf="data.patient.residenceNo">({{ data.patient.residenceNo }})</span></span>
  1120. <!-- <span>总时长{{formatTime(data.expectTimeNum/1000)}}</span> -->
  1121. </span>
  1122. <span
  1123. class="left"
  1124. *ngIf="data.timeOutLength && data.timeOut == true"
  1125. >
  1126. <i
  1127. class="colorRed icon_transport transport-daojishi"
  1128. nz-tooltip
  1129. nzTooltipTitle="超时"
  1130. ></i>
  1131. <ng-container
  1132. *ngIf="
  1133. (data.taskType.associationType.value ==
  1134. 'patientTransport' ||
  1135. data.taskType.associationType.value == 'inspect') &&
  1136. data.patient?.illnessState
  1137. "
  1138. >
  1139. <i
  1140. *ngIf="data.patient.illnessState.value === '2'"
  1141. class="colorRed icon_transport transport-tubiao_wei"
  1142. nz-tooltip
  1143. nzTooltipTitle="病危"
  1144. ></i>
  1145. <i
  1146. *ngIf="data.patient.illnessState.value === '3'"
  1147. class="colorRed icon_transport transport-zhong"
  1148. nz-tooltip
  1149. nzTooltipTitle="病重"
  1150. ></i>
  1151. </ng-container>
  1152. <ng-container
  1153. *ngIf="
  1154. (data.taskType.associationType.value ==
  1155. 'patientTransport' ||
  1156. data.taskType.associationType.value == 'inspect') &&
  1157. data.patient?.careLevel
  1158. "
  1159. >
  1160. <i
  1161. *ngIf="data.patient.careLevel.value === '0'"
  1162. class="icon_transport transport-te1"
  1163. nz-tooltip
  1164. nzTooltipTitle="特级护理"
  1165. ></i>
  1166. <i
  1167. *ngIf="data.patient.careLevel.value === '1'"
  1168. class="icon_transport transport-1_round_solid"
  1169. nz-tooltip
  1170. nzTooltipTitle="一级护理"
  1171. ></i>
  1172. <i
  1173. *ngIf="data.patient.careLevel.value === '2'"
  1174. class="icon_transport transport-2_round_solid"
  1175. nz-tooltip
  1176. nzTooltipTitle="二级护理"
  1177. ></i>
  1178. <i
  1179. *ngIf="data.patient.careLevel.value === '3'"
  1180. class="icon_transport transport-3_round_solid"
  1181. nz-tooltip
  1182. nzTooltipTitle="三级护理"
  1183. ></i>
  1184. </ng-container>
  1185. <span nz-tooltip nzTooltipTitle="患者姓名(住院号)" *ngIf="data.taskType.associationType.value == 'patientTransport' || data.taskType.associationType.value == 'inspect'">{{ data.patient.patientName }}<span *ngIf="data.patient.residenceNo">({{ data.patient.residenceNo }})</span></span>
  1186. <!-- <span>已超时{{formatTime(data.timeOutLength/1000)}}</span> -->
  1187. </span>
  1188. <span
  1189. class="right"
  1190. nz-tooltip
  1191. [nzTooltipTitle]="
  1192. '总时长' + formatTime(data.expectTimeNum / 1000)
  1193. "
  1194. >
  1195. {{ data.showCreateTime }}
  1196. </span>
  1197. </div>
  1198. <!-- 急单 -->
  1199. <img
  1200. *ngIf="data.emergencyType && data.emergencyType.id == 300"
  1201. src="../../assets/images/icon_ji.png"
  1202. alt=""
  1203. class="ji"
  1204. />
  1205. <!-- 加急单 -->
  1206. <img
  1207. *ngIf="data.emergencyType && data.emergencyType.id == 301"
  1208. src="../../assets/images/icon_jiaji.png"
  1209. alt=""
  1210. class="ji"
  1211. />
  1212. </div>
  1213. <div
  1214. *ngIf="data.timeOut != true"
  1215. class="slider sgreen"
  1216. [ngStyle]="{ width: data.percent + '%' }"
  1217. ></div>
  1218. <div
  1219. *ngIf="data.timeOut == true"
  1220. class="slider sred"
  1221. [ngStyle]="{ width: '100%' }"
  1222. ></div>
  1223. </div>
  1224. </ng-container>
  1225. <div
  1226. class="
  1227. loading
  1228. display_flex
  1229. col-flex
  1230. justify-content_flex-center
  1231. align-items_center
  1232. "
  1233. *ngIf="loading3"
  1234. >
  1235. <img src="../../assets/images/loading.gif" alt="" />
  1236. </div>
  1237. <div class="no_data" *ngIf="executionList.length == 0 && !loading3">
  1238. 暂无数据
  1239. </div>
  1240. </overlay-scrollbars>
  1241. </div>
  1242. <div
  1243. class="cots_body zhixingzhong twoCol"
  1244. *ngIf="txtLabelCol == 2"
  1245. [ngClass]="{ top185: hurseInfoHiding != '1' }"
  1246. >
  1247. <overlay-scrollbars #osComponentRef6 [ngStyle]="{ height: '100%' }">
  1248. <ng-container *ngIf="executionList.length && !loading3">
  1249. <div class="list" *ngFor="let data of executionList">
  1250. <div
  1251. class="left_cots"
  1252. (click)="openDetails(data)"
  1253. >
  1254. <!-- 工单 -->
  1255. <div class="gongdan">
  1256. <span class="left"
  1257. >{{ data.taskType.associationType.name
  1258. }}{{
  1259. data.createDeptDTO
  1260. ? "(" + data.createDeptDTO.dept + ")"
  1261. : ""
  1262. }}</span
  1263. >
  1264. <span
  1265. [ngClass]="{ right: true, colorRed: data.timeOut == true }"
  1266. >
  1267. {{ data.gdState.name }}
  1268. </span>
  1269. </div>
  1270. <!-- 时间 -->
  1271. <div class="shijian">
  1272. <span class="left">
  1273. {{ data.worker ? data.worker.name : "" }}
  1274. </span>
  1275. <span class="right">
  1276. <span>{{ data.showCreateTime }}</span>
  1277. </span>
  1278. </div>
  1279. <!-- 急单 -->
  1280. <img
  1281. *ngIf="data.emergencyType && data.emergencyType.id == 300"
  1282. src="../../assets/images/icon_ji.png"
  1283. alt=""
  1284. class="ji"
  1285. />
  1286. <!-- 加急单 -->
  1287. <img
  1288. *ngIf="data.emergencyType && data.emergencyType.id == 301"
  1289. src="../../assets/images/icon_jiaji.png"
  1290. alt=""
  1291. class="ji"
  1292. />
  1293. </div>
  1294. <div
  1295. *ngIf="data.timeOut != true"
  1296. class="slider sgreen"
  1297. [ngStyle]="{ width: data.percent + '%' }"
  1298. ></div>
  1299. <div
  1300. *ngIf="data.timeOut == true"
  1301. class="slider sred"
  1302. [ngStyle]="{ width: '100%' }"
  1303. ></div>
  1304. </div>
  1305. </ng-container>
  1306. <div
  1307. class="
  1308. loading
  1309. display_flex
  1310. col-flex
  1311. justify-content_flex-center
  1312. align-items_center
  1313. "
  1314. *ngIf="loading3"
  1315. >
  1316. <img src="../../assets/images/loading.gif" alt="" />
  1317. </div>
  1318. <div class="no_data" *ngIf="executionList.length == 0 && !loading3">
  1319. 暂无数据
  1320. </div>
  1321. </overlay-scrollbars>
  1322. </div>
  1323. </div>
  1324. </div>
  1325. <!-- 右侧悬浮框 baba-->
  1326. <div id="fixedMenu" class="fixed">
  1327. <div
  1328. class="left"
  1329. *ngIf="
  1330. fixedTab != '' &&
  1331. showLastItems &&
  1332. fixedTab != 'newOrder' &&
  1333. fixedTab != 'toSystem' &&
  1334. fixedTab != 'logout'
  1335. "
  1336. >
  1337. <!-- 绑定分机 -->
  1338. <div
  1339. class="con bindingExtension"
  1340. *ngIf="
  1341. fixedTab == 'bindingExtension' &&
  1342. fixedTab != 'newOrder' &&
  1343. !phoneNumLoading
  1344. "
  1345. >
  1346. <div class="title">绑定分机</div>
  1347. <overlay-scrollbars
  1348. #osComponentRef7
  1349. [ngStyle]="{ height: '152px' }"
  1350. class="conditions"
  1351. >
  1352. <div nz-row *ngIf="binding === 1">
  1353. <div nz-col nzSpan="24">
  1354. <div nz-row>
  1355. <nz-checkbox-wrapper
  1356. class="w100"
  1357. (nzOnChange)="changePhones($event)"
  1358. >
  1359. <div nz-row>
  1360. <div *ngFor="let data of phoneNumList" nz-col nzSpan="8">
  1361. <label
  1362. nz-checkbox
  1363. [nzValue]="data.value"
  1364. [ngModel]="data.checked"
  1365. >分机{{ data.value }}</label
  1366. >
  1367. </div>
  1368. </div>
  1369. </nz-checkbox-wrapper>
  1370. </div>
  1371. </div>
  1372. </div>
  1373. <div nz-row *ngIf="binding === 2">
  1374. <div nz-col nzSpan="6">已绑定分机号:</div>
  1375. <div class="bindingExtension_content" nz-col nzSpan="24">
  1376. <span *ngFor="let data of phoneNumListBind; let last = last">
  1377. <span style="color: #333" *ngIf="!last">分机{{ data }}、</span>
  1378. <span style="color: #333" *ngIf="last">分机{{ data }}</span>
  1379. </span>
  1380. </div>
  1381. </div>
  1382. <div nz-row *ngIf="binding === 3">
  1383. <div nz-col nzSpan="24" class="noContentFlex">
  1384. <img
  1385. class="noContent"
  1386. src="../../assets/images/icon_jianchakong@big.png"
  1387. alt=""
  1388. />
  1389. <p>暂未绑定分机号</p>
  1390. </div>
  1391. </div>
  1392. </overlay-scrollbars>
  1393. <div class="btns display_flex justify-content_flex-center">
  1394. <button
  1395. nz-button
  1396. nzType="primary"
  1397. nzValue="small"
  1398. (click)="bindingHandle()"
  1399. *ngIf="binding === 3"
  1400. >
  1401. 绑定分机
  1402. </button>
  1403. <button
  1404. nz-button
  1405. nzType="primary"
  1406. nzValue="small"
  1407. (click)="bindingHandle()"
  1408. *ngIf="binding === 2"
  1409. >
  1410. 重新绑定
  1411. </button>
  1412. <button
  1413. nz-button
  1414. nzType="primary"
  1415. nzValue="small"
  1416. *ngIf="binding === 1"
  1417. (click)="bindingOk()"
  1418. [nzLoading]="bindOkLoading"
  1419. >
  1420. 确定绑定
  1421. </button>
  1422. </div>
  1423. </div>
  1424. <div
  1425. class="
  1426. con
  1427. bindingExtension
  1428. display_flex
  1429. justify-content_flex-center
  1430. align-items_center
  1431. "
  1432. *ngIf="
  1433. fixedTab == 'bindingExtension' &&
  1434. fixedTab != 'newOrder' &&
  1435. phoneNumLoading
  1436. "
  1437. >
  1438. <div
  1439. class="
  1440. loadingFull
  1441. display_flex
  1442. justify-content_flex-center
  1443. align-items_center
  1444. "
  1445. >
  1446. <div class="loadingFullInner">
  1447. <img src="../../../assets/images/loading.gif" alt="" />
  1448. <div>加载中...</div>
  1449. </div>
  1450. </div>
  1451. </div>
  1452. <!-- 工单范围 -->
  1453. <div
  1454. class="con"
  1455. *ngIf="fixedTab == 'orderScope' && fixedTab != 'newOrder'"
  1456. >
  1457. <div class="title">工单范围</div>
  1458. <overlay-scrollbars
  1459. #9
  1460. [ngStyle]="{ height: '206px' }"
  1461. class="conditions"
  1462. >
  1463. <div nz-row>
  1464. <div nz-col nzSpan="6">院区:</div>
  1465. <div nz-col nzSpan="18">
  1466. <nz-radio-group
  1467. class="w100"
  1468. [(ngModel)]="checkedHos"
  1469. nzName="radioHos"
  1470. (ngModelChange)="getTypeAndGroup()"
  1471. >
  1472. <label
  1473. *ngFor="let data of hosList"
  1474. nz-radio
  1475. [nzValue]="data.id"
  1476. >{{ data.hosName }}</label
  1477. >
  1478. </nz-radio-group>
  1479. </div>
  1480. </div>
  1481. <div nz-row>
  1482. <div nz-col nzSpan="6">工单类型:</div>
  1483. <div
  1484. nz-col
  1485. nzSpan="18"
  1486. *ngIf="
  1487. hosTaskTypes && checkedHos && hosTaskTypes['hos' + checkedHos]
  1488. "
  1489. >
  1490. <label
  1491. class="checkAll"
  1492. nz-checkbox
  1493. *ngIf="hosTaskTypes['hos' + checkedHos].length"
  1494. [(ngModel)]="allTypeChecked"
  1495. (ngModelChange)="updateAllTypeChecked()"
  1496. >
  1497. 全选
  1498. </label>
  1499. <div nz-row>
  1500. <nz-checkbox-wrapper
  1501. class="w100"
  1502. (nzOnChange)="changeTaskTypes($event)"
  1503. >
  1504. <div nz-row>
  1505. <div
  1506. *ngFor="let data of hosTaskTypes['hos' + checkedHos]"
  1507. nz-col
  1508. nzSpan="12"
  1509. >
  1510. <label
  1511. nz-checkbox
  1512. [nzValue]="data.id"
  1513. [ngModel]="initTypes[data.id]"
  1514. >{{ data.taskName }}</label
  1515. >
  1516. </div>
  1517. </div>
  1518. </nz-checkbox-wrapper>
  1519. </div>
  1520. </div>
  1521. </div>
  1522. <div nz-row>
  1523. <div nz-col nzSpan="6">人员分组:</div>
  1524. <div
  1525. nz-col
  1526. nzSpan="18"
  1527. *ngIf="hosGroups && checkedHos && hosGroups['hos' + checkedHos]"
  1528. >
  1529. <label
  1530. class="checkAll"
  1531. nz-checkbox
  1532. *ngIf="hosGroups['hos' + checkedHos].length"
  1533. [(ngModel)]="allGroupChecked"
  1534. (ngModelChange)="updateAllGroupChecked()"
  1535. >
  1536. 全选
  1537. </label>
  1538. <div nz-row>
  1539. <nz-checkbox-wrapper
  1540. class="w100"
  1541. (nzOnChange)="changeGroups($event)"
  1542. >
  1543. <div nz-row>
  1544. <div
  1545. *ngFor="let data of hosGroups['hos' + checkedHos]"
  1546. nz-col
  1547. nzSpan="12"
  1548. >
  1549. <label
  1550. nz-checkbox
  1551. [nzValue]="data.id"
  1552. [ngModel]="initGroups[data.id]"
  1553. >{{ data.groupName }}</label
  1554. >
  1555. </div>
  1556. </div>
  1557. </nz-checkbox-wrapper>
  1558. </div>
  1559. </div>
  1560. </div>
  1561. <div nz-row>
  1562. <div nz-col nzSpan="6">工单范围:</div>
  1563. <div nz-col nzSpan="18">
  1564. <nz-radio-group
  1565. class="w100"
  1566. [(ngModel)]="orderScopeRadio"
  1567. nzName="radiogroup"
  1568. >
  1569. <label nz-radio nzValue="0">全工单</label>
  1570. <label nz-radio nzValue="1">急单</label>
  1571. <label nz-radio nzValue="2">急单以及超时工单</label>
  1572. </nz-radio-group>
  1573. </div>
  1574. </div>
  1575. </overlay-scrollbars>
  1576. <div class="btns display_flex justify-content_flex-center">
  1577. <button
  1578. nz-button
  1579. nzType="primary"
  1580. nzValue="small"
  1581. [nzLoading]="saveLoading"
  1582. (click)="saveOrderScope()"
  1583. >
  1584. 保存
  1585. </button>
  1586. </div>
  1587. </div>
  1588. <!-- 展示形式 -->
  1589. <div class="con" *ngIf="fixedTab == 'colType' && fixedTab != 'newOrder'">
  1590. <div class="title">展示形式</div>
  1591. <div class="conditions">
  1592. <div nz-row>
  1593. <div nz-col nzSpan="6">护工信息隐藏:</div>
  1594. <div nz-col nzSpan="18">
  1595. <div nz-row>
  1596. <nz-radio-group [(ngModel)]="hurseInfoHiding">
  1597. <label nz-radio nzValue="1">是</label>
  1598. <label nz-radio nzValue="0">否</label>
  1599. </nz-radio-group>
  1600. </div>
  1601. </div>
  1602. </div>
  1603. <div nz-row>
  1604. <div nz-col nzSpan="6">护工信息:</div>
  1605. <div nz-col nzSpan="18">
  1606. <div nz-row>
  1607. <nz-radio-group
  1608. [(ngModel)]="patientCareCol"
  1609. (ngModelChange)="changPatientCareCol($event)"
  1610. >
  1611. <label nz-radio [nzValue]="6 - 0">单排</label>
  1612. <label nz-radio [nzValue]="7 - 0">14人</label>
  1613. <label nz-radio [nzValue]="4 - 0">8人</label>
  1614. </nz-radio-group>
  1615. </div>
  1616. </div>
  1617. </div>
  1618. <div nz-row>
  1619. <div nz-col nzSpan="6">工单信息:</div>
  1620. <div nz-col nzSpan="18">
  1621. <div nz-row>
  1622. <nz-radio-group [(ngModel)]="txtLabelCol">
  1623. <label nz-radio [nzValue]="1 - 0">一排一列</label>
  1624. <label nz-radio [nzValue]="2 - 0">一排两列</label>
  1625. </nz-radio-group>
  1626. </div>
  1627. </div>
  1628. </div>
  1629. <div nz-row>
  1630. <div nz-col nzSpan="6">配送人员刷新:</div>
  1631. <div nz-col nzSpan="15">
  1632. <div nz-row>
  1633. <div nz-col nzSpan="">
  1634. <nz-input-group nzAddOnAfter="秒">
  1635. <nz-input-number
  1636. class="w100"
  1637. [(ngModel)]="workerInfoTime"
  1638. [nzMin]="10"
  1639. [nzStep]="1"
  1640. placeholder="请输入配送人员刷新时间"
  1641. ></nz-input-number>
  1642. </nz-input-group>
  1643. </div>
  1644. </div>
  1645. </div>
  1646. </div>
  1647. <div nz-row>
  1648. <div nz-col nzSpan="6">工单刷新:</div>
  1649. <div nz-col nzSpan="15">
  1650. <div nz-row>
  1651. <div nz-col nzSpan="">
  1652. <nz-input-group nzAddOnAfter="秒">
  1653. <nz-input-number
  1654. class="w100"
  1655. [(ngModel)]="orderInfoTime"
  1656. [nzMin]="10"
  1657. [nzStep]="1"
  1658. placeholder="请输入工单刷新时间"
  1659. ></nz-input-number>
  1660. </nz-input-group>
  1661. </div>
  1662. </div>
  1663. </div>
  1664. </div>
  1665. <div nz-row>
  1666. <div nz-col nzSpan="15">是否开启定时播报未派出工单提示音:</div>
  1667. <div nz-col nzSpan="9">
  1668. <div nz-row>
  1669. <nz-radio-group [(ngModel)]="audioNotDispatched">
  1670. <label nz-radio [nzValue]="true">是</label>
  1671. <label nz-radio [nzValue]="false">否</label>
  1672. </nz-radio-group>
  1673. </div>
  1674. </div>
  1675. </div>
  1676. </div>
  1677. <div class="btns display_flex justify-content_flex-center">
  1678. <button
  1679. nz-button
  1680. nzType="primary"
  1681. nzValue="small"
  1682. [nzLoading]="saveLoading"
  1683. (click)="saveControlView()"
  1684. >
  1685. 保存
  1686. </button>
  1687. </div>
  1688. </div>
  1689. <!-- 叫号信息 -->
  1690. <div
  1691. class="con tableCon"
  1692. *ngIf="fixedTab == 'queueNum' && fixedTab != 'newOrder'"
  1693. >
  1694. <div class="table">
  1695. <nz-table
  1696. #colSpanTable
  1697. [nzData]="[{}]"
  1698. [nzShowPagination]="false"
  1699. nzBordered
  1700. >
  1701. <thead>
  1702. <th nzWidth="10%"></th>
  1703. <th nzWidth="40%"></th>
  1704. <th nzWidth="10%"></th>
  1705. <th nzWidth="40%"></th>
  1706. </thead>
  1707. <tbody>
  1708. <tr>
  1709. <td rowspan="2">B超</td>
  1710. <td>
  1711. <div
  1712. class="
  1713. tdiv
  1714. display_flex
  1715. justify-content_space-between
  1716. align-items_center
  1717. "
  1718. >
  1719. <div class="name">腹部</div>
  1720. <div class="num">
  1721. <div>当前叫号<span>D74</span></div>
  1722. <div>队列中剩余20人</div>
  1723. </div>
  1724. </div>
  1725. </td>
  1726. <td>心脏血管</td>
  1727. <td>
  1728. <div
  1729. class="
  1730. tdiv
  1731. display_flex
  1732. justify-content_space-between
  1733. align-items_center
  1734. "
  1735. >
  1736. <div class="name">心脏血管</div>
  1737. <div class="num">
  1738. <div>当前叫号<span>D74</span></div>
  1739. <div>队列中剩余20人</div>
  1740. </div>
  1741. </div>
  1742. </td>
  1743. </tr>
  1744. <tr>
  1745. <td>
  1746. <div
  1747. class="
  1748. tdiv
  1749. display_flex
  1750. justify-content_space-between
  1751. align-items_center
  1752. "
  1753. >
  1754. <div class="name">妇科</div>
  1755. <div class="num">
  1756. <div>当前叫号<span>D74</span></div>
  1757. <div>队列中剩余20人</div>
  1758. </div>
  1759. </div>
  1760. </td>
  1761. <td>CT</td>
  1762. <td>
  1763. <div class="notOpen">
  1764. <div>
  1765. <img
  1766. src="../../assets/images/icon_jianchakong.png"
  1767. alt=""
  1768. />
  1769. </div>
  1770. <div>暂未开通</div>
  1771. </div>
  1772. </td>
  1773. </tr>
  1774. <tr>
  1775. <td>核磁共振</td>
  1776. <td>
  1777. <div class="notOpen">
  1778. <div>
  1779. <img
  1780. src="../../assets/images/icon_jianchakong.png"
  1781. alt=""
  1782. />
  1783. </div>
  1784. <div>暂未开通</div>
  1785. </div>
  1786. </td>
  1787. <td rowspan="2"></td>
  1788. <td rowspan="2"></td>
  1789. </tr>
  1790. <tr>
  1791. <td></td>
  1792. <td></td>
  1793. </tr>
  1794. </tbody>
  1795. </nz-table>
  1796. </div>
  1797. </div>
  1798. </div>
  1799. <div class="right">
  1800. <div class="fixedMenu hujiaozhongxin">
  1801. <div class="menuItems">
  1802. <button
  1803. nz-button
  1804. nzType="link"
  1805. class="item itemLink"
  1806. (click)="showNewOrder()"
  1807. [nzLoading]="getConfigTasktypeLoading || patientLogTasktypeLoading"
  1808. >
  1809. 新建工单
  1810. </button>
  1811. </div>
  1812. </div>
  1813. <div class="fixedMenu">
  1814. <div class="menuItems">
  1815. <div
  1816. class="others"
  1817. [ngStyle]="{
  1818. height: showLastItems
  1819. ? mainRole
  1820. ? 35 * 6 + 'px'
  1821. : 35 * 5 + 'px'
  1822. : 0
  1823. }"
  1824. >
  1825. <div
  1826. [ngClass]="{
  1827. item: true,
  1828. checked: fixedTab == 'bindingExtension'
  1829. }"
  1830. (click)="showBindingExtension()"
  1831. >
  1832. 绑定分机
  1833. </div>
  1834. <div
  1835. [ngClass]="{ item: true, checked: fixedTab == 'orderScope' }"
  1836. (click)="checkFixedTab('orderScope')"
  1837. >
  1838. 工单范围
  1839. </div>
  1840. <div
  1841. [ngClass]="{ item: true, checked: fixedTab == 'colType' }"
  1842. (click)="checkFixedTab('colType')"
  1843. >
  1844. 展示形式
  1845. </div>
  1846. <div
  1847. [ngClass]="{ item: true, checked: fixedTab == 'nucleicAcidPrinting' }"
  1848. (click)="checkFixedTab('nucleicAcidPrinting')"
  1849. *ngIf="isShowNucleicAcidPrinting"
  1850. >
  1851. 核酸打印
  1852. </div>
  1853. <div
  1854. [ngClass]="{ item: true, checked: fixedTab == 'queueNum' }"
  1855. (click)="checkFixedTab('queueNum')"
  1856. >
  1857. 叫号信息
  1858. </div>
  1859. <div
  1860. [ngClass]="{ item: true, checked: fixedTab == 'toSystem' }"
  1861. *ngIf="mainRole"
  1862. (click)="checkFixedTab('toSystem')"
  1863. >
  1864. 返回系统
  1865. </div>
  1866. <div
  1867. [ngClass]="{ item: true, checked: fixedTab == 'logout' }"
  1868. (click)="checkFixedTab('logout')"
  1869. >
  1870. 退出系统
  1871. </div>
  1872. </div>
  1873. </div>
  1874. <div class="arrow" *ngIf="!showLastItems" (click)="fixedMenuXiala()">
  1875. <i class="icon_transport transport-xiala2-01"></i>
  1876. </div>
  1877. <div class="arrow" *ngIf="showLastItems" (click)="fixedMenuShangla()">
  1878. <i class="icon_transport transport-shangla-"></i>
  1879. </div>
  1880. </div>
  1881. </div>
  1882. <div
  1883. *ngIf="
  1884. showLastItems &&
  1885. fixedTab != '' &&
  1886. fixedTab != 'logout' &&
  1887. fixedTab != 'toSystem' &&
  1888. fixedTab != 'newOrder'
  1889. "
  1890. (click)="fixedMenuShangla()"
  1891. class="fixedMark"
  1892. ></div>
  1893. </div>
  1894. <!-- 核酸打印 -->
  1895. <div
  1896. class="newOrder display_flex justify-content_flex-center align-items_center" *ngIf="fixedTab == 'nucleicAcidPrinting'">
  1897. <div class="modalBody">
  1898. <p class="title">
  1899. 汇总
  1900. <i class="icon_transport transport-guanbi" (click)="nucleicAcidPrintingCancel()"></i>
  1901. </p>
  1902. <div class="content">
  1903. <nz-table class="hospitalTable" [nzData]="nucleicAcidList" nzSize="middle" [nzShowPagination]="false"
  1904. [nzLoading]="nucleicAcidLoading" [nzScroll]="{ y: '428px' }">
  1905. <thead>
  1906. <tr class="thead">
  1907. <th nzWidth="5%">序号</th>
  1908. <th nzWidth="25%">楼栋名字</th>
  1909. <th nzWidth="10%">工单总量</th>
  1910. <th nzWidth="60%">涉及科室</th>
  1911. </tr>
  1912. </thead>
  1913. <tbody>
  1914. <tr *ngFor="let data of nucleicAcidList;let i = index;">
  1915. <td>{{ i + 1 }}</td>
  1916. <td>{{ data.buildName || '无' }}</td>
  1917. <td>{{ data.buildCount || '无' }}</td>
  1918. <td>{{ data.deptNames || '无' }}</td>
  1919. </tr>
  1920. </tbody>
  1921. </nz-table>
  1922. <!-- <div class="pagination">
  1923. <nz-pagination [(nzPageIndex)]="nucleicAcidListPageIndex" [(nzTotal)]="nucleicAcidListLength"
  1924. [(nzPageSize)]="nucleicAcidListPageSize" (nzPageIndexChange)="getNucleicAcidList()"
  1925. (nzPageSizeChange)="getNucleicAcidList()">
  1926. </nz-pagination>
  1927. </div> -->
  1928. </div>
  1929. <div class="btns display_flex justify-content_flex-center align-items_center">
  1930. <button
  1931. nz-button
  1932. class="btn"
  1933. nzType="primary"
  1934. (click)="printAucleicAcid()"
  1935. [nzLoading]="isOkLoading"
  1936. *ngIf="nucleicAcidList.length"
  1937. >
  1938. 打印
  1939. </button>
  1940. <button
  1941. class="btn cancel"
  1942. nz-button
  1943. nzType="default"
  1944. (click)="nucleicAcidPrintingCancel()"
  1945. >
  1946. 取消
  1947. </button>
  1948. </div>
  1949. </div>
  1950. </div>
  1951. <!-- 打印的内容 -->
  1952. <div id="print-section" hidden>
  1953. <div *ngFor="let building of nucleicAcidList;let first = first;" [ngStyle]="{'page-break-before':first?'':'always'}" style="overflow: hidden;">
  1954. <h1 style="text-align: center;position: relative;"><span style="position: absolute;left: 0;font-size:0.5em;top: 50%;transform: translateY(-50%);">{{printDate|date:'yyyy-MM-dd HH:mm'}}</span>{{building.buildName}}<img style="width: 50px;position: absolute;right: 50px;" [src]="mapQrcodes[building.buildId]"></h1>
  1955. <div style="width: 50%;float: left;">
  1956. <div style="display: flex;justify-content: center;text-align: center;font-weight: bold;">
  1957. <span style="flex: 2; border: 1px solid #ccc;">科室名称</span>
  1958. <span style="flex: 1; border-bottom: 1px solid #ccc;border-right: 1px solid #ccc;border-top: 1px solid #ccc;">数量</span>
  1959. </div>
  1960. </div>
  1961. <div style="width: 50%;float: left;">
  1962. <div style="display: flex;justify-content: center;text-align: center;font-weight: bold;">
  1963. <span style="flex: 2; border-bottom: 1px solid #ccc;border-right: 1px solid #ccc;border-top: 1px solid #ccc;">科室名称</span>
  1964. <span style="flex: 1; border-bottom: 1px solid #ccc;border-right: 1px solid #ccc;border-top: 1px solid #ccc;">数量</span>
  1965. </div>
  1966. </div>
  1967. <div *ngFor="let item of building.deptData;let even = even;" style="width: 50%;float: left;">
  1968. <div style="display: flex;justify-content: center;text-align: center;">
  1969. <span style="flex: 2;word-break: break-all; border-bottom: 1px solid #ccc;border-right: 1px solid #ccc;" [ngStyle]="{'border-left':even?'1px solid #ccc':''}">{{item.deptName}}<span *ngIf="item.workOrderRemarks">+{{item.workOrderRemarks.slice(0,2)}}</span></span>
  1970. <span style="flex: 1; border-bottom: 1px solid #ccc;border-right: 1px solid #ccc;"></span>
  1971. </div>
  1972. </div>
  1973. </div>
  1974. </div>
  1975. <button ngxPrint printSectionId="print-section" #printBtn hidden>打印</button>
  1976. <!-- 新建工单 -->
  1977. <div
  1978. class="newOrder display_flex justify-content_flex-center align-items_center"
  1979. *ngIf="newOrderShow && newOrderShowOpen"
  1980. >
  1981. <div class="modalBody">
  1982. <p class="title">
  1983. 来电咨询<i
  1984. class="icon_transport transport-guanbi"
  1985. (click)="newOrderCancel()"
  1986. ></i>
  1987. </p>
  1988. <div nz-row class="content">
  1989. <div nz-col nzSpan="13" class="col left">
  1990. <div class="top">
  1991. <span class="grayFont">申请科室:</span>
  1992. <nz-select
  1993. style="width: 146px"
  1994. [nzDropdownMatchSelectWidth]="false"
  1995. nzServerSearch
  1996. nzShowSearch
  1997. (nzOnSearch)="changeInp($event)"
  1998. nzPlaceHolder="请选择申请科室"
  1999. [(ngModel)]="applyDept"
  2000. (ngModelChange)="changeApply($event)"
  2001. >
  2002. <ng-container *ngFor="let option of applicationDepartmentList">
  2003. <nz-option
  2004. *ngIf="!isLoadingApply"
  2005. [nzLabel]="option.dept"
  2006. [nzValue]="option.id"
  2007. ></nz-option>
  2008. </ng-container>
  2009. <nz-option *ngIf="isLoadingApply" nzDisabled nzCustomContent>
  2010. <i nz-icon nzType="loading" class="loading-icon"></i> 搜索中...
  2011. </nz-option>
  2012. </nz-select>
  2013. <span class="tel grayFont" *ngIf="callNumber"
  2014. >来电号码:{{ callNumber }}</span
  2015. >
  2016. <span class="grayFont">任务类型:</span>
  2017. <nz-select
  2018. *ngIf="applyDept"
  2019. style="width: 146px"
  2020. [nzDropdownMatchSelectWidth]="false"
  2021. nzServerSearch
  2022. nzShowSearch
  2023. (nzOnSearch)="onSearchTaskBuild($event)"
  2024. nzPlaceHolder="请选择任务类型"
  2025. [(ngModel)]="taskBuild"
  2026. (ngModelChange)="changeTaskBuild($event)"
  2027. >
  2028. <ng-container *ngFor="let option of searchTaskList">
  2029. <nz-option
  2030. *ngIf="!searchTaskLoading"
  2031. [nzLabel]="option.taskTypeName"
  2032. [nzValue]="option.sid"
  2033. >
  2034. </nz-option>
  2035. </ng-container>
  2036. <nz-option *ngIf="searchTaskLoading" nzDisabled nzCustomContent>
  2037. <i nz-icon nzType="loading" class="loading-icon"></i> 搜索中...
  2038. </nz-option>
  2039. </nz-select>
  2040. </div>
  2041. <div class="tabs">
  2042. <div class="tabs__inner" #tab *ngIf="applyDept">
  2043. <div
  2044. class="tabs__wrap"
  2045. [style.transform]="'translateX(' + disX + 'px)'"
  2046. >
  2047. <div
  2048. [ngClass]="{
  2049. tab: true,
  2050. checked: currentTabIndex == item.key
  2051. }"
  2052. (click)="tabClick(item.key)"
  2053. *ngFor="let item of workTypesArrange | keyvalue"
  2054. >
  2055. {{ item.value[0].associationTypeName }}
  2056. </div>
  2057. </div>
  2058. </div>
  2059. <div class="tabs__operate" *ngIf="workTypesFlag && applyDept">
  2060. <i
  2061. class="tabs__Icon--right icon_transport transport-xiangzuo"
  2062. (click)="toLeft()"
  2063. ></i>
  2064. <i
  2065. class="tabs__Icon--left icon_transport transport-xiangzuo"
  2066. (click)="toRight()"
  2067. ></i>
  2068. </div>
  2069. </div>
  2070. <!-- 底部tab页 -->
  2071. <div
  2072. class="bottomWrap"
  2073. [ngStyle]="{ opacity: applyDept ? '1' : '0' }"
  2074. >
  2075. <ng-container *ngFor="let item of workTypesArrange | keyvalue">
  2076. <!-- 标本轮巡,标本配送 -->
  2077. <div
  2078. class="bottom"
  2079. *ngIf="
  2080. currentTabIndex == item.key && item.key == 256 && !newLoading
  2081. "
  2082. >
  2083. <div class="bottom380256">
  2084. 起点科室默认为申请科室,终点科室为检验科室,确定后即可新建工单!
  2085. </div>
  2086. </div>
  2087. <!-- 患者转运 -->
  2088. <overlay-scrollbars
  2089. #osComponentRef9
  2090. *ngIf="
  2091. currentTabIndex == item.key && item.key == 255 && !newLoading
  2092. "
  2093. class="bottom"
  2094. >
  2095. <div class="bottom255">
  2096. <form nz-form [formGroup]="validateFormZy">
  2097. <div nz-row [nzGutter]="24">
  2098. <div nz-col [nzSpan]="24" style="height: 139px">
  2099. <nz-form-item>
  2100. <nz-form-label
  2101. class="label"
  2102. [nzSm]="24"
  2103. [nzXs]="24"
  2104. nzRequired
  2105. nzFor="taskType"
  2106. >类型
  2107. </nz-form-label>
  2108. <nz-form-control
  2109. class="control"
  2110. [nzSm]="24"
  2111. [nzXs]="24"
  2112. nzErrorTip="请选择类型!"
  2113. >
  2114. <div class="radios">
  2115. <overlay-scrollbars
  2116. #osComponentRef10
  2117. [ngStyle]="{ height: '100%' }"
  2118. >
  2119. <nz-radio-group
  2120. formControlName="taskType"
  2121. nz-row
  2122. [(ngModel)]="radioValueZy"
  2123. (ngModelChange)="radioChangeZy(radioValueZy)"
  2124. >
  2125. <div nz-row>
  2126. <label
  2127. nz-col
  2128. nz-radio
  2129. [nzValue]="item1.id"
  2130. *ngFor="
  2131. let item1 of workTypesArrange[item.key]
  2132. "
  2133. >{{ item1.taskTypeName }}</label
  2134. >
  2135. </div>
  2136. </nz-radio-group>
  2137. </overlay-scrollbars>
  2138. </div>
  2139. </nz-form-control>
  2140. </nz-form-item>
  2141. </div>
  2142. <div
  2143. nz-col
  2144. [nzSpan]="deptZyList['startStatus'] != 201 ? 12 : 24"
  2145. style="height: 83px"
  2146. [ngStyle]="{
  2147. display:
  2148. deptZyList['startStatus'] != 201 ? 'block' : 'none'
  2149. }"
  2150. >
  2151. <nz-form-item>
  2152. <nz-form-label
  2153. class="label"
  2154. [nzSm]="24"
  2155. [nzXs]="24"
  2156. nzRequired
  2157. nzFor="startDept"
  2158. >起点科室
  2159. </nz-form-label>
  2160. <nz-form-control
  2161. class="control"
  2162. [nzSm]="24"
  2163. [nzXs]="24"
  2164. nzErrorTip="请选择起点科室!"
  2165. >
  2166. <nz-select
  2167. formControlName="startDept"
  2168. [nzDisabled]="
  2169. deptZyList.startStatus == 201 ||
  2170. deptZyList.startStatus == 203 ||
  2171. deptZyList.startStatus == 206
  2172. "
  2173. [nzDropdownMatchSelectWidth]="false"
  2174. nzServerSearch
  2175. nzShowSearch
  2176. (nzOnSearch)="
  2177. searchHosDepartment(checkedHos, 'start', $event)
  2178. "
  2179. nzAllowClear
  2180. nzPlaceHolder="请选择起点科室"
  2181. [(ngModel)]="startDeptZy"
  2182. >
  2183. <ng-container
  2184. *ngFor="let option of deptZyList.startDept"
  2185. >
  2186. <nz-option
  2187. *ngIf="!isLoading"
  2188. [nzLabel]="option.dept"
  2189. [nzValue]="option.id"
  2190. ></nz-option>
  2191. </ng-container>
  2192. <nz-option
  2193. *ngIf="isLoading"
  2194. nzDisabled
  2195. nzCustomContent
  2196. >
  2197. <i
  2198. nz-icon
  2199. nzType="loading"
  2200. class="loading-icon"
  2201. ></i>
  2202. 搜索中...
  2203. </nz-option>
  2204. </nz-select>
  2205. </nz-form-control>
  2206. </nz-form-item>
  2207. </div>
  2208. <div
  2209. nz-col
  2210. [nzSpan]="deptZyList['startStatus'] != 201 ? 12 : 24"
  2211. style="height: 83px"
  2212. >
  2213. <nz-form-item>
  2214. <nz-form-label
  2215. class="label"
  2216. [nzSm]="24"
  2217. [nzXs]="24"
  2218. nzRequired
  2219. nzFor="endDepts"
  2220. >终点科室
  2221. </nz-form-label>
  2222. <nz-form-control
  2223. class="control"
  2224. [nzSm]="24"
  2225. [nzXs]="24"
  2226. nzErrorTip="请选择终点科室!"
  2227. >
  2228. <nz-select
  2229. formControlName="endDepts"
  2230. [nzDisabled]="
  2231. deptZyList.endStatus == 201 ||
  2232. deptZyList.endStatus == 203 ||
  2233. deptZyList.endStatus == 206
  2234. "
  2235. [nzDropdownMatchSelectWidth]="false"
  2236. nzServerSearch
  2237. nzShowSearch
  2238. (nzOnSearch)="
  2239. searchHosDepartment(checkedHos, 'end', $event)
  2240. "
  2241. nzAllowClear
  2242. nzPlaceHolder="请选择终点科室"
  2243. [(ngModel)]="endDeptZy"
  2244. (ngModelChange)="endDeptZyChange()"
  2245. >
  2246. <ng-container
  2247. *ngFor="let option of deptZyList.endDept"
  2248. >
  2249. <nz-option
  2250. *ngIf="!isLoading"
  2251. [nzLabel]="option.dept"
  2252. [nzValue]="option.id"
  2253. ></nz-option>
  2254. </ng-container>
  2255. <nz-option
  2256. *ngIf="isLoading"
  2257. nzDisabled
  2258. nzCustomContent
  2259. >
  2260. <i
  2261. nz-icon
  2262. nzType="loading"
  2263. class="loading-icon"
  2264. ></i>
  2265. 搜索中...
  2266. </nz-option>
  2267. </nz-select>
  2268. </nz-form-control>
  2269. </nz-form-item>
  2270. </div>
  2271. <div nz-col [nzSpan]="24" style="height: 83px">
  2272. <div class="control-flex">
  2273. <nz-form-item class="control-flex__5">
  2274. <nz-form-label
  2275. class="label"
  2276. [nzSm]="24"
  2277. [nzXs]="24"
  2278. nzRequired
  2279. nzFor="patient"
  2280. >患者信息
  2281. </nz-form-label>
  2282. <nz-form-control
  2283. class="control"
  2284. style="width: 160px"
  2285. [nzSm]="24"
  2286. [nzXs]="24"
  2287. nzErrorTip="请选择患者信息!"
  2288. >
  2289. <nz-select
  2290. formControlName="patient"
  2291. [nzDropdownMatchSelectWidth]="false"
  2292. nzServerSearch
  2293. nzShowSearch
  2294. (nzOnSearch)="
  2295. searchPatientList(
  2296. radioValueZy == deathTasktypeId && endDeptZy !== null
  2297. ? endDeptZy
  2298. : applyDept,
  2299. $event
  2300. )
  2301. "
  2302. nzAllowClear
  2303. nzPlaceHolder="请选择患者信息"
  2304. [(ngModel)]="patientZy"
  2305. >
  2306. <ng-container
  2307. *ngFor="let option of patientList"
  2308. >
  2309. <nz-option
  2310. *ngIf="!isLoadingPatient"
  2311. [nzLabel]="
  2312. option.bednum +
  2313. '床 ' +
  2314. option.patientname +
  2315. ' ' +
  2316. option.residenceNo
  2317. "
  2318. [nzValue]="option.patientCode"
  2319. ></nz-option>
  2320. </ng-container>
  2321. <nz-option
  2322. *ngIf="isLoadingPatient"
  2323. nzDisabled
  2324. nzCustomContent
  2325. >
  2326. <i
  2327. nz-icon
  2328. nzType="loading"
  2329. class="loading-icon"
  2330. ></i>
  2331. 搜索中...
  2332. </nz-option>
  2333. </nz-select>
  2334. </nz-form-control>
  2335. </nz-form-item>
  2336. <nz-form-item class="control-flex__7">
  2337. <nz-form-label
  2338. class="label"
  2339. [nzSm]="24"
  2340. [nzXs]="24"
  2341. nzFor="goods"
  2342. *ngIf="goodsNow.length"
  2343. >
  2344. 携带物品
  2345. </nz-form-label>
  2346. <nz-form-control
  2347. class="control"
  2348. [nzSm]="24"
  2349. [nzXs]="24"
  2350. nzErrorTip="请选择携带物品!"
  2351. >
  2352. <nz-checkbox-group
  2353. [(ngModel)]="goodsNow"
  2354. formControlName="goods"
  2355. (ngModelChange)="changeGoods($event)"
  2356. ></nz-checkbox-group>
  2357. </nz-form-control>
  2358. </nz-form-item>
  2359. </div>
  2360. </div>
  2361. <!-- 预约建单时间-患者其他服务--start -->
  2362. <div nz-col [nzSpan]="24" style="height: 83px" class="pos">
  2363. <!-- 需要预约检查 -->
  2364. <nz-form-item class="pos-item">
  2365. <nz-form-control>
  2366. <label
  2367. nz-checkbox
  2368. [(ngModel)]="isYyInspect"
  2369. (ngModelChange)="yyInspectChange($event)"
  2370. [ngModelOptions]="{ standalone: true }"
  2371. style="font-weight: bold"
  2372. >需要预约检查</label
  2373. >
  2374. </nz-form-control>
  2375. </nz-form-item>
  2376. <!-- 预约建单时间-患者其他服务 -->
  2377. <nz-form-item class="yyTime" [ngClass]="{yyTimeError: (!yyTimeZy || !yyDateZy) && clickYYZyFlag}">
  2378. <nz-form-label [nzSm]="24" [nzXs]="24">预约建单时间</nz-form-label>
  2379. <nz-form-control [nzSm]="24" [nzXs]="24">
  2380. <nz-date-picker
  2381. [nzDisabled]="!isYyInspect"
  2382. [(ngModel)]="yyDateZy"
  2383. (ngModelChange)="yyDateChange($event)"
  2384. [ngModelOptions]="{ standalone: true }"
  2385. [nzAllowClear]="false"
  2386. [nzDisabledDate]="disabledyyDateZy"
  2387. [nzShowToday]="false"
  2388. ></nz-date-picker>
  2389. <nz-time-picker
  2390. [nzDisabled]="!isYyInspect || !yyDateZy"
  2391. class="ml8"
  2392. nzFormat="HH:mm"
  2393. [nzMinuteStep]="inspectAndPatientTransportConfig.timeMod"
  2394. [nzSecondStep]="60"
  2395. [(ngModel)]="yyTimeZy"
  2396. (ngModelChange)="yyTimeZyChange($event)"
  2397. [ngModelOptions]="{ standalone: true }"
  2398. [nzDisabledHours]="disabledHours"
  2399. [nzDisabledMinutes]="disabledMinutes"
  2400. [nzAllowEmpty]="false"
  2401. >
  2402. </nz-time-picker>
  2403. <button
  2404. [disabled]="!isYyInspect || (isYyInspect && !yyDateZy)"
  2405. nz-button
  2406. nzType="primary"
  2407. class="ml8"
  2408. (click)="nextDayZy()"
  2409. >
  2410. 下一日
  2411. </button>
  2412. </nz-form-control>
  2413. <div
  2414. class="red w100"
  2415. *ngIf="(!yyTimeZy || !yyDateZy) && clickYYZyFlag"
  2416. >
  2417. 请填写预约建单时间!
  2418. </div>
  2419. </nz-form-item>
  2420. </div>
  2421. <!-- 预约建单时间-患者其他服务--end -->
  2422. </div>
  2423. </form>
  2424. </div>
  2425. </overlay-scrollbars>
  2426. <!-- 其他 -->
  2427. <overlay-scrollbars
  2428. #osComponentRef13
  2429. class="bottom"
  2430. *ngIf="
  2431. currentTabIndex == item.key && item.key == 259 && !newLoading
  2432. "
  2433. >
  2434. <div class="bottom255">
  2435. <form nz-form [formGroup]="validateFormQt">
  2436. <div nz-row [nzGutter]="24">
  2437. <div nz-col [nzSpan]="24" style="height: 219px">
  2438. <nz-form-item>
  2439. <nz-form-label
  2440. class="label"
  2441. [nzSm]="24"
  2442. [nzXs]="24"
  2443. nzRequired
  2444. nzFor="taskTypeQt"
  2445. >类型
  2446. </nz-form-label>
  2447. <nz-form-control
  2448. class="control"
  2449. [nzSm]="24"
  2450. [nzXs]="24"
  2451. nzErrorTip="请选择类型!"
  2452. >
  2453. <div class="radios" style="height: 176px">
  2454. <overlay-scrollbars
  2455. #osComponentRef11
  2456. [ngStyle]="{ height: '100%' }"
  2457. >
  2458. <nz-radio-group
  2459. formControlName="taskTypeQt"
  2460. nz-row
  2461. [(ngModel)]="radioValueQt"
  2462. (ngModelChange)="radioChangeQt(radioValueQt)"
  2463. >
  2464. <div nz-row>
  2465. <label
  2466. nz-col
  2467. nz-radio
  2468. [nzValue]="item1.id"
  2469. *ngFor="
  2470. let item1 of workTypesArrange[item.key]
  2471. "
  2472. >{{ item1.taskTypeName }}</label
  2473. >
  2474. </div>
  2475. </nz-radio-group>
  2476. </overlay-scrollbars>
  2477. </div>
  2478. </nz-form-control>
  2479. </nz-form-item>
  2480. </div>
  2481. <div
  2482. nz-col
  2483. [nzSpan]="12"
  2484. style="height: 83px"
  2485. [ngStyle]="{
  2486. display:
  2487. deptQtList['startStatus'] != 201 ? 'block' : 'none'
  2488. }"
  2489. >
  2490. <nz-form-item>
  2491. <nz-form-label
  2492. class="label"
  2493. [nzSm]="24"
  2494. [nzXs]="24"
  2495. nzRequired
  2496. nzFor="startDeptQt"
  2497. >起点科室
  2498. </nz-form-label>
  2499. <nz-form-control
  2500. class="control"
  2501. [nzSm]="24"
  2502. [nzXs]="24"
  2503. nzErrorTip="请选择起点科室!"
  2504. >
  2505. <nz-select
  2506. formControlName="startDeptQt"
  2507. [nzDisabled]="
  2508. deptQtList.startStatus == 201 ||
  2509. deptQtList.startStatus == 203
  2510. "
  2511. [nzDropdownMatchSelectWidth]="false"
  2512. nzServerSearch
  2513. nzShowSearch
  2514. (nzOnSearch)="
  2515. searchHosDepartmentQt(
  2516. checkedHos,
  2517. 'start',
  2518. $event
  2519. )
  2520. "
  2521. nzAllowClear
  2522. nzPlaceHolder="请选择起点科室"
  2523. [(ngModel)]="startDeptQt"
  2524. >
  2525. <ng-container
  2526. *ngFor="let option of deptQtList.startDept"
  2527. >
  2528. <nz-option
  2529. *ngIf="!isLoading"
  2530. [nzLabel]="option.dept"
  2531. [nzValue]="option.id"
  2532. ></nz-option>
  2533. </ng-container>
  2534. <nz-option
  2535. *ngIf="isLoading"
  2536. nzDisabled
  2537. nzCustomContent
  2538. >
  2539. <i
  2540. nz-icon
  2541. nzType="loading"
  2542. class="loading-icon"
  2543. ></i>
  2544. 搜索中...
  2545. </nz-option>
  2546. </nz-select>
  2547. </nz-form-control>
  2548. </nz-form-item>
  2549. </div>
  2550. <div nz-col [nzSpan]="12" style="height: 83px">
  2551. <nz-form-item>
  2552. <nz-form-label
  2553. class="label"
  2554. [nzSm]="24"
  2555. [nzXs]="24"
  2556. nzRequired
  2557. nzFor="endDeptsQt"
  2558. >终点科室
  2559. </nz-form-label>
  2560. <nz-form-control
  2561. class="control"
  2562. [nzSm]="24"
  2563. [nzXs]="24"
  2564. nzErrorTip="请选择终点科室!"
  2565. >
  2566. <nz-select
  2567. formControlName="endDeptsQt"
  2568. [nzDisabled]="
  2569. deptQtList.endStatus == 201 ||
  2570. deptQtList.endStatus == 203
  2571. "
  2572. [nzDropdownMatchSelectWidth]="false"
  2573. nzServerSearch
  2574. nzShowSearch
  2575. (nzOnSearch)="
  2576. searchHosDepartmentQt(checkedHos, 'end', $event)
  2577. "
  2578. nzAllowClear
  2579. nzPlaceHolder="请选择终点科室"
  2580. [(ngModel)]="endDeptQt"
  2581. >
  2582. <ng-container
  2583. *ngFor="let option of deptQtList.endDept"
  2584. >
  2585. <nz-option
  2586. *ngIf="!isLoading"
  2587. [nzLabel]="option.dept"
  2588. [nzValue]="option.id"
  2589. ></nz-option>
  2590. </ng-container>
  2591. <nz-option
  2592. *ngIf="isLoading"
  2593. nzDisabled
  2594. nzCustomContent
  2595. >
  2596. <i
  2597. nz-icon
  2598. nzType="loading"
  2599. class="loading-icon"
  2600. ></i>
  2601. 搜索中...
  2602. </nz-option>
  2603. </nz-select>
  2604. </nz-form-control>
  2605. </nz-form-item>
  2606. </div>
  2607. <div
  2608. nz-col
  2609. [nzSpan]="24"
  2610. *ngIf="
  2611. deptQtList.taskType &&
  2612. deptQtList.taskType.remarksSwitch == 1
  2613. "
  2614. >
  2615. <nz-form-item>
  2616. <nz-form-label
  2617. class="label"
  2618. [nzSm]="3"
  2619. [nzXs]="3"
  2620. nzFor="workOrderRemark"
  2621. >工单备注
  2622. </nz-form-label>
  2623. <span
  2624. class="customRemarks"
  2625. *ngFor="
  2626. let item of deptQtList.taskType.customRemarks
  2627. "
  2628. (click)="addRemarks(item)"
  2629. >【{{ item }}】</span
  2630. >
  2631. <nz-form-control
  2632. class="control"
  2633. [nzSm]="24"
  2634. [nzXs]="24"
  2635. nzErrorTip="请填写工单备注!"
  2636. >
  2637. <textarea
  2638. formControlName="workOrderRemark"
  2639. nz-input
  2640. [placeholder]="deptQtList.taskType.remarksPrompts"
  2641. [nzAutosize]="{ minRows: 3, maxRows: 5 }"
  2642. maxlength="100"
  2643. [(ngModel)]="workOrderRemark"
  2644. #remarksEle
  2645. ></textarea>
  2646. </nz-form-control>
  2647. </nz-form-item>
  2648. </div>
  2649. <!-- 预约建单时间-其他临床服务--start -->
  2650. <div nz-col [nzSpan]="24" style="height: 83px" class="pos">
  2651. <!-- 需要预约检查 -->
  2652. <nz-form-item class="pos-item">
  2653. <nz-form-control>
  2654. <label
  2655. nz-checkbox
  2656. [(ngModel)]="isYyInspect"
  2657. (ngModelChange)="yyInspectChange($event)"
  2658. [ngModelOptions]="{ standalone: true }"
  2659. style="font-weight: bold"
  2660. >需要预约检查</label
  2661. >
  2662. </nz-form-control>
  2663. </nz-form-item>
  2664. <!-- 预约建单时间 -->
  2665. <nz-form-item
  2666. class="yyTime"
  2667. [ngClass]="{ yyTimeError: (!yyTime || !yyDate) && clickYYFlag }"
  2668. >
  2669. <nz-form-label [nzSm]="24" [nzXs]="24"
  2670. >预约建单时间</nz-form-label
  2671. >
  2672. <nz-form-control [nzSm]="24" [nzXs]="24">
  2673. <nz-date-picker
  2674. [nzDisabled]="!isYyInspect"
  2675. [(ngModel)]="yyDate"
  2676. (ngModelChange)="yyDateChange($event)"
  2677. [ngModelOptions]="{ standalone: true }"
  2678. [nzAllowClear]="false"
  2679. [nzDisabledDate]="disabledyyDate"
  2680. [nzShowToday]="false"
  2681. >
  2682. </nz-date-picker>
  2683. <nz-time-picker
  2684. [nzDisabled]="!isYyInspect || !yyDate"
  2685. class="ml8"
  2686. nzFormat="HH:mm"
  2687. [nzMinuteStep]="inspectAndPatientTransportConfig.timeMod"
  2688. [nzSecondStep]="60"
  2689. [(ngModel)]="yyTime"
  2690. (ngModelChange)="yyTimeChange($event)"
  2691. [ngModelOptions]="{ standalone: true }"
  2692. [nzDisabledHours]="disabledHours"
  2693. [nzDisabledMinutes]="disabledMinutes"
  2694. [nzAllowEmpty]="false"
  2695. >
  2696. </nz-time-picker>
  2697. <button
  2698. [disabled]="!isYyInspect || (isYyInspect && !yyDate)"
  2699. nz-button
  2700. nzType="primary"
  2701. class="ml8"
  2702. (click)="nextDay()"
  2703. >
  2704. 下一日
  2705. </button>
  2706. </nz-form-control>
  2707. <div
  2708. class="red w100"
  2709. *ngIf="(!yyTime || !yyDate) && clickYYFlag"
  2710. >
  2711. 请填写预约建单时间!
  2712. </div>
  2713. </nz-form-item>
  2714. </div>
  2715. <!-- 预约建单时间-其他临床服务--end -->
  2716. </div>
  2717. </form>
  2718. </div>
  2719. </overlay-scrollbars>
  2720. </ng-container>
  2721. <!-- loading -->
  2722. <div class="bottom" *ngIf="newLoading">
  2723. <div class="bottom255">
  2724. <div class="txtC">
  2725. <img src="../../../assets/images/loading.gif" alt="" />
  2726. <div>加载中...</div>
  2727. </div>
  2728. </div>
  2729. </div>
  2730. </div>
  2731. <!-- 底部信息提示 -->
  2732. <div class="bottomInfo">提示:临床科室建单会更简便哟!</div>
  2733. </div>
  2734. <div nz-col nzSpan="11" class="col right">
  2735. <div class="rightTitle">
  2736. <div
  2737. class="rightTitle_tab"
  2738. [class.active]="currentRTab == i"
  2739. *ngFor="let tab of rightTitle_tab; let i = index"
  2740. (click)="rightTitleHandler(i)"
  2741. >
  2742. {{ tab }}
  2743. </div>
  2744. <span class="toLastTime1"
  2745. >刷新倒计时<span class="time">{{ orderRefreshTime }}s</span></span
  2746. >
  2747. </div>
  2748. <div
  2749. class="cots_body weifenpai"
  2750. *ngIf="currentRTab == 0"
  2751. [ngClass]="{ top185: hurseInfoHiding != '1' }"
  2752. >
  2753. <overlay-scrollbars
  2754. #osComponentRef12
  2755. [ngStyle]="{ height: '100%' }"
  2756. >
  2757. <div *ngIf="noArrives.length && !loading4">
  2758. <div class="list listsTypeColor" *ngFor="let data of noArrives">
  2759. <div
  2760. class="left_cots"
  2761. (click)="
  2762. openDetails(data)
  2763. "
  2764. >
  2765. <!-- 工单 -->
  2766. <div class="gongdan">
  2767. <span class="left"
  2768. >{{ data.taskType.taskName }}({{ data.gdcode }})</span
  2769. >
  2770. <span class="right">
  2771. <span>{{ data.gdState.name }}</span>
  2772. </span>
  2773. </div>
  2774. <!-- 地点 -->
  2775. <div class="didian">
  2776. <span
  2777. class="left"
  2778. *ngIf="data.taskType.associationType.value == 'inspect'"
  2779. >
  2780. {{ data.startDept ? data.startDept.dept : "" }}
  2781. <span *ngFor="let item of data.middleDept">
  2782. ->{{ item.dept }}
  2783. </span>
  2784. </span>
  2785. <span
  2786. class="left"
  2787. *ngIf="data.taskType.associationType.id != 260"
  2788. >
  2789. {{ data.startDept ? data.startDept.dept : ""
  2790. }}{{
  2791. data.endDepts ? "->" + data.endDepts[0].dept : ""
  2792. }}
  2793. </span>
  2794. <span class="right" *ngIf="data.goods">
  2795. <i class="icon_transport transport-icon3"></i>
  2796. <span>{{ data.goods }}</span>
  2797. </span>
  2798. <span class="right" *ngIf="data.workOrderRemark" [title]="data.workOrderRemark">
  2799. <i class="icon_transport transport-icon3"></i>
  2800. <span>{{ data.workOrderRemark }}</span>
  2801. </span>
  2802. </div>
  2803. <!-- 时间 -->
  2804. <div class="shijian">
  2805. <span
  2806. class="left"
  2807. *ngIf="data.expectTimeNum && data.timeOut != true"
  2808. >
  2809. <i
  2810. class="icon_transport transport-shouye10"
  2811. nz-tooltip
  2812. nzTooltipTitle="进行中"
  2813. ></i>
  2814. <ng-container
  2815. *ngIf="
  2816. (data.taskType.associationType.value ==
  2817. 'patientTransport' ||
  2818. data.taskType.associationType.value ==
  2819. 'inspect') &&
  2820. data.patient?.illnessState
  2821. "
  2822. >
  2823. <i
  2824. *ngIf="data.patient.illnessState.value === '2'"
  2825. class="colorRed icon_transport transport-tubiao_wei"
  2826. nz-tooltip
  2827. nzTooltipTitle="病危"
  2828. ></i>
  2829. <i
  2830. *ngIf="data.patient.illnessState.value === '3'"
  2831. class="colorRed icon_transport transport-zhong"
  2832. nz-tooltip
  2833. nzTooltipTitle="病重"
  2834. ></i>
  2835. </ng-container>
  2836. <ng-container
  2837. *ngIf="
  2838. (data.taskType.associationType.value ==
  2839. 'patientTransport' ||
  2840. data.taskType.associationType.value ==
  2841. 'inspect') &&
  2842. data.patient?.careLevel
  2843. "
  2844. >
  2845. <i
  2846. *ngIf="data.patient.careLevel.value === '0'"
  2847. class="icon_transport transport-te1"
  2848. nz-tooltip
  2849. nzTooltipTitle="特级护理"
  2850. ></i>
  2851. <i
  2852. *ngIf="data.patient.careLevel.value === '1'"
  2853. class="icon_transport transport-1_round_solid"
  2854. nz-tooltip
  2855. nzTooltipTitle="一级护理"
  2856. ></i>
  2857. <i
  2858. *ngIf="data.patient.careLevel.value === '2'"
  2859. class="icon_transport transport-2_round_solid"
  2860. nz-tooltip
  2861. nzTooltipTitle="二级护理"
  2862. ></i>
  2863. <i
  2864. *ngIf="data.patient.careLevel.value === '3'"
  2865. class="icon_transport transport-3_round_solid"
  2866. nz-tooltip
  2867. nzTooltipTitle="三级护理"
  2868. ></i>
  2869. </ng-container>
  2870. <span nz-tooltip nzTooltipTitle="患者姓名(住院号)" *ngIf="data.taskType.associationType.value == 'patientTransport' || data.taskType.associationType.value == 'inspect'">{{ data.patient.patientName }}<span *ngIf="data.patient.residenceNo">({{ data.patient.residenceNo }})</span></span>
  2871. <!-- <span>总时长{{formatTime(data.expectTimeNum/1000)}}</span> -->
  2872. </span>
  2873. <span
  2874. class="left"
  2875. *ngIf="data.timeOutLength && data.timeOut == true"
  2876. >
  2877. <i
  2878. class="colorRed icon_transport transport-daojishi"
  2879. nz-tooltip
  2880. nzTooltipTitle="超时"
  2881. ></i>
  2882. <ng-container
  2883. *ngIf="
  2884. (data.taskType.associationType.value ==
  2885. 'patientTransport' ||
  2886. data.taskType.associationType.value ==
  2887. 'inspect') &&
  2888. data.patient?.illnessState
  2889. "
  2890. >
  2891. <i
  2892. *ngIf="data.patient.illnessState.value === '2'"
  2893. class="colorRed icon_transport transport-tubiao_wei"
  2894. nz-tooltip
  2895. nzTooltipTitle="病危"
  2896. ></i>
  2897. <i
  2898. *ngIf="data.patient.illnessState.value === '3'"
  2899. class="colorRed icon_transport transport-zhong"
  2900. nz-tooltip
  2901. nzTooltipTitle="病重"
  2902. ></i>
  2903. </ng-container>
  2904. <ng-container
  2905. *ngIf="
  2906. (data.taskType.associationType.value ==
  2907. 'patientTransport' ||
  2908. data.taskType.associationType.value ==
  2909. 'inspect') &&
  2910. data.patient?.careLevel
  2911. "
  2912. >
  2913. <i
  2914. *ngIf="data.patient.careLevel.value === '0'"
  2915. class="icon_transport transport-te1"
  2916. nz-tooltip
  2917. nzTooltipTitle="特级护理"
  2918. ></i>
  2919. <i
  2920. *ngIf="data.patient.careLevel.value === '1'"
  2921. class="icon_transport transport-1_round_solid"
  2922. nz-tooltip
  2923. nzTooltipTitle="一级护理"
  2924. ></i>
  2925. <i
  2926. *ngIf="data.patient.careLevel.value === '2'"
  2927. class="icon_transport transport-2_round_solid"
  2928. nz-tooltip
  2929. nzTooltipTitle="二级护理"
  2930. ></i>
  2931. <i
  2932. *ngIf="data.patient.careLevel.value === '3'"
  2933. class="icon_transport transport-3_round_solid"
  2934. nz-tooltip
  2935. nzTooltipTitle="三级护理"
  2936. ></i>
  2937. </ng-container>
  2938. <span nz-tooltip nzTooltipTitle="患者姓名(住院号)" *ngIf="data.taskType.associationType.value == 'patientTransport' || data.taskType.associationType.value == 'inspect'">{{ data.patient.patientName }}<span *ngIf="data.patient.residenceNo">({{ data.patient.residenceNo }})</span></span>
  2939. <!-- <span>已超时{{formatTime(data.timeOutLength/1000)}}</span> -->
  2940. </span>
  2941. <span
  2942. class="right"
  2943. nz-tooltip
  2944. [nzTooltipTitle]="
  2945. '总时长' + formatTime(data.expectTimeNum / 1000)
  2946. "
  2947. >
  2948. {{ data.showCreateTime }}
  2949. </span>
  2950. </div>
  2951. <!-- 急单 -->
  2952. <img
  2953. *ngIf="data.emergencyType && data.emergencyType.id == 300"
  2954. src="../../assets/images/icon_ji.png"
  2955. alt=""
  2956. class="ji"
  2957. />
  2958. <!-- 加急单 -->
  2959. <img
  2960. *ngIf="data.emergencyType && data.emergencyType.id == 301"
  2961. src="../../assets/images/icon_jiaji.png"
  2962. alt=""
  2963. class="ji"
  2964. />
  2965. </div>
  2966. <div
  2967. class="
  2968. right_bots
  2969. display_flex
  2970. col-flex
  2971. align-items_center
  2972. justify-content_space-around
  2973. "
  2974. >
  2975. <input
  2976. type="button"
  2977. *ngIf="data.gdState.value == 2"
  2978. class="top_bot"
  2979. value="派单"
  2980. (click)="allotWorker(data.id, data.gdState.id)"
  2981. />
  2982. <input
  2983. type="button"
  2984. *ngIf="data.gdState.value == 3 || data.gdState.value == 4"
  2985. class="mid_bot"
  2986. value="撤回"
  2987. (click)="openRecallModal(data.id)"
  2988. />
  2989. <input
  2990. type="button"
  2991. *ngIf="
  2992. data.gdState.value == 2 ||
  2993. data.gdState.value == 3 ||
  2994. data.gdState.value == 4
  2995. "
  2996. class="btm_bot"
  2997. value="删除"
  2998. (click)="openDelModal(data.id)"
  2999. />
  3000. </div>
  3001. <div
  3002. *ngIf="data.timeOut != true"
  3003. class="slider sgreen"
  3004. [ngStyle]="{ width: data.percent + '%' }"
  3005. ></div>
  3006. <div
  3007. *ngIf="data.timeOut == true"
  3008. class="slider sred"
  3009. [ngStyle]="{ width: '100%' }"
  3010. ></div>
  3011. </div>
  3012. </div>
  3013. <div class="no_data" *ngIf="noArrives.length == 0 && !loading4">
  3014. 暂无数据
  3015. </div>
  3016. <div class="no_data" *ngIf="loading4">
  3017. <div
  3018. class="
  3019. loadingFull
  3020. display_flex
  3021. justify-content_flex-center
  3022. align-items_center
  3023. "
  3024. >
  3025. <div class="loadingFullInner">
  3026. <img src="../../../assets/images/loading.gif" alt="" />
  3027. <div>加载中...</div>
  3028. </div>
  3029. </div>
  3030. </div>
  3031. </overlay-scrollbars>
  3032. </div>
  3033. <!-- 转出院记录 start -->
  3034. <div
  3035. class="cots_body weifenpai patientLog"
  3036. *ngIf="currentRTab == 1"
  3037. [ngClass]="{ top185: hurseInfoHiding != '1' }"
  3038. >
  3039. <overlay-scrollbars
  3040. #osComponentRef14
  3041. [ngStyle]="{ height: '100%' }"
  3042. >
  3043. <div class="list listsTypeColor clearfix">
  3044. <nz-table
  3045. [nzData]="patientLogList"
  3046. nzSize="middle"
  3047. [nzShowPagination]="false"
  3048. [nzLoading]="loading5"
  3049. >
  3050. <thead>
  3051. <tr class="thead">
  3052. <th nzWidth="10%">序号</th>
  3053. <th nzWidth="10%">类型</th>
  3054. <th nzWidth="17%">时间</th>
  3055. <th nzWidth="18%">申请科室</th>
  3056. <th nzWidth="18%">转入科室</th>
  3057. <th nzWidth="15%">关联患者</th>
  3058. <th nzWidth="12%">操作</th>
  3059. </tr>
  3060. </thead>
  3061. <tbody>
  3062. <tr *ngFor="let data of patientLogList; let i = index">
  3063. <td>{{ i + 1 }}</td>
  3064. <td>{{ data.type ? data.type.name : "-" }}</td>
  3065. <td>{{ data.time | date: "yyyy-MM-dd HH:mm:ss" }}</td>
  3066. <td>{{ data.sqDept ? data.sqDept.dept : "-" }}</td>
  3067. <td>{{ data.zrDept ? data.zrDept.dept : "-" }}</td>
  3068. <td>
  3069. {{ data.patient ? data.patient.patientName : "-" }}
  3070. </td>
  3071. <td>
  3072. <button
  3073. style="cursor: pointer"
  3074. (click)="patientLogBuild(data)"
  3075. >
  3076. 建单
  3077. </button>
  3078. </td>
  3079. </tr>
  3080. </tbody>
  3081. </nz-table>
  3082. </div>
  3083. </overlay-scrollbars>
  3084. </div>
  3085. <!-- 转出院记录 end -->
  3086. </div>
  3087. </div>
  3088. <div
  3089. class="btns display_flex justify-content_flex-center align-items_center"
  3090. [ngStyle]="{ visibility: applyDept ? 'visible' : 'hidden' }"
  3091. >
  3092. <button
  3093. nz-button
  3094. class="btn"
  3095. nzType="primary"
  3096. (click)="newOrderOk('go')"
  3097. [nzLoading]="isGoLoading"
  3098. >
  3099. 继续建单
  3100. </button>
  3101. <button
  3102. nz-button
  3103. class="btn"
  3104. nzType="primary"
  3105. (click)="newOrderOk()"
  3106. [nzLoading]="isOkLoading"
  3107. >
  3108. {{isYyInspect ? '预约建单' :'直接建单'}}
  3109. </button>
  3110. <button
  3111. class="btn cancel"
  3112. nz-button
  3113. nzType="default"
  3114. (click)="newOrderCancel()"
  3115. >
  3116. 取消
  3117. </button>
  3118. </div>
  3119. </div>
  3120. </div>
  3121. <!-- 撤回工单 -->
  3122. <div
  3123. class="
  3124. recallOrder
  3125. display_flex
  3126. justify-content_flex-center
  3127. align-items_center
  3128. "
  3129. *ngIf="recallOrderShow"
  3130. >
  3131. <div class="modalBody">
  3132. <div class="title">
  3133. 提示<i
  3134. class="icon_transport transport-guanbi"
  3135. (click)="closeRecallOrderModal()"
  3136. ></i>
  3137. </div>
  3138. <div class="content">
  3139. <div class="icon"><i class="icon_transport transport-wenhao"></i></div>
  3140. <div class="defeat">您确认要撤回此工单吗?</div>
  3141. </div>
  3142. <div class="btns display_flex justify-content_flex-center">
  3143. <button
  3144. nz-button
  3145. nzType="primary"
  3146. [nzLoading]="btnLoading"
  3147. (click)="confirmRec()"
  3148. >
  3149. 确认
  3150. </button>
  3151. <button
  3152. class="recDelBtn"
  3153. nz-button
  3154. nzType="primary"
  3155. [nzLoading]="recDelLoading"
  3156. nzGhost
  3157. (click)="recAndDel()"
  3158. *ngIf="!batchClickType1"
  3159. >
  3160. 撤回并删除
  3161. </button>
  3162. <button
  3163. class="btn cancel"
  3164. nz-button
  3165. nzType="default"
  3166. (click)="closeRecallOrderModal()"
  3167. >
  3168. 取消
  3169. </button>
  3170. </div>
  3171. </div>
  3172. </div>
  3173. <!-- 删除模态框 -->
  3174. <app-dialog-delete
  3175. [delModal]="delOrderShow"
  3176. (hideDelModalEvent)="closeDelOrderModal()"
  3177. [btnLoading]="btnLoading"
  3178. (confirmDelEvent)="confirmDel()"
  3179. content="您确认要删除此工单吗?"
  3180. ></app-dialog-delete>
  3181. <!-- 删除模态框 -->
  3182. <app-dialog-delete
  3183. [delModal]="logoutModal"
  3184. (hideDelModalEvent)="closeLogoutModal()"
  3185. [btnLoading]="btnLoading"
  3186. (confirmDelEvent)="confirmLogout()"
  3187. content="您确认要退出系统吗?"
  3188. ></app-dialog-delete>
  3189. <!-- 初始化范围设置 -->
  3190. <div
  3191. class="
  3192. init
  3193. recallOrder
  3194. display_flex
  3195. justify-content_flex-center
  3196. align-items_center
  3197. "
  3198. *ngIf="showInitModal && (!user.user.scope || !user.user.scope.id)"
  3199. >
  3200. <div class="con modalBody">
  3201. <div class="title">
  3202. 初始化范围设置<i
  3203. class="icon_transport transport-guanbi"
  3204. (click)="cancelInit()"
  3205. ></i>
  3206. </div>
  3207. <div class="content">
  3208. <div class="remin">
  3209. 提示:您第一次进入此调度,请您设置您调度范围后续也可修改
  3210. </div>
  3211. <div class="conditions">
  3212. <div nz-row>
  3213. <div nz-col nzSpan="6">院区:</div>
  3214. <div nz-col nzSpan="18">
  3215. <nz-radio-group
  3216. class="w100"
  3217. [(ngModel)]="checkedHos"
  3218. nzName="radioHos"
  3219. >
  3220. <label
  3221. *ngFor="let data of hosList"
  3222. nz-radio
  3223. [nzValue]="data.id"
  3224. >{{ data.hosName }}</label
  3225. >
  3226. </nz-radio-group>
  3227. </div>
  3228. </div>
  3229. <div nz-row>
  3230. <div nz-col nzSpan="6">工单类型:</div>
  3231. <div
  3232. nz-col
  3233. nzSpan="18"
  3234. *ngIf="
  3235. hosTaskTypes && checkedHos && hosTaskTypes['hos' + checkedHos]
  3236. "
  3237. >
  3238. <label
  3239. class="checkAll"
  3240. nz-checkbox
  3241. *ngIf="hosTaskTypes['hos' + checkedHos].length"
  3242. [(ngModel)]="allTypeChecked"
  3243. (ngModelChange)="updateAllTypeChecked()"
  3244. >
  3245. 全选
  3246. </label>
  3247. <div nz-row>
  3248. <nz-checkbox-wrapper
  3249. class="w100"
  3250. (nzOnChange)="changeTaskTypes($event)"
  3251. >
  3252. <div nz-row>
  3253. <div
  3254. *ngFor="let data of hosTaskTypes['hos' + checkedHos]"
  3255. nz-col
  3256. nzSpan="12"
  3257. >
  3258. <label
  3259. nz-checkbox
  3260. [nzValue]="data.id"
  3261. [ngModel]="initTypes[data.id]"
  3262. >{{ data.taskName }}</label
  3263. >
  3264. </div>
  3265. </div>
  3266. </nz-checkbox-wrapper>
  3267. </div>
  3268. </div>
  3269. </div>
  3270. <div nz-row>
  3271. <div nz-col nzSpan="6">人员分组:</div>
  3272. <div
  3273. nz-col
  3274. nzSpan="18"
  3275. *ngIf="hosGroups && checkedHos && hosGroups['hos' + checkedHos]"
  3276. >
  3277. <label
  3278. class="checkAll"
  3279. nz-checkbox
  3280. *ngIf="hosGroups['hos' + checkedHos].length"
  3281. [(ngModel)]="allGroupChecked"
  3282. (ngModelChange)="updateAllGroupChecked()"
  3283. >
  3284. 全选
  3285. </label>
  3286. <div nz-row>
  3287. <nz-checkbox-wrapper
  3288. class="w100"
  3289. (nzOnChange)="changeGroups($event)"
  3290. >
  3291. <div nz-row>
  3292. <div
  3293. *ngFor="let data of hosGroups['hos' + checkedHos]"
  3294. nz-col
  3295. nzSpan="12"
  3296. >
  3297. <label
  3298. nz-checkbox
  3299. [nzValue]="data.id"
  3300. [ngModel]="initGroups[data.id]"
  3301. >{{ data.groupName }}</label
  3302. >
  3303. </div>
  3304. </div>
  3305. </nz-checkbox-wrapper>
  3306. </div>
  3307. </div>
  3308. </div>
  3309. <div nz-row>
  3310. <div nz-col nzSpan="6">工单范围:</div>
  3311. <div nz-col nzSpan="18">
  3312. <nz-radio-group
  3313. class="w100"
  3314. [(ngModel)]="orderScopeRadio"
  3315. nzName="radiogroup"
  3316. >
  3317. <label nz-radio nzValue="0">全工单</label>
  3318. <label nz-radio nzValue="1">急单</label>
  3319. <label nz-radio nzValue="2">急单以及超时工单</label>
  3320. </nz-radio-group>
  3321. </div>
  3322. </div>
  3323. </div>
  3324. </div>
  3325. <div class="btns display_flex justify-content_flex-center">
  3326. <button
  3327. class="btn default"
  3328. nz-button
  3329. nzType="primary"
  3330. [nzLoading]="saveLoading"
  3331. (click)="saveOrderScope()"
  3332. >
  3333. 保存
  3334. </button>
  3335. <button
  3336. class="btn cancel"
  3337. nz-button
  3338. nzType="default"
  3339. (click)="cancelInit()"
  3340. >
  3341. 取消
  3342. </button>
  3343. </div>
  3344. </div>
  3345. </div>
  3346. </div>
  3347. <!-- 消息弹框模板 -->
  3348. <ng-template #msgTemplate let-msg="data">
  3349. <div class="msgTemBox ant-notification-notice-content">
  3350. <div class="borderLeft"></div>
  3351. <div class="ant-notification-notice-with-icon">
  3352. <span class="ant-notification-notice-icon">
  3353. <i class="icon icon_transport transport-shouye9"></i>
  3354. </span>
  3355. <div class="ant-notification-notice-message">
  3356. {{ msg.type == 1 ? "通知" : "消息" }}
  3357. </div>
  3358. <div class="ant-notification-notice-description">{{ msg.content }}</div>
  3359. </div>
  3360. </div>
  3361. </ng-template>
  3362. <!-- 操作成功/失败提示框 -->
  3363. <app-prompt-modal
  3364. *ngIf="promptModalShow"
  3365. [content]="promptContent"
  3366. [success]="ifSuccess"
  3367. [show]="promptModalShow"
  3368. [info]="promptInfo"
  3369. [back]="back"
  3370. (closeModel)="closeModel($event)"
  3371. >
  3372. </app-prompt-modal>
  3373. <!-- 选择转入科室 -->
  3374. <app-select-dept
  3375. [createLoading]="createLoading"
  3376. [deptFlag]="deptFlag"
  3377. (submitFormHand)="submitFormHand($event)"
  3378. (deptFlagHand)="deptFlagHand($event)"
  3379. [hosId]="checkedHos"
  3380. *ngIf="deptFlag"
  3381. ></app-select-dept>
  3382. <router-outlet (deactivate)="refreshList($event)"></router-outlet>