receiptpage.vue 89 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547
  1. <template>
  2. <view class="Receiptpage">
  3. <view class="page_tab">
  4. <view class="page_tab_bar" :class="{ active: item.label === selectedLabelSlots }" v-for="item in tabs"
  5. :key="item.value" @click="clickHandler(item.label)">
  6. {{ item.label }}
  7. <text class="tab_num">( {{ item.num }} )</text>
  8. <view class="more" v-if="item.label === '执行中'" @click.stop="execFilter"></view>
  9. <!-- <picker class="more_picker" v-if="item.label === '执行中'" @click.stop @change="execFilter($event)" :value="index"
  10. :range="array" range-key="name">
  11. <view class="uni-input">{{ array[index].name }}</view>
  12. </picker> -->
  13. </view>
  14. </view>
  15. <view v-if="zxzData.length == 0" class="zwsj">
  16. <image class="zwsj-img" mode="widthFix" src="../../static/img/zanwushuju.png"></image>
  17. <view class="zwsj-txt">暂无数据</view>
  18. </view>
  19. <view class="page_items">
  20. <scroll-view class="page_items_scroll" scroll-y :refresher-enabled="scroll_refresher_enabled"
  21. :refresher-triggered="triggered" @refresherrefresh="refresherrefresh" @refresherrestore="refresherrestore"
  22. @scroll="scroll" @scrolltolower="scrolltolower" :scroll-top="scroll_top" @refresherabort="refresherabort">
  23. <view class="page_item_wrap" v-for="(item, index) of zxzData" :key="index">
  24. <view class="page_item">
  25. <view class="L"></view>
  26. <view class="R"></view>
  27. <view class="page_item_top">
  28. <view class="page_item_top_L">
  29. <!-- <text class="L_iocn" v-if="item.taskType.associationType.value == 'specimen'">标</text>
  30. <text class="L_iocn" v-if="item.taskType.associationType.value == 'drugsBag'">药</text>
  31. <text class="L_iocn" v-if="item.taskType.associationType.value == 'specimenPlan'">巡</text>
  32. <text class="L_iocn" v-if="item.taskType.associationType.value == 'jPBag'">静</text>
  33. <text class="L_iocn" v-if="item.taskType.associationType.value == 'inspect'">病</text>
  34. <text class="L_iocn" v-if="
  35. item.taskType.associationType.value == 'patientTransport'
  36. ">病</text>
  37. <text class="L_iocn" v-if="item.taskType.associationType.value == 'other'">其</text> -->
  38. <view class="page_item_cont_start emergency1" v-if="item.emergencyType.value == 1">
  39. <image mode="widthFix" class="page_item_cont_start-img" src="../../static/img/icon_shandian.png">
  40. </image>
  41. {{ item.emergencyType.name }}
  42. </view>
  43. <view class="page_item_cont_start emergency" v-if="item.emergencyType.value == 2">
  44. <image mode="widthFix" class="page_item_cont_start-img" src="../../static/img/icon_shandian.png">
  45. </image>
  46. {{ item.emergencyType.name }}
  47. </view>
  48. <view class="page_item_cont_start emergencys" v-if="item.emergencyType.value == 3">
  49. <image mode="widthFix" class="page_item_cont_start-img" src="../../static/img/icon_shandian.png">
  50. </image>
  51. {{ item.emergencyType.name }}
  52. </view>
  53. <view class="page_item_top_R type" style="margin-left: 16rpx;">
  54. {{
  55. item.isHalfInspect === 1 ? "半程陪检" : item.taskType.taskName
  56. }}<template v-if="item.goodsRemark">-{{item.goodsRemark}}</template>
  57. </view>
  58. <!-- <text class="L_time" v-if="item.overdueTime">{{ item.overdueTime }}前送达</text> -->
  59. </view>
  60. <view class="page_item_top_R" v-if="
  61. !(
  62. item.taskType.associationType.value == 'inspect' &&
  63. item.gdState.value == 5
  64. )
  65. ">
  66. <text class="text_big">{{ item.gdState.name }}</text>
  67. </view>
  68. <view class="page_item_top_R" v-if="
  69. item.taskType.associationType.value == 'inspect' &&
  70. item.gdState.value == 5
  71. ">
  72. <text class="text_big">待送回</text>
  73. </view>
  74. <!-- <view class="page_item_top_R type">
  75. {{
  76. item.isHalfInspect === 1 ? "半程陪检" : item.taskType.taskName
  77. }}<template v-if="item.goodsRemark">-{{item.goodsRemark}}</template>
  78. </view> -->
  79. </view>
  80. <view class="page_item_cont" @click="itemInfo(item)">
  81. <view class="page_item_cont_T">
  82. <view class="page_item_cont_title">
  83. <text> <text class="starting"></text> 点科室 </text>
  84. <text class="text_big">{{ item.startDept.dept }}</text>
  85. </view>
  86. <!-- <view class="page_item_cont_start emergency1" v-if="item.emergencyType.value == 1">
  87. <image mode="widthFix" class="page_item_cont_start-img" src="../../static/img/icon_shandian.png">
  88. </image>
  89. {{ item.emergencyType.name }}
  90. </view>
  91. <view class="page_item_cont_start emergency" v-if="item.emergencyType.value == 2">
  92. <image mode="widthFix" class="page_item_cont_start-img" src="../../static/img/icon_shandian.png">
  93. </image>
  94. {{ item.emergencyType.name }}
  95. </view>
  96. <view class="page_item_cont_start emergencys" v-if="item.emergencyType.value == 3">
  97. <image mode="widthFix" class="page_item_cont_start-img" src="../../static/img/icon_shandian.png">
  98. </image>
  99. {{ item.emergencyType.name }}
  100. </view> -->
  101. </view>
  102. <view class="page_item_conts" v-if="item.taskType.associationType.value == 'specimen'">
  103. <view v-if="item.overdueTime">{{ item.overdueTime }}前送达</view>
  104. <view>扫描标本数量 : {{ item.actualReceiveNum || '无'}}</view>
  105. <view class="line"></view>
  106. </view>
  107. <view class="page_item_conts" v-else-if="item.taskType.associationType.value == 'ordinary' && item.taskType.ordinaryField.value == 'blood'">
  108. <view v-if="item.overdueTime">{{ item.overdueTime }}前送达</view>
  109. <view>接收数量 : {{ item.actualReceiveNum || '无'}}</view>
  110. <view class="line"></view>
  111. </view>
  112. <view class="page_item_conts" v-else-if="item.taskType.associationType.value == 'inspect'">
  113. <view v-if="item.overdueTime">{{ item.overdueTime }}前送达</view>
  114. <view>
  115. 预约时间 : {{ item.yyTime | yyTimeFilter
  116. }}<text v-if="item.reservationNumber">({{ item.reservationNumber }})</text>
  117. </view>
  118. <view>
  119. 床号 : {{ item.patient ? item.patient.patientName : "-" }}({{
  120. item.patient ? item.patient.bedNum : "-"
  121. }})
  122. </view>
  123. <view v-if="item.goods">
  124. 携带设备 :
  125. <text>{{ item.goods || "暂无" }}</text>
  126. </view>
  127. <view style="word-break: break-all;" v-if="item.workOrderRemark">
  128. 备注信息 :
  129. <text>{{ item.workOrderRemark || "暂无" }}</text>
  130. </view>
  131. <view v-if="item.patient.careLevel">
  132. 护理等级 :
  133. <text :class="[
  134. item.patient.careLevel.value == 0 ||
  135. item.patient.careLevel.value == 1
  136. ? 'red'
  137. : 'green',
  138. ]">{{ item.patient.careLevel.name }}</text>
  139. </view>
  140. <view v-if="item.patient.illnessState">
  141. 病情级别 :
  142. <text :class="{
  143. red:
  144. item.patient.illnessState.value == 2 ||
  145. item.patient.illnessState.value == 3,
  146. }">{{ item.patient.illnessState.name }}</text>
  147. </view>
  148. <view v-if="item.isAccompany === 1 || item.isAccompany === 0">
  149. 陪同情况 :
  150. <text :class="{ red: item.isAccompany === 1 }">{{
  151. item.isAccompany === 1 ? "需要医护陪同" : "无需医护陪同"
  152. }}</text>
  153. </view>
  154. <view class="line"></view>
  155. </view>
  156. <view class="page_item_conts" v-else-if="item.taskType.associationType.value == 'patientTransport'">
  157. <view v-if="item.overdueTime">{{ item.overdueTime }}前送达</view>
  158. <view>
  159. 预约时间 : {{ item.yyjdTime | yyTimeFilter
  160. }}<text v-if="item.reservationNumber">({{ item.reservationNumber }})</text>
  161. </view>
  162. <view>
  163. 床号 : {{ item.patient ? item.patient.patientName : "-" }}({{
  164. item.patient ? item.patient.bedNum : "-"
  165. }})
  166. </view>
  167. <view v-if="item.goods">
  168. 携带设备 :
  169. <text>{{ item.goods || "暂无" }}</text>
  170. </view>
  171. <view style="word-break: break-all;" v-if="item.workOrderRemark">
  172. 备注信息 :
  173. <text>{{ item.workOrderRemark || "暂无" }}</text>
  174. </view>
  175. <view v-if="item.patient.careLevel">
  176. 护理等级 :
  177. <text :class="[
  178. item.patient.careLevel.value == 0 ||
  179. item.patient.careLevel.value == 1
  180. ? 'red'
  181. : 'green',
  182. ]">{{ item.patient.careLevel.name }}</text>
  183. </view>
  184. <view v-if="item.patient.illnessState">
  185. 病情级别 :
  186. <text :class="{
  187. red:
  188. item.patient.illnessState.value == 2 ||
  189. item.patient.illnessState.value == 3,
  190. }">{{ item.patient.illnessState.name }}</text>
  191. </view>
  192. <view v-if="item.isAccompany === 1 || item.isAccompany === 0">
  193. 陪同情况 :
  194. <text :class="{ red: item.isAccompany === 1 }">{{
  195. item.isAccompany === 1 ? "需要医护陪同" : "无需医护陪同"
  196. }}</text>
  197. </view>
  198. <view class="line"></view>
  199. </view>
  200. <view class="page_item_conts" v-else-if="item.taskType.associationType.value == 'drugsBag'">
  201. <view v-if="item.overdueTime">{{ item.overdueTime }}前送达</view>
  202. <view>
  203. 药包编码 : {{ item.drugs ? item.drugs.packid : "无" }}
  204. </view>
  205. <view class="line"></view>
  206. </view>
  207. <view class="page_item_conts" v-else-if="item.taskType.associationType.value == 'jPBag'">
  208. <view v-if="item.overdueTime">{{ item.overdueTime }}前送达</view>
  209. <view>
  210. 药包编码 :
  211. {{ item.staticDistri ? item.staticDistri.packid : "无" }}
  212. </view>
  213. <view class="line"></view>
  214. </view>
  215. <view class="page_item_conts" v-else>
  216. <view v-if="item.overdueTime">{{ item.overdueTime }}前送达</view>
  217. <view style="word-break: break-all;" v-if="item.workOrderRemark">
  218. 备注信息 :
  219. <text>{{ item.workOrderRemark || "暂无" }}</text>
  220. </view>
  221. <view class="line"></view>
  222. </view>
  223. <view class="page_item_cont_B">
  224. <view class="page_item_cont_title" v-if="item.taskType.associationType.value != 'inspect'">
  225. <text> <text class="End"></text> 点科室 </text>
  226. <text class="text_big" v-for="(dept, i) of item.endDepts" :key="i">{{ dept.dept }}</text>
  227. </view>
  228. <view class="page_item_cont_title" v-if="item.taskType.associationType.value == 'inspect'">
  229. <text> <text class="End"></text> 查科室 </text>
  230. <text class="text_big" v-for="(dept, i) of item.middleDept" :key="i">{{ dept.dept }}</text>
  231. </view>
  232. </view>
  233. </view>
  234. <view v-if="
  235. item.taskType.associationType.value == 'inspect' ||
  236. item.taskType.associationType.value == 'patientTransport'
  237. ">
  238. <!-- 待抢单 -->
  239. <text class="red" v-if="item.gdState.value == 2">请扫描患者腕带,或者请扫描科室码</text>
  240. <!-- 待到达 -->
  241. <text class="red" v-if="item.gdState.value == 4">请扫描患者腕带</text>
  242. <!-- 执行中 -->
  243. <text class="red" v-if="item.gdState.value == 8">请扫描检查科室码,并扫描患者腕带</text>
  244. <!-- 待送达 -->
  245. <text class="red" v-if="item.gdState.value == 5">请扫描终点科室码,并扫描患者腕带</text>
  246. </view>
  247. <view v-if="item.taskType.associationType.value == 'ordinary' && item.taskType.ordinaryField.value == 'clothingGet'">
  248. <!-- 待送达 -->
  249. <text class="red" v-if="item.gdState.value == 5">请扫描终点科室二维码</text>
  250. </view>
  251. <view v-if="item.taskType.associationType.value == 'ordinary' && item.taskType.ordinaryField.value == 'clothingSend'">
  252. <!-- 待到达 -->
  253. <text class="red" v-if="item.gdState.value == 4">请扫描起点科室二维码</text>
  254. <!-- 待送达 -->
  255. <text class="red" v-if="item.gdState.value == 5">请扫描终点科室二维码</text>
  256. </view>
  257. <view v-else-if="item.taskType.associationType.value == 'other'">
  258. <!-- 待到达 -->
  259. <text class="red" v-if="item.gdState.value == 4 && item.taskType.carryingCourses[0].checkoutMethod.value == 1">可通过扫描科室码或者拍照进行签到</text>
  260. <text class="red" v-if="item.gdState.value == 4 && item.taskType.carryingCourses[0].checkoutMethod.value == 2">扫描交接人员二维码进行交接</text>
  261. </view>
  262. <!-- 如果不是患者陪检或患者转运或其他,万能交接 -->
  263. <view class="page_item_btn" v-if="
  264. selectedLabelSlots == '执行中' &&
  265. item.taskType.associationType.value != 'patientTransport' &&
  266. item.taskType.associationType.value != 'inspect' &&
  267. item.taskType.associationType.value != 'other' &&
  268. item.taskType.associationType.value != 'ordinary'
  269. " hover-class="seimin-btn-hover">
  270. <smallScreen :sData="item" :sType="2">扫码</smallScreen>
  271. </view>
  272. <!-- 如果不是静配,药配,标本配送,标本轮巡,万能交接 -->
  273. <view class="page_item_btn_wrap" v-if="
  274. selectedLabelSlots == '执行中' &&
  275. item.taskType.associationType.value != 'jPBag' &&
  276. item.taskType.associationType.value != 'drugsBag' &&
  277. item.taskType.associationType.value != 'specimen' &&
  278. item.taskType.associationType.value != 'specimenPlan' &&
  279. item.taskType.associationType.value != 'ordinary'
  280. ">
  281. <view v-if="!(item.taskType.associationType.value == 'other' && (item.gdState.value == 4 && item.taskType.carryingCourses[0].actionsSwitch || item.gdState.value == 5 && item.taskType.carryingCourses[1].actionsSwitch))" class="page_item_btn" hover-class="seimin-btn-hover">
  282. <smallScreen :sData="item" :sType="1">扫码</smallScreen>
  283. </view>
  284. <!-- 其他临床服务-完成工单-待到达 -->
  285. <view v-if="item.taskType.associationType.value == 'other' && item.gdState.value == 4 && item.taskType.carryingCourses[0].actionsSwitch" class="page_item_btn" @click="otherCompleteOrder(item)" hover-class="seimin-btn-hover">确认到达</view>
  286. <!-- 其他临床服务-完成工单-待送达 -->
  287. <view v-if="item.taskType.associationType.value == 'other' && item.gdState.value == 5 && item.taskType.carryingCourses[1].actionsSwitch" class="page_item_btn" @click="otherCompleteOrder(item)" hover-class="seimin-btn-hover">完成工单</view>
  288. <!-- 其他临床服务-拍照 -->
  289. <view v-if="item.taskType.associationType.value == 'other' && item.gdState.value == 4 && item.taskType.carryingCourses[0].photoSwitch" class="page_item_btn" @click="photographToOther(item, 'start')" hover-class="seimin-btn-hover">拍照</view>
  290. <view v-if="item.taskType.associationType.value != 'other' && item.gdState.value == 4" class="page_item_btn" @click="photograph(item)" hover-class="seimin-btn-hover">拍照</view>
  291. <!-- 其他临床服务-追加 -->
  292. <view v-if="item.taskType.associationType.value == 'other' && item.worker && item.worker.id && clinicalMultiplayerMode === 1 && showAppendUser === 1 && item.clinicalTaskIdsFlag && !item.copyBy" class="page_item_btn" @click="additionalUser(item)" hover-class="seimin-btn-hover">追加</view>
  293. </view>
  294. <!-- 如果是万能交接-血制品 -->
  295. <view class="page_item_btn_wrap" v-if="selectedLabelSlots == '执行中' && item.taskType.associationType.value == 'ordinary' && signType4 && item.taskType.ordinaryField.value == 'blood'">
  296. <!-- 送达交接 -->
  297. <view class="page_item_btn" @click="goTobloodEnd(item)" hover-class="seimin-btn-hover" v-if="delivery === 1 && item.gdState.value == 5">送达交接</view>
  298. <!-- 领血证 -->
  299. <view class="page_item_btn" @click="certificatHandler(item)" hover-class="seimin-btn-hover" v-if="useTakeCode == 1">领血证</view>
  300. </view>
  301. <!-- 如果是万能交接-被服洗涤送回 -->
  302. <view class="page_item_btn" v-if="item.taskType.associationType.value == 'ordinary' && item.taskType.ordinaryField.value == 'clothingSend' && item.gdState.value == 5" hover-class="seimin-btn-hover">
  303. <view class="page_item_btn" @click="goToWashingEnd(item)" hover-class="seimin-btn-hover">核对被服</view>
  304. </view>
  305. <view class="page_item_btn" v-if="selectedLabelSlots == '待接单'" @click="showAlerts(item)" hover-class="seimin-btn-hover">接单</view>
  306. </view>
  307. <view class="L-l"></view>
  308. <view class="R-l"></view>
  309. </view>
  310. </scroll-view>
  311. </view>
  312. <!-- 底部扫一扫 -->
  313. <view class="bigScreenWrap">
  314. <bigScreen ref="bigscreen"></bigScreen>
  315. <view class="more" v-if="arrayBigScreen.length"></view>
  316. <picker class="more_picker" @click.stop @change="execFilterBigScreen($event)" :value="indexBigScreen"
  317. :range="arrayBigScreen" range-key="name" v-if="arrayBigScreen.length">
  318. <view class="uni-input">{{ arrayBigScreen[indexBigScreen].name }}</view>
  319. </picker>
  320. </view>
  321. <!-- 悬浮按钮 -->
  322. <uni-fab :pattern="pattern" :content="content" :direction="direction" @trigger="trigger"></uni-fab>
  323. <!-- 弹窗 -->
  324. <showModel :title="models.title" :icon="models.icon" :disjunctor="models.disjunctor" :content="models.content"
  325. @ok="ok" @cancel="cancel" @know="know" :operate="models.operate"></showModel>
  326. <!-- 我的二维码-弹窗 -->
  327. <showMyQrcode v-if="showMyQrcodeModel.disjunctor" :disjunctor="showMyQrcodeModel.disjunctor" @know="closeMyQrcodeModel"></showMyQrcode>
  328. <!-- 领血证-弹窗 -->
  329. <showCertificat v-if="showCertificatModel.disjunctor" :disjunctor="showCertificatModel.disjunctor" :id="showCertificatModel.id" @know="closeCertificatModel"></showCertificat>
  330. <!-- 科室二维码-弹窗 -->
  331. <showDepartmentQrcode v-if="showDepartmentQrcodeModel.disjunctor" :disjunctor="showDepartmentQrcodeModel.disjunctor" @know="closeDepartmentQrcodeModel"></showDepartmentQrcode>
  332. <!-- 手动查询标本弹窗 -->
  333. <handViewSpecimen v-if="speModels.disjunctor" :title="speModels.title" :disjunctor="speModels.disjunctor"
  334. @ok="speOk" @cancel="speCancel">
  335. </handViewSpecimen>
  336. <!-- 手动查询药品弹窗 -->
  337. <handViewDrugsBag v-if="drugbagModels.disjunctor" :title="drugbagModels.title"
  338. :disjunctor="drugbagModels.disjunctor" @ok="drugbagOk" @cancel="drugbagCancel">
  339. </handViewDrugsBag>
  340. <!-- 填写交接人工号弹窗 -->
  341. <selectAccount v-if="hosModels.disjunctor" :disjunctor="hosModels.disjunctor" @ok="hosOk"
  342. @cancel="hosCancel">
  343. </selectAccount>
  344. <!-- 手动查询弹窗 -->
  345. <checkboxModal v-if="checkboxModels.disjunctor" :content="checkboxModels.content" :disjunctor="checkboxModels.disjunctor"
  346. @ok="checkboxOk" @cancel="checkboxCancel">
  347. </checkboxModal>
  348. <!-- 执行中筛选 -->
  349. <view class="execFilterMask" v-if="isShowExecFilter" @click="isShowExecFilter = false">
  350. <view class="execFilter" @click.stop>
  351. <view class="execFilterHeader">
  352. 全部筛选
  353. </view>
  354. <view class="execFilterBody">
  355. <view class="execFilterItem">
  356. <view class="execFilterItemHeader">
  357. 工单状态
  358. </view>
  359. <view class="execFilterItemBody">
  360. <view class="execFilterItemBox" @click="currentId = item.id" :class="{active: item.id == currentId}" v-for="item in array" :key="item.id">
  361. {{item.name}}
  362. </view>
  363. </view>
  364. </view>
  365. <view class="execFilterItem">
  366. <view class="execFilterItemHeader">
  367. 申请科室
  368. </view>
  369. <view class="execFilterItemBody">
  370. <input class="deptName" v-model.trim="deptName" placeholder="请输入科室名称" placeholder-style="color:#cecece" />
  371. </view>
  372. </view>
  373. </view>
  374. <view class="execFilterFooter">
  375. <view class="btn" @click="execFilterReset()">重置</view>
  376. <view class="btn" @click="execFilterOk()">完成</view>
  377. </view>
  378. </view>
  379. </view>
  380. <!-- 被服洗涤弹窗 -->
  381. <showModel :title="models1.title" :icon="models1.icon" :disjunctor="models1.disjunctor" :content="models1.content"
  382. @ok="ok1" @cancel="cancel1" :operate="models1.operate"></showModel>
  383. </view>
  384. </template>
  385. <script>
  386. import selectAccount from "../../components/selectAccount/selectAccount.vue";
  387. import smallScreen from "../../components/smallScreen/smallScreen.vue";
  388. import showModel from "../../components/showModel/showModel.vue";
  389. import bigScreen from "../../components/bigScreen/bigScreen.vue";
  390. // https://ext.dcloud.net.cn/plugin?id=144
  391. import uniFab from "@/components/uni-fab/uni-fab.vue";
  392. import {
  393. get,
  394. post,
  395. SM,
  396. deleteIt,
  397. webHandle
  398. } from "../../http/http.js";
  399. import {
  400. photographTool,
  401. pathUrl
  402. } from "../../tools/photograph.js";
  403. export default {
  404. data() {
  405. return {
  406. isShowExecFilter: false,
  407. deptName: '',
  408. currentId: 0,
  409. otherAssociationTypeId: null,
  410. hosId: uni.getStorageSync('userData').user.currentHospital.id,
  411. clinicalMultiplayerMode: 0,
  412. showAppendUser: 0,
  413. signType4: false,
  414. delivery: 0,
  415. useTakeCode: 0,
  416. takeCodeType: {},
  417. clinicalTaskIds: [],
  418. other: {
  419. user: {},
  420. data: {},
  421. },
  422. // 手动查询弹窗model
  423. checkboxModels: {
  424. disjunctor: false,
  425. },
  426. // 填写交接人工号弹窗model
  427. hosModels: {
  428. disjunctor: false,
  429. },
  430. currentCode: '', //当前拍照使用的科室二维码
  431. currentData: {}, //当前小扫描的工单对象
  432. // 弹窗model
  433. showMyQrcodeModel: {
  434. disjunctor: false,
  435. },
  436. // 弹窗model
  437. showCertificatModel: {
  438. disjunctor: false,
  439. },
  440. // 弹窗model
  441. showDepartmentQrcodeModel: {
  442. disjunctor: false,
  443. },
  444. SMFlag: true,
  445. // 手动查询标本弹窗model
  446. speModels: {
  447. disjunctor: false,
  448. },
  449. // 手动查询药品弹窗model
  450. drugbagModels: {
  451. disjunctor: false,
  452. },
  453. // 筛选条件
  454. array: [{
  455. id: 0,
  456. name: "全部",
  457. },
  458. {
  459. id: 71,
  460. name: "待到达",
  461. },
  462. {
  463. id: 72,
  464. name: "待送达",
  465. },
  466. {
  467. id: 75,
  468. name: "执行中",
  469. },
  470. ],
  471. // 筛选条件
  472. arrayBigScreen: [],
  473. index: 0,
  474. indexBigScreen: 0,
  475. arrayKey: 0,
  476. arrayKeyBigScreen: 0,
  477. // 当前登录人是否是药房角色
  478. pharmacistFlag: false,
  479. // 抢单的id
  480. qdId: "",
  481. quiltData: {},
  482. // 弹窗model
  483. models: {
  484. disjunctor: false,
  485. },
  486. // 弹窗model
  487. models1: {
  488. disjunctor: false,
  489. },
  490. // 悬浮按钮样式
  491. pattern: {
  492. buttonColor: "#6cc076",
  493. },
  494. // 悬浮按钮展开菜单显示方式
  495. direction: "vertical",
  496. // 悬浮按钮展开菜单内容配置项
  497. content: [{
  498. text: "我的任务",
  499. }, ],
  500. // 当前选中tab页名称
  501. selectedLabelSlots: "待接单",
  502. // tab页信息
  503. tabs: [{
  504. label: "待接单", //tab页名称
  505. value: "1", //值
  506. num: 0, //数量
  507. },
  508. {
  509. label: "执行中",
  510. value: "2",
  511. num: 0,
  512. },
  513. ],
  514. //列表数据
  515. zxzData: [],
  516. //分页页码
  517. idx: 0,
  518. // 列表项总数
  519. totalNum: -1,
  520. triggered: false, //下拉刷新状态
  521. freshing: false, //上拉加载开关
  522. scroll_top: 0, //距离顶部的距离
  523. scroll_refresher_enabled: true, //是否开启自定义下拉刷新
  524. quiltCode: '',
  525. };
  526. },
  527. filters: {
  528. // 自定义管道 yyTime
  529. yyTimeFilter: function(data) {
  530. if (data) {
  531. let nDate = null;
  532. if (typeof data == 'string') {
  533. let arr = data.split(/[-:\s]/);
  534. nDate = new Date(
  535. arr[0] - 0,
  536. arr[1] - 1,
  537. arr[2] - 0,
  538. arr[3] - 0,
  539. arr[4] - 0,
  540. 0
  541. );
  542. } else if (typeof data == 'number') {
  543. nDate = new Date(data);
  544. }
  545. const month = (nDate.getMonth() + 1).toString().padStart(2, 0);
  546. const date = nDate.getDate().toString().padStart(2, 0);
  547. const hour = nDate.getHours().toString().padStart(2, 0);
  548. const minute = nDate.getMinutes().toString().padStart(2, 0);
  549. return `${month}-${date} ${hour}:${minute}`;
  550. } else {
  551. return "-";
  552. }
  553. },
  554. },
  555. components: {
  556. uniFab,
  557. showModel,
  558. bigScreen,
  559. selectAccount,
  560. },
  561. methods: {
  562. goTobloodEnd(order){
  563. uni.navigateTo({
  564. url: `/pages/newBlood/endOrderSignBlood/endOrderSignBlood?orderIds=${order.id}&deptName=${order.endDepts[0].dept}&deptId=${order.endDepts[0].id}&type=delivery`,
  565. });
  566. },
  567. goToWashingEnd(order){
  568. uni.navigateTo({
  569. url: `../quiltWashing/quiltWashingSendSignIn/quiltWashingSendSignIn?orderId=${order.id}&endDeptId=${order.endDepts[0].id}&endDeptName=${order.endDepts[0].dept}`,
  570. });
  571. },
  572. async initList(){
  573. uni.showLoading({
  574. title: "加载中",
  575. mask: true,
  576. });
  577. //获取其他临床服务业务类型
  578. let res = await this.getOtherAssociationTypes();
  579. let otherAssociationType = res.find(v => v.value === 'other');
  580. this.otherAssociationTypeId = otherAssociationType ? otherAssociationType.id : null;
  581. if(this.otherAssociationTypeId){
  582. // 获取临床服务页面控制开关
  583. let result = await this.getTaskOtherConfig();
  584. if (result.status == 200) {
  585. if(result.list && result.list[0]){
  586. this.clinicalMultiplayerMode = result.list[0].clinicalMultiplayerMode;
  587. this.showAppendUser = result.list[0].showAppendUser;
  588. this.clinicalTaskIds = result.list[0].clinicalTaskIds ? result.list[0].clinicalTaskIds.split(',') : [] ;
  589. }else{
  590. this.clinicalMultiplayerMode = 0;
  591. this.showAppendUser = 0;
  592. }
  593. } else {
  594. this.clinicalMultiplayerMode = 0;
  595. this.showAppendUser = 0;
  596. }
  597. }else{
  598. uni.showToast({
  599. icon: 'none',
  600. title: '未设置其他临床服务业务类型!'
  601. })
  602. }
  603. this.getBloodPageConfig()
  604. this.waitingOrdersGetNum();
  605. this.executingOrders(0);
  606. },
  607. // 获取血制品页面控制开关
  608. async getBloodPageConfig(){
  609. let result = await this.getTaskBloodConfig();
  610. if (result.status == 200) {
  611. if(result.list && result.list[0]){
  612. let signTypeList = result.list[0].signTypeList || [];
  613. this.signType4 = signTypeList.some(v => v.value == 4);
  614. this.delivery = result.list[0].delivery;
  615. this.useTakeCode = result.list[0].useTakeCode;
  616. this.takeCodeType = result.list[0].takeCodeType;
  617. }else{
  618. this.signType4 = false;
  619. this.delivery = 0;
  620. this.useTakeCode = 0;
  621. this.takeCodeType = {};
  622. }
  623. } else {
  624. this.signType4 = false;
  625. this.delivery = 0;
  626. this.useTakeCode = 0;
  627. this.takeCodeType = {};
  628. }
  629. },
  630. //获取其他临床服务业务类型
  631. getOtherAssociationTypes(){
  632. return post('/common/common/getDictionary', {
  633. "type": "list",
  634. "key": "association_types"
  635. });
  636. },
  637. // 获取临床服务页面控制开关
  638. getTaskOtherConfig(){
  639. return post("/simple/data/fetchDataList/taskTypeConfig", {
  640. "idx": 0,
  641. "sum": 10,
  642. "taskTypeConfig": {
  643. "hosId": this.hosId,
  644. "associationType": this.otherAssociationTypeId,
  645. }
  646. });
  647. },
  648. // 获取血制品页面控制开关
  649. getTaskBloodConfig(){
  650. return post("/simple/data/fetchDataList/taskTypeConfig", {
  651. "idx": 0,
  652. "sum": 10,
  653. "taskTypeConfig": {
  654. "taskTypeDTO": {
  655. "hosId": {
  656. "id": this.hosId
  657. },
  658. "ordinaryField": {
  659. "key": "ordinary_field",
  660. "value": "blood"
  661. }
  662. }
  663. }
  664. });
  665. },
  666. // 手动查询-确认
  667. checkboxOk(bulkCopy) {
  668. console.log(bulkCopy);
  669. this.checkboxModels.disjunctor = false;
  670. let { user, data } = this.other;
  671. this.additionalUserCommon(user, data.id, data.worker.id, bulkCopy);
  672. },
  673. // 手动查询-取消
  674. checkboxCancel() {
  675. this.checkboxModels.disjunctor = false;
  676. },
  677. // 手动查询弹窗
  678. showCheckboxModal(user, data) {
  679. this.other = {
  680. user,
  681. data,
  682. };
  683. this.checkboxModels = {
  684. content: `您要最追加的人员为${user.name},您确认要追加吗?`,
  685. disjunctor: true,
  686. }
  687. },
  688. // 追加陪检人/执行人按钮
  689. additionalUser(data) {
  690. if (!this.SMFlag) {
  691. return;
  692. }
  693. this.SMFlag = false;
  694. console.log(data, 'data');
  695. SM().then((ress1) => {
  696. uni.showLoading({
  697. title: "加载中",
  698. mask: true,
  699. });
  700. //检验二维码的有效性
  701. post("/dept/scanning", {
  702. content: ress1,
  703. taskTypeId: data.taskType.id,
  704. gdState: data.gdState.id,
  705. }).then((result) => {
  706. this.SMFlag = true;
  707. // this.currentCode = result.code;
  708. if (result.state == 200 || result.state == 201) {
  709. console.log(result);
  710. let user;
  711. try{
  712. // json对象字符串
  713. user = JSON.parse(result.code);
  714. // 不是json对象字符串
  715. if(Object.prototype.toString.call(user).slice(8, -1).toLowerCase() !== 'object'){
  716. user = result.code;
  717. }
  718. }catch(e){
  719. user = result.code;
  720. }
  721. if(Object.prototype.toString.call(user).slice(8, -1).toLowerCase() === 'object' && user.type == 'myQrCode' && user.id && user.name){
  722. user.qrcode = ress1;
  723. uni.hideLoading();
  724. if(data.taskType.associationType.value == 'other'){
  725. this.showCheckboxModal(user, data);
  726. }else{
  727. uni.showModal({
  728. title: "提示",
  729. content: `您要最追加的人员为${user.name},您确认要追加吗?`,
  730. success: (res) => {
  731. if (res.confirm) {
  732. console.log("用户点击确定");
  733. this.additionalUserCommon(user, data.id, data.worker.id, false);
  734. } else if (res.cancel) {
  735. console.log("用户点击取消");
  736. }
  737. },
  738. });
  739. }
  740. }else if(Object.prototype.toString.call(user).slice(8, -1).toLowerCase() === 'string'){
  741. let identityCardNumber = user;
  742. // 根据身份证获取name
  743. // todo
  744. post("/data/fetchDataList/user", {idx: 0, sum: 1, user: { identityCardNumber }}).then((result) => {
  745. uni.hideLoading();
  746. if(result.status == 200){
  747. result.list = result.list || [];
  748. if(result.list.length){
  749. let user = {name: result.list[0].name, identityCardNumber, qrcode: ress1};
  750. if(data.taskType.associationType.value == 'other'){
  751. this.showCheckboxModal(user, data);
  752. }else{
  753. uni.showModal({
  754. title: "提示",
  755. content: `您要最追加的人员为${user.name},您确认要追加吗?`,
  756. success: (res) => {
  757. if (res.confirm) {
  758. console.log("用户点击确定");
  759. this.additionalUserCommon(user, data.id, data.worker.id, false);
  760. } else if (res.cancel) {
  761. console.log("用户点击取消");
  762. }
  763. },
  764. });
  765. }
  766. }else{
  767. uni.navigateTo({
  768. url: `../result_error/result_error?qrcode=${ress1}&msg=扫描二维码无法找到用户!`,
  769. });
  770. }
  771. }else{
  772. uni.navigateTo({
  773. url: `../result_error/result_error?qrcode=${ress1}&msg=请扫描正确的二维码!`,
  774. });
  775. }
  776. })
  777. }else{
  778. uni.hideLoading();
  779. uni.navigateTo({
  780. url: `../result_error/result_error?qrcode=${ress1}&msg=请扫描正确的二维码!`,
  781. });
  782. }
  783. } else {
  784. uni.hideLoading();
  785. uni.navigateTo({
  786. url: `../result_error/result_error?qrcode=${ress1}&msg=${result.info || '接口获取数据失败!'}`,
  787. });
  788. }
  789. });
  790. }).catch(err=>{
  791. this.SMFlag = true;
  792. });
  793. },
  794. // 追加陪检人/执行人
  795. additionalUserCommon(user, gdId, workerId, bulkCopy) {
  796. console.log(user, gdId, workerId, bulkCopy);
  797. uni.showLoading({
  798. title: "加载中",
  799. mask: true,
  800. });
  801. // 二维码里有id则传userid,没有则传identityCardNumber
  802. post("/workerOrder/additionalAccompanyingPersonnel", {
  803. userId: user.id || undefined,
  804. identityCardNumber: !user.id ? user.identityCardNumber : undefined,
  805. gdId,
  806. workerId,
  807. bulkCopy: bulkCopy ? 1 : undefined,
  808. }).then((result) => {
  809. uni.hideLoading();
  810. if (result.state == 200) {
  811. uni.showToast({
  812. icon: 'none',
  813. duration: 4000,
  814. title: '操作成功!'
  815. })
  816. uni.redirectTo({
  817. url: `../receiptpage/receiptpage`,
  818. });
  819. } else {
  820. uni.navigateTo({
  821. url: `../result_error/result_error?qrcode=${user.qrcode}&msg=${result.msg || '接口获取数据失败!'}`,
  822. });
  823. }
  824. });
  825. },
  826. // 前往其他临床服务完成工单确认页面
  827. otherCompleteOrder(data){
  828. console.log(data);
  829. uni.navigateTo({
  830. url: `../otherCompleteOrder/otherCompleteOrder?orderId=${data.id}&taskType=${data.taskType ? encodeURIComponent(JSON.stringify(data.taskType)) : ''}&order=${data ? encodeURIComponent(JSON.stringify(data)) : ''}`,
  831. });
  832. },
  833. // 手动查询药品-确认
  834. drugbagOk(data) {
  835. console.log(data);
  836. if (!data.id) {
  837. //没有查询到药品
  838. uni.showModal({
  839. title: '提示',
  840. content: "没有查询到发药单号!",
  841. showCancel: false,
  842. success: function(res) {
  843. if (res.confirm) {
  844. console.log('用户点击确定');
  845. } else if (res.cancel) {
  846. console.log('用户点击取消');
  847. }
  848. }
  849. });
  850. return;
  851. }
  852. this.drugbagModels.disjunctor = false;
  853. uni.navigateTo({
  854. url: `/pages/scanning_drug/scanning_drug?drugsBagId=${data.id}`,
  855. });
  856. },
  857. // 手动查询药品-取消
  858. drugbagCancel() {
  859. this.drugbagModels.disjunctor = false;
  860. },
  861. // 手动查询药品弹窗
  862. showHandViewDrugsbag() {
  863. console.log(1)
  864. this.drugbagModels = {
  865. title: '填写发药单号',
  866. disjunctor: true,
  867. }
  868. },
  869. // 手动查询标本-确认
  870. speOk(data) {
  871. console.log(data);
  872. if (!data.id) {
  873. //没有查询到标本
  874. uni.showModal({
  875. title: '提示',
  876. content: "没有查询到标本!",
  877. showCancel: false,
  878. success: function(res) {
  879. if (res.confirm) {
  880. console.log('用户点击确定');
  881. } else if (res.cancel) {
  882. console.log('用户点击取消');
  883. }
  884. }
  885. });
  886. return;
  887. }
  888. this.speModels.disjunctor = false;
  889. let infoDATA = {
  890. stype: data.stype,
  891. scode: data.scode,
  892. patientName: data.patientName,
  893. sickRoom: data.sickRoom ?
  894. data.sickRoom.dept : "-",
  895. checkDept: data.checkDept ?
  896. data.checkDept.dept : "-",
  897. bedNum: data.bedNum,
  898. };
  899. uni.navigateTo({
  900. url: `../scanning_B/scanning_B?res=${encodeURIComponent(
  901. JSON.stringify({data,status:666,scanCodeSpecimenOrderSign:data.scanCodeSpecimenOrderSign,workOrder:data.workOrderDTO})
  902. )}&infoDATA=${encodeURIComponent(
  903. JSON.stringify(infoDATA)
  904. )}`,
  905. });
  906. },
  907. // 手动查询标本-取消
  908. speCancel() {
  909. this.speModels.disjunctor = false;
  910. },
  911. // 手动查询标本弹窗
  912. showHandViewSpecimen() {
  913. this.speModels = {
  914. title: '填写标本编码',
  915. disjunctor: true,
  916. }
  917. },
  918. // 执行中筛选
  919. // execFilter({
  920. // detail: {
  921. // value
  922. // }
  923. // }) {
  924. // this.index = value;
  925. // this.arrayKey = this.array[value].id;
  926. // this.zxzData = [];
  927. // this.totalNum = -1;
  928. // this.idx = 0;
  929. // this.selectedLabelSlots = "执行中";
  930. // this.executingOrders(0);
  931. // },
  932. // 执行中筛选
  933. execFilter() {
  934. this.isShowExecFilter = true;
  935. },
  936. // 执行中确定
  937. execFilterOk() {
  938. this.isShowExecFilter = false;
  939. this.zxzData = [];
  940. this.totalNum = -1;
  941. this.idx = 0;
  942. this.selectedLabelSlots = "执行中";
  943. this.executingOrders(0);
  944. },
  945. // 执行中重置
  946. execFilterReset() {
  947. this.currentId = 0;
  948. this.deptName = '';
  949. },
  950. // 大扫描筛选
  951. execFilterBigScreen({
  952. detail: {
  953. value
  954. }
  955. }) {
  956. this.indexBigScreen = value;
  957. this.arrayKeyBigScreen = this.arrayBigScreen[value].id;
  958. console.log(this.arrayKeyBigScreen);
  959. console.log(this.$refs.bigscreen);
  960. this.$refs.bigscreen.Scanning(this.arrayKeyBigScreen);
  961. },
  962. // 获取科室二维码设置开关
  963. getMenu() {
  964. let menu = uni.getStorageSync("userData").menu;
  965. //判断当前登陆人具体角色 start
  966. let roles = uni.getStorageSync("userData").user.role;
  967. this.pharmacistFlag = roles.some(
  968. (item) => item.rolecode === "pharmacist"
  969. );
  970. //判断当前登陆人具体角色 end
  971. console.log(menu);
  972. this.arrayBigScreen = [];
  973. menu.forEach((item) => {
  974. if (item.link === "wxInspect") {
  975. this.content.push({
  976. text: "检查信息",
  977. });
  978. } else if (item.link === "wxPatient") {
  979. this.content.push({
  980. text: "患者信息",
  981. });
  982. } else if (item.link === "wxPharmacy") {
  983. // 如果是配药师人员,则增加药房
  984. if (this.pharmacistFlag) {
  985. this.content.push({
  986. text: "药房",
  987. });
  988. }
  989. } else if (item.link === "wxCode") {
  990. this.content.push({
  991. text: "二维码设置",
  992. });
  993. } else if (item.link === "wxSpecimenEntry") {
  994. this.content.push({
  995. text: "标本录入",
  996. });
  997. } else if (item.link === "wxDrugsbagEntry") {
  998. this.content.push({
  999. text: "药品录入",
  1000. });
  1001. } else if (item.link === "wxTakeMedicine") {
  1002. this.content.push({
  1003. text: "摆药取药",
  1004. });
  1005. } else if (item.link === "myQrcode") {
  1006. this.content.push({
  1007. text: "我的二维码",
  1008. });
  1009. } else if (item.link === "departmentQrcode") {
  1010. this.content.push({
  1011. text: "科室二维码",
  1012. });
  1013. } else if (item.link === "formManagementWechat") {
  1014. this.content.push({
  1015. text: "查看表单",
  1016. });
  1017. } else if (item.link === "BIAOBEN") {
  1018. this.arrayBigScreen.push({
  1019. id: 'BIAOBEN|$|',
  1020. name: "标本",
  1021. });
  1022. } else if (item.link === "YAOPING") {
  1023. this.arrayBigScreen.push({
  1024. id: 'YAOPING|$|',
  1025. name: "药品",
  1026. });
  1027. } else if (item.link === "HUANZHE") {
  1028. this.arrayBigScreen.push({
  1029. id: 'HUANZHE|$|',
  1030. name: "患者",
  1031. });
  1032. } else if (item.link === "XIEZHIPING") {
  1033. this.arrayBigScreen.push({
  1034. id: 'XIEZHIPING|$|',
  1035. name: "血制品",
  1036. });
  1037. } else if (item.link === "KJJD") {
  1038. this.arrayBigScreen.push({
  1039. id: 'KJJD|$|',
  1040. name: "快捷建单",
  1041. });
  1042. } else if (item.link === "kuaijiejiedan") {
  1043. this.arrayBigScreen.push({
  1044. id: 'kuaijiejiedan|$|',
  1045. name: "快捷接单",
  1046. });
  1047. } else if (item.link === "quickOrderAcceptanceWx") {
  1048. this.content.push({
  1049. text: "快捷接单",
  1050. });
  1051. } else if (item.link === "wxQuiltRecovery") {
  1052. this.content.push({
  1053. text: "被服回收",
  1054. });
  1055. }
  1056. });
  1057. },
  1058. // 拍照
  1059. photograph(data) {
  1060. photographTool(data);
  1061. },
  1062. // 如果不是静配,药配,标本配送,标本轮巡
  1063. // 科室签到(小扫描)-拍照
  1064. nextDeptOrder_ss(data, accountObj) {
  1065. console.log(this.currentCode);
  1066. let isKs = 0;
  1067. let ids = [];
  1068. let id = data.id;
  1069. ids.push(id);
  1070. let list = {
  1071. code: "",
  1072. ids: ids,
  1073. };
  1074. let code = "";
  1075. let type = "";
  1076. if (this.currentCode) {
  1077. let gdStateValue = data.gdState.value; //工单状态value
  1078. let associationTypeValue = data.taskType.associationType.value; //关联类型value
  1079. // 其他临床服务,并且工单状态是待到达||工单状态待送达
  1080. if (
  1081. (associationTypeValue == "other" &&
  1082. gdStateValue == "4") ||
  1083. gdStateValue == "5"
  1084. ) {
  1085. code = this.currentCode;
  1086. type = "orderSign/" + code;
  1087. list = {
  1088. ids
  1089. };
  1090. if (accountObj) {
  1091. list.handover = [accountObj.accountId];
  1092. }
  1093. isKs = 1;
  1094. }
  1095. uni.showLoading({
  1096. title: "加载中",
  1097. mask: true,
  1098. });
  1099. post("/workerOrder/" + type, list).then((res) => {
  1100. uni.hideLoading();
  1101. if (res) {
  1102. if (res.status == 200) {
  1103. if (
  1104. gdStateValue == "4" &&
  1105. associationTypeValue == "other"
  1106. ) {
  1107. uni.navigateTo({
  1108. url: `../../pages/scanning_code/scanning_code?type=${associationTypeValue}&type1=${res.type}&id=${data.id}&deptCode=${code}&dept=${res.dept}&accountObj=${encodeURIComponent(JSON.stringify(accountObj))}`,
  1109. });
  1110. }
  1111. if (gdStateValue == "5") {
  1112. uni.navigateTo({
  1113. url: `../../pages/scanning_code/scanning_code?type=${associationTypeValue}&type1=${res.type}&id=${data.id}&deptCode=${code}&dept=${res.dept}&accountObj=${encodeURIComponent(JSON.stringify(accountObj))}`,
  1114. });
  1115. }
  1116. } else {
  1117. uni.navigateTo({
  1118. url: `../../pages/scanning_Result/scanning_Result?type=${
  1119. associationTypeValue
  1120. }&type1=${res.type}&id=${data.id}&status=600&msg=${
  1121. res.msg
  1122. }&isKs=${isKs}&model=${encodeURIComponent(
  1123. JSON.stringify(res)
  1124. )}&qrcode=${this.currentCode}`,
  1125. });
  1126. }
  1127. } else {
  1128. uni.navigateTo({
  1129. url: `../../pages/scanning_Result/scanning_Result?id=${data.id}&status=600&msg=扫码失败!请扫描正确的二维码!&isKs=${isKs}&qrcode=${this.currentCode}`,
  1130. });
  1131. }
  1132. });
  1133. }
  1134. },
  1135. // 填写交接人工号-确认
  1136. hosOk(data) {
  1137. console.log(data);
  1138. const {
  1139. accountName,
  1140. account,
  1141. accountId
  1142. } = data;
  1143. if (!accountName && !account) {
  1144. //没有填写交接人
  1145. uni.showModal({
  1146. title: '提示',
  1147. content: "请填写交接人工号!",
  1148. showCancel: false,
  1149. success: function(res) {
  1150. if (res.confirm) {
  1151. console.log('用户点击确定');
  1152. } else if (res.cancel) {
  1153. console.log('用户点击取消');
  1154. }
  1155. }
  1156. });
  1157. return;
  1158. } else if (!accountName && account || accountName && !account) {
  1159. //没有填写交接人
  1160. uni.showModal({
  1161. title: '提示',
  1162. content: "请填写正确的交接人工号!",
  1163. showCancel: false,
  1164. success: function(res) {
  1165. if (res.confirm) {
  1166. console.log('用户点击确定');
  1167. } else if (res.cancel) {
  1168. console.log('用户点击取消');
  1169. }
  1170. }
  1171. });
  1172. return;
  1173. }
  1174. this.hosModels.disjunctor = false;
  1175. let associationTypeValue = this.currentData.taskType.associationType.value;
  1176. console.log(associationTypeValue)
  1177. this.uploadToOther(this.currentData, data, 'start');
  1178. },
  1179. // 填写交接人工号-取消
  1180. hosCancel() {
  1181. this.hosModels.disjunctor = false;
  1182. },
  1183. // 填写交接人工号弹窗
  1184. showSelectAccount() {
  1185. this.hosModels = {
  1186. disjunctor: true,
  1187. }
  1188. },
  1189. // 拍照-上传
  1190. uploadToOther(data, accountObj, type){
  1191. // 其他临床服务拍照签到
  1192. console.log(data, 1111);
  1193. let id_seimin;
  1194. let asTypeValue_seimin;
  1195. let gdStateValue_seimin;
  1196. if (data.status != 200 && data.status !== undefined) {
  1197. id_seimin = data.id;
  1198. asTypeValue_seimin = data.type;
  1199. gdStateValue_seimin = JSON.parse(data.model).gdstate2; //type改成gdstate
  1200. } else {
  1201. id_seimin = data.id;
  1202. asTypeValue_seimin = data.taskType.associationType.value;
  1203. gdStateValue_seimin = data.gdState.value;
  1204. }
  1205. //#ifdef H5
  1206. uni.chooseImage({
  1207. count: 1,
  1208. sourceType: ['camera'],
  1209. success: (chooseImageRes) => {
  1210. console.log(chooseImageRes, pathUrl)
  1211. const tempFilePaths = chooseImageRes.tempFilePaths;
  1212. const tempFiles = chooseImageRes.tempFiles;
  1213. let tp = tempFilePaths[0];
  1214. uni.showLoading({
  1215. mask: true,
  1216. title: '加载中'
  1217. });
  1218. post('/workerOrder/findRecordInfoByOrderId', {
  1219. orderId: id_seimin,
  1220. gdOperate: 21,
  1221. }).then(result => {
  1222. console.log(result)
  1223. if (result.state == 200) {
  1224. uni.getImageInfo({
  1225. src: tp,
  1226. success: (res) => {
  1227. console.log('压缩前', res)
  1228. let canvasWidth = res.width //图片原始长宽
  1229. let canvasHeight = res.height
  1230. let img = new Image()
  1231. img.src = res.path
  1232. let canvas = document.createElement('canvas');
  1233. let ctx = canvas.getContext('2d')
  1234. canvas.width = canvasWidth
  1235. canvas.height = canvasHeight
  1236. ctx.drawImage(img, 0, 0, canvasWidth, canvasHeight)
  1237. canvas.toBlob((fileSrc) => {
  1238. tp = window.URL.createObjectURL(fileSrc)
  1239. console.log('压缩后', tp);
  1240. uni.uploadFile({
  1241. url: pathUrl + '/common/common/uploadAttachment/'+(type == 'start' ? 'orderStartPhoto' : 'orderEndPhoto')+'/' + id_seimin + '/' + result.recordId,
  1242. filePath: tp,
  1243. name: 'file',
  1244. formData: {
  1245. 'filename': tempFiles[0].name ? tempFiles[0].name.split('.')[0] + '.jpg' : tempFiles[
  1246. 0].path.split(
  1247. /[\\/]/).reverse()[0].split('.')[0] + '.jpg'
  1248. },
  1249. success: (uploadFileRes) => {
  1250. console.log(uploadFileRes, 10086, asTypeValue_seimin);
  1251. this.nextDeptOrder_ss(data, accountObj, type);
  1252. },
  1253. fail: err => {
  1254. console.error(err);
  1255. uni.hideLoading();
  1256. uni.showToast({
  1257. icon: 'none',
  1258. title: '上传失败',
  1259. duration: 2000
  1260. });
  1261. }
  1262. });
  1263. }, 'image/jpeg', 0.3)
  1264. },
  1265. fail: function () {
  1266. uni.hideLoading();
  1267. uni.showToast({
  1268. icon: 'none',
  1269. title: '上传失败',
  1270. duration: 2000
  1271. });
  1272. }
  1273. })
  1274. } else {
  1275. uni.hideLoading();
  1276. uni.showToast({
  1277. icon: "none",
  1278. title: result.msg || "接口获取数据失败!",
  1279. });
  1280. }
  1281. })
  1282. }
  1283. });
  1284. //#endif
  1285. //#ifdef APP-PLUS
  1286. uni.chooseImage({
  1287. count: 1,
  1288. sourceType: ['camera'],
  1289. sizeType: ['compressed'],
  1290. success: (chooseImageRes) => {
  1291. console.log(chooseImageRes, pathUrl)
  1292. const tempFilePaths = chooseImageRes.tempFilePaths;
  1293. const tempFiles = chooseImageRes.tempFiles;
  1294. let tp = tempFilePaths[0];
  1295. uni.showLoading({
  1296. mask: true,
  1297. title: '加载中'
  1298. });
  1299. post('/workerOrder/findRecordInfoByOrderId', {
  1300. orderId: id_seimin,
  1301. gdOperate: 21,
  1302. }).then(result => {
  1303. console.log(result)
  1304. if (result.state == 200) {
  1305. uni.compressImage({
  1306. src: tp,
  1307. quality: 30,
  1308. success: (res) => {
  1309. console.log('压缩前', res)
  1310. tp = res.tempFilePath;
  1311. console.log('压缩后', tp);
  1312. uni.uploadFile({
  1313. url: pathUrl + '/common/common/uploadAttachment/'+(type == 'start' ? 'orderStartPhoto' : 'orderEndPhoto')+'/' + id_seimin + '/' + result.recordId,
  1314. filePath: tp,
  1315. name: 'file',
  1316. formData: {
  1317. 'filename': tempFiles[0].name ? tempFiles[0].name.split('.')[0] + '.jpg' : tempFiles[
  1318. 0].path.split(
  1319. /[\\/]/).reverse()[0].split('.')[0] + '.jpg'
  1320. },
  1321. success: (uploadFileRes) => {
  1322. console.log(uploadFileRes, 10086, asTypeValue_seimin);
  1323. this.nextDeptOrder_ss(data, accountObj, type);
  1324. },
  1325. fail: err => {
  1326. console.error(err);
  1327. uni.hideLoading();
  1328. uni.showToast({
  1329. icon: 'none',
  1330. title: '上传失败',
  1331. duration: 2000
  1332. });
  1333. }
  1334. });
  1335. },
  1336. fail: function () {
  1337. uni.hideLoading();
  1338. uni.showToast({
  1339. icon: 'none',
  1340. title: '上传失败',
  1341. duration: 2000
  1342. });
  1343. }
  1344. })
  1345. } else {
  1346. uni.hideLoading();
  1347. uni.showToast({
  1348. icon: "none",
  1349. title: result.msg || "接口获取数据失败!",
  1350. });
  1351. }
  1352. })
  1353. }
  1354. });
  1355. //#endif
  1356. },
  1357. // 拍照-其他
  1358. async photographToOther(data, type) {
  1359. this.currentData = data;
  1360. uni.showLoading({
  1361. title: "加载中",
  1362. mask: true,
  1363. });
  1364. // 其他临床服务
  1365. let result = await post("/dept/scanning", {
  1366. content: type === 'start' ? data.startDept.qrcode : data.endDepts[0].qrcode,
  1367. taskTypeId: data.taskType.id,
  1368. gdState: data.gdState.id,
  1369. });
  1370. uni.hideLoading();
  1371. this.currentCode = result.code;
  1372. if (result.state == 200 || result.state == 201) {
  1373. uni.showModal({
  1374. title: '提示',
  1375. content: '请尽量拍摄角度覆盖清洁区域?',
  1376. success: (res) => {
  1377. if (res.confirm) {
  1378. if (result.account) {
  1379. this.uploadToOther(data, {
  1380. account: result.account,
  1381. accountName: result.name,
  1382. accountId: result.id,
  1383. }, type);
  1384. } else {
  1385. this.uploadToOther(data, undefined, type);
  1386. }
  1387. } else if (res.cancel) {
  1388. console.log('用户点击取消');
  1389. }
  1390. }
  1391. });
  1392. } else if (result.state == '0000') {
  1393. this.showSelectAccount();
  1394. } else {
  1395. uni.showToast({
  1396. icon: "none",
  1397. title: result.info || "接口获取数据失败!",
  1398. });
  1399. }
  1400. },
  1401. // 悬浮按钮点击事件
  1402. trigger(e) {
  1403. if (e.item.text === "我的任务") {
  1404. uni.navigateTo({
  1405. url: "../mypage/mypage",
  1406. });
  1407. } else if (e.item.text === "退出登录") {
  1408. // 假登录
  1409. uni.showToast({
  1410. title: "退出成功!",
  1411. });
  1412. let ip = uni.getStorageSync("ip"); //记住域名或ip
  1413. let username = uni.getStorageSync("username"); //记住用户名
  1414. let password = uni.getStorageSync("password"); //记住密码
  1415. let savePasswordTime = uni.getStorageSync("savePasswordTime"); //记住密码的时间戳
  1416. let clientid = uni.getStorageSync("clientid");
  1417. uni.clearStorageSync();
  1418. if (username) {
  1419. uni.setStorageSync("ip", ip); //记住域名或ip
  1420. uni.setStorageSync("username", username); //记住用户名
  1421. uni.setStorageSync("password", password); //记住密码
  1422. uni.setStorageSync("savePasswordTime", savePasswordTime); //记住密码的时间戳
  1423. }
  1424. uni.setStorageSync("clientid", clientid);
  1425. uni.navigateTo({
  1426. url: "../homePage/homePage",
  1427. });
  1428. // 假登录
  1429. deleteIt("/auth/logout2").then((result) => {
  1430. if (result.status == 200) {
  1431. uni.showToast({
  1432. title: "退出成功!",
  1433. });
  1434. let ip = uni.getStorageSync("ip"); //记住域名或ip
  1435. let username = uni.getStorageSync("username"); //记住用户名
  1436. let password = uni.getStorageSync("password"); //记住密码
  1437. let clientid = uni.getStorageSync("clientid");
  1438. uni.clearStorageSync();
  1439. uni.setStorageSync("ip", ip); //记住域名或ip
  1440. uni.setStorageSync("username", username); //记住用户名
  1441. uni.setStorageSync("password", password); //记住密码
  1442. uni.setStorageSync("clientid", clientid);
  1443. uni.navigateTo({
  1444. url: "../homePage/homePage",
  1445. });
  1446. } else {
  1447. uni.showToast({
  1448. icon: "none",
  1449. title: result.msg || "接口获取数据失败!",
  1450. });
  1451. }
  1452. });
  1453. } else if (e.item.text === "药房") {
  1454. uni.navigateTo({
  1455. url: "../pharmacy/pharmacy",
  1456. });
  1457. } else if (e.item.text === "患者信息") {
  1458. uni.navigateTo({
  1459. url: "../patientInformationList/patientInformationList",
  1460. });
  1461. } else if (e.item.text === "负责科室") {
  1462. if (uni.getStorageSync("setDepts")) {
  1463. uni.removeStorageSync("setDepts"); //清空选择的科室,初始化
  1464. }
  1465. let obj = uni.getStorageSync("setDeptConfg");
  1466. uni.navigateTo({
  1467. url: `../setDept/setDept?configName=${obj.configName}&id=${obj.id}&changedept=1`,
  1468. });
  1469. } else if (e.item.text === "检查信息") {
  1470. uni.navigateTo({
  1471. url: "../inspectList/inspectList",
  1472. });
  1473. } else if (e.item.text === "二维码设置") {
  1474. uni.navigateTo({
  1475. url: "../settingCode/settingCode",
  1476. });
  1477. } else if (e.item.text === "标本录入") {
  1478. this.showHandViewSpecimen();
  1479. } else if (e.item.text === "药品录入") {
  1480. this.showHandViewDrugsbag();
  1481. } else if (e.item.text === "摆药取药") {
  1482. this.handleTakeMedicine()
  1483. } else if (e.item.text === "我的二维码") {
  1484. this.myQrcodeHandler()
  1485. } else if (e.item.text === "科室二维码") {
  1486. this.departmentQrcodeHandler()
  1487. } else if (e.item.text === "查看表单") {
  1488. uni.navigateTo({
  1489. url: "../formManagementWechat/formManagementWechat",
  1490. });
  1491. } else if (e.item.text === "快捷接单") {
  1492. uni.navigateTo({
  1493. url: "../quickOrderAcceptanceWx/quickOrderAcceptanceWx",
  1494. });
  1495. } else if (e.item.text === "被服回收") {
  1496. this.quiltScan();
  1497. }
  1498. },
  1499. //确定
  1500. ok1() {
  1501. this.models1.disjunctor = false;
  1502. uni.showLoading({
  1503. title: "加载中",
  1504. mask: true,
  1505. });
  1506. post("/transflow/createOrTakeOrder", {
  1507. type: 'clothingGet',
  1508. id: 0,
  1509. startDeptId: this.quiltData.dept.id,
  1510. hosId: this.hosId,
  1511. handoverId: this.quiltData.id,
  1512. }).then((res) => {
  1513. uni.hideLoading();
  1514. if (res.data && res.data.state == 200) {
  1515. uni.showModal({
  1516. title: "提示",
  1517. content: "建单成功",
  1518. showCancel: false,
  1519. success: (result) => {
  1520. if (result.confirm) {
  1521. console.log("用户点击确定");
  1522. uni.navigateTo({
  1523. url: `../quiltWashing/quiltWashingGetSignIn/quiltWashingGetSignIn?quiltCode=${this.quiltCode}&startDeptId=${this.quiltData.dept.id}&startDeptName=${this.quiltData.dept.dept}&orderId=${res.data.orderId}&name=${this.quiltData.name}`,
  1524. });
  1525. }
  1526. },
  1527. });
  1528. }else{
  1529. uni.showToast({
  1530. icon: "none",
  1531. title: res.data ? res.data.msg : "接口获取数据失败!",
  1532. });
  1533. }
  1534. });
  1535. },
  1536. //取消
  1537. cancel1() {
  1538. this.models1.disjunctor = false;
  1539. },
  1540. // 被服回收弹窗
  1541. showQuiltData(data) {
  1542. this.quiltData = data;
  1543. this.models1 = {
  1544. disjunctor: true,
  1545. title: "提示",
  1546. content: `您扫描的是${data.name}的工号,是否建立${data.dept.dept}的被服回收工单吗?`,
  1547. icon: "warn",
  1548. operate: {
  1549. ok: "建立工单",
  1550. cancel: "取消",
  1551. },
  1552. };
  1553. },
  1554. // 扫描工牌-被服洗涤
  1555. quiltScan() {
  1556. if (!this.SMFlag) {
  1557. return;
  1558. }
  1559. this.SMFlag = false;
  1560. SM().then((content) => {
  1561. uni.showLoading({
  1562. title: "加载中",
  1563. mask: true,
  1564. });
  1565. //检验二维码的有效性(扫码前必须验证)
  1566. post("/dept/scanning", {
  1567. content,
  1568. })
  1569. .then((result) => {
  1570. this.quiltCode = result.code;
  1571. this.SMFlag = true;
  1572. // 200检测通过,201没有有效期也通过。
  1573. if (result.state == 200 || result.state == 201) {
  1574. let data = {
  1575. code: this.quiltCode, //二维码
  1576. };
  1577. post("/transflow/bigScan", { type: 'clothingGet', code: this.quiltCode })
  1578. .then((res) => {
  1579. uni.hideLoading();
  1580. if (res.state == 200) {
  1581. this.showQuiltData(res.data)
  1582. } else {
  1583. uni.navigateTo({
  1584. url: `../scanning_Result/scanning_Result?status=${res.state}&msg=${res.msg}&qrcode=${this.quiltCode}`,
  1585. });
  1586. }
  1587. });
  1588. } else {
  1589. uni.hideLoading();
  1590. uni.showToast({
  1591. icon: "none",
  1592. title: result.info || "接口获取数据失败!",
  1593. });
  1594. }
  1595. })
  1596. }).catch(err => {
  1597. this.SMFlag = true;
  1598. });
  1599. },
  1600. // 我的二维码
  1601. myQrcodeHandler(){
  1602. this.showMyQrcodeModel = {
  1603. disjunctor: true,
  1604. };
  1605. },
  1606. closeMyQrcodeModel(){
  1607. this.showMyQrcodeModel.disjunctor = false;
  1608. },
  1609. // 领血证二维码
  1610. certificatHandler(data){
  1611. this.showCertificatModel = {
  1612. disjunctor: true,
  1613. id: data.id,
  1614. };
  1615. },
  1616. closeCertificatModel(){
  1617. this.showCertificatModel.disjunctor = false;
  1618. },
  1619. // 科室二维码
  1620. departmentQrcodeHandler(){
  1621. this.showDepartmentQrcodeModel = {
  1622. disjunctor: true,
  1623. };
  1624. },
  1625. closeDepartmentQrcodeModel(){
  1626. this.showDepartmentQrcodeModel.disjunctor = false;
  1627. },
  1628. // 摆药取药
  1629. handleTakeMedicine() {
  1630. if (!this.SMFlag) {
  1631. return;
  1632. }
  1633. this.SMFlag = false;
  1634. SM().then((content) => {
  1635. uni.showLoading({
  1636. title: "加载中",
  1637. mask: true,
  1638. });
  1639. //检验二维码的有效性(扫码前必须验证)
  1640. post("/dept/scanning", {
  1641. content,
  1642. })
  1643. .then((result) => {
  1644. this.currentCode = result.code;
  1645. this.SMFlag = true;
  1646. // 200检测通过,201没有有效期也通过。
  1647. if (result.state == 200 || result.state == 201) {
  1648. uni.hideLoading();
  1649. uni.navigateTo({
  1650. url: `../promptPage/promptPage?code=${result.code}`,
  1651. });
  1652. } else {
  1653. uni.hideLoading();
  1654. uni.showToast({
  1655. icon: "none",
  1656. title: result.info || "接口获取数据失败!",
  1657. });
  1658. }
  1659. })
  1660. }).catch(err => {
  1661. this.SMFlag = true;
  1662. });
  1663. },
  1664. // 点击tab页切换
  1665. clickHandler(key) {
  1666. this.selectedLabelSlots = key;
  1667. this.idx = 0;
  1668. this.totalNum = -1;
  1669. // this.zxzData = [];
  1670. this.scroll_top = Math.random(); //回到顶部
  1671. if (key === "待接单") {
  1672. this.waitingOrders(0);
  1673. } else if (key === "执行中") {
  1674. this.executingOrders(0);
  1675. }
  1676. },
  1677. // 进入详情页
  1678. itemInfo(workOrder) {
  1679. console.log(workOrder);
  1680. uni.navigateTo({
  1681. url: `../receipt_infopage/receipt_infopage?id=${workOrder.id}&associationTypeValue=${workOrder.taskType.associationType.value}&associationTypeId=${workOrder.taskType.associationType.id}&taskTypeId=${workOrder.taskType.id}`,
  1682. });
  1683. },
  1684. //抢单后知道了
  1685. know() {
  1686. this.models.disjunctor = false;
  1687. this.idx = 0;
  1688. this.totalNum = -1;
  1689. // this.zxzData = [];
  1690. this.executingOrdersGetNum();
  1691. this.waitingOrders(0); //seimin
  1692. this.scroll_top = Math.random(); //回到顶部
  1693. },
  1694. //抢单确定
  1695. ok() {
  1696. this.models.disjunctor = false;
  1697. get("/workerOrder/takeOrder/" + this.qdId.id).then((res) => {
  1698. let msg = "接单失败";
  1699. let icon = "error";
  1700. if (res.status == 200) {
  1701. msg = "接单成功";
  1702. icon = "success";
  1703. }
  1704. this.models = {
  1705. disjunctor: true,
  1706. content: msg,
  1707. icon: icon,
  1708. operate: {
  1709. know: "知道了",
  1710. },
  1711. };
  1712. });
  1713. },
  1714. //抢单取消
  1715. cancel() {
  1716. this.models.disjunctor = false;
  1717. },
  1718. // 抢单
  1719. showAlerts(data) {
  1720. this.qdId = data;
  1721. this.models = {
  1722. disjunctor: true,
  1723. title: "提示",
  1724. content: "是否确定接单?",
  1725. icon: "warn",
  1726. operate: {
  1727. ok: "确定",
  1728. cancel: "取消",
  1729. },
  1730. };
  1731. },
  1732. //执行中列表数据获取
  1733. executingOrders(idx) {
  1734. console.log(this.zxzData.length, this.totalNum);
  1735. if (this.zxzData.length == this.totalNum) {
  1736. uni.showToast({
  1737. icon: "none",
  1738. title: "没有更多数据了!",
  1739. });
  1740. this.freshing = true;
  1741. return;
  1742. }
  1743. let data = {
  1744. idx,
  1745. sum: 20,
  1746. };
  1747. // if (this.arrayKey) {
  1748. // data.keyWord = this.arrayKey;
  1749. // } else {
  1750. // delete data.keyWord;
  1751. // }
  1752. if (this.currentId) {
  1753. data.keyWord = this.currentId;
  1754. } else {
  1755. delete data.keyWord;
  1756. }
  1757. if (this.deptName) {
  1758. data.deptName = this.deptName;
  1759. } else {
  1760. delete data.deptName;
  1761. }
  1762. uni.showLoading({
  1763. title: "加载中",
  1764. mask: true,
  1765. });
  1766. post("/workerOrder/executingOrders", data).then((res) => {
  1767. uni.hideLoading();
  1768. if (res.status == 200) {
  1769. this.triggered = false;
  1770. this.freshing = true;
  1771. this.totalNum = res.data.resultCount;
  1772. res.data.data = res.data.data || [];
  1773. res.data.data.forEach(v => {
  1774. v.clinicalTaskIdsFlag = this.clinicalTaskIds.includes(v.taskType.id.toString());
  1775. })
  1776. if (idx === 0) {
  1777. this.zxzData = res.data.data;
  1778. } else {
  1779. this.zxzData.push(...res.data.data);
  1780. }
  1781. this.tabs[1].num = res.data.resultCount;
  1782. } else {
  1783. uni.showToast({
  1784. icon: "none",
  1785. title: res.msg || "接口获取数据失败!",
  1786. });
  1787. }
  1788. });
  1789. },
  1790. //待抢单列表数据获取
  1791. waitingOrders(idx) {
  1792. if (this.zxzData.length == this.totalNum) {
  1793. uni.showToast({
  1794. icon: "none",
  1795. title: "没有更多数据了!",
  1796. });
  1797. this.freshing = true;
  1798. return;
  1799. }
  1800. let data = {
  1801. idx,
  1802. sum: 20,
  1803. };
  1804. uni.showLoading({
  1805. title: "加载中",
  1806. mask: true,
  1807. });
  1808. // 请求列表数据
  1809. post("/workerOrder/waitingOrders", data).then((res) => {
  1810. uni.hideLoading();
  1811. if (res.status == 200) {
  1812. this.triggered = false;
  1813. this.freshing = true;
  1814. this.totalNum = res.data.resultCount;
  1815. if (idx === 0) {
  1816. this.zxzData = res.data.data;
  1817. } else {
  1818. this.zxzData.push(...res.data.data);
  1819. }
  1820. this.tabs[0].num = res.data.resultCount;
  1821. } else {
  1822. uni.showToast({
  1823. icon: "none",
  1824. title: res.msg || "接口获取数据失败!",
  1825. });
  1826. }
  1827. });
  1828. },
  1829. //刷新
  1830. refresherrefresh() {
  1831. if (this.triggered) {
  1832. return;
  1833. }
  1834. this.triggered = true;
  1835. this.idx = 0;
  1836. this.totalNum = -1;
  1837. if (this.selectedLabelSlots == "待接单") {
  1838. this.waitingOrders(0);
  1839. } else if (this.selectedLabelSlots == "执行中") {
  1840. this.executingOrders(0);
  1841. }
  1842. },
  1843. // 滚动
  1844. scroll(e) {
  1845. if (e.detail.scrollTop < 20) {
  1846. this.scroll_refresher_enabled = true;
  1847. } else {
  1848. this.scroll_refresher_enabled = false;
  1849. }
  1850. },
  1851. // 下拉刷新复位
  1852. refresherrestore() {
  1853. this.triggered = false;
  1854. console.log("下拉刷新复位");
  1855. },
  1856. //下拉刷新中止
  1857. refresherabort() {
  1858. this.triggered = false;
  1859. console.log("下拉刷新中止");
  1860. },
  1861. //分页,上拉加载
  1862. scrolltolower() {
  1863. if (this.freshing) {
  1864. this.freshing = false;
  1865. if (this.selectedLabelSlots == "待接单") {
  1866. this.waitingOrders(++this.idx);
  1867. } else if (this.selectedLabelSlots == "执行中") {
  1868. this.executingOrders(++this.idx);
  1869. }
  1870. }
  1871. },
  1872. // 执行中获取数字
  1873. executingOrdersGetNum() {
  1874. let data = {
  1875. idx: 0,
  1876. sum: 20,
  1877. };
  1878. if (this.arrayKey) {
  1879. data.keyWord = this.arrayKey;
  1880. } else {
  1881. delete data.keyWord;
  1882. }
  1883. post("/workerOrder/executingOrders", data).then((res) => {
  1884. if (res.status == 200) {
  1885. this.tabs[1].num = res.data.resultCount;
  1886. } else {
  1887. uni.showToast({
  1888. icon: "none",
  1889. title: res.msg || "接口获取数据失败!",
  1890. });
  1891. }
  1892. });
  1893. },
  1894. // 待接单获取数字
  1895. waitingOrdersGetNum() {
  1896. let data = {
  1897. idx: 0,
  1898. sum: 20,
  1899. };
  1900. post("/workerOrder/waitingOrders", data).then((res) => {
  1901. if (res.status == 200) {
  1902. this.tabs[0].num = res.data.resultCount;
  1903. } else {
  1904. uni.showToast({
  1905. icon: "none",
  1906. title: res.msg || "接口获取数据失败!",
  1907. });
  1908. }
  1909. });
  1910. },
  1911. // 阻止浏览器滑动
  1912. stop(e) {
  1913. e.preventDefault();
  1914. },
  1915. // 更新用户所在科室
  1916. updateUser(dept) {
  1917. post("/user/data/bindDutyDept", {dutyDept: +dept.id}).then((res) => {
  1918. if (res.status == 200) {
  1919. this.getCurrentUserNow();
  1920. }else{
  1921. uni.showToast({
  1922. icon: "none",
  1923. title: res.msg || "接口获取数据失败!",
  1924. });
  1925. }
  1926. })
  1927. },
  1928. // 重新获取用户信息
  1929. getCurrentUserNow() {
  1930. get("/user/data/getCurrentUser").then((res) => {
  1931. if (res.status == 200) {
  1932. let userData = uni.getStorageSync('userData');
  1933. userData.user = res.data;
  1934. uni.setStorageSync('userData', userData);
  1935. // 显示科室二维码
  1936. this.departmentQrcodeHandler()
  1937. }else{
  1938. uni.showToast({
  1939. icon: "none",
  1940. title: res.msg || "接口获取数据失败!",
  1941. });
  1942. }
  1943. })
  1944. },
  1945. },
  1946. onLoad(options) {
  1947. console.log(options, 'options');
  1948. // 获取菜单权限
  1949. this.getMenu();
  1950. post("/auth/getUserWorkDept", {}).then((ress) => {
  1951. if (ress.status == 200) {
  1952. let userId = uni.getStorageSync("userData").user.id;
  1953. let groupManager = ress.settings && ress.settings.groupManager; //当前工作组合选择的组
  1954. let workType = ress.settings ? ress.settings.workType : -1; //1是综合,2是自主
  1955. let ruleType = ress.settings ? ress.settings.ruleType : -1; //3是科室绑定人员,4是科室绑定分组,2是绑定分组
  1956. if (workType == 2 && (ruleType == 3 || (ruleType == 4 && userId == groupManager.manager))) {
  1957. //自选排班,科室绑定分组,当前登陆人是组长
  1958. this.content.unshift({
  1959. text: "负责科室",
  1960. });
  1961. }
  1962. }
  1963. });
  1964. // let setDeptConfg = uni.getStorageSync("setDeptConfg");
  1965. // let manager = uni.getStorageSync("manager");
  1966. // let userId = uni.getStorageSync("userData").user.id;
  1967. // console.log(setDeptConfg, manager, userId);
  1968. // if (
  1969. // setDeptConfg.workSchemeType == 2 &&
  1970. // (setDeptConfg.ruleType == 3 ||
  1971. // (setDeptConfg.ruleType == 4 && userId == manager))
  1972. // ) {
  1973. // //自选排班,科室绑定人员 || 科室绑定分组 && 组长是当前登陆人
  1974. // this.content.unshift({
  1975. // text: "负责科室",
  1976. // });
  1977. // }
  1978. // #ifdef APP-PLUS
  1979. // this.content.push({
  1980. // text: "退出登录",
  1981. // });
  1982. // #endif
  1983. this.selectedLabelSlots = "执行中";
  1984. this.initList();
  1985. // 科室二维码切换科室回显
  1986. if (options.showDepartmentQrcodeId && options.showDepartmentQrcodeDept) {
  1987. this.updateUser({id: options.showDepartmentQrcodeId, dept: options.showDepartmentQrcodeDept})
  1988. }
  1989. // #ifdef APP-PLUS
  1990. webHandle("no", "app");
  1991. // #endif
  1992. // #ifdef H5
  1993. webHandle("no", "wx");
  1994. // #endif
  1995. },
  1996. onShow() {
  1997. this.SMFlag = true;
  1998. // #ifdef H5
  1999. document.body.addEventListener("touchmove", this.stop, {
  2000. passive: false,
  2001. });
  2002. // #endif
  2003. },
  2004. onHide() {
  2005. // #ifdef H5
  2006. document.body.removeEventListener("touchmove", this.stop, {
  2007. passive: false,
  2008. });
  2009. // #endif
  2010. },
  2011. };
  2012. </script>
  2013. <style lang="less">
  2014. .Receiptpage {
  2015. width: 100%;
  2016. height: 100%;
  2017. position: relative;
  2018. .execFilterMask{
  2019. position: fixed;
  2020. top: 0;
  2021. right: 0;
  2022. bottom: 0;
  2023. left: 0;
  2024. z-index: 9999;
  2025. background-color: rgba(0, 0, 0, 0.5);
  2026. display: flex;
  2027. flex-direction: column;
  2028. justify-content: flex-end;
  2029. .execFilter{
  2030. position: relative;
  2031. background-color: #fff;
  2032. height: 90vh;
  2033. border-radius: 100rpx 100rpx 0 0;
  2034. .execFilterHeader{
  2035. height: 100rpx;
  2036. display: flex;
  2037. justify-content: center;
  2038. align-items: center;
  2039. border-bottom: 2rpx solid #ccc;
  2040. }
  2041. .execFilterBody{
  2042. .execFilterItem{
  2043. padding: 40rpx;
  2044. border-bottom: 2rpx dashed #ccc;
  2045. &:last-of-type{
  2046. border-bottom: none;
  2047. }
  2048. .execFilterItemHeader{}
  2049. .execFilterItemBody{
  2050. display: flex;
  2051. flex-wrap: wrap;
  2052. padding: 40rpx 0 0;
  2053. justify-content: space-between;
  2054. text-align: left;
  2055. .execFilterItemBox{
  2056. width: 200rpx;
  2057. height: 80rpx;
  2058. text-align: center;
  2059. line-height: 80rpx;
  2060. background-color: #f6f6f6;
  2061. margin-bottom: 20rpx;
  2062. border-radius: 80rpx;
  2063. &.active{
  2064. color: #fff;
  2065. background-color: #49b856;
  2066. }
  2067. }
  2068. .deptName {
  2069. height: 80rpx;
  2070. background-color: #f6f6f6;
  2071. border-radius: 20rpx;
  2072. padding: 0 20rpx;
  2073. }
  2074. }
  2075. }
  2076. }
  2077. .execFilterFooter {
  2078. position: absolute;
  2079. bottom: 0;
  2080. right: 0;
  2081. left: 0;
  2082. line-height: 66rpx;
  2083. height: 100rpx;
  2084. display: flex;
  2085. justify-content: space-between;
  2086. .btn {
  2087. height: 66rpx;
  2088. flex: 1;
  2089. margin: 0 1%;
  2090. background-image: linear-gradient(to right, #72c172, #3bb197);
  2091. color: #fff;
  2092. border-radius: 8rpx;
  2093. font-size: 28rpx;
  2094. margin-top: 16rpx;
  2095. text-align: center;
  2096. }
  2097. }
  2098. }
  2099. }
  2100. .more {
  2101. position: absolute;
  2102. right: 20rpx;
  2103. width: 40rpx;
  2104. height: 4rpx;
  2105. border-top: 2px solid #49b856;
  2106. border-bottom: 2px solid #49b856;
  2107. background-color: #49b856;
  2108. padding: 5px 0;
  2109. background-clip: content-box;
  2110. z-index: 9999;
  2111. top: 50%;
  2112. transform: translateY(-50%);
  2113. }
  2114. .more_picker {
  2115. position: absolute;
  2116. right: 0;
  2117. height: 100%;
  2118. opacity: 0;
  2119. z-index: 9999;
  2120. }
  2121. .bigScreenWrap{
  2122. position: fixed;
  2123. left: 0;
  2124. right: 0;
  2125. bottom: 30rpx;
  2126. z-index: 999;
  2127. height: 88rpx;
  2128. }
  2129. .red {
  2130. color: red !important;
  2131. font-weight: bold !important;
  2132. }
  2133. .page_tab {
  2134. width: 100%;
  2135. height: 96rpx;
  2136. display: flex;
  2137. position: fixed;
  2138. left: 0;
  2139. top: 0;
  2140. z-index: 999;
  2141. .page_tab_bar {
  2142. flex: 1;
  2143. font-size: 36rpx;
  2144. background: #fff;
  2145. display: flex;
  2146. justify-content: center;
  2147. align-items: center;
  2148. position: relative;
  2149. &:after {
  2150. content: "";
  2151. position: absolute;
  2152. left: 0;
  2153. bottom: 0;
  2154. height: 2rpx;
  2155. width: 100%;
  2156. background-color: transparent;
  2157. }
  2158. .tab_num {
  2159. color: #ff3b53;
  2160. margin-left: 8rpx;
  2161. }
  2162. &.active {
  2163. color: #49b856;
  2164. &:after {
  2165. background-color: #49b856;
  2166. }
  2167. }
  2168. }
  2169. }
  2170. .zwsj {
  2171. position: absolute;
  2172. left: 50%;
  2173. top: 180rpx;
  2174. transform: translateX(-50%);
  2175. .zwsj-img {
  2176. width: 560rpx;
  2177. }
  2178. .zwsj-txt {
  2179. font-size: 36rpx;
  2180. font-weight: 700;
  2181. margin-top: 20rpx;
  2182. text-align: center;
  2183. }
  2184. }
  2185. .page_items {
  2186. height: calc(100vh - 214rpx);
  2187. padding: 0 20rpx;
  2188. // padding-bottom: 88rpx;
  2189. padding-top: 96rpx;
  2190. .page_items_scroll {
  2191. height: 100%;
  2192. .page_item_wrap {
  2193. position: relative;
  2194. margin-bottom: 32rpx;
  2195. .page_item {
  2196. margin-bottom: 16rpx;
  2197. // min-height: 356rpx;
  2198. background: #fff;
  2199. border-radius: 8rpx;
  2200. overflow: hidden;
  2201. border: 2rpx solid #e5e9ed;
  2202. .L {
  2203. width: 40rpx;
  2204. height: 40rpx;
  2205. border-radius: 50%;
  2206. background: #f9fafb;
  2207. position: absolute;
  2208. left: -24rpx;
  2209. top: 68rpx;
  2210. border: 2rpx solid #e5e9ed;
  2211. }
  2212. .R {
  2213. width: 40rpx;
  2214. height: 40rpx;
  2215. border-radius: 50%;
  2216. background: #f9fafb;
  2217. position: absolute;
  2218. float: right;
  2219. right: -24rpx;
  2220. top: 68rpx;
  2221. border: 2rpx solid #e5e9ed;
  2222. }
  2223. .starting {
  2224. width: 40rpx;
  2225. height: 40rpx;
  2226. color: #fff;
  2227. background: #49b856;
  2228. display: inline-block;
  2229. border-radius: 50%;
  2230. text-align: center;
  2231. line-height: 40rpx;
  2232. font-size: 28rpx;
  2233. }
  2234. .End {
  2235. width: 40rpx;
  2236. height: 40rpx;
  2237. color: #fff;
  2238. background: #39b199;
  2239. display: inline-block;
  2240. border-radius: 50%;
  2241. text-align: center;
  2242. line-height: 40rpx;
  2243. font-size: 28rpx;
  2244. }
  2245. .page_item_top {
  2246. height: 86rpx;
  2247. border-bottom: 2rpx dashed #e5e9ed;
  2248. padding: 0 16rpx;
  2249. .page_item_top_L {
  2250. height: 100%;
  2251. float: left;
  2252. line-height: 88rpx;
  2253. display: flex;
  2254. align-items: center;
  2255. .emergencys {
  2256. background: #ff3b53 !important;
  2257. width: 124rpx !important;
  2258. }
  2259. .emergency {
  2260. background: #ff3b53 !important;
  2261. }
  2262. .emergency1 {
  2263. background: #49b856 !important;
  2264. }
  2265. .page_item_cont_start {
  2266. text-align: center;
  2267. height: 44rpx;
  2268. width: 104rpx;
  2269. line-height: 44rpx;
  2270. border-radius: 8rpx;
  2271. background: #49b856;
  2272. color: #fff;
  2273. .page_item_cont_start-img {
  2274. width: 22rpx;
  2275. position: relative;
  2276. top: 6rpx;
  2277. margin-right: 8rpx;
  2278. }
  2279. }
  2280. .L_iocn {
  2281. display: inline-block;
  2282. width: 44rpx;
  2283. height: 44rpx;
  2284. line-height: 42rpx;
  2285. border-radius: 100rpx;
  2286. color: #6cc076;
  2287. font-size: 32rpx;
  2288. border: 4rpx solid #6cc076;
  2289. background: #f0f6ed;
  2290. text-align: center;
  2291. margin-right: 8rpx;
  2292. }
  2293. .L_time {
  2294. color: #6cc076;
  2295. font-size: 32rpx;
  2296. }
  2297. .L_text {
  2298. font-size: 32rpx;
  2299. }
  2300. }
  2301. .page_item_top_R {
  2302. height: 100%;
  2303. float: right;
  2304. line-height: 88rpx;
  2305. font-size: 32rpx;
  2306. &.type {
  2307. margin-right: 32rpx;
  2308. color: red;
  2309. max-width: 260rpx;
  2310. white-space: nowrap;
  2311. text-overflow: ellipsis;
  2312. overflow: hidden;
  2313. }
  2314. .text_big{
  2315. font-weight: bold;
  2316. }
  2317. }
  2318. }
  2319. .page_item_cont {
  2320. min-height: 180rpx;
  2321. padding: 0 16rpx;
  2322. text-align: left;
  2323. position: relative;
  2324. display: flex;
  2325. flex-direction: column;
  2326. justify-content: space-between;
  2327. .text_big {
  2328. font-size: 32rpx;
  2329. margin-left: 10rpx;
  2330. font-weight: 700;
  2331. }
  2332. .line {
  2333. height: 100%;
  2334. width: 2rpx;
  2335. border-left: 2rpx solid #e5e9ed;
  2336. position: absolute;
  2337. // top: 70rpx;
  2338. top: 50%;
  2339. left: 20rpx;
  2340. transform: translateY(-50%);
  2341. }
  2342. .lines {
  2343. height: 40%;
  2344. width: 2rpx;
  2345. border-left: 2rpx solid #e5e9ed;
  2346. position: absolute;
  2347. top: 23%;
  2348. left: 36rpx;
  2349. }
  2350. .emergencys {
  2351. background: #ff3b53 !important;
  2352. width: 124rpx !important;
  2353. }
  2354. .emergency {
  2355. background: #ff3b53 !important;
  2356. }
  2357. .emergency1 {
  2358. background: #49b856 !important;
  2359. }
  2360. .page_item_cont_T {
  2361. // min-height: 80rpx;
  2362. // max-height: 324rpx;
  2363. font-size: 28rpx;
  2364. margin-top: 16rpx;
  2365. display: flex;
  2366. justify-content: space-between;
  2367. .page_item_cont_title {
  2368. height: 100%;
  2369. // float: left;
  2370. }
  2371. .page_item_cont_start {
  2372. text-align: center;
  2373. // float: right;
  2374. height: 44rpx;
  2375. width: 104rpx;
  2376. line-height: 44rpx;
  2377. border-radius: 8rpx;
  2378. background: #49b856;
  2379. color: #fff;
  2380. .page_item_cont_start-img {
  2381. width: 22rpx;
  2382. position: relative;
  2383. top: 6rpx;
  2384. margin-right: 8rpx;
  2385. }
  2386. }
  2387. }
  2388. .page_item_conts {
  2389. min-height: 30rpx;
  2390. color: rgb(102, 102, 102);
  2391. padding-left: 50rpx;
  2392. font-size: 28rpx;
  2393. margin: 16rpx 0;
  2394. position: relative;
  2395. view:not(.line) {
  2396. line-height: 1.2;
  2397. }
  2398. text {
  2399. color: #49b856;
  2400. }
  2401. }
  2402. .page_item_cont_B {
  2403. // padding-top: 20rpx;
  2404. font-size: 28rpx;
  2405. // overflow: hidden;
  2406. margin-bottom: 16rpx;
  2407. .page_item_cont_title {
  2408. height: 100%;
  2409. float: left;
  2410. }
  2411. }
  2412. }
  2413. .page_item_btn_wrap {
  2414. display: flex;
  2415. justify-content: space-between;
  2416. .page_item_btn {
  2417. height: 88rpx;
  2418. flex: 1;
  2419. margin-left: 1%;
  2420. background-image: linear-gradient(to right, #72c172, #3bb197);
  2421. border-radius: 8rpx;
  2422. line-height: 88rpx;
  2423. color: #fff;
  2424. font-size: 36rpx;
  2425. font-weight: 700;
  2426. text-align: center;
  2427. &:first-of-type{
  2428. margin-left: 0;
  2429. }
  2430. }
  2431. }
  2432. .page_item_btn {
  2433. height: 88rpx;
  2434. background-image: linear-gradient(to right, #72c172, #3bb197);
  2435. border-radius: 8rpx;
  2436. line-height: 88rpx;
  2437. color: #fff;
  2438. font-size: 36rpx;
  2439. font-weight: 700;
  2440. text-align: center;
  2441. }
  2442. }
  2443. .L-l {
  2444. width: 2rpx;
  2445. height: 40rpx;
  2446. background: #f9fafb;
  2447. position: absolute;
  2448. left: 20rpx;
  2449. top: 72rpx;
  2450. display: none;
  2451. }
  2452. .R-l {
  2453. width: 2rpx;
  2454. height: 40rpx;
  2455. background: #f9fafb;
  2456. position: absolute;
  2457. right: 20rpx;
  2458. top: 72rpx;
  2459. display: none;
  2460. }
  2461. }
  2462. }
  2463. }
  2464. .text {
  2465. font-size: 36rpx;
  2466. }
  2467. .wt_icon {
  2468. font-size: 40rpx;
  2469. }
  2470. }
  2471. </style>