receipt_infopage.vue 43 KB

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