receipt_infopage.vue 44 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324
  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>
  207. <!-- 药包 -->
  208. <view class="page_item_info" v-if="infoDATA.taskType.associationType.value == 'drugsBag'">
  209. <text class="page_item_info_title">药包编码</text>
  210. <text class="text">{{ infoDATA.drugs?infoDATA.drugs.packid:'无' }}</text>
  211. </view>
  212. <!-- 血制品 -->
  213. <view class="page_item_info" v-if="
  214. infoDATA.taskType.associationType.value == 'ordinary' &&
  215. infoDATA.taskType.ordinaryField.value == 'blood'
  216. ">
  217. <view>
  218. <text class="page_item_info_title">·</text>
  219. <text class="text">
  220. 送达数量
  221. <text class="page_item_info_txt">{{infoDATA.deliveryNum || '无'}}</text>
  222. </text>
  223. <text class="text">
  224. 实收数量
  225. <text class="page_item_info_txt">{{infoDATA.actualReceiveNum || '无'}}</text>
  226. </text>
  227. <text class="text">
  228. 应收数量
  229. <text class="page_item_info_txt">{{infoDATA.expectReceiveNum || '无'}}</text>
  230. </text>
  231. </view>
  232. </view>
  233. <!-- 标本 -->
  234. <view class="page_item_info" v-if="
  235. infoDATA.taskType.associationType.value == 'specimen' ||
  236. infoDATA.taskType.associationType.value == 'specimenPlan'
  237. ">
  238. <view>
  239. <text class="page_item_info_title">标本信息</text>
  240. <text class="text">
  241. 预计接收
  242. <text class="page_item_info_txt">{{
  243. infoDATA.expectReceiveNum || '无'
  244. }}</text>
  245. </text>
  246. <text class="text"
  247. v-if="infoDATA.gdState.value == 5 || infoDATA.gdState.value == 6 || infoDATA.gdState.value == 7">
  248. 扫描接收
  249. <text class="page_item_info_txt">{{infoDATA.actualReceiveNum || '无'}}</text>
  250. </text>
  251. <text class="text" v-if="infoDATA.gdState.value == 6 || infoDATA.gdState.value == 7">
  252. 实际送达
  253. <text class="page_item_info_txt">{{actualDelivery || '无'}}</text>
  254. </text>
  255. </view>
  256. <view v-for="spe in infoDATA.specimenSet" :key="spe.id" class="spe_list">
  257. <view>
  258. <text class="page_item_info_title">标本类型</text>
  259. <text class="text">{{ spe.stype ? spe.stype.name : "-" }}({{
  260. spe.urgent == 1 ? "急" : "普"
  261. }})</text>
  262. </view>
  263. <view>
  264. <text class="page_item_info_title">标本编码</text>
  265. <text class="text">{{ spe.scode }}</text>
  266. </view>
  267. <view>
  268. <text class="page_item_info_title">患者姓名</text>
  269. <text class="text">{{ spe.patientName }}<text v-if="spe.bedNum">({{spe.bedNum}})</text></text>
  270. </view>
  271. <view>
  272. <text class="page_item_info_title">目标科室</text>
  273. <text class="text">{{
  274. spe.checkDept ? spe.checkDept.dept : "-"
  275. }}</text>
  276. </view>
  277. </view>
  278. </view>
  279. <!-- 静配 -->
  280. <view class="page_item_info" v-if="infoDATA.taskType.associationType.value == 'jPBag'">
  281. <text class="page_item_info_title">药包编码</text>
  282. <text class="text">{{ infoDATA.staticDistri?infoDATA.staticDistri.packid:'无' }}</text>
  283. </view>
  284. <!-- 陪检 -->
  285. <view v-if="infoDATA.taskType.associationType.value == 'inspect'">
  286. <view class="page_item_info">
  287. <text class="page_item_info_title">检查信息</text>
  288. </view>
  289. <view id="infos" :animation="animationData">
  290. <view class="page_item_infos" v-for="(item, index) of infoDATA.checkList" :key="index">
  291. <view class="page_item_info2">
  292. <view class="page_item_foot_text">
  293. <text class="text1">检查科室</text>
  294. <text class="text2">{{ item.execDept?item.execDept.dept:'-' }}</text>
  295. </view>
  296. <view class="page_item_foot_text">
  297. <text class="text1">检查项</text>
  298. <text class="text2">{{ item.inspectName||'-' }}</text>
  299. </view>
  300. <view class="page_item_foot_text">
  301. <text class="text1">叫号信息</text>
  302. <text class="text2">{{ item.reservationNumber||'-' }}</text>
  303. </view>
  304. <view class="page_item_foot_text">
  305. <text class="text1">预约时间</text>
  306. <text class="text2">{{ item.yyTime || "-" }}</text>
  307. </view>
  308. <!-- <view class="page_item_foot_text"
  309. v-show="item.inspectState.value==1||item.inspectState.value==2||item.inspectState.value==4">
  310. <view class="btn" @click.stop="remove(item)">移除</view>
  311. </view> -->
  312. <view class="page_item_foot_text">
  313. <view class="btn" @click.stop="remove(item)">移除</view>
  314. </view>
  315. </view>
  316. </view>
  317. </view>
  318. <view id="pulldown" @click="show('show')" v-if="showType == 'hiddle'">
  319. 点击可查看检查详情
  320. <text class="cubeic-pulldown icon_transport transport-paixujiantouxia"></text>
  321. </view>
  322. <view id="pullup" @click="show('hiddle')" v-if="showType == 'show'">
  323. 点击可收起检查详情
  324. <text class="cubeic-pullup icon_transport transport-paixujiantoushang"></text>
  325. </view>
  326. </view>
  327. </view>
  328. <view class="foot_btn2 footerPadding">
  329. <view class="btn2" @click="showAlert" v-if="infoDATA.gdState.value == 2">接单</view>
  330. <!-- 如果不是静配,药配,标本配送,标本轮巡,万能交接 -->
  331. <template
  332. v-if="((!infoDATA.worker)||(infoDATA.worker&&infoDATA.worker.id == currentUserId))&&infoDATA.gdState.value != 6&&infoDATA.gdState.value != 7&&infoDATA.gdState.value != 11">
  333. <view :class="[infoDATA.taskType.specialCloseButton == 1 ? 'btn3' : 'btn2']" v-if="
  334. infoDATA.gdState.value != 2 &&
  335. infoDATA.taskType.associationType.value != 'jPBag' &&
  336. infoDATA.taskType.associationType.value != 'drugsBag' &&
  337. infoDATA.taskType.associationType.value != 'specimen' &&
  338. infoDATA.taskType.associationType.value != 'specimenPlan' &&
  339. infoDATA.taskType.associationType.value != 'ordinary'
  340. " hover-class="seimin-btn-hover">
  341. <smallScreen :sData="infoDATA" :sType="1">扫码</smallScreen>
  342. </view>
  343. <view :class="[infoDATA.taskType.specialCloseButton == 1 ? 'btn3' : 'btn2']" @click="photograph(infoDATA)" 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 != 'other' &&
  350. infoDATA.taskType.associationType.value != 'ordinary' &&
  351. infoDATA.gdState.value == 4
  352. " hover-class="seimin-btn-hover">拍照</view>
  353. <view class="btn3" @click="specialCloseClick()" v-if="
  354. infoDATA.gdState.value != 2 &&
  355. infoDATA.taskType.associationType.value != 'jPBag' &&
  356. infoDATA.taskType.associationType.value != 'drugsBag' &&
  357. infoDATA.taskType.associationType.value != 'specimen' &&
  358. infoDATA.taskType.associationType.value != 'specimenPlan' &&
  359. infoDATA.taskType.associationType.value != 'ordinary' &&
  360. infoDATA.taskType.specialCloseButton == 1
  361. " hover-class="seimin-btn-hover">特殊情况关闭</view>
  362. </template>
  363. <!-- 如果不是患者陪检或患者转运或其他,万能交接 -->
  364. <view :class="[infoDATA.taskType.specialCloseButton == 1 ? 'btn3' : 'btn2']" v-if="
  365. infoDATA.gdState.value != 2 &&
  366. infoDATA.taskType.associationType.value != 'patientTransport' &&
  367. infoDATA.taskType.associationType.value != 'inspect' &&
  368. infoDATA.taskType.associationType.value != 'other' &&
  369. infoDATA.taskType.associationType.value != 'ordinary'
  370. " hover-class="seimin-btn-hover">
  371. <smallScreen :sData="infoDATA" :sType="2">扫码</smallScreen>
  372. </view>
  373. <!-- 如果是万能交接 -->
  374. <view :class="[infoDATA.taskType.specialCloseButton == 1 ? 'btn3' : 'btn2']"
  375. v-if="infoDATA.taskType.associationType.value == 'ordinary'"
  376. hover-class="seimin-btn-hover" @click="goBack()">
  377. 知道了
  378. </view>
  379. <view class="btn3" @click="specialCloseClick()" v-if="
  380. infoDATA.gdState.value != 2 &&
  381. infoDATA.taskType.associationType.value != 'patientTransport' &&
  382. infoDATA.taskType.associationType.value != 'inspect' &&
  383. infoDATA.taskType.associationType.value != 'other' &&
  384. infoDATA.taskType.specialCloseButton == 1
  385. " hover-class="seimin-btn-hover">特殊情况关闭</view>
  386. <view class="btn3" @click="viewSpecimen(infoDATA)" v-if="
  387. infoDATA.taskType.associationType.value == 'specimen' ||
  388. infoDATA.taskType.associationType.value == 'specimenPlan'
  389. " hover-class="seimin-btn-hover">查看标本</view>
  390. <view class="btn3" @click="viewDrugsBag(infoDATA)" v-if="infoDATA.taskType.associationType.value == 'drugsBag'" hover-class="seimin-btn-hover">查看业务流程</view>
  391. <view class="btn3" @click="viewBlood(infoDATA)" v-if="infoDATA.taskType.associationType.value == 'ordinary' && infoDATA.taskType.ordinaryField.value == 'blood'" hover-class="seimin-btn-hover">查看血制品</view>
  392. <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>
  393. </view>
  394. <!-- 弹窗 -->
  395. <showModel :title="models.title" :icon="models.icon" :disjunctor="models.disjunctor" :content="models.content"
  396. @know="know" :operate="models.operate" @ok="ok" @cancel="cancel" :textareaFlag="textareaFlag"
  397. @textareaInput="textareaInput"></showModel>
  398. <!-- 弹窗 -->
  399. <inspectRemoveModel :title="models1.title" :icon="models1.icon" :disjunctor="models1.disjunctor"
  400. :content="models1.content" @know="know1" :operate="models1.operate" @ok="ok1" @cancel="cancel1" :remove="true">
  401. </inspectRemoveModel>
  402. </view>
  403. </template>
  404. <script>
  405. import smallScreen from "../../components/smallScreen/smallScreen.vue";
  406. import {
  407. get,
  408. post,
  409. SM,
  410. webHandle
  411. } from "../../http/http.js";
  412. import {
  413. photographTool
  414. } from "../../tools/photograph.js";
  415. export default {
  416. data() {
  417. return {
  418. multiplayerMode: 0,
  419. hosId: uni.getStorageSync('userData').user.currentHospital.id,
  420. SMFlag:true,
  421. actualDelivery: 0,
  422. currentUserId: 0,
  423. // 弹窗model
  424. models: {
  425. disjunctor: false,
  426. },
  427. // 弹窗model1
  428. models1: {
  429. disjunctor: false,
  430. },
  431. currentInspect: null,
  432. showType: "show",
  433. infoDATA: {},
  434. dataId: "",
  435. animationData: {},
  436. // 特殊情况关闭原因开关
  437. textareaFlag: false,
  438. textareaText: "",
  439. };
  440. },
  441. filters: {
  442. // 自定义管道 yyTime
  443. yyTimeFilter: function(data) {
  444. if (data) {
  445. let nDate = null;
  446. if (typeof data == 'string') {
  447. let arr = data.split(/[-:\s]/);
  448. nDate = new Date(
  449. arr[0] - 0,
  450. arr[1] - 1,
  451. arr[2] - 0,
  452. arr[3] - 0,
  453. arr[4] - 0,
  454. 0
  455. );
  456. } else if (typeof data == 'number') {
  457. nDate = new Date(data);
  458. }
  459. const month = (nDate.getMonth() + 1).toString().padStart(2, 0);
  460. const date = nDate.getDate().toString().padStart(2, 0);
  461. const hour = nDate.getHours().toString().padStart(2, 0);
  462. const minute = nDate.getMinutes().toString().padStart(2, 0);
  463. return `${month}-${date} ${hour}:${minute}`;
  464. } else {
  465. return "-";
  466. }
  467. },
  468. },
  469. methods: {
  470. goBack() {
  471. uni.navigateTo({
  472. url: "../receiptpage/receiptpage",
  473. });
  474. },
  475. // 查看标本
  476. viewSpecimen(workOrder) {
  477. uni.navigateTo({
  478. url: `../specimenDetail/specimenDetail?workOrderId=${workOrder.id}&associationTypeValue=${workOrder.taskType.associationType.value}`,
  479. });
  480. },
  481. // 查看药品业务数据
  482. viewDrugsBag(workOrder) {
  483. uni.navigateTo({
  484. url: `../drugsBagHistory/drugsBagHistory?id=${workOrder.drugs.id}&packid=${workOrder.drugs.packid}`,
  485. });
  486. },
  487. // 查看血制品
  488. viewBlood(workOrder) {
  489. uni.showLoading({
  490. title: "加载中",
  491. mask: true,
  492. });
  493. post('/transflow/checkData', {
  494. "type": "blood",
  495. "orderId": workOrder.id
  496. }).then(res => {
  497. uni.hideLoading();
  498. if(res.state == 200){
  499. uni.navigateTo({
  500. url: `../blood_list/blood_list?bloods=${encodeURIComponent(JSON.stringify(res.data.all))}`,
  501. });
  502. }else{
  503. uni.showToast({
  504. icon: "none",
  505. title: "请求失败!",
  506. });
  507. }
  508. })
  509. },
  510. // 移除检查->知道了
  511. know1() {
  512. this.models1.disjunctor = false;
  513. // this.getInfo(this.dataId);
  514. uni.navigateTo({
  515. url: '../receiptpage/receiptpage',
  516. });
  517. },
  518. // 移除检查->确定
  519. ok1(data) {
  520. console.log(data);
  521. const {
  522. value,
  523. yyTime
  524. } = data;
  525. if (!value) {
  526. //没有选择移除原因
  527. uni.showModal({
  528. title: "提示",
  529. content: "请选择移除原因!",
  530. showCancel: false,
  531. success: function(res) {
  532. if (res.confirm) {
  533. console.log("用户点击确定");
  534. } else if (res.cancel) {
  535. console.log("用户点击取消");
  536. }
  537. },
  538. });
  539. return;
  540. } else if (value == 2 && !yyTime) {
  541. //没有填写预约时间
  542. uni.showModal({
  543. title: "提示",
  544. content: "请填写预约时间!",
  545. showCancel: false,
  546. success: function(res) {
  547. if (res.confirm) {
  548. console.log("用户点击确定");
  549. } else if (res.cancel) {
  550. console.log("用户点击取消");
  551. }
  552. },
  553. });
  554. return;
  555. }
  556. this.models1.disjunctor = false;
  557. let postData = {
  558. gdId: this.infoDATA.id,
  559. inspectId: this.currentInspect.id,
  560. reason: value == 1 ? 'checkDone' : 'modificationTime',
  561. yyTime: value == 1 ? undefined : yyTime,
  562. };
  563. uni.showLoading({
  564. title: '移除中',
  565. mask: true,
  566. })
  567. post('/workerOrder/removeInspectByOderId', postData).then(res => {
  568. uni.hideLoading();
  569. if (res.state == 200) {
  570. uni.showToast({
  571. icon: 'none',
  572. title: '移除成功!',
  573. success() {
  574. setTimeout(() => {
  575. uni.navigateTo({
  576. url: '../receiptpage/receiptpage',
  577. });
  578. }, 1500)
  579. }
  580. })
  581. } else {
  582. uni.showToast({
  583. icon: 'none',
  584. title: '移除失败!',
  585. })
  586. }
  587. })
  588. },
  589. // 移除检查->取消
  590. cancel1() {
  591. this.models1.disjunctor = false;
  592. },
  593. // 移除
  594. remove(item) {
  595. this.currentInspect = item;
  596. this.models1 = {
  597. disjunctor: true,
  598. content: "请选择您移除检查的原因?检查移除后将会自动完成或删除工单!",
  599. icon: "warn",
  600. operate: {
  601. ok: "确定",
  602. cancel: "取消",
  603. },
  604. };
  605. },
  606. // 拍照
  607. photograph(data) {
  608. photographTool(data);
  609. },
  610. // 特殊情况输入文字
  611. textareaInput(value) {
  612. this.textareaText = value;
  613. if (value.trim().length >= 10) {
  614. this.models.operate = {
  615. ok: "确定",
  616. cancel: "取消",
  617. };
  618. } else {
  619. this.models.operate = {
  620. cancel: "取消",
  621. };
  622. }
  623. },
  624. // 追加陪检人员按钮
  625. additionalUser(data) {
  626. if (!this.SMFlag) {
  627. return;
  628. }
  629. this.SMFlag = false;
  630. // this.currentData = data;
  631. console.log(data, 'data');
  632. SM().then((ress1) => {
  633. uni.showLoading({
  634. title: "加载中",
  635. mask: true,
  636. });
  637. //检验二维码的有效性
  638. post("/dept/scanning", {
  639. content: ress1,
  640. taskTypeId: data.taskType.id,
  641. gdState: data.gdState.id,
  642. }).then((result) => {
  643. this.SMFlag = true;
  644. // this.currentCode = result.code;
  645. if (result.state == 200 || result.state == 201) {
  646. uni.hideLoading();
  647. console.log(result);
  648. let user = {};
  649. try{
  650. user = JSON.parse(result.code);
  651. console.log(user);
  652. }catch(e){
  653. uni.showToast({
  654. icon: "none",
  655. title: "请扫描正确的二维码!",
  656. });
  657. }
  658. if(user.type == 'myQrCode' && user.id && user.name){
  659. uni.showModal({
  660. title: "提示",
  661. content: `您要最追加的人员为${user.name},您确认要追加吗?`,
  662. success: (res) => {
  663. if (res.confirm) {
  664. console.log("用户点击确定");
  665. this.additionalUserCommon(user.id, data.id, data.worker.id);
  666. } else if (res.cancel) {
  667. console.log("用户点击取消");
  668. }
  669. },
  670. });
  671. }else{
  672. uni.showToast({
  673. icon: "none",
  674. title: "请扫描正确的二维码!",
  675. });
  676. }
  677. } else {
  678. uni.hideLoading();
  679. uni.showToast({
  680. icon: "none",
  681. title: "请求失败!",
  682. });
  683. }
  684. });
  685. }).catch(err=>{
  686. this.SMFlag = true;
  687. });
  688. },
  689. // 追加陪检人
  690. additionalUserCommon(userId, gdId, workerId) {
  691. console.log(userId, gdId, workerId);
  692. uni.showLoading({
  693. title: "加载中",
  694. mask: true,
  695. });
  696. post("/workerOrder/additionalAccompanyingPersonnel", {
  697. userId,
  698. gdId,
  699. workerId,
  700. }).then((result) => {
  701. uni.hideLoading();
  702. if (result.state == 200) {
  703. this.getInfo(this.dataId);
  704. uni.showToast({
  705. icon: 'none',
  706. duration: 4000,
  707. title: '操作成功!'
  708. })
  709. } else {
  710. uni.showToast({
  711. icon: 'none',
  712. duration: 4000,
  713. title: result.msg || '操作失败!'
  714. })
  715. }
  716. });
  717. },
  718. // 特殊情况关闭按钮
  719. specialCloseClick() {
  720. this.textareaFlag = true;
  721. this.models = {
  722. title: "特殊情况关闭",
  723. disjunctor: true,
  724. content: "",
  725. icon: "",
  726. operate: {
  727. cancel: "取消",
  728. },
  729. };
  730. },
  731. ok() {
  732. uni.showLoading({
  733. title: "加载中",
  734. mask: true,
  735. });
  736. post("/workerOrder/specialCaseClose", {
  737. workOrderId: this.dataId,
  738. reason: this.textareaText.trim(),
  739. }).then((result) => {
  740. this.models.disjunctor = false;
  741. this.textareaFlag = false;
  742. this.textareaText = "";
  743. if (result.state == 200) {
  744. uni.hideLoading();
  745. this.models = {
  746. disjunctor: true,
  747. content: "工单关闭成功",
  748. icon: "success",
  749. operate: {
  750. know: "知道了",
  751. },
  752. };
  753. } else {
  754. uni.hideLoading();
  755. this.models = {
  756. disjunctor: true,
  757. content: "工单关闭失败",
  758. icon: "error",
  759. operate: {
  760. know: "知道了",
  761. },
  762. };
  763. }
  764. });
  765. },
  766. cancel() {
  767. this.models.disjunctor = false;
  768. this.textareaFlag = false;
  769. this.textareaText = "";
  770. },
  771. // 点击可查看检查详情
  772. show(type) {
  773. this.showType = type;
  774. if (type === "show") {
  775. //展开
  776. // 计算高度
  777. const query = uni.createSelectorQuery().in(this);
  778. query
  779. .selectAll(".page_item_infos")
  780. .boundingClientRect((data) => {
  781. let len = data.reduce((prev, current) => {
  782. return prev + current.height;
  783. }, 0);
  784. this.animation.height(len).step();
  785. this.animationData = this.animation.export();
  786. })
  787. .exec();
  788. } else if (type === "hiddle") {
  789. this.animation.height(0).step();
  790. this.animationData = this.animation.export();
  791. }
  792. },
  793. // 抢单->知道了
  794. know() {
  795. this.models.disjunctor = false;
  796. uni.navigateTo({
  797. url: "../receiptpage/receiptpage",
  798. });
  799. },
  800. // 抢单
  801. showAlert() {
  802. get("/workerOrder/takeOrder/" + this.infoDATA.id).then((res) => {
  803. if (res.status == 200) {
  804. this.models = {
  805. disjunctor: true,
  806. content: "接单成功",
  807. icon: "success",
  808. operate: {
  809. know: "知道了",
  810. },
  811. };
  812. } else {
  813. uni.showToast({
  814. icon: "none",
  815. title: "请求失败!",
  816. });
  817. }
  818. });
  819. },
  820. // 请求详细页面的数据(除标本轮巡和标本配送)
  821. getInfo(id) {
  822. uni.showLoading({
  823. title: "加载中",
  824. mask: true,
  825. });
  826. get("/api/fetchData/workOrder/" + id).then((res) => {
  827. uni.hideLoading();
  828. if (res.status == 200) {
  829. this.infoDATA = res.data;
  830. // 计算高度
  831. setTimeout(() => {
  832. const query = uni.createSelectorQuery().in(this);
  833. query
  834. .selectAll(".page_item_infos")
  835. .boundingClientRect((data) => {
  836. let len = data.reduce((prev, current) => {
  837. return prev + current.height;
  838. }, 0);
  839. this.animation.height(len).step();
  840. this.animationData = this.animation.export();
  841. })
  842. .exec();
  843. }, 500)
  844. } else {
  845. uni.showToast({
  846. icon: "none",
  847. title: "请求失败!",
  848. });
  849. }
  850. });
  851. },
  852. // 请求详细页面的数据
  853. getInfoBySpecimen(id) {
  854. uni.showLoading({
  855. title: "加载中",
  856. mask: true,
  857. });
  858. post("/api/getWechatItem", {
  859. id
  860. }).then((res) => {
  861. uni.hideLoading();
  862. if (res.state == 200) {
  863. this.actualDelivery = res.actualDelivery;
  864. this.infoDATA = res.data;
  865. // 计算高度
  866. setTimeout(() => {
  867. const query = uni.createSelectorQuery().in(this);
  868. query
  869. .selectAll(".page_item_infos")
  870. .boundingClientRect((data) => {
  871. let len = data.reduce((prev, current) => {
  872. return prev + current.height;
  873. }, 0);
  874. this.animation.height(len).step();
  875. this.animationData = this.animation.export();
  876. })
  877. .exec();
  878. }, 500)
  879. } else {
  880. uni.showToast({
  881. icon: "none",
  882. title: "请求失败!",
  883. });
  884. }
  885. });
  886. },
  887. // 获取检查页面控制开关
  888. getTaskConfig(){
  889. post("/simple/data/fetchDataList/taskTypeConfig", {
  890. "idx": 0,
  891. "sum": 10,
  892. "taskTypeConfig": {
  893. "taskTypeDTO": {
  894. "hosId": {
  895. "id": this.hosId
  896. },
  897. "associationType": {
  898. "key": "association_types",
  899. "value": "inspect"
  900. }
  901. }
  902. }
  903. }).then((result) => {
  904. if (result.status == 200) {
  905. if(result.list && result.list[0]){
  906. this.multiplayerMode = result.list[0].multiplayerMode;
  907. }else{
  908. this.multiplayerMode = 0;
  909. }
  910. } else {
  911. this.multiplayerMode = 0;
  912. }
  913. });
  914. }
  915. },
  916. onLoad(options) {
  917. console.log(options, 'options');
  918. this.currentUserId = uni.getStorageSync('userData').user.id;
  919. let id = options.id;
  920. this.dataId = id;
  921. if (
  922. options.associationTypeValue == 'specimen' ||
  923. options.associationTypeValue == 'specimenPlan'
  924. ) {
  925. this.getInfoBySpecimen(id);
  926. } else {
  927. this.getInfo(id);
  928. }
  929. if (
  930. options.associationTypeValue == 'inspect' ||
  931. options.associationTypeValue == 'patientTransport'
  932. ) {
  933. this.getTaskConfig();
  934. }
  935. // 创建动画
  936. this.animation = uni.createAnimation({
  937. duration: 500,
  938. timingFunction: "ease",
  939. });
  940. // #ifdef APP-PLUS
  941. webHandle("no", "app");
  942. // #endif
  943. // #ifdef H5
  944. webHandle("no", "wx");
  945. // #endif
  946. },
  947. onUnload() {
  948. // 页面关闭后清空数据
  949. this.animationData = {};
  950. },
  951. };
  952. </script>
  953. <style lang="less">
  954. .Receipt_infopage {
  955. padding: 0 20rpx;
  956. overflow: hidden;
  957. .red {
  958. color: red !important;
  959. font-weight: bold !important;
  960. }
  961. .green {
  962. color: #49b856 !important;
  963. font-weight: bold !important;
  964. }
  965. .title {
  966. font-size: 48rpx;
  967. margin-top: 24rpx;
  968. margin-bottom: 24rpx;
  969. text-align: center;
  970. }
  971. .page_item {
  972. margin-top: 16rpx;
  973. margin-bottom: 124rpx;
  974. background: #fff;
  975. border-radius: 8rpx;
  976. padding: 0 16rpx;
  977. border: 2rpx solid #e5e9ed;
  978. .L {
  979. width: 40rpx;
  980. height: 40rpx;
  981. border-radius: 50%;
  982. background: #f9fafb;
  983. position: relative;
  984. left: -50rpx;
  985. top: 66rpx;
  986. }
  987. .R {
  988. width: 40rpx;
  989. height: 40rpx;
  990. border-radius: 50%;
  991. background: #f9fafb;
  992. position: relative;
  993. float: right;
  994. right: -50rpx;
  995. top: 26rpx;
  996. }
  997. .starting {
  998. width: 50rpx;
  999. height: 50rpx;
  1000. color: #fff;
  1001. background: #49b856;
  1002. display: inline-block;
  1003. border-radius: 50%;
  1004. text-align: center;
  1005. line-height: 46rpx;
  1006. font-size: 32rpx;
  1007. margin-right: 6rpx;
  1008. }
  1009. .End {
  1010. width: 50rpx;
  1011. height: 50rpx;
  1012. color: #fff;
  1013. background: #39b199;
  1014. display: inline-block;
  1015. border-radius: 50%;
  1016. text-align: center;
  1017. line-height: 46rpx;
  1018. font-size: 32rpx;
  1019. margin-right: 6rpx;
  1020. }
  1021. .page_item_top {
  1022. height: 86rpx;
  1023. border-bottom: 2rpx dashed #666;
  1024. padding: 0 16rpx;
  1025. .page_item_top_L {
  1026. height: 100%;
  1027. float: left;
  1028. line-height: 88rpx;
  1029. .emergencys {
  1030. background: #ff3b53 !important;
  1031. width: 124rpx !important;
  1032. }
  1033. .emergency {
  1034. background: #ff3b53 !important;
  1035. }
  1036. .emergency1 {
  1037. background: #49b856 !important;
  1038. }
  1039. .page_item_cont_start {
  1040. text-align: center;
  1041. height: 44rpx;
  1042. width: 104rpx;
  1043. line-height: 44rpx;
  1044. border-radius: 8rpx;
  1045. background: #49b856;
  1046. color: #fff;
  1047. display: inline-block;
  1048. font-size: 28rpx;
  1049. .cubeic-star {
  1050. margin-right: 8rpx;
  1051. }
  1052. }
  1053. .L_time {
  1054. color: #6cc076;
  1055. font-size: 32rpx;
  1056. }
  1057. .L_text {
  1058. font-size: 32rpx;
  1059. display: inline-block;
  1060. font-weight: 700;
  1061. margin-right: 16rpx;
  1062. }
  1063. }
  1064. .page_item_top_R {
  1065. height: 60rpx;
  1066. float: right;
  1067. padding-top: 20rpx;
  1068. font-size: 32rpx;
  1069. position: absolute;
  1070. right: 50rpx;
  1071. .L_iocn {
  1072. display: inline-block;
  1073. height: 52rpx;
  1074. line-height: 48rpx;
  1075. color: rgb(7, 134, 60);
  1076. font-size: 36rpx;
  1077. font-weight: 700;
  1078. }
  1079. }
  1080. }
  1081. .page_item_cont {
  1082. min-height: 180rpx;
  1083. // max-height: 424rpx;
  1084. padding: 0 16rpx;
  1085. text-align: left;
  1086. position: relative;
  1087. .text_big {
  1088. font-size: 32rpx;
  1089. position: absolute;
  1090. right: 16rpx;
  1091. font-weight: 700;
  1092. margin-top: 10rpx;
  1093. }
  1094. .text_big2 {
  1095. font-size: 32rpx;
  1096. position: absolute;
  1097. right: 16rpx;
  1098. font-weight: 700;
  1099. }
  1100. .line {
  1101. height: 20rpx;
  1102. width: 2rpx;
  1103. border-left: 2rpx solid #666;
  1104. position: absolute;
  1105. top: 82rpx;
  1106. left: 40rpx;
  1107. }
  1108. .lines {
  1109. height: 40%;
  1110. width: 2rpx;
  1111. border-left: 2rpx solid #666;
  1112. position: absolute;
  1113. top: 23%;
  1114. left: 36rpx;
  1115. }
  1116. .page_item_cont_T {
  1117. padding-top: 28rpx;
  1118. font-size: 28rpx;
  1119. .page_item_cont_title {
  1120. height: 100%;
  1121. font-size: 32rpx;
  1122. }
  1123. }
  1124. .page_item_cont_B {
  1125. padding-top: 28rpx;
  1126. margin-bottom: 28rpx;
  1127. .page_item_cont_title {
  1128. height: 60rpx;
  1129. font-size: 32rpx;
  1130. }
  1131. .page_item_cont_title1 {
  1132. height: 60rpx;
  1133. line-height: 60rpx;
  1134. font-size: 32rpx;
  1135. padding-left: 64rpx;
  1136. }
  1137. }
  1138. }
  1139. .page_item_foot {
  1140. border-top: 2rpx dashed #666;
  1141. border-bottom: 2rpx dashed #666;
  1142. padding: 28rpx 16rpx;
  1143. text-align: left;
  1144. .page_item_foot_text {
  1145. font-size: 32rpx;
  1146. margin-bottom: 20rpx;
  1147. .text1 {
  1148. color: rgb(102, 102, 102);
  1149. }
  1150. .text2 {
  1151. float: right;
  1152. font-weight: 700;
  1153. }
  1154. }
  1155. }
  1156. .page_item_info {
  1157. padding: 20rpx 16rpx;
  1158. text-align: left;
  1159. line-height: 60rpx;
  1160. font-size: 32rpx;
  1161. .spe_list {
  1162. padding: 32rpx 0;
  1163. border-top: 2rpx solid #666;
  1164. .page_item_info_title {
  1165. color: #666;
  1166. }
  1167. }
  1168. .page_item_info_title {
  1169. font-weight: 700;
  1170. }
  1171. .text {
  1172. float: right;
  1173. font-weight: 700;
  1174. .page_item_info_txt {
  1175. color: #49b856;
  1176. margin-left: 8rpx;
  1177. margin-right: 8rpx;
  1178. }
  1179. }
  1180. }
  1181. #infos {
  1182. height: 0;
  1183. overflow: hidden;
  1184. }
  1185. .page_item_infos {
  1186. padding-top: 20rpx;
  1187. padding-bottom: 20rpx;
  1188. border-bottom: 2rpx dashed #666;
  1189. .page_item_info2 {
  1190. text-align: left;
  1191. line-height: 60rpx;
  1192. font-size: 32rpx;
  1193. padding-left: 16rpx;
  1194. .page_item_foot_text {
  1195. font-size: 32rpx;
  1196. margin-bottom: 20rpx;
  1197. &:last-of-type {
  1198. margin-bottom: 0;
  1199. }
  1200. .text1 {
  1201. color: rgb(102, 102, 102);
  1202. }
  1203. .text2 {
  1204. float: right;
  1205. font-weight: 700;
  1206. }
  1207. .btn {
  1208. height: 66rpx;
  1209. width: 132rpx;
  1210. margin: 0 auto;
  1211. background-color: #49b856;
  1212. color: #fff;
  1213. border-radius: 8rpx;
  1214. font-size: 32rpx;
  1215. margin-top: 20rpx;
  1216. text-align: center;
  1217. }
  1218. }
  1219. }
  1220. }
  1221. #pulldown {
  1222. color: #49b856;
  1223. font-size: 36rpx;
  1224. height: 60rpx;
  1225. text-align: center;
  1226. .cubeic-pulldown {
  1227. font-size: 48rpx;
  1228. position: relative;
  1229. bottom: 6rpx;
  1230. }
  1231. }
  1232. #pullup {
  1233. color: #49b856;
  1234. font-size: 36rpx;
  1235. height: 60rpx;
  1236. text-align: center;
  1237. .cubeic-pullup {
  1238. font-size: 48rpx;
  1239. position: relative;
  1240. top: 12rpx;
  1241. }
  1242. }
  1243. }
  1244. .foot_btn2 {
  1245. position: fixed;
  1246. bottom: 0;
  1247. right: 20rpx;
  1248. left: 20rpx;
  1249. line-height: 66rpx;
  1250. height: 100rpx;
  1251. border-top: 2rpx solid #e5e9ed;
  1252. background: #f9fafb;
  1253. display: flex;
  1254. justify-content: space-between;
  1255. .btn2,
  1256. .btn3 {
  1257. height: 66rpx;
  1258. flex: 1;
  1259. margin: 0 1%;
  1260. background-image: linear-gradient(to right, #72c172, #3bb197);
  1261. color: #fff;
  1262. border-radius: 8rpx;
  1263. font-size: 28rpx;
  1264. margin-top: 16rpx;
  1265. text-align: center;
  1266. }
  1267. }
  1268. }
  1269. </style>