receipt_infopage.vue 44 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316
  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. this.getInfo(this.dataId);
  696. uni.showToast({
  697. icon: 'none',
  698. duration: 4000,
  699. title: '操作成功!'
  700. })
  701. } else {
  702. uni.showToast({
  703. icon: 'none',
  704. duration: 4000,
  705. title: result.msg || '操作失败!'
  706. })
  707. }
  708. });
  709. },
  710. // 特殊情况关闭按钮
  711. specialCloseClick() {
  712. this.textareaFlag = true;
  713. this.models = {
  714. title: "特殊情况关闭",
  715. disjunctor: true,
  716. content: "",
  717. icon: "",
  718. operate: {
  719. cancel: "取消",
  720. },
  721. };
  722. },
  723. ok() {
  724. uni.showLoading({
  725. title: "加载中",
  726. mask: true,
  727. });
  728. post("/workerOrder/specialCaseClose", {
  729. workOrderId: this.dataId,
  730. reason: this.textareaText.trim(),
  731. }).then((result) => {
  732. this.models.disjunctor = false;
  733. this.textareaFlag = false;
  734. this.textareaText = "";
  735. if (result.state == 200) {
  736. uni.hideLoading();
  737. this.models = {
  738. disjunctor: true,
  739. content: "工单关闭成功",
  740. icon: "success",
  741. operate: {
  742. know: "知道了",
  743. },
  744. };
  745. } else {
  746. uni.hideLoading();
  747. this.models = {
  748. disjunctor: true,
  749. content: "工单关闭失败",
  750. icon: "error",
  751. operate: {
  752. know: "知道了",
  753. },
  754. };
  755. }
  756. });
  757. },
  758. cancel() {
  759. this.models.disjunctor = false;
  760. this.textareaFlag = false;
  761. this.textareaText = "";
  762. },
  763. // 点击可查看检查详情
  764. show(type) {
  765. this.showType = type;
  766. if (type === "show") {
  767. //展开
  768. // 计算高度
  769. const query = uni.createSelectorQuery().in(this);
  770. query
  771. .selectAll(".page_item_infos")
  772. .boundingClientRect((data) => {
  773. let len = data.reduce((prev, current) => {
  774. return prev + current.height;
  775. }, 0);
  776. this.animation.height(len).step();
  777. this.animationData = this.animation.export();
  778. })
  779. .exec();
  780. } else if (type === "hiddle") {
  781. this.animation.height(0).step();
  782. this.animationData = this.animation.export();
  783. }
  784. },
  785. // 抢单->知道了
  786. know() {
  787. this.models.disjunctor = false;
  788. uni.navigateTo({
  789. url: "../receiptpage/receiptpage",
  790. });
  791. },
  792. // 抢单
  793. showAlert() {
  794. get("/workerOrder/takeOrder/" + this.infoDATA.id).then((res) => {
  795. if (res.status == 200) {
  796. this.models = {
  797. disjunctor: true,
  798. content: "接单成功",
  799. icon: "success",
  800. operate: {
  801. know: "知道了",
  802. },
  803. };
  804. } else {
  805. uni.showToast({
  806. icon: "none",
  807. title: "请求失败!",
  808. });
  809. }
  810. });
  811. },
  812. // 请求详细页面的数据(除标本轮巡和标本配送)
  813. getInfo(id) {
  814. uni.showLoading({
  815. title: "加载中",
  816. mask: true,
  817. });
  818. get("/api/fetchData/workOrder/" + id).then((res) => {
  819. uni.hideLoading();
  820. if (res.status == 200) {
  821. this.infoDATA = res.data;
  822. // 计算高度
  823. setTimeout(() => {
  824. const query = uni.createSelectorQuery().in(this);
  825. query
  826. .selectAll(".page_item_infos")
  827. .boundingClientRect((data) => {
  828. let len = data.reduce((prev, current) => {
  829. return prev + current.height;
  830. }, 0);
  831. this.animation.height(len).step();
  832. this.animationData = this.animation.export();
  833. })
  834. .exec();
  835. }, 500)
  836. } else {
  837. uni.showToast({
  838. icon: "none",
  839. title: "请求失败!",
  840. });
  841. }
  842. });
  843. },
  844. // 请求详细页面的数据
  845. getInfoBySpecimen(id) {
  846. uni.showLoading({
  847. title: "加载中",
  848. mask: true,
  849. });
  850. post("/api/getWechatItem", {
  851. id
  852. }).then((res) => {
  853. uni.hideLoading();
  854. if (res.state == 200) {
  855. this.actualDelivery = res.actualDelivery;
  856. this.infoDATA = res.data;
  857. // 计算高度
  858. setTimeout(() => {
  859. const query = uni.createSelectorQuery().in(this);
  860. query
  861. .selectAll(".page_item_infos")
  862. .boundingClientRect((data) => {
  863. let len = data.reduce((prev, current) => {
  864. return prev + current.height;
  865. }, 0);
  866. this.animation.height(len).step();
  867. this.animationData = this.animation.export();
  868. })
  869. .exec();
  870. }, 500)
  871. } else {
  872. uni.showToast({
  873. icon: "none",
  874. title: "请求失败!",
  875. });
  876. }
  877. });
  878. },
  879. // 获取检查页面控制开关
  880. getTaskConfig(){
  881. post("/simple/data/fetchDataList/taskTypeConfig", {
  882. "idx": 0,
  883. "sum": 10,
  884. "taskTypeConfig": {
  885. "taskTypeDTO": {
  886. "hosId": {
  887. "id": this.hosId
  888. },
  889. "associationType": {
  890. "key": "association_types",
  891. "value": "inspect"
  892. }
  893. }
  894. }
  895. }).then((result) => {
  896. if (result.status == 200) {
  897. if(result.list && result.list[0]){
  898. this.multiplayerMode = result.list[0].multiplayerMode;
  899. }else{
  900. this.multiplayerMode = 0;
  901. }
  902. } else {
  903. this.multiplayerMode = 0;
  904. }
  905. });
  906. }
  907. },
  908. onLoad(options) {
  909. console.log(options, 'options');
  910. this.currentUserId = uni.getStorageSync('userData').user.id;
  911. let id = options.id;
  912. this.dataId = id;
  913. if (
  914. options.associationTypeValue == 'specimen' ||
  915. options.associationTypeValue == 'specimenPlan'
  916. ) {
  917. this.getInfoBySpecimen(id);
  918. } else {
  919. this.getInfo(id);
  920. }
  921. if (
  922. options.associationTypeValue == 'inspect' ||
  923. options.associationTypeValue == 'patientTransport'
  924. ) {
  925. this.getTaskConfig();
  926. }
  927. // 创建动画
  928. this.animation = uni.createAnimation({
  929. duration: 500,
  930. timingFunction: "ease",
  931. });
  932. // #ifdef APP-PLUS
  933. webHandle("no", "app");
  934. // #endif
  935. // #ifdef H5
  936. webHandle("no", "wx");
  937. // #endif
  938. },
  939. onUnload() {
  940. // 页面关闭后清空数据
  941. this.animationData = {};
  942. },
  943. };
  944. </script>
  945. <style lang="less">
  946. .Receipt_infopage {
  947. padding: 0 20rpx;
  948. overflow: hidden;
  949. .red {
  950. color: red !important;
  951. font-weight: bold !important;
  952. }
  953. .green {
  954. color: #49b856 !important;
  955. font-weight: bold !important;
  956. }
  957. .title {
  958. font-size: 48rpx;
  959. margin-top: 24rpx;
  960. margin-bottom: 24rpx;
  961. text-align: center;
  962. }
  963. .page_item {
  964. margin-top: 16rpx;
  965. margin-bottom: 124rpx;
  966. background: #fff;
  967. border-radius: 8rpx;
  968. padding: 0 16rpx;
  969. border: 2rpx solid #e5e9ed;
  970. .L {
  971. width: 40rpx;
  972. height: 40rpx;
  973. border-radius: 50%;
  974. background: #f9fafb;
  975. position: relative;
  976. left: -50rpx;
  977. top: 66rpx;
  978. }
  979. .R {
  980. width: 40rpx;
  981. height: 40rpx;
  982. border-radius: 50%;
  983. background: #f9fafb;
  984. position: relative;
  985. float: right;
  986. right: -50rpx;
  987. top: 26rpx;
  988. }
  989. .starting {
  990. width: 50rpx;
  991. height: 50rpx;
  992. color: #fff;
  993. background: #49b856;
  994. display: inline-block;
  995. border-radius: 50%;
  996. text-align: center;
  997. line-height: 46rpx;
  998. font-size: 32rpx;
  999. margin-right: 6rpx;
  1000. }
  1001. .End {
  1002. width: 50rpx;
  1003. height: 50rpx;
  1004. color: #fff;
  1005. background: #39b199;
  1006. display: inline-block;
  1007. border-radius: 50%;
  1008. text-align: center;
  1009. line-height: 46rpx;
  1010. font-size: 32rpx;
  1011. margin-right: 6rpx;
  1012. }
  1013. .page_item_top {
  1014. height: 86rpx;
  1015. border-bottom: 2rpx dashed #666;
  1016. padding: 0 16rpx;
  1017. .page_item_top_L {
  1018. height: 100%;
  1019. float: left;
  1020. line-height: 88rpx;
  1021. .emergencys {
  1022. background: #ff3b53 !important;
  1023. width: 124rpx !important;
  1024. }
  1025. .emergency {
  1026. background: #ff3b53 !important;
  1027. }
  1028. .emergency1 {
  1029. background: #49b856 !important;
  1030. }
  1031. .page_item_cont_start {
  1032. text-align: center;
  1033. height: 44rpx;
  1034. width: 104rpx;
  1035. line-height: 44rpx;
  1036. border-radius: 8rpx;
  1037. background: #49b856;
  1038. color: #fff;
  1039. display: inline-block;
  1040. font-size: 28rpx;
  1041. .cubeic-star {
  1042. margin-right: 8rpx;
  1043. }
  1044. }
  1045. .L_time {
  1046. color: #6cc076;
  1047. font-size: 32rpx;
  1048. }
  1049. .L_text {
  1050. font-size: 32rpx;
  1051. display: inline-block;
  1052. font-weight: 700;
  1053. margin-right: 16rpx;
  1054. }
  1055. }
  1056. .page_item_top_R {
  1057. height: 60rpx;
  1058. float: right;
  1059. padding-top: 20rpx;
  1060. font-size: 32rpx;
  1061. position: absolute;
  1062. right: 50rpx;
  1063. .L_iocn {
  1064. display: inline-block;
  1065. height: 52rpx;
  1066. line-height: 48rpx;
  1067. color: rgb(7, 134, 60);
  1068. font-size: 36rpx;
  1069. font-weight: 700;
  1070. }
  1071. }
  1072. }
  1073. .page_item_cont {
  1074. min-height: 180rpx;
  1075. // max-height: 424rpx;
  1076. padding: 0 16rpx;
  1077. text-align: left;
  1078. position: relative;
  1079. .text_big {
  1080. font-size: 32rpx;
  1081. position: absolute;
  1082. right: 16rpx;
  1083. font-weight: 700;
  1084. margin-top: 10rpx;
  1085. }
  1086. .text_big2 {
  1087. font-size: 32rpx;
  1088. position: absolute;
  1089. right: 16rpx;
  1090. font-weight: 700;
  1091. }
  1092. .line {
  1093. height: 20rpx;
  1094. width: 2rpx;
  1095. border-left: 2rpx solid #666;
  1096. position: absolute;
  1097. top: 82rpx;
  1098. left: 40rpx;
  1099. }
  1100. .lines {
  1101. height: 40%;
  1102. width: 2rpx;
  1103. border-left: 2rpx solid #666;
  1104. position: absolute;
  1105. top: 23%;
  1106. left: 36rpx;
  1107. }
  1108. .page_item_cont_T {
  1109. padding-top: 28rpx;
  1110. font-size: 28rpx;
  1111. .page_item_cont_title {
  1112. height: 100%;
  1113. font-size: 32rpx;
  1114. }
  1115. }
  1116. .page_item_cont_B {
  1117. padding-top: 28rpx;
  1118. margin-bottom: 28rpx;
  1119. .page_item_cont_title {
  1120. height: 60rpx;
  1121. font-size: 32rpx;
  1122. }
  1123. .page_item_cont_title1 {
  1124. height: 60rpx;
  1125. line-height: 60rpx;
  1126. font-size: 32rpx;
  1127. padding-left: 64rpx;
  1128. }
  1129. }
  1130. }
  1131. .page_item_foot {
  1132. border-top: 2rpx dashed #666;
  1133. border-bottom: 2rpx dashed #666;
  1134. padding: 28rpx 16rpx;
  1135. text-align: left;
  1136. .page_item_foot_text {
  1137. font-size: 32rpx;
  1138. margin-bottom: 20rpx;
  1139. .text1 {
  1140. color: rgb(102, 102, 102);
  1141. }
  1142. .text2 {
  1143. float: right;
  1144. font-weight: 700;
  1145. }
  1146. }
  1147. }
  1148. .page_item_info {
  1149. padding: 20rpx 16rpx;
  1150. text-align: left;
  1151. line-height: 60rpx;
  1152. font-size: 32rpx;
  1153. .spe_list {
  1154. padding: 32rpx 0;
  1155. border-top: 2rpx solid #666;
  1156. .page_item_info_title {
  1157. color: #666;
  1158. }
  1159. }
  1160. .page_item_info_title {
  1161. font-weight: 700;
  1162. }
  1163. .text {
  1164. float: right;
  1165. font-weight: 700;
  1166. .page_item_info_txt {
  1167. color: #49b856;
  1168. margin-left: 8rpx;
  1169. margin-right: 8rpx;
  1170. }
  1171. }
  1172. }
  1173. #infos {
  1174. height: 0;
  1175. overflow: hidden;
  1176. }
  1177. .page_item_infos {
  1178. padding-top: 20rpx;
  1179. padding-bottom: 20rpx;
  1180. border-bottom: 2rpx dashed #666;
  1181. .page_item_info2 {
  1182. text-align: left;
  1183. line-height: 60rpx;
  1184. font-size: 32rpx;
  1185. padding-left: 16rpx;
  1186. .page_item_foot_text {
  1187. font-size: 32rpx;
  1188. margin-bottom: 20rpx;
  1189. &:last-of-type {
  1190. margin-bottom: 0;
  1191. }
  1192. .text1 {
  1193. color: rgb(102, 102, 102);
  1194. }
  1195. .text2 {
  1196. float: right;
  1197. font-weight: 700;
  1198. }
  1199. .btn {
  1200. height: 66rpx;
  1201. width: 132rpx;
  1202. margin: 0 auto;
  1203. background-color: #49b856;
  1204. color: #fff;
  1205. border-radius: 8rpx;
  1206. font-size: 32rpx;
  1207. margin-top: 20rpx;
  1208. text-align: center;
  1209. }
  1210. }
  1211. }
  1212. }
  1213. #pulldown {
  1214. color: #49b856;
  1215. font-size: 36rpx;
  1216. height: 60rpx;
  1217. text-align: center;
  1218. .cubeic-pulldown {
  1219. font-size: 48rpx;
  1220. position: relative;
  1221. bottom: 6rpx;
  1222. }
  1223. }
  1224. #pullup {
  1225. color: #49b856;
  1226. font-size: 36rpx;
  1227. height: 60rpx;
  1228. text-align: center;
  1229. .cubeic-pullup {
  1230. font-size: 48rpx;
  1231. position: relative;
  1232. top: 12rpx;
  1233. }
  1234. }
  1235. }
  1236. .foot_btn2 {
  1237. position: fixed;
  1238. bottom: 0;
  1239. right: 20rpx;
  1240. left: 20rpx;
  1241. line-height: 66rpx;
  1242. height: 100rpx;
  1243. border-top: 2rpx solid #e5e9ed;
  1244. background: #f9fafb;
  1245. display: flex;
  1246. justify-content: space-between;
  1247. .btn2,
  1248. .btn3 {
  1249. height: 66rpx;
  1250. flex: 1;
  1251. margin: 0 1%;
  1252. background-image: linear-gradient(to right, #72c172, #3bb197);
  1253. color: #fff;
  1254. border-radius: 8rpx;
  1255. font-size: 28rpx;
  1256. margin-top: 16rpx;
  1257. text-align: center;
  1258. }
  1259. }
  1260. }
  1261. </style>