receipt_infopage.vue 66 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879
  1. <template>
  2. <view class="Receipt_infopage" v-if="Object.keys(infoDATA).length > 0">
  3. <view class="title">工单信息</view>
  4. <view class="page_item footerOtherMargin">
  5. <view class="page_item_top">
  6. <view class="page_item_top_L">
  7. <text class="L_text">单号:{{ infoDATA.gdcode }}</text>
  8. <view class="page_item_cont_start emergency1" v-if="infoDATA.emergencyType.value == 1">
  9. <text>
  10. <text class="cubeic-star icon_transport transport-shiwujiaoxing"></text>
  11. {{ infoDATA.emergencyType.name }}
  12. </text>
  13. </view>
  14. <view class="page_item_cont_start emergency" v-if="infoDATA.emergencyType.value == 2">
  15. <text>
  16. <text class="cubeic-star icon_transport transport-shiwujiaoxing"></text>
  17. {{ infoDATA.emergencyType.name }}
  18. </text>
  19. </view>
  20. <view class="page_item_cont_start emergencys" v-if="infoDATA.emergencyType.value == 3">
  21. <text>
  22. <text class="cubeic-star icon_transport transport-shiwujiaoxing"></text>
  23. {{ infoDATA.emergencyType.name }}
  24. </text>
  25. </view>
  26. </view>
  27. <view class="page_item_top_R">
  28. <text class="L_iocn" v-if="
  29. !(
  30. infoDATA.gdState.value == 5 &&
  31. infoDATA.taskType.associationType.value == 'inspect'
  32. )
  33. ">{{ infoDATA.gdState.name }}</text>
  34. <text class="L_iocn" v-if="
  35. infoDATA.gdState.value == 5 &&
  36. infoDATA.taskType.associationType.value == 'inspect'
  37. ">待送回</text>
  38. </view>
  39. <view class="L"></view>
  40. <view class="R"></view>
  41. </view>
  42. <view class="page_item_cont">
  43. <view class="page_item_cont_T">
  44. <view class="page_item_cont_title">
  45. <text> <text class="starting">起</text> 点科室 </text>
  46. <text class="text_big">{{ infoDATA.startDept.dept }}</text>
  47. </view>
  48. </view>
  49. <view class="line"></view>
  50. <view class="page_item_cont_B">
  51. <view class="page_item_cont_title" v-for="(dept, index) of infoDATA.middleDept" :key="'ico' + index">
  52. <view v-if="infoDATA.taskType.associationType.value == 'inspect'">
  53. <text> <text class="End">检</text> 查科室 </text>
  54. <text class="text_big">{{ dept.dept }}</text>
  55. <view></view>
  56. </view>
  57. </view>
  58. <template v-if="infoDATA.taskType.associationType.value != 'inspect'">
  59. <view class="page_item_cont_title" v-for="(dept, i) of infoDATA.endDepts" :key="i">
  60. <view>
  61. <text> <text class="End">终</text> 点科室 </text>
  62. <text class="text_big">{{ dept.dept }}</text>
  63. </view>
  64. </view>
  65. </template>
  66. <view v-if="
  67. infoDATA.taskType.associationType.value == 'inspect' ||
  68. infoDATA.taskType.associationType.value == 'patientTransport'
  69. ">
  70. <!-- 待抢单 -->
  71. <text class="red" v-if="infoDATA.gdState.value == 2">请扫描患者腕带,或者请扫描科室码</text>
  72. <!-- 待到达 -->
  73. <text class="red" v-if="infoDATA.gdState.value == 4">请扫描患者腕带</text>
  74. <!-- 执行中 -->
  75. <text class="red" v-if="infoDATA.gdState.value == 8">请扫描检查科室码,并扫描患者腕带</text>
  76. <!-- 待送达 -->
  77. <text class="red" v-if="infoDATA.gdState.value == 5">请扫描终点科室码,并扫描患者腕带</text>
  78. </view>
  79. </view>
  80. </view>
  81. <view class="page_item_foot">
  82. <view class="page_item_foot_text">
  83. <text class="text1">状态</text>
  84. <text class="text2" v-if="
  85. !(
  86. infoDATA.gdState.value == 5 &&
  87. infoDATA.taskType.associationType.value == 'inspect'
  88. )
  89. ">{{ infoDATA.gdState.name }}</text>
  90. <text class="text2" v-if="
  91. infoDATA.gdState.value == 5 &&
  92. infoDATA.taskType.associationType.value == 'inspect'
  93. ">待送回</text>
  94. </view>
  95. <!-- <view class="page_item_foot_text">
  96. <text class="text1">关联类型</text>
  97. <text class="text2">{{ infoDATA.taskType.associationType.name }}</text>
  98. </view> -->
  99. <view class="page_item_foot_text">
  100. <text class="text1">任务类型</text>
  101. <text class="text2">{{ infoDATA.taskType.taskName }}<template
  102. v-if="infoDATA.goodsRemark">-{{infoDATA.goodsRemark}}</template></text>
  103. </view>
  104. <view class="page_item_foot_text" v-if="infoDATA.taskType.associationType.value==='inspect'">
  105. <text class="text1">是否半程陪检</text>
  106. <text class="text2">{{ infoDATA.isHalfInspect===1?'是':'否' }}</text>
  107. </view>
  108. <view class="page_item_foot_text">
  109. <text class="text1">执行人员</text>
  110. <text class="text2">{{ infoDATA.worker?infoDATA.worker.name:'-' }}</text>
  111. </view>
  112. <view class="page_item_foot_text" v-if="infoDATA.gdState.value == '2'">
  113. <text class="text1">预计响应时间</text>
  114. <text class="text2">{{ infoDATA.estimeResponseTime || '无' }}</text>
  115. </view>
  116. <view class="page_item_foot_text" v-if="infoDATA.gdState.value == '5'">
  117. <text class="text1" v-if="!(infoDATA.taskType.associationType.value == 'inspect')">预计送达时间</text>
  118. <text class="text1" v-if="infoDATA.taskType.associationType.value == 'inspect'">预计送回时间</text>
  119. <text class="text2">{{ infoDATA.estimeCompleteTime || '无' }}</text>
  120. </view>
  121. <view class="page_item_foot_text" v-if="infoDATA.gdState.value == '4'">
  122. <text class="text1">预计到达时间</text>
  123. <text class="text2">{{ infoDATA.estimateArriveTime || '无' }}</text>
  124. </view>
  125. <view class="page_item_foot_text">
  126. <text class="text1">创建时间</text>
  127. <text class="text2">{{ infoDATA.startTime || '无' }}</text>
  128. </view>
  129. <view class="page_item_foot_text">
  130. <text class="text1">预约时间</text>
  131. <text class="text2" v-if="infoDATA.taskType.associationType.value == 'inspect'">{{ infoDATA.yyTime }}</text>
  132. <text class="text2"
  133. v-if="infoDATA.taskType.associationType.value == 'patientTransport'">{{ infoDATA.yyjdTime|yyTimeFilter }}</text>
  134. </view>
  135. <view class="page_item_foot_text" v-if="
  136. infoDATA.taskType.associationType.value == 'inspect' ||
  137. infoDATA.taskType.associationType.value == 'patientTransport'
  138. ">
  139. <text class="text1">床号</text>
  140. <text class="text2">{{
  141. infoDATA.patient ? infoDATA.patient.bedNum : "-"
  142. }}</text>
  143. </view>
  144. <view class="page_item_foot_text" v-if="
  145. infoDATA.taskType.associationType.value == 'inspect' ||
  146. infoDATA.taskType.associationType.value == 'patientTransport'
  147. ">
  148. <text class="text1">携带设备</text>
  149. <text class="text2">{{ infoDATA.goods || "暂无" }}</text>
  150. </view>
  151. <view class="page_item_info" style="padding: 0;" v-if="infoDATA.workOrderRemark !== undefined">
  152. <view class="page_item_foot_text">
  153. <view class="text1" v-if="infoDATA.taskType.associationType.value == 'inspect' || infoDATA.taskType.associationType.value == 'patientTransport'">备注信息</view>
  154. <view class="text1" v-else>工单备注</view>
  155. <view class="text2" style="float: none;word-break: break-all;">{{ infoDATA.workOrderRemark }}</view>
  156. </view>
  157. </view>
  158. <view class="page_item_foot_text" v-if="
  159. infoDATA.taskType.associationType.value == 'inspect' ||
  160. infoDATA.taskType.associationType.value == 'patientTransport'
  161. ">
  162. <text class="text1">患者姓名</text>
  163. <text class="text2">{{ infoDATA.patient.patientName }}({{
  164. infoDATA.patient.residenceNo
  165. }})</text>
  166. </view>
  167. <view class="page_item_foot_text" v-if="
  168. (infoDATA.taskType.associationType.value == 'inspect' ||
  169. infoDATA.taskType.associationType.value == 'patientTransport')&&infoDATA.patient.careLevel
  170. ">
  171. <text class="text1">{{infoDATA.patient.careLevel.desc}}</text>
  172. <text class="text2"
  173. :class="[(infoDATA.patient.careLevel.value==0||infoDATA.patient.careLevel.value==1)?'red':'green']">{{infoDATA.patient.careLevel.name}}</text>
  174. </view>
  175. <view class="page_item_foot_text" v-if="
  176. (infoDATA.taskType.associationType.value == 'inspect' ||
  177. infoDATA.taskType.associationType.value == 'patientTransport')&&infoDATA.patient.illnessState
  178. ">
  179. <text class="text1">{{infoDATA.patient.illnessState.desc}}</text>
  180. <text class="text2"
  181. :class="{red:infoDATA.patient.illnessState.value==2||infoDATA.patient.illnessState.value==3}">{{infoDATA.patient.illnessState.name}}</text>
  182. </view>
  183. <view class="page_item_foot_text"
  184. v-if="
  185. (infoDATA.taskType.associationType.value == 'inspect' ||
  186. infoDATA.taskType.associationType.value == 'patientTransport')&&(infoDATA.isAccompany===1||infoDATA.isAccompany===0)">
  187. <text class="text1">陪同情况</text>
  188. <text class="text2"
  189. :class="{red:infoDATA.isAccompany===1}">{{ infoDATA.isAccompany===1?'需要医护陪同':'无需医护陪同'}}</text>
  190. </view>
  191. <view class="page_item_foot_text"
  192. v-if="(infoDATA.taskType.associationType.value == 'inspect' || infoDATA.taskType.associationType.value == 'patientTransport') && infoDATA.inspectScore">
  193. <text class="text1">陪检方式</text>
  194. <text class="text2">{{ infoDATA.inspectScore.inspectMode }}</text>
  195. </view>
  196. <view class="page_item_foot_text"
  197. v-if="(infoDATA.taskType.associationType.value == 'inspect' || infoDATA.taskType.associationType.value == 'patientTransport') && infoDATA.inspectUsers">
  198. <text class="text1">陪检人员</text>
  199. <text class="text2">{{ infoDATA.inspectUsers }}</text>
  200. </view>
  201. <view class="page_item_foot_text"
  202. v-if="(infoDATA.taskType.associationType.value == 'inspect' || infoDATA.taskType.associationType.value == 'patientTransport') && infoDATA.inspectUsersNum">
  203. <text class="text1">陪检人数</text>
  204. <text class="text2">{{ infoDATA.inspectUsersNum }}</text>
  205. </view>
  206. <view class="page_item_foot_text"
  207. v-if="infoDATA.taskType.associationType.value == 'other' && infoDATA.inspectUsers">
  208. <text class="text1">执行人员</text>
  209. <text class="text2">{{ infoDATA.inspectUsers }}</text>
  210. </view>
  211. <view class="page_item_foot_text"
  212. v-if="infoDATA.taskType.associationType.value == 'other' && infoDATA.inspectUsersNum">
  213. <text class="text1">执行人数</text>
  214. <text class="text2">{{ infoDATA.inspectUsersNum }}</text>
  215. </view>
  216. </view>
  217. <!-- 药包 -->
  218. <view class="page_item_info" v-if="infoDATA.taskType.associationType.value == 'drugsBag'">
  219. <text class="page_item_info_title">药包编码</text>
  220. <text class="text">{{ infoDATA.drugs?infoDATA.drugs.packid:'无' }}</text>
  221. </view>
  222. <!-- 血制品 -->
  223. <view class="page_item_info" v-if="
  224. infoDATA.taskType.associationType.value == 'ordinary' &&
  225. infoDATA.taskType.ordinaryField.value == 'blood'
  226. ">
  227. <view>
  228. <text class="page_item_info_title">·</text>
  229. <text class="text">
  230. 送达数量
  231. <text class="page_item_info_txt">{{infoDATA.deliveryNum || '无'}}</text>
  232. </text>
  233. <text class="text">
  234. 实收数量
  235. <text class="page_item_info_txt">{{infoDATA.actualReceiveNum || '无'}}</text>
  236. </text>
  237. <text class="text">
  238. 应收数量
  239. <text class="page_item_info_txt">{{infoDATA.expectReceiveNum || '无'}}</text>
  240. </text>
  241. </view>
  242. </view>
  243. <!-- 标本 -->
  244. <view class="page_item_info" v-if="
  245. infoDATA.taskType.associationType.value == 'specimen' ||
  246. infoDATA.taskType.associationType.value == 'specimenPlan'
  247. ">
  248. <view>
  249. <text class="page_item_info_title">标本信息</text>
  250. <text class="text">
  251. 预计接收
  252. <text class="page_item_info_txt">{{
  253. infoDATA.expectReceiveNum || '无'
  254. }}</text>
  255. </text>
  256. <text class="text"
  257. v-if="infoDATA.gdState.value == 5 || infoDATA.gdState.value == 6 || infoDATA.gdState.value == 7">
  258. 扫描接收
  259. <text class="page_item_info_txt">{{infoDATA.actualReceiveNum || '无'}}</text>
  260. </text>
  261. <text class="text" v-if="infoDATA.gdState.value == 6 || infoDATA.gdState.value == 7">
  262. 实际送达
  263. <text class="page_item_info_txt">{{actualDelivery || '无'}}</text>
  264. </text>
  265. </view>
  266. <view v-for="spe in infoDATA.specimenSet" :key="spe.id" class="spe_list">
  267. <view>
  268. <text class="page_item_info_title">标本类型</text>
  269. <text class="text">{{ spe.stype ? spe.stype.name : "-" }}({{
  270. spe.urgent == 1 ? "急" : "普"
  271. }})</text>
  272. </view>
  273. <view>
  274. <text class="page_item_info_title">标本编码</text>
  275. <text class="text">{{ spe.scode }}</text>
  276. </view>
  277. <view>
  278. <text class="page_item_info_title">患者姓名</text>
  279. <text class="text">{{ spe.patientName }}<text v-if="spe.bedNum">({{spe.bedNum}})</text></text>
  280. </view>
  281. <view>
  282. <text class="page_item_info_title">目标科室</text>
  283. <text class="text">{{
  284. spe.checkDept ? spe.checkDept.dept : "-"
  285. }}</text>
  286. </view>
  287. </view>
  288. </view>
  289. <!-- 静配 -->
  290. <view class="page_item_info" v-if="infoDATA.taskType.associationType.value == 'jPBag'">
  291. <text class="page_item_info_title">药包编码</text>
  292. <text class="text">{{ infoDATA.staticDistri?infoDATA.staticDistri.packid:'无' }}</text>
  293. </view>
  294. <!-- 陪检 -->
  295. <view v-if="infoDATA.taskType.associationType.value == 'inspect'">
  296. <view class="page_item_info">
  297. <text class="page_item_info_title">检查信息</text>
  298. </view>
  299. <view id="infos" :animation="animationData">
  300. <view class="page_item_infos" v-for="(item, index) of infoDATA.checkList" :key="index">
  301. <view class="page_item_info2">
  302. <view class="page_item_foot_text">
  303. <text class="text1">检查科室</text>
  304. <text class="text2">{{ item.execDept?item.execDept.dept:'-' }}</text>
  305. </view>
  306. <view class="page_item_foot_text">
  307. <text class="text1">检查项</text>
  308. <text class="text2">{{ item.inspectName||'-' }}</text>
  309. </view>
  310. <view class="page_item_foot_text">
  311. <text class="text1">叫号信息</text>
  312. <text class="text2">{{ item.reservationNumber||'-' }}</text>
  313. </view>
  314. <view class="page_item_foot_text">
  315. <text class="text1">预约时间</text>
  316. <text class="text2">{{ item.yyTime || "-" }}</text>
  317. </view>
  318. <!-- <view class="page_item_foot_text"
  319. v-show="item.inspectState.value==1||item.inspectState.value==2||item.inspectState.value==4">
  320. <view class="btn" @click.stop="remove(item)">移除</view>
  321. </view> -->
  322. <view class="page_item_foot_text">
  323. <view class="btn" @click.stop="remove(item)">移除</view>
  324. </view>
  325. </view>
  326. </view>
  327. </view>
  328. <view id="pulldown" @click="show('show')" v-if="showType == 'hiddle'">
  329. 点击可查看检查详情
  330. <text class="cubeic-pulldown icon_transport transport-paixujiantouxia"></text>
  331. </view>
  332. <view id="pullup" @click="show('hiddle')" v-if="showType == 'show'">
  333. 点击可收起检查详情
  334. <text class="cubeic-pullup icon_transport transport-paixujiantoushang"></text>
  335. </view>
  336. </view>
  337. </view>
  338. <view class="foot_btn2 footerPadding">
  339. <view class="btn2" @click="showAlert" v-if="infoDATA.gdState.value == 2">接单</view>
  340. <!-- 如果不是静配,药配,标本配送,标本轮巡,万能交接 -->
  341. <template
  342. v-if="((!infoDATA.worker)||(infoDATA.worker&&infoDATA.worker.id == currentUserId))&&infoDATA.gdState.value != 6&&infoDATA.gdState.value != 7&&infoDATA.gdState.value != 11">
  343. <view :class="[infoDATA.taskType.specialCloseButton == 1 ? 'btn3' : 'btn2']" v-if="
  344. infoDATA.gdState.value != 2 &&
  345. infoDATA.taskType.associationType.value != 'jPBag' &&
  346. infoDATA.taskType.associationType.value != 'drugsBag' &&
  347. infoDATA.taskType.associationType.value != 'specimen' &&
  348. infoDATA.taskType.associationType.value != 'specimenPlan' &&
  349. infoDATA.taskType.associationType.value != 'ordinary' &&
  350. !(infoDATA.taskType.associationType.value == 'other' && (infoDATA.gdState.value == 4 && infoDATA.taskType.carryingCourses[0].actionsSwitch || infoDATA.gdState.value == 5 && infoDATA.taskType.carryingCourses[1].actionsSwitch))
  351. " hover-class="seimin-btn-hover">
  352. <smallScreen :sData="infoDATA" :sType="1">扫码</smallScreen>
  353. </view>
  354. <!-- 其他临床服务-完成工单-待到达 -->
  355. <view v-if="infoDATA.taskType.associationType.value == 'other' && infoDATA.gdState.value == 4 && infoDATA.taskType.carryingCourses[0].actionsSwitch" class="btn2 page_item_btn" @click="otherCompleteOrder(infoDATA)" hover-class="seimin-btn-hover">确认到达</view>
  356. <!-- 其他临床服务-完成工单-待送达 -->
  357. <view v-if="infoDATA.taskType.associationType.value == 'other' && infoDATA.gdState.value == 5 && infoDATA.taskType.carryingCourses[1].actionsSwitch" class="btn2 page_item_btn" @click="otherCompleteOrder(infoDATA)" hover-class="seimin-btn-hover">完成工单</view>
  358. <!-- 其他临床服务-拍照 -->
  359. <view v-if="infoDATA.taskType.associationType.value == 'other' && infoDATA.gdState.value == 4 && infoDATA.taskType.carryingCourses[0].photoSwitch" class="btn2 page_item_btn" @click="photographToOther(infoDATA, 'start')" hover-class="seimin-btn-hover">拍照</view>
  360. <view :class="[infoDATA.taskType.specialCloseButton == 1 ? 'btn3' : 'btn2']" @click="photograph(infoDATA)" v-if="
  361. infoDATA.taskType.associationType.value != 'jPBag' &&
  362. infoDATA.taskType.associationType.value != 'drugsBag' &&
  363. infoDATA.taskType.associationType.value != 'specimen' &&
  364. infoDATA.taskType.associationType.value != 'specimenPlan' &&
  365. infoDATA.taskType.associationType.value != 'other' &&
  366. infoDATA.taskType.associationType.value != 'ordinary' &&
  367. infoDATA.gdState.value == 4
  368. " hover-class="seimin-btn-hover">拍照</view>
  369. <view class="btn3" @click="specialCloseClick()" v-if="
  370. infoDATA.gdState.value != 2 &&
  371. infoDATA.taskType.associationType.value != 'jPBag' &&
  372. infoDATA.taskType.associationType.value != 'drugsBag' &&
  373. infoDATA.taskType.associationType.value != 'specimen' &&
  374. infoDATA.taskType.associationType.value != 'specimenPlan' &&
  375. infoDATA.taskType.associationType.value != 'ordinary' &&
  376. infoDATA.taskType.specialCloseButton == 1
  377. " hover-class="seimin-btn-hover">特殊情况关闭</view>
  378. </template>
  379. <!-- 如果不是患者陪检或患者转运或其他,万能交接 -->
  380. <view :class="[infoDATA.taskType.specialCloseButton == 1 ? 'btn3' : 'btn2']" v-if="
  381. infoDATA.gdState.value != 2 &&
  382. infoDATA.taskType.associationType.value != 'patientTransport' &&
  383. infoDATA.taskType.associationType.value != 'inspect' &&
  384. infoDATA.taskType.associationType.value != 'other' &&
  385. infoDATA.taskType.associationType.value != 'ordinary'
  386. " hover-class="seimin-btn-hover">
  387. <smallScreen :sData="infoDATA" :sType="2">扫码</smallScreen>
  388. </view>
  389. <!-- 如果是万能交接 -->
  390. <view :class="[infoDATA.taskType.specialCloseButton == 1 ? 'btn3' : 'btn2']"
  391. v-if="infoDATA.taskType.associationType.value == 'ordinary'"
  392. hover-class="seimin-btn-hover" @click="goBack()">
  393. 知道了
  394. </view>
  395. <view class="btn3" @click="specialCloseClick()" v-if="
  396. infoDATA.gdState.value != 2 &&
  397. infoDATA.taskType.associationType.value != 'patientTransport' &&
  398. infoDATA.taskType.associationType.value != 'inspect' &&
  399. infoDATA.taskType.associationType.value != 'other' &&
  400. infoDATA.taskType.specialCloseButton == 1
  401. " hover-class="seimin-btn-hover">特殊情况关闭</view>
  402. <view class="btn3" @click="viewSpecimen(infoDATA)" v-if="
  403. infoDATA.taskType.associationType.value == 'specimen' ||
  404. infoDATA.taskType.associationType.value == 'specimenPlan'
  405. " hover-class="seimin-btn-hover">查看标本</view>
  406. <view class="btn3" @click="viewDrugsBag(infoDATA)" v-if="infoDATA.taskType.associationType.value == 'drugsBag'" hover-class="seimin-btn-hover">查看业务流程</view>
  407. <view class="btn3" @click="toDrugBatches(infoDATA.drugs.batchNo)" v-if="infoDATA.taskType.associationType.value == 'drugsBag' && taskTypeConfig.drugsBatchInfo == 1" hover-class="seimin-btn-hover">药品批次</view>
  408. <view class="btn3" @click="viewBlood(infoDATA)" v-if="infoDATA.taskType.associationType.value == 'ordinary' && infoDATA.taskType.ordinaryField.value == 'blood'" hover-class="seimin-btn-hover">查看血制品</view>
  409. <view class="btn3" @click="additionalUser(infoDATA)" v-if="(infoDATA.taskType.associationType.value == 'inspect' || infoDATA.taskType.associationType.value == 'patientTransport') && infoDATA.worker && infoDATA.worker.id && multiplayerMode === 1" hover-class="seimin-btn-hover">追加陪检人员</view>
  410. <view class="btn3" @click="additionalUser(infoDATA)" v-if="infoDATA.taskType.associationType.value == 'other' && infoDATA.worker && infoDATA.worker.id && clinicalMultiplayerMode === 1 && clinicalTaskIdsFlag" hover-class="seimin-btn-hover">追加执行人员</view>
  411. </view>
  412. <!-- 弹窗 -->
  413. <showModel :title="models.title" :icon="models.icon" :disjunctor="models.disjunctor" :content="models.content"
  414. @know="know" :operate="models.operate" @ok="ok" @cancel="cancel" :textareaFlag="textareaFlag"
  415. @textareaInput="textareaInput"></showModel>
  416. <!-- 弹窗 -->
  417. <inspectRemoveModel :title="models1.title" :icon="models1.icon" :disjunctor="models1.disjunctor"
  418. :content="models1.content" @know="know1" :operate="models1.operate" @ok="ok1" @cancel="cancel1" :remove="true">
  419. </inspectRemoveModel>
  420. <!-- 填写交接人账号弹窗 -->
  421. <selectAccount v-if="hosModels.disjunctor" :title="hosModels.title" :disjunctor="hosModels.disjunctor" @ok="hosOk"
  422. @cancel="hosCancel">
  423. </selectAccount>
  424. <!-- 手动查询弹窗 -->
  425. <checkboxModal v-if="speModels.disjunctor" :content="speModels.content" :disjunctor="speModels.disjunctor"
  426. @ok="speOk" @cancel="speCancel">
  427. </checkboxModal>
  428. </view>
  429. </template>
  430. <script>
  431. import selectAccount from "../../components/selectAccount/selectAccount.vue";
  432. import smallScreen from "../../components/smallScreen/smallScreen.vue";
  433. import {
  434. get,
  435. post,
  436. SM,
  437. webHandle
  438. } from "../../http/http.js";
  439. import {
  440. pathUrl,
  441. photographTool
  442. } from "../../tools/photograph.js";
  443. export default {
  444. components: {
  445. selectAccount,
  446. },
  447. data() {
  448. return {
  449. other: {
  450. user: {},
  451. data: {},
  452. },
  453. // 手动查询弹窗model
  454. speModels: {
  455. disjunctor: false,
  456. },
  457. taskTypeConfig: {},
  458. // 填写交接人账号弹窗model
  459. hosModels: {
  460. disjunctor: false,
  461. },
  462. currentCode: '', //当前拍照使用的科室二维码
  463. currentData: {}, //当前小扫描的工单对象
  464. multiplayerMode: 0,
  465. clinicalMultiplayerMode: 0,
  466. clinicalTaskIdsFlag: false,
  467. hosId: uni.getStorageSync('userData').user.currentHospital.id,
  468. SMFlag:true,
  469. actualDelivery: 0,
  470. currentUserId: 0,
  471. // 弹窗model
  472. models: {
  473. disjunctor: false,
  474. },
  475. // 弹窗model1
  476. models1: {
  477. disjunctor: false,
  478. },
  479. currentInspect: null,
  480. showType: "show",
  481. infoDATA: {},
  482. dataId: "",
  483. animationData: {},
  484. // 特殊情况关闭原因开关
  485. textareaFlag: false,
  486. textareaText: "",
  487. };
  488. },
  489. filters: {
  490. // 自定义管道 yyTime
  491. yyTimeFilter: function(data) {
  492. if (data) {
  493. let nDate = null;
  494. if (typeof data == 'string') {
  495. let arr = data.split(/[-:\s]/);
  496. nDate = new Date(
  497. arr[0] - 0,
  498. arr[1] - 1,
  499. arr[2] - 0,
  500. arr[3] - 0,
  501. arr[4] - 0,
  502. 0
  503. );
  504. } else if (typeof data == 'number') {
  505. nDate = new Date(data);
  506. }
  507. const month = (nDate.getMonth() + 1).toString().padStart(2, 0);
  508. const date = nDate.getDate().toString().padStart(2, 0);
  509. const hour = nDate.getHours().toString().padStart(2, 0);
  510. const minute = nDate.getMinutes().toString().padStart(2, 0);
  511. return `${month}-${date} ${hour}:${minute}`;
  512. } else {
  513. return "-";
  514. }
  515. },
  516. },
  517. methods: {
  518. // 手动查询-确认
  519. speOk(bulkCopy) {
  520. console.log(bulkCopy);
  521. this.speModels.disjunctor = false;
  522. let { user, data } = this.other;
  523. this.additionalUserCommon(user, data.id, data.worker.id, bulkCopy);
  524. },
  525. // 手动查询-取消
  526. speCancel() {
  527. this.speModels.disjunctor = false;
  528. },
  529. // 手动查询弹窗
  530. showCheckboxModal(user, data) {
  531. this.other = {
  532. user,
  533. data,
  534. };
  535. this.speModels = {
  536. content: `您要最追加的人员为${user.name},您确认要追加吗?`,
  537. disjunctor: true,
  538. }
  539. },
  540. // 判断药品页面控制-是否显示关联批次药品
  541. isShowDrugsBatchInfo(){
  542. post("/simple/data/fetchDataList/taskType", {
  543. "idx": 0,
  544. "sum": 10,
  545. "taskType": {
  546. "simpleQuery": true,
  547. "hosId": {
  548. "id": this.hosId
  549. },
  550. "associationType": {
  551. "key": "association_types",
  552. "value": "drugsBag"
  553. }
  554. }
  555. }).then((res) => {
  556. if (res.status == 200) {
  557. res.list = res.list || [];
  558. let taskType = res.list[0] || {};
  559. if(taskType.id){
  560. post("/simple/data/fetchDataList/taskTypeConfig", {
  561. "idx": 0,
  562. "sum": 10,
  563. "taskTypeConfig": {
  564. "taskTypeDTO": {
  565. "hosId": {
  566. "id": this.hosId
  567. },
  568. "associationType": taskType.associationType
  569. }
  570. }
  571. }).then((res) => {
  572. if (res.status == 200) {
  573. res.list = res.list || [];
  574. this.taskTypeConfig = res.list[0] || {};
  575. } else {
  576. uni.showToast({
  577. icon: "none",
  578. title: res.msg || "接口获取数据失败!",
  579. });
  580. }
  581. });
  582. }else{
  583. uni.showToast({
  584. icon: "none",
  585. title: "请配置药品任务类型!",
  586. });
  587. }
  588. } else {
  589. uni.showToast({
  590. icon: "none",
  591. title: res.msg || "接口获取数据失败!",
  592. });
  593. }
  594. });
  595. },
  596. // 跳转到药品批次页面
  597. toDrugBatches(batchNo){
  598. uni.navigateTo({
  599. url: `../drugBatches/drugBatches?batchNo=${batchNo}`,
  600. });
  601. },
  602. // 前往其他临床服务完成工单确认页面
  603. otherCompleteOrder(data){
  604. console.log(data);
  605. uni.navigateTo({
  606. url: `../otherCompleteOrder/otherCompleteOrder?orderId=${data.id}&taskType=${data.taskType ? encodeURIComponent(JSON.stringify(data.taskType)) : ''}&order=${data ? encodeURIComponent(JSON.stringify(data)) : ''}`,
  607. });
  608. },
  609. // 如果不是静配,药配,标本配送,标本轮巡
  610. // 科室签到(小扫描)-拍照
  611. nextDeptOrder_ss(data, accountObj) {
  612. console.log(this.currentCode);
  613. let isKs = 0;
  614. let ids = [];
  615. let id = data.id;
  616. ids.push(id);
  617. let list = {
  618. code: "",
  619. ids: ids,
  620. };
  621. let code = "";
  622. let type = "";
  623. if (this.currentCode) {
  624. let gdStateValue = data.gdState.value; //工单状态value
  625. let associationTypeValue = data.taskType.associationType.value; //关联类型value
  626. // 其他临床服务,并且工单状态是待到达||工单状态待送达
  627. if (
  628. (associationTypeValue == "other" &&
  629. gdStateValue == "4") ||
  630. gdStateValue == "5"
  631. ) {
  632. code = this.currentCode;
  633. type = "orderSign/" + code;
  634. list = {
  635. ids
  636. };
  637. if (accountObj) {
  638. list.handover = [accountObj.accountId];
  639. }
  640. isKs = 1;
  641. }
  642. uni.showLoading({
  643. title: "加载中",
  644. mask: true,
  645. });
  646. post("/workerOrder/" + type, list).then((res) => {
  647. uni.hideLoading();
  648. if (res) {
  649. if (res.status == 200) {
  650. if (
  651. gdStateValue == "4" &&
  652. associationTypeValue == "other"
  653. ) {
  654. uni.navigateTo({
  655. url: `../../pages/scanning_code/scanning_code?type=${associationTypeValue}&type1=${res.type}&id=${data.id}&deptCode=${code}&dept=${res.dept}&accountObj=${encodeURIComponent(JSON.stringify(accountObj))}`,
  656. });
  657. }
  658. if (gdStateValue == "5") {
  659. uni.navigateTo({
  660. url: `../../pages/scanning_code/scanning_code?type=${associationTypeValue}&type1=${res.type}&id=${data.id}&deptCode=${code}&dept=${res.dept}&accountObj=${encodeURIComponent(JSON.stringify(accountObj))}`,
  661. });
  662. }
  663. } else {
  664. uni.navigateTo({
  665. url: `../../pages/scanning_Result/scanning_Result?type=${
  666. associationTypeValue
  667. }&type1=${res.type}&id=${data.id}&status=600&msg=${
  668. res.msg
  669. }&isKs=${isKs}&model=${encodeURIComponent(
  670. JSON.stringify(res)
  671. )}&qrcode=${this.currentCode}`,
  672. });
  673. }
  674. } else {
  675. uni.navigateTo({
  676. url: `../../pages/scanning_Result/scanning_Result?id=${data.id}&status=600&msg=扫码失败!请扫描正确的二维码!&isKs=${isKs}&qrcode=${this.currentCode}`,
  677. });
  678. }
  679. });
  680. }
  681. },
  682. // 填写交接人账号-确认
  683. hosOk(data) {
  684. console.log(data);
  685. const {
  686. accountName,
  687. account,
  688. accountId
  689. } = data;
  690. if (!accountName && !account) {
  691. //没有填写交接人
  692. uni.showModal({
  693. title: '提示',
  694. content: "请填写交接人账号!",
  695. showCancel: false,
  696. success: function(res) {
  697. if (res.confirm) {
  698. console.log('用户点击确定');
  699. } else if (res.cancel) {
  700. console.log('用户点击取消');
  701. }
  702. }
  703. });
  704. return;
  705. } else if (!accountName && account || accountName && !account) {
  706. //没有填写交接人
  707. uni.showModal({
  708. title: '提示',
  709. content: "请填写正确的交接人账号!",
  710. showCancel: false,
  711. success: function(res) {
  712. if (res.confirm) {
  713. console.log('用户点击确定');
  714. } else if (res.cancel) {
  715. console.log('用户点击取消');
  716. }
  717. }
  718. });
  719. return;
  720. }
  721. this.hosModels.disjunctor = false;
  722. let associationTypeValue = this.currentData.taskType.associationType.value;
  723. console.log(associationTypeValue)
  724. this.uploadToOther(this.currentData, data, 'start');
  725. },
  726. // 填写交接人账号-取消
  727. hosCancel() {
  728. this.hosModels.disjunctor = false;
  729. },
  730. // 填写交接人账号弹窗
  731. showSelectAccount() {
  732. this.hosModels = {
  733. title: '填写交接人账号',
  734. disjunctor: true,
  735. }
  736. },
  737. // 拍照-上传
  738. uploadToOther(data, accountObj, type){
  739. // 其他临床服务拍照签到
  740. console.log(data, 1111);
  741. let id_seimin;
  742. let asTypeValue_seimin;
  743. let gdStateValue_seimin;
  744. if (data.status != 200 && data.status !== undefined) {
  745. id_seimin = data.id;
  746. asTypeValue_seimin = data.type;
  747. gdStateValue_seimin = JSON.parse(data.model).gdstate2; //type改成gdstate
  748. } else {
  749. id_seimin = data.id;
  750. asTypeValue_seimin = data.taskType.associationType.value;
  751. gdStateValue_seimin = data.gdState.value;
  752. }
  753. //#ifdef H5
  754. uni.chooseImage({
  755. count: 1,
  756. sourceType: ['camera'],
  757. success: (chooseImageRes) => {
  758. console.log(chooseImageRes, pathUrl)
  759. const tempFilePaths = chooseImageRes.tempFilePaths;
  760. const tempFiles = chooseImageRes.tempFiles;
  761. let tp = tempFilePaths[0];
  762. uni.showLoading({
  763. mask: true,
  764. title: '加载中'
  765. });
  766. post('/workerOrder/findRecordInfoByOrderId', {
  767. orderId: id_seimin,
  768. gdOperate: 21,
  769. }).then(result => {
  770. console.log(result)
  771. if (result.state == 200) {
  772. uni.getImageInfo({
  773. src: tp,
  774. success: (res) => {
  775. console.log('压缩前', res)
  776. let canvasWidth = res.width //图片原始长宽
  777. let canvasHeight = res.height
  778. let img = new Image()
  779. img.src = res.path
  780. let canvas = document.createElement('canvas');
  781. let ctx = canvas.getContext('2d')
  782. canvas.width = canvasWidth
  783. canvas.height = canvasHeight
  784. ctx.drawImage(img, 0, 0, canvasWidth, canvasHeight)
  785. canvas.toBlob((fileSrc) => {
  786. tp = window.URL.createObjectURL(fileSrc)
  787. console.log('压缩后', tp);
  788. uni.uploadFile({
  789. url: pathUrl + '/common/common/uploadAttachment/'+(type == 'start' ? 'orderStartPhoto' : 'orderEndPhoto')+'/' + id_seimin + '/' + result.recordId,
  790. filePath: tp,
  791. name: 'file',
  792. formData: {
  793. 'filename': tempFiles[0].name ? tempFiles[0].name.split('.')[0] + '.jpg' : tempFiles[
  794. 0].path.split(
  795. /[\\/]/).reverse()[0].split('.')[0] + '.jpg'
  796. },
  797. success: (uploadFileRes) => {
  798. console.log(uploadFileRes, 10086, asTypeValue_seimin);
  799. this.nextDeptOrder_ss(data, accountObj, type);
  800. },
  801. fail: err => {
  802. console.error(err);
  803. uni.hideLoading();
  804. uni.showToast({
  805. icon: 'none',
  806. title: '上传失败',
  807. duration: 2000
  808. });
  809. }
  810. });
  811. }, 'image/jpeg', 0.3)
  812. },
  813. fail: function () {
  814. uni.hideLoading();
  815. uni.showToast({
  816. icon: 'none',
  817. title: '上传失败',
  818. duration: 2000
  819. });
  820. }
  821. })
  822. } else {
  823. uni.hideLoading();
  824. uni.showToast({
  825. icon: "none",
  826. title: result.msg || "接口获取数据失败!",
  827. });
  828. }
  829. })
  830. }
  831. });
  832. //#endif
  833. //#ifdef APP-PLUS
  834. uni.chooseImage({
  835. count: 1,
  836. sourceType: ['camera'],
  837. sizeType: ['compressed'],
  838. success: (chooseImageRes) => {
  839. console.log(chooseImageRes, pathUrl)
  840. const tempFilePaths = chooseImageRes.tempFilePaths;
  841. const tempFiles = chooseImageRes.tempFiles;
  842. let tp = tempFilePaths[0];
  843. uni.showLoading({
  844. mask: true,
  845. title: '加载中'
  846. });
  847. post('/workerOrder/findRecordInfoByOrderId', {
  848. orderId: id_seimin,
  849. gdOperate: 21,
  850. }).then(result => {
  851. console.log(result)
  852. if (result.state == 200) {
  853. uni.compressImage({
  854. src: tp,
  855. quality: 30,
  856. success: (res) => {
  857. console.log('压缩前', res)
  858. tp = res.tempFilePath;
  859. console.log('压缩后', tp);
  860. uni.uploadFile({
  861. url: pathUrl + '/common/common/uploadAttachment/'+(type == 'start' ? 'orderStartPhoto' : 'orderEndPhoto')+'/' + id_seimin + '/' + result.recordId,
  862. filePath: tp,
  863. name: 'file',
  864. formData: {
  865. 'filename': tempFiles[0].name ? tempFiles[0].name.split('.')[0] + '.jpg' : tempFiles[
  866. 0].path.split(
  867. /[\\/]/).reverse()[0].split('.')[0] + '.jpg'
  868. },
  869. success: (uploadFileRes) => {
  870. console.log(uploadFileRes, 10086, asTypeValue_seimin);
  871. this.nextDeptOrder_ss(data, accountObj, type);
  872. },
  873. fail: err => {
  874. console.error(err);
  875. uni.hideLoading();
  876. uni.showToast({
  877. icon: 'none',
  878. title: '上传失败',
  879. duration: 2000
  880. });
  881. }
  882. });
  883. },
  884. fail: function () {
  885. uni.hideLoading();
  886. uni.showToast({
  887. icon: 'none',
  888. title: '上传失败',
  889. duration: 2000
  890. });
  891. }
  892. })
  893. } else {
  894. uni.hideLoading();
  895. uni.showToast({
  896. icon: "none",
  897. title: result.msg || "接口获取数据失败!",
  898. });
  899. }
  900. })
  901. }
  902. });
  903. //#endif
  904. },
  905. // 拍照-其他
  906. async photographToOther(data, type) {
  907. this.currentData = data;
  908. uni.showLoading({
  909. title: "加载中",
  910. mask: true,
  911. });
  912. // 其他临床服务
  913. let result = await post("/dept/scanning", {
  914. content: type === 'start' ? data.startDept.qrcode : data.endDepts[0].qrcode,
  915. taskTypeId: data.taskType.id,
  916. gdState: data.gdState.id,
  917. });
  918. uni.hideLoading();
  919. this.currentCode = result.code;
  920. if (result.state == 200 || result.state == 201) {
  921. uni.showModal({
  922. title: '提示',
  923. content: '请尽量拍摄角度覆盖清洁区域?',
  924. success: (res) => {
  925. if (res.confirm) {
  926. if (result.account) {
  927. this.uploadToOther(data, {
  928. account: result.account,
  929. accountName: result.name,
  930. accountId: result.id,
  931. }, type);
  932. } else {
  933. this.uploadToOther(data, undefined, type);
  934. }
  935. } else if (res.cancel) {
  936. console.log('用户点击取消');
  937. }
  938. }
  939. });
  940. } else if (result.state == '0000') {
  941. this.showSelectAccount();
  942. } else {
  943. uni.showToast({
  944. icon: "none",
  945. title: result.msg || "接口获取数据失败!",
  946. });
  947. }
  948. },
  949. goBack() {
  950. uni.navigateTo({
  951. url: "../receiptpage/receiptpage",
  952. });
  953. },
  954. // 查看标本
  955. viewSpecimen(workOrder) {
  956. uni.navigateTo({
  957. url: `../specimenDetail/specimenDetail?workOrderId=${workOrder.id}&associationTypeValue=${workOrder.taskType.associationType.value}`,
  958. });
  959. },
  960. // 查看药品业务数据
  961. viewDrugsBag(workOrder) {
  962. uni.navigateTo({
  963. url: `../drugsBagHistory/drugsBagHistory?id=${workOrder.drugs.id}&packid=${workOrder.drugs.packid}`,
  964. });
  965. },
  966. // 查看血制品
  967. viewBlood(workOrder) {
  968. uni.showLoading({
  969. title: "加载中",
  970. mask: true,
  971. });
  972. post('/transflow/checkData', {
  973. "type": "blood",
  974. "orderId": workOrder.id
  975. }).then(res => {
  976. uni.hideLoading();
  977. if(res.state == 200){
  978. uni.navigateTo({
  979. url: `../blood_list/blood_list?bloods=${encodeURIComponent(JSON.stringify(res.data.all))}`,
  980. });
  981. }else{
  982. uni.showToast({
  983. icon: "none",
  984. title: res.msg || "接口获取数据失败!",
  985. });
  986. }
  987. })
  988. },
  989. // 移除检查->知道了
  990. know1() {
  991. this.models1.disjunctor = false;
  992. // this.getInfo(this.dataId);
  993. uni.navigateTo({
  994. url: '../receiptpage/receiptpage',
  995. });
  996. },
  997. // 移除检查->确定
  998. ok1(data) {
  999. console.log(data);
  1000. const {
  1001. value,
  1002. yyTime
  1003. } = data;
  1004. if (!value) {
  1005. //没有选择移除原因
  1006. uni.showModal({
  1007. title: "提示",
  1008. content: "请选择移除原因!",
  1009. showCancel: false,
  1010. success: function(res) {
  1011. if (res.confirm) {
  1012. console.log("用户点击确定");
  1013. } else if (res.cancel) {
  1014. console.log("用户点击取消");
  1015. }
  1016. },
  1017. });
  1018. return;
  1019. } else if (value == 2 && !yyTime) {
  1020. //没有填写预约时间
  1021. uni.showModal({
  1022. title: "提示",
  1023. content: "请填写预约时间!",
  1024. showCancel: false,
  1025. success: function(res) {
  1026. if (res.confirm) {
  1027. console.log("用户点击确定");
  1028. } else if (res.cancel) {
  1029. console.log("用户点击取消");
  1030. }
  1031. },
  1032. });
  1033. return;
  1034. }
  1035. this.models1.disjunctor = false;
  1036. let postData = {
  1037. gdId: this.infoDATA.id,
  1038. inspectId: this.currentInspect.id,
  1039. reason: value == 1 ? 'checkDone' : 'modificationTime',
  1040. yyTime: value == 1 ? undefined : yyTime,
  1041. };
  1042. uni.showLoading({
  1043. title: '移除中',
  1044. mask: true,
  1045. })
  1046. post('/workerOrder/removeInspectByOderId', postData).then(res => {
  1047. uni.hideLoading();
  1048. if (res.state == 200) {
  1049. uni.showToast({
  1050. icon: 'none',
  1051. title: '移除成功!',
  1052. success() {
  1053. setTimeout(() => {
  1054. uni.navigateTo({
  1055. url: '../receiptpage/receiptpage',
  1056. });
  1057. }, 1500)
  1058. }
  1059. })
  1060. } else {
  1061. uni.showToast({
  1062. icon: 'none',
  1063. title: '移除失败!',
  1064. })
  1065. }
  1066. })
  1067. },
  1068. // 移除检查->取消
  1069. cancel1() {
  1070. this.models1.disjunctor = false;
  1071. },
  1072. // 移除
  1073. remove(item) {
  1074. this.currentInspect = item;
  1075. this.models1 = {
  1076. disjunctor: true,
  1077. content: "请选择您移除检查的原因?检查移除后将会自动完成或删除工单!",
  1078. icon: "warn",
  1079. operate: {
  1080. ok: "确定",
  1081. cancel: "取消",
  1082. },
  1083. };
  1084. },
  1085. // 拍照
  1086. photograph(data) {
  1087. photographTool(data);
  1088. },
  1089. // 特殊情况输入文字
  1090. textareaInput(value) {
  1091. this.textareaText = value;
  1092. if (value.trim().length >= 10) {
  1093. this.models.operate = {
  1094. ok: "确定",
  1095. cancel: "取消",
  1096. };
  1097. } else {
  1098. this.models.operate = {
  1099. cancel: "取消",
  1100. };
  1101. }
  1102. },
  1103. // 追加陪检人员按钮
  1104. additionalUser(data) {
  1105. if (!this.SMFlag) {
  1106. return;
  1107. }
  1108. this.SMFlag = false;
  1109. console.log(data, 'data');
  1110. SM().then((ress1) => {
  1111. uni.showLoading({
  1112. title: "加载中",
  1113. mask: true,
  1114. });
  1115. //检验二维码的有效性
  1116. post("/dept/scanning", {
  1117. content: ress1,
  1118. taskTypeId: data.taskType.id,
  1119. gdState: data.gdState.id,
  1120. }).then((result) => {
  1121. this.SMFlag = true;
  1122. // this.currentCode = result.code;
  1123. if (result.state == 200 || result.state == 201) {
  1124. console.log(result);
  1125. let user;
  1126. try{
  1127. // json对象字符串
  1128. user = JSON.parse(result.code);
  1129. // 不是json对象字符串
  1130. if(Object.prototype.toString.call(user).slice(8, -1).toLowerCase() !== 'object'){
  1131. user = result.code;
  1132. }
  1133. }catch(e){
  1134. user = result.code;
  1135. }
  1136. if(Object.prototype.toString.call(user).slice(8, -1).toLowerCase() === 'object' && user.type == 'myQrCode' && user.id && user.name){
  1137. uni.hideLoading();
  1138. if(data.taskType.associationType.value == 'other'){
  1139. this.showCheckboxModal(user, data);
  1140. }else{
  1141. uni.showModal({
  1142. title: "提示",
  1143. content: `您要最追加的人员为${user.name},您确认要追加吗?`,
  1144. success: (res) => {
  1145. if (res.confirm) {
  1146. console.log("用户点击确定");
  1147. this.additionalUserCommon(user, data.id, data.worker.id, false);
  1148. } else if (res.cancel) {
  1149. console.log("用户点击取消");
  1150. }
  1151. },
  1152. });
  1153. }
  1154. }else if(Object.prototype.toString.call(user).slice(8, -1).toLowerCase() === 'string'){
  1155. let identityCardNumber = user;
  1156. // 根据身份证获取name
  1157. // todo
  1158. post("/data/fetchDataList/user", {idx: 0, sum: 1, user: { identityCardNumber }}).then((result) => {
  1159. uni.hideLoading();
  1160. if(result.status == 200){
  1161. result.list = result.list || [];
  1162. if(result.list.length){
  1163. let user = {name: result.list[0].name, identityCardNumber};
  1164. if(data.taskType.associationType.value == 'other'){
  1165. this.showCheckboxModal(user, data);
  1166. }else{
  1167. uni.showModal({
  1168. title: "提示",
  1169. content: `您要最追加的人员为${user.name},您确认要追加吗?`,
  1170. success: (res) => {
  1171. if (res.confirm) {
  1172. console.log("用户点击确定");
  1173. this.additionalUserCommon(user, data.id, data.worker.id, false);
  1174. } else if (res.cancel) {
  1175. console.log("用户点击取消");
  1176. }
  1177. },
  1178. });
  1179. }
  1180. }else{
  1181. uni.navigateTo({
  1182. url: `../result_error/result_error?qrcode=${ress1}&msg=扫描二维码无法找到用户!`,
  1183. });
  1184. }
  1185. }else{
  1186. uni.navigateTo({
  1187. url: `../result_error/result_error?qrcode=${ress1}&msg=请扫描正确的二维码!`,
  1188. });
  1189. }
  1190. })
  1191. }else{
  1192. uni.hideLoading();
  1193. uni.navigateTo({
  1194. url: `../result_error/result_error?qrcode=${ress1}&msg=请扫描正确的二维码!`,
  1195. });
  1196. }
  1197. } else {
  1198. uni.hideLoading();
  1199. uni.navigateTo({
  1200. url: `../result_error/result_error?qrcode=${ress1}&msg=接口获取数据失败!`,
  1201. });
  1202. }
  1203. });
  1204. }).catch(err=>{
  1205. this.SMFlag = true;
  1206. });
  1207. },
  1208. // 追加陪检人
  1209. additionalUserCommon(user, gdId, workerId, bulkCopy) {
  1210. console.log(user, gdId, workerId, bulkCopy);
  1211. uni.showLoading({
  1212. title: "加载中",
  1213. mask: true,
  1214. });
  1215. // 二维码里有id则传userid,没有则传identityCardNumber
  1216. post("/workerOrder/additionalAccompanyingPersonnel", {
  1217. userId: user.id || undefined,
  1218. identityCardNumber: !user.id ? user.identityCardNumber : undefined,
  1219. gdId,
  1220. workerId,
  1221. bulkCopy: bulkCopy ? 1 : undefined,
  1222. }).then((result) => {
  1223. uni.hideLoading();
  1224. if (result.state == 200) {
  1225. this.getInfo(this.dataId);
  1226. uni.showToast({
  1227. icon: 'none',
  1228. duration: 4000,
  1229. title: '操作成功!'
  1230. })
  1231. } else {
  1232. uni.showToast({
  1233. icon: 'none',
  1234. duration: 4000,
  1235. title: result.msg || '操作失败!'
  1236. })
  1237. }
  1238. });
  1239. },
  1240. // 特殊情况关闭按钮
  1241. specialCloseClick() {
  1242. this.textareaFlag = true;
  1243. this.models = {
  1244. title: "特殊情况关闭",
  1245. disjunctor: true,
  1246. content: "",
  1247. icon: "",
  1248. operate: {
  1249. cancel: "取消",
  1250. },
  1251. };
  1252. },
  1253. ok() {
  1254. uni.showLoading({
  1255. title: "加载中",
  1256. mask: true,
  1257. });
  1258. post("/workerOrder/specialCaseClose", {
  1259. workOrderId: this.dataId,
  1260. reason: this.textareaText.trim(),
  1261. }).then((result) => {
  1262. this.models.disjunctor = false;
  1263. this.textareaFlag = false;
  1264. this.textareaText = "";
  1265. if (result.state == 200) {
  1266. uni.hideLoading();
  1267. this.models = {
  1268. disjunctor: true,
  1269. content: "工单关闭成功",
  1270. icon: "success",
  1271. operate: {
  1272. know: "知道了",
  1273. },
  1274. };
  1275. } else {
  1276. uni.hideLoading();
  1277. this.models = {
  1278. disjunctor: true,
  1279. content: "工单关闭失败",
  1280. icon: "error",
  1281. operate: {
  1282. know: "知道了",
  1283. },
  1284. };
  1285. }
  1286. });
  1287. },
  1288. cancel() {
  1289. this.models.disjunctor = false;
  1290. this.textareaFlag = false;
  1291. this.textareaText = "";
  1292. },
  1293. // 点击可查看检查详情
  1294. show(type) {
  1295. this.showType = type;
  1296. if (type === "show") {
  1297. //展开
  1298. // 计算高度
  1299. const query = uni.createSelectorQuery().in(this);
  1300. query
  1301. .selectAll(".page_item_infos")
  1302. .boundingClientRect((data) => {
  1303. let len = data.reduce((prev, current) => {
  1304. return prev + current.height;
  1305. }, 0);
  1306. this.animation.height(len).step();
  1307. this.animationData = this.animation.export();
  1308. })
  1309. .exec();
  1310. } else if (type === "hiddle") {
  1311. this.animation.height(0).step();
  1312. this.animationData = this.animation.export();
  1313. }
  1314. },
  1315. // 抢单->知道了
  1316. know() {
  1317. this.models.disjunctor = false;
  1318. uni.navigateTo({
  1319. url: "../receiptpage/receiptpage",
  1320. });
  1321. },
  1322. // 抢单
  1323. showAlert() {
  1324. get("/workerOrder/takeOrder/" + this.infoDATA.id).then((res) => {
  1325. if (res.status == 200) {
  1326. this.models = {
  1327. disjunctor: true,
  1328. content: "接单成功",
  1329. icon: "success",
  1330. operate: {
  1331. know: "知道了",
  1332. },
  1333. };
  1334. } else {
  1335. uni.showToast({
  1336. icon: "none",
  1337. title: res.msg || "接口获取数据失败!",
  1338. });
  1339. }
  1340. });
  1341. },
  1342. // 请求详细页面的数据(除标本轮巡和标本配送)
  1343. getInfo(id) {
  1344. uni.showLoading({
  1345. title: "加载中",
  1346. mask: true,
  1347. });
  1348. get("/api/fetchData/workOrder/" + id).then((res) => {
  1349. uni.hideLoading();
  1350. if (res.status == 200) {
  1351. this.infoDATA = res.data;
  1352. // 计算高度
  1353. setTimeout(() => {
  1354. const query = uni.createSelectorQuery().in(this);
  1355. query
  1356. .selectAll(".page_item_infos")
  1357. .boundingClientRect((data) => {
  1358. let len = data.reduce((prev, current) => {
  1359. return prev + current.height;
  1360. }, 0);
  1361. this.animation.height(len).step();
  1362. this.animationData = this.animation.export();
  1363. })
  1364. .exec();
  1365. }, 500)
  1366. } else {
  1367. uni.showToast({
  1368. icon: "none",
  1369. title: res.msg || "接口获取数据失败!",
  1370. });
  1371. }
  1372. });
  1373. },
  1374. // 请求详细页面的数据
  1375. getInfoBySpecimen(id) {
  1376. uni.showLoading({
  1377. title: "加载中",
  1378. mask: true,
  1379. });
  1380. post("/api/getWechatItem", {
  1381. id
  1382. }).then((res) => {
  1383. uni.hideLoading();
  1384. if (res.state == 200) {
  1385. this.actualDelivery = res.actualDelivery;
  1386. this.infoDATA = res.data;
  1387. // 计算高度
  1388. setTimeout(() => {
  1389. const query = uni.createSelectorQuery().in(this);
  1390. query
  1391. .selectAll(".page_item_infos")
  1392. .boundingClientRect((data) => {
  1393. let len = data.reduce((prev, current) => {
  1394. return prev + current.height;
  1395. }, 0);
  1396. this.animation.height(len).step();
  1397. this.animationData = this.animation.export();
  1398. })
  1399. .exec();
  1400. }, 500)
  1401. } else {
  1402. uni.showToast({
  1403. icon: "none",
  1404. title: res.msg || "接口获取数据失败!",
  1405. });
  1406. }
  1407. });
  1408. },
  1409. // 获取检查页面控制开关
  1410. getTaskConfig(){
  1411. post("/simple/data/fetchDataList/taskTypeConfig", {
  1412. "idx": 0,
  1413. "sum": 10,
  1414. "taskTypeConfig": {
  1415. "taskTypeDTO": {
  1416. "hosId": {
  1417. "id": this.hosId
  1418. },
  1419. "associationType": {
  1420. "key": "association_types",
  1421. "value": "inspect"
  1422. }
  1423. }
  1424. }
  1425. }).then((result) => {
  1426. if (result.status == 200) {
  1427. if(result.list && result.list[0]){
  1428. this.multiplayerMode = result.list[0].multiplayerMode;
  1429. }else{
  1430. this.multiplayerMode = 0;
  1431. }
  1432. } else {
  1433. this.multiplayerMode = 0;
  1434. }
  1435. });
  1436. },
  1437. // 获取临床服务页面控制开关
  1438. getTaskOtherConfig(options){
  1439. post("/simple/data/fetchDataList/taskTypeConfig", {
  1440. "idx": 0,
  1441. "sum": 10,
  1442. "taskTypeConfig": {
  1443. "hosId": this.hosId,
  1444. "associationType": options.associationTypeId,
  1445. }
  1446. }).then((result) => {
  1447. if (result.status == 200) {
  1448. if(result.list && result.list[0]){
  1449. this.clinicalMultiplayerMode = result.list[0].clinicalMultiplayerMode;
  1450. let clinicalTaskIds = result.list[0].clinicalTaskIds ? result.list[0].clinicalTaskIds.split(',') : [] ;
  1451. this.clinicalTaskIdsFlag = clinicalTaskIds.includes(options.taskTypeId);
  1452. console.log(clinicalTaskIds, options.taskTypeId)
  1453. }else{
  1454. this.clinicalMultiplayerMode = 0;
  1455. this.clinicalTaskIdsFlag = false;
  1456. }
  1457. } else {
  1458. this.clinicalMultiplayerMode = 0;
  1459. this.clinicalTaskIdsFlag = false;
  1460. }
  1461. });
  1462. }
  1463. },
  1464. onLoad(options) {
  1465. console.log(options, 'options');
  1466. options.associationTypeValue === 'drugsBag' && this.isShowDrugsBatchInfo();
  1467. this.currentUserId = uni.getStorageSync('userData').user.id;
  1468. let id = options.id;
  1469. this.dataId = id;
  1470. if (
  1471. options.associationTypeValue == 'specimen' ||
  1472. options.associationTypeValue == 'specimenPlan'
  1473. ) {
  1474. this.getInfoBySpecimen(id);
  1475. } else {
  1476. this.getInfo(id);
  1477. }
  1478. if (
  1479. options.associationTypeValue == 'inspect' ||
  1480. options.associationTypeValue == 'patientTransport'
  1481. ) {
  1482. this.getTaskConfig();
  1483. }else if(options.associationTypeValue == 'other'){
  1484. this.getTaskOtherConfig(options);
  1485. }
  1486. // 创建动画
  1487. this.animation = uni.createAnimation({
  1488. duration: 500,
  1489. timingFunction: "ease",
  1490. });
  1491. // #ifdef APP-PLUS
  1492. webHandle("no", "app");
  1493. // #endif
  1494. // #ifdef H5
  1495. webHandle("no", "wx");
  1496. // #endif
  1497. },
  1498. onUnload() {
  1499. // 页面关闭后清空数据
  1500. this.animationData = {};
  1501. },
  1502. };
  1503. </script>
  1504. <style lang="less">
  1505. .Receipt_infopage {
  1506. padding: 0 20rpx;
  1507. overflow: hidden;
  1508. .red {
  1509. color: red !important;
  1510. font-weight: bold !important;
  1511. }
  1512. .green {
  1513. color: #49b856 !important;
  1514. font-weight: bold !important;
  1515. }
  1516. .title {
  1517. font-size: 48rpx;
  1518. margin-top: 24rpx;
  1519. margin-bottom: 24rpx;
  1520. text-align: center;
  1521. }
  1522. .page_item {
  1523. margin-top: 16rpx;
  1524. margin-bottom: 124rpx;
  1525. background: #fff;
  1526. border-radius: 8rpx;
  1527. padding: 0 16rpx;
  1528. border: 2rpx solid #e5e9ed;
  1529. .L {
  1530. width: 40rpx;
  1531. height: 40rpx;
  1532. border-radius: 50%;
  1533. background: #f9fafb;
  1534. position: relative;
  1535. left: -50rpx;
  1536. top: 66rpx;
  1537. }
  1538. .R {
  1539. width: 40rpx;
  1540. height: 40rpx;
  1541. border-radius: 50%;
  1542. background: #f9fafb;
  1543. position: relative;
  1544. float: right;
  1545. right: -50rpx;
  1546. top: 26rpx;
  1547. }
  1548. .starting {
  1549. width: 50rpx;
  1550. height: 50rpx;
  1551. color: #fff;
  1552. background: #49b856;
  1553. display: inline-block;
  1554. border-radius: 50%;
  1555. text-align: center;
  1556. line-height: 46rpx;
  1557. font-size: 32rpx;
  1558. margin-right: 6rpx;
  1559. }
  1560. .End {
  1561. width: 50rpx;
  1562. height: 50rpx;
  1563. color: #fff;
  1564. background: #39b199;
  1565. display: inline-block;
  1566. border-radius: 50%;
  1567. text-align: center;
  1568. line-height: 46rpx;
  1569. font-size: 32rpx;
  1570. margin-right: 6rpx;
  1571. }
  1572. .page_item_top {
  1573. height: 86rpx;
  1574. border-bottom: 2rpx dashed #666;
  1575. padding: 0 16rpx;
  1576. .page_item_top_L {
  1577. height: 100%;
  1578. float: left;
  1579. line-height: 88rpx;
  1580. .emergencys {
  1581. background: #ff3b53 !important;
  1582. width: 124rpx !important;
  1583. }
  1584. .emergency {
  1585. background: #ff3b53 !important;
  1586. }
  1587. .emergency1 {
  1588. background: #49b856 !important;
  1589. }
  1590. .page_item_cont_start {
  1591. text-align: center;
  1592. height: 44rpx;
  1593. width: 104rpx;
  1594. line-height: 44rpx;
  1595. border-radius: 8rpx;
  1596. background: #49b856;
  1597. color: #fff;
  1598. display: inline-block;
  1599. font-size: 28rpx;
  1600. .cubeic-star {
  1601. margin-right: 8rpx;
  1602. }
  1603. }
  1604. .L_time {
  1605. color: #6cc076;
  1606. font-size: 32rpx;
  1607. }
  1608. .L_text {
  1609. font-size: 32rpx;
  1610. display: inline-block;
  1611. font-weight: 700;
  1612. margin-right: 16rpx;
  1613. }
  1614. }
  1615. .page_item_top_R {
  1616. height: 60rpx;
  1617. float: right;
  1618. padding-top: 20rpx;
  1619. font-size: 32rpx;
  1620. position: absolute;
  1621. right: 50rpx;
  1622. .L_iocn {
  1623. display: inline-block;
  1624. height: 52rpx;
  1625. line-height: 48rpx;
  1626. color: rgb(7, 134, 60);
  1627. font-size: 36rpx;
  1628. font-weight: 700;
  1629. }
  1630. }
  1631. }
  1632. .page_item_cont {
  1633. min-height: 180rpx;
  1634. // max-height: 424rpx;
  1635. padding: 0 16rpx;
  1636. text-align: left;
  1637. position: relative;
  1638. .text_big {
  1639. font-size: 32rpx;
  1640. position: absolute;
  1641. right: 16rpx;
  1642. font-weight: 700;
  1643. margin-top: 10rpx;
  1644. }
  1645. .text_big2 {
  1646. font-size: 32rpx;
  1647. position: absolute;
  1648. right: 16rpx;
  1649. font-weight: 700;
  1650. }
  1651. .line {
  1652. height: 20rpx;
  1653. width: 2rpx;
  1654. border-left: 2rpx solid #666;
  1655. position: absolute;
  1656. top: 82rpx;
  1657. left: 40rpx;
  1658. }
  1659. .lines {
  1660. height: 40%;
  1661. width: 2rpx;
  1662. border-left: 2rpx solid #666;
  1663. position: absolute;
  1664. top: 23%;
  1665. left: 36rpx;
  1666. }
  1667. .page_item_cont_T {
  1668. padding-top: 28rpx;
  1669. font-size: 28rpx;
  1670. .page_item_cont_title {
  1671. height: 100%;
  1672. font-size: 32rpx;
  1673. }
  1674. }
  1675. .page_item_cont_B {
  1676. padding-top: 28rpx;
  1677. margin-bottom: 28rpx;
  1678. .page_item_cont_title {
  1679. height: 60rpx;
  1680. font-size: 32rpx;
  1681. }
  1682. .page_item_cont_title1 {
  1683. height: 60rpx;
  1684. line-height: 60rpx;
  1685. font-size: 32rpx;
  1686. padding-left: 64rpx;
  1687. }
  1688. }
  1689. }
  1690. .page_item_foot {
  1691. border-top: 2rpx dashed #666;
  1692. border-bottom: 2rpx dashed #666;
  1693. padding: 28rpx 16rpx;
  1694. text-align: left;
  1695. .page_item_foot_text {
  1696. font-size: 32rpx;
  1697. margin-bottom: 20rpx;
  1698. .text1 {
  1699. color: rgb(102, 102, 102);
  1700. }
  1701. .text2 {
  1702. float: right;
  1703. font-weight: 700;
  1704. }
  1705. }
  1706. }
  1707. .page_item_info {
  1708. padding: 20rpx 16rpx;
  1709. text-align: left;
  1710. line-height: 60rpx;
  1711. font-size: 32rpx;
  1712. .spe_list {
  1713. padding: 32rpx 0;
  1714. border-top: 2rpx solid #666;
  1715. .page_item_info_title {
  1716. color: #666;
  1717. }
  1718. }
  1719. .page_item_info_title {
  1720. font-weight: 700;
  1721. }
  1722. .text {
  1723. float: right;
  1724. font-weight: 700;
  1725. .page_item_info_txt {
  1726. color: #49b856;
  1727. margin-left: 8rpx;
  1728. margin-right: 8rpx;
  1729. }
  1730. }
  1731. }
  1732. #infos {
  1733. height: 0;
  1734. overflow: hidden;
  1735. }
  1736. .page_item_infos {
  1737. padding-top: 20rpx;
  1738. padding-bottom: 20rpx;
  1739. border-bottom: 2rpx dashed #666;
  1740. .page_item_info2 {
  1741. text-align: left;
  1742. line-height: 60rpx;
  1743. font-size: 32rpx;
  1744. padding-left: 16rpx;
  1745. .page_item_foot_text {
  1746. font-size: 32rpx;
  1747. margin-bottom: 20rpx;
  1748. &:last-of-type {
  1749. margin-bottom: 0;
  1750. }
  1751. .text1 {
  1752. color: rgb(102, 102, 102);
  1753. }
  1754. .text2 {
  1755. float: right;
  1756. font-weight: 700;
  1757. }
  1758. .btn {
  1759. height: 66rpx;
  1760. width: 132rpx;
  1761. margin: 0 auto;
  1762. background-color: #49b856;
  1763. color: #fff;
  1764. border-radius: 8rpx;
  1765. font-size: 32rpx;
  1766. margin-top: 20rpx;
  1767. text-align: center;
  1768. }
  1769. }
  1770. }
  1771. }
  1772. #pulldown {
  1773. color: #49b856;
  1774. font-size: 36rpx;
  1775. height: 60rpx;
  1776. text-align: center;
  1777. .cubeic-pulldown {
  1778. font-size: 48rpx;
  1779. position: relative;
  1780. bottom: 6rpx;
  1781. }
  1782. }
  1783. #pullup {
  1784. color: #49b856;
  1785. font-size: 36rpx;
  1786. height: 60rpx;
  1787. text-align: center;
  1788. .cubeic-pullup {
  1789. font-size: 48rpx;
  1790. position: relative;
  1791. top: 12rpx;
  1792. }
  1793. }
  1794. }
  1795. .foot_btn2 {
  1796. position: fixed;
  1797. bottom: 0;
  1798. right: 20rpx;
  1799. left: 20rpx;
  1800. line-height: 66rpx;
  1801. height: 100rpx;
  1802. border-top: 2rpx solid #e5e9ed;
  1803. background: #f9fafb;
  1804. display: flex;
  1805. justify-content: space-between;
  1806. .btn2,
  1807. .btn3 {
  1808. height: 66rpx;
  1809. flex: 1;
  1810. margin: 0 1%;
  1811. background-image: linear-gradient(to right, #72c172, #3bb197);
  1812. color: #fff;
  1813. border-radius: 8rpx;
  1814. font-size: 28rpx;
  1815. margin-top: 16rpx;
  1816. text-align: center;
  1817. }
  1818. }
  1819. }
  1820. </style>