receiptpage.vue 48 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433
  1. <template>
  2. <view class="Receiptpage">
  3. <view class="page_tab">
  4. <view class="page_tab_bar" :class="{ active: item.label === selectedLabelSlots }" v-for="item in tabs"
  5. :key="item.value" @click="clickHandler(item.label)">
  6. {{ item.label }}
  7. <text class="tab_num">( {{ item.num }} )</text>
  8. <view class="more" v-if="item.label === '执行中'"></view>
  9. <picker class="more_picker" v-if="item.label === '执行中'" @click.stop @change="execFilter($event)" :value="index"
  10. :range="array" range-key="name">
  11. <view class="uni-input">{{ array[index].name }}</view>
  12. </picker>
  13. </view>
  14. </view>
  15. <view v-if="zxzData.length == 0" class="zwsj">
  16. <image class="zwsj-img" mode="widthFix" src="../../static/img/zanwushuju.png"></image>
  17. <view class="zwsj-txt">暂无数据</view>
  18. </view>
  19. <view class="page_items">
  20. <scroll-view class="page_items_scroll" scroll-y :refresher-enabled="scroll_refresher_enabled"
  21. :refresher-triggered="triggered" @refresherrefresh="refresherrefresh" @refresherrestore="refresherrestore"
  22. @scroll="scroll" @scrolltolower="scrolltolower" :scroll-top="scroll_top" @refresherabort="refresherabort">
  23. <view class="page_item_wrap" v-for="(item, index) of zxzData" :key="index">
  24. <view class="page_item">
  25. <view class="L"></view>
  26. <view class="R"></view>
  27. <view class="page_item_top">
  28. <view class="page_item_top_L">
  29. <!-- <text class="L_iocn" v-if="item.taskType.associationType.value == 'specimen'">标</text>
  30. <text class="L_iocn" v-if="item.taskType.associationType.value == 'drugsBag'">药</text>
  31. <text class="L_iocn" v-if="item.taskType.associationType.value == 'specimenPlan'">巡</text>
  32. <text class="L_iocn" v-if="item.taskType.associationType.value == 'jPBag'">静</text>
  33. <text class="L_iocn" v-if="item.taskType.associationType.value == 'inspect'">病</text>
  34. <text class="L_iocn" v-if="
  35. item.taskType.associationType.value == 'patientTransport'
  36. ">病</text>
  37. <text class="L_iocn" v-if="item.taskType.associationType.value == 'other'">其</text> -->
  38. <view class="page_item_cont_start emergency1" v-if="item.emergencyType.value == 1">
  39. <image mode="widthFix" class="page_item_cont_start-img" src="../../static/img/icon_shandian.png">
  40. </image>
  41. {{ item.emergencyType.name }}
  42. </view>
  43. <view class="page_item_cont_start emergency" v-if="item.emergencyType.value == 2">
  44. <image mode="widthFix" class="page_item_cont_start-img" src="../../static/img/icon_shandian.png">
  45. </image>
  46. {{ item.emergencyType.name }}
  47. </view>
  48. <view class="page_item_cont_start emergencys" v-if="item.emergencyType.value == 3">
  49. <image mode="widthFix" class="page_item_cont_start-img" src="../../static/img/icon_shandian.png">
  50. </image>
  51. {{ item.emergencyType.name }}
  52. </view>
  53. <view class="page_item_top_R type" style="margin-left: 16rpx;">
  54. {{
  55. item.isHalfInspect === 1 ? "半程陪检" : item.taskType.taskName
  56. }}<template v-if="item.goodsRemark">-{{item.goodsRemark}}</template>
  57. </view>
  58. <!-- <text class="L_time" v-if="item.overdueTime">{{ item.overdueTime }}前送达</text> -->
  59. </view>
  60. <view class="page_item_top_R" v-if="
  61. !(
  62. item.taskType.associationType.value == 'inspect' &&
  63. item.gdState.value == 5
  64. )
  65. ">
  66. <text class="text_big">{{ item.gdState.name }}</text>
  67. </view>
  68. <view class="page_item_top_R" v-if="
  69. item.taskType.associationType.value == 'inspect' &&
  70. item.gdState.value == 5
  71. ">
  72. <text class="text_big">待送回</text>
  73. </view>
  74. <!-- <view class="page_item_top_R type">
  75. {{
  76. item.isHalfInspect === 1 ? "半程陪检" : item.taskType.taskName
  77. }}<template v-if="item.goodsRemark">-{{item.goodsRemark}}</template>
  78. </view> -->
  79. </view>
  80. <view class="page_item_cont" @click="itemInfo(item)">
  81. <view class="page_item_cont_T">
  82. <view class="page_item_cont_title">
  83. <text> <text class="starting">起</text> 点科室 </text>
  84. <text class="text_big">{{ item.startDept.dept }}</text>
  85. </view>
  86. <!-- <view class="page_item_cont_start emergency1" v-if="item.emergencyType.value == 1">
  87. <image mode="widthFix" class="page_item_cont_start-img" src="../../static/img/icon_shandian.png">
  88. </image>
  89. {{ item.emergencyType.name }}
  90. </view>
  91. <view class="page_item_cont_start emergency" v-if="item.emergencyType.value == 2">
  92. <image mode="widthFix" class="page_item_cont_start-img" src="../../static/img/icon_shandian.png">
  93. </image>
  94. {{ item.emergencyType.name }}
  95. </view>
  96. <view class="page_item_cont_start emergencys" v-if="item.emergencyType.value == 3">
  97. <image mode="widthFix" class="page_item_cont_start-img" src="../../static/img/icon_shandian.png">
  98. </image>
  99. {{ item.emergencyType.name }}
  100. </view> -->
  101. </view>
  102. <view class="page_item_conts" v-if="item.taskType.associationType.value == 'specimen'">
  103. <view v-if="item.overdueTime">{{ item.overdueTime }}前送达</view>
  104. <view>扫描标本数量 : {{ item.actualReceiveNum || '无'}}</view>
  105. <view class="line"></view>
  106. </view>
  107. <view class="page_item_conts" v-else-if="item.taskType.associationType.value == 'ordinary' && item.taskType.ordinaryField.value == 'blood'">
  108. <view v-if="item.overdueTime">{{ item.overdueTime }}前送达</view>
  109. <view>接收数量 : {{ item.actualReceiveNum || '无'}}</view>
  110. <view class="line"></view>
  111. </view>
  112. <view class="page_item_conts" v-else-if="item.taskType.associationType.value == 'inspect'">
  113. <view v-if="item.overdueTime">{{ item.overdueTime }}前送达</view>
  114. <view>
  115. 预约时间 : {{ item.yyTime | yyTimeFilter
  116. }}<text v-if="item.reservationNumber">({{ item.reservationNumber }})</text>
  117. </view>
  118. <view>
  119. 床号 : {{ item.patient ? item.patient.patientName : "-" }}({{
  120. item.patient ? item.patient.bedNum : "-"
  121. }})
  122. </view>
  123. <view v-if="item.goods">
  124. 携带设备 :
  125. <text>{{ item.goods || "暂无" }}</text>
  126. </view>
  127. <view style="word-break: break-all;" v-if="item.workOrderRemark">
  128. 备注信息 :
  129. <text>{{ item.workOrderRemark || "暂无" }}</text>
  130. </view>
  131. <view v-if="item.patient.careLevel">
  132. 护理等级 :
  133. <text :class="[
  134. item.patient.careLevel.value == 0 ||
  135. item.patient.careLevel.value == 1
  136. ? 'red'
  137. : 'green',
  138. ]">{{ item.patient.careLevel.name }}</text>
  139. </view>
  140. <view v-if="item.patient.illnessState">
  141. 病情级别 :
  142. <text :class="{
  143. red:
  144. item.patient.illnessState.value == 2 ||
  145. item.patient.illnessState.value == 3,
  146. }">{{ item.patient.illnessState.name }}</text>
  147. </view>
  148. <view v-if="item.isAccompany === 1 || item.isAccompany === 0">
  149. 陪同情况 :
  150. <text :class="{ red: item.isAccompany === 1 }">{{
  151. item.isAccompany === 1 ? "需要医护陪同" : "无需医护陪同"
  152. }}</text>
  153. </view>
  154. <view class="line"></view>
  155. </view>
  156. <view class="page_item_conts" v-else-if="item.taskType.associationType.value == 'patientTransport'">
  157. <view v-if="item.overdueTime">{{ item.overdueTime }}前送达</view>
  158. <view>
  159. 预约时间 : {{ item.yyjdTime | yyTimeFilter
  160. }}<text v-if="item.reservationNumber">({{ item.reservationNumber }})</text>
  161. </view>
  162. <view>
  163. 床号 : {{ item.patient ? item.patient.patientName : "-" }}({{
  164. item.patient ? item.patient.bedNum : "-"
  165. }})
  166. </view>
  167. <view v-if="item.goods">
  168. 携带设备 :
  169. <text>{{ item.goods || "暂无" }}</text>
  170. </view>
  171. <view style="word-break: break-all;" v-if="item.workOrderRemark">
  172. 备注信息 :
  173. <text>{{ item.workOrderRemark || "暂无" }}</text>
  174. </view>
  175. <view v-if="item.patient.careLevel">
  176. 护理等级 :
  177. <text :class="[
  178. item.patient.careLevel.value == 0 ||
  179. item.patient.careLevel.value == 1
  180. ? 'red'
  181. : 'green',
  182. ]">{{ item.patient.careLevel.name }}</text>
  183. </view>
  184. <view v-if="item.patient.illnessState">
  185. 病情级别 :
  186. <text :class="{
  187. red:
  188. item.patient.illnessState.value == 2 ||
  189. item.patient.illnessState.value == 3,
  190. }">{{ item.patient.illnessState.name }}</text>
  191. </view>
  192. <view v-if="item.isAccompany === 1 || item.isAccompany === 0">
  193. 陪同情况 :
  194. <text :class="{ red: item.isAccompany === 1 }">{{
  195. item.isAccompany === 1 ? "需要医护陪同" : "无需医护陪同"
  196. }}</text>
  197. </view>
  198. <view class="line"></view>
  199. </view>
  200. <view class="page_item_conts" v-else-if="item.taskType.associationType.value == 'drugsBag'">
  201. <view v-if="item.overdueTime">{{ item.overdueTime }}前送达</view>
  202. <view>
  203. 药包编码 : {{ item.drugs ? item.drugs.packid : "无" }}
  204. </view>
  205. <view class="line"></view>
  206. </view>
  207. <view class="page_item_conts" v-else-if="item.taskType.associationType.value == 'jPBag'">
  208. <view v-if="item.overdueTime">{{ item.overdueTime }}前送达</view>
  209. <view>
  210. 药包编码 :
  211. {{ item.staticDistri ? item.staticDistri.packid : "无" }}
  212. </view>
  213. <view class="line"></view>
  214. </view>
  215. <view class="page_item_conts" v-else>
  216. <view v-if="item.overdueTime">{{ item.overdueTime }}前送达</view>
  217. <view class="line"></view>
  218. </view>
  219. <view class="page_item_cont_B">
  220. <view class="page_item_cont_title" v-if="item.taskType.associationType.value != 'inspect'">
  221. <text> <text class="End">终</text> 点科室 </text>
  222. <text class="text_big" v-for="(dept, i) of item.endDepts" :key="i">{{ dept.dept }}</text>
  223. </view>
  224. <view class="page_item_cont_title" v-if="item.taskType.associationType.value == 'inspect'">
  225. <text> <text class="End">检</text> 查科室 </text>
  226. <text class="text_big" v-for="(dept, i) of item.middleDept" :key="i">{{ dept.dept }}</text>
  227. </view>
  228. </view>
  229. </view>
  230. <view v-if="
  231. item.taskType.associationType.value == 'inspect' ||
  232. item.taskType.associationType.value == 'patientTransport'
  233. ">
  234. <!-- 待抢单 -->
  235. <text class="red" v-if="item.gdState.value == 2">请扫描患者腕带,或者请扫描科室码</text>
  236. <!-- 待到达 -->
  237. <text class="red" v-if="item.gdState.value == 4">请扫描患者腕带</text>
  238. <!-- 执行中 -->
  239. <text class="red" v-if="item.gdState.value == 8">请扫描检查科室码,并扫描患者腕带</text>
  240. <!-- 待送达 -->
  241. <text class="red" v-if="item.gdState.value == 5">请扫描终点科室码,并扫描患者腕带</text>
  242. </view>
  243. <!-- 如果不是患者陪检或患者转运或其他,万能交接 -->
  244. <view class="page_item_btn" v-if="
  245. selectedLabelSlots == '执行中' &&
  246. item.taskType.associationType.value != 'patientTransport' &&
  247. item.taskType.associationType.value != 'inspect' &&
  248. item.taskType.associationType.value != 'other' &&
  249. item.taskType.associationType.value != 'ordinary'
  250. " hover-class="seimin-btn-hover">
  251. <smallScreen :sData="item" :sType="2">扫码</smallScreen>
  252. </view>
  253. <!-- 如果不是静配,药配,标本配送,标本轮巡,万能交接 -->
  254. <view class="page_item_btn_wrap" v-if="
  255. selectedLabelSlots == '执行中' &&
  256. item.taskType.associationType.value != 'jPBag' &&
  257. item.taskType.associationType.value != 'drugsBag' &&
  258. item.taskType.associationType.value != 'specimen' &&
  259. item.taskType.associationType.value != 'specimenPlan' &&
  260. item.taskType.associationType.value != 'ordinary'
  261. ">
  262. <view class="page_item_btn" :style="{
  263. width:
  264. item.taskType.associationType.value != 'other' &&
  265. item.gdState.value == 4
  266. ? '50%'
  267. : '100%',
  268. }" hover-class="seimin-btn-hover">
  269. <smallScreen :sData="item" :sType="1">扫码</smallScreen>
  270. </view>
  271. <view v-if="
  272. item.taskType.associationType.value != 'other' &&
  273. item.gdState.value == 4
  274. " class="page_item_btn" @click="photograph(item)" hover-class="seimin-btn-hover">拍照</view>
  275. </view>
  276. <view class="page_item_btn" v-if="selectedLabelSlots == '待接单'" @click="showAlerts(item)"
  277. hover-class="seimin-btn-hover">接单</view>
  278. </view>
  279. <view class="L-l"></view>
  280. <view class="R-l"></view>
  281. </view>
  282. </scroll-view>
  283. </view>
  284. <!-- 底部扫一扫 -->
  285. <bigScreen></bigScreen>
  286. <!-- 悬浮按钮 -->
  287. <uni-fab :pattern="pattern" :content="content" :direction="direction" @trigger="trigger"></uni-fab>
  288. <!-- 弹窗 -->
  289. <showModel :title="models.title" :icon="models.icon" :disjunctor="models.disjunctor" :content="models.content"
  290. @ok="ok" @cancel="cancel" @know="know" :operate="models.operate"></showModel>
  291. <!-- 我的二维码-弹窗 -->
  292. <showMyQrcode v-if="showMyQrcodeModel.disjunctor" :disjunctor="showMyQrcodeModel.disjunctor" @know="closeMyQrcodeModel"></showMyQrcode>
  293. <!-- 手动查询标本弹窗 -->
  294. <handViewSpecimen v-if="speModels.disjunctor" :title="speModels.title" :disjunctor="speModels.disjunctor"
  295. @ok="speOk" @cancel="speCancel">
  296. </handViewSpecimen>
  297. <!-- 手动查询药品弹窗 -->
  298. <handViewDrugsBag v-if="drugbagModels.disjunctor" :title="drugbagModels.title"
  299. :disjunctor="drugbagModels.disjunctor" @ok="drugbagOk" @cancel="drugbagCancel">
  300. </handViewDrugsBag>
  301. </view>
  302. </template>
  303. <script>
  304. import smallScreen from "../../components/smallScreen/smallScreen.vue";
  305. import showModel from "../../components/showModel/showModel.vue";
  306. import bigScreen from "../../components/bigScreen/bigScreen.vue";
  307. // https://ext.dcloud.net.cn/plugin?id=144
  308. import uniFab from "@/components/uni-fab/uni-fab.vue";
  309. import {
  310. get,
  311. post,
  312. SM,
  313. deleteIt,
  314. webHandle
  315. } from "../../http/http.js";
  316. import {
  317. photographTool
  318. } from "../../tools/photograph.js";
  319. export default {
  320. data() {
  321. return {
  322. // 弹窗model
  323. showMyQrcodeModel: {
  324. disjunctor: false,
  325. },
  326. SMFlag: true,
  327. // 手动查询标本弹窗model
  328. speModels: {
  329. disjunctor: false,
  330. },
  331. // 手动查询药品弹窗model
  332. drugbagModels: {
  333. disjunctor: false,
  334. },
  335. // 筛选条件
  336. array: [{
  337. id: 0,
  338. name: "全部",
  339. },
  340. {
  341. id: 71,
  342. name: "待到达",
  343. },
  344. {
  345. id: 72,
  346. name: "待送达",
  347. },
  348. {
  349. id: 75,
  350. name: "执行中",
  351. },
  352. ],
  353. index: 0,
  354. arrayKey: 0,
  355. // 当前登录人是否是药房角色
  356. pharmacistFlag: false,
  357. // 抢单的id
  358. qdId: "",
  359. // 弹窗model
  360. models: {
  361. disjunctor: false,
  362. },
  363. // 悬浮按钮样式
  364. pattern: {
  365. buttonColor: "#6cc076",
  366. },
  367. // 悬浮按钮展开菜单显示方式
  368. direction: "vertical",
  369. // 悬浮按钮展开菜单内容配置项
  370. content: [{
  371. text: "我的任务",
  372. }, ],
  373. // 当前选中tab页名称
  374. selectedLabelSlots: "待接单",
  375. // tab页信息
  376. tabs: [{
  377. label: "待接单", //tab页名称
  378. value: "1", //值
  379. num: 0, //数量
  380. },
  381. {
  382. label: "执行中",
  383. value: "2",
  384. num: 0,
  385. },
  386. ],
  387. //列表数据
  388. zxzData: [],
  389. //分页页码
  390. idx: 0,
  391. // 列表项总数
  392. totalNum: -1,
  393. triggered: false, //下拉刷新状态
  394. freshing: false, //上拉加载开关
  395. scroll_top: 0, //距离顶部的距离
  396. scroll_refresher_enabled: true, //是否开启自定义下拉刷新
  397. };
  398. },
  399. filters: {
  400. // 自定义管道 yyTime
  401. yyTimeFilter: function(data) {
  402. if (data) {
  403. let nDate = null;
  404. if (typeof data == 'string') {
  405. let arr = data.split(/[-:\s]/);
  406. nDate = new Date(
  407. arr[0] - 0,
  408. arr[1] - 1,
  409. arr[2] - 0,
  410. arr[3] - 0,
  411. arr[4] - 0,
  412. 0
  413. );
  414. } else if (typeof data == 'number') {
  415. nDate = new Date(data);
  416. }
  417. const month = (nDate.getMonth() + 1).toString().padStart(2, 0);
  418. const date = nDate.getDate().toString().padStart(2, 0);
  419. const hour = nDate.getHours().toString().padStart(2, 0);
  420. const minute = nDate.getMinutes().toString().padStart(2, 0);
  421. return `${month}-${date} ${hour}:${minute}`;
  422. } else {
  423. return "-";
  424. }
  425. },
  426. },
  427. components: {
  428. uniFab,
  429. showModel,
  430. bigScreen,
  431. },
  432. methods: {
  433. // 手动查询药品-确认
  434. drugbagOk(data) {
  435. console.log(data);
  436. if (!data.id) {
  437. //没有查询到药品
  438. uni.showModal({
  439. title: '提示',
  440. content: "没有查询到发药单号!",
  441. showCancel: false,
  442. success: function(res) {
  443. if (res.confirm) {
  444. console.log('用户点击确定');
  445. } else if (res.cancel) {
  446. console.log('用户点击取消');
  447. }
  448. }
  449. });
  450. return;
  451. }
  452. this.drugbagModels.disjunctor = false;
  453. uni.navigateTo({
  454. url: `/pages/scanning_drug/scanning_drug?drugsBagId=${data.id}`,
  455. });
  456. },
  457. // 手动查询药品-取消
  458. drugbagCancel() {
  459. this.drugbagModels.disjunctor = false;
  460. },
  461. // 手动查询药品弹窗
  462. showHandViewDrugsbag() {
  463. console.log(1)
  464. this.drugbagModels = {
  465. title: '填写发药单号',
  466. disjunctor: true,
  467. }
  468. },
  469. // 手动查询标本-确认
  470. speOk(data) {
  471. console.log(data);
  472. if (!data.id) {
  473. //没有查询到标本
  474. uni.showModal({
  475. title: '提示',
  476. content: "没有查询到标本!",
  477. showCancel: false,
  478. success: function(res) {
  479. if (res.confirm) {
  480. console.log('用户点击确定');
  481. } else if (res.cancel) {
  482. console.log('用户点击取消');
  483. }
  484. }
  485. });
  486. return;
  487. }
  488. this.speModels.disjunctor = false;
  489. let infoDATA = {
  490. stype: data.stype,
  491. scode: data.scode,
  492. patientName: data.patientName,
  493. sickRoom: data.sickRoom ?
  494. data.sickRoom.dept : "-",
  495. checkDept: data.checkDept ?
  496. data.checkDept.dept : "-",
  497. bedNum: data.bedNum,
  498. };
  499. uni.navigateTo({
  500. url: `../scanning_B/scanning_B?res=${encodeURIComponent(
  501. JSON.stringify({data,status:666,scanCodeSpecimenOrderSign:data.scanCodeSpecimenOrderSign,workOrder:data.workOrderDTO})
  502. )}&infoDATA=${encodeURIComponent(
  503. JSON.stringify(infoDATA)
  504. )}`,
  505. });
  506. },
  507. // 手动查询标本-取消
  508. speCancel() {
  509. this.speModels.disjunctor = false;
  510. },
  511. // 手动查询标本弹窗
  512. showHandViewSpecimen() {
  513. this.speModels = {
  514. title: '填写标本编码',
  515. disjunctor: true,
  516. }
  517. },
  518. // 执行中筛选
  519. execFilter({
  520. detail: {
  521. value
  522. }
  523. }) {
  524. this.index = value;
  525. this.arrayKey = this.array[value].id;
  526. this.zxzData = [];
  527. this.totalNum = -1;
  528. this.idx = 0;
  529. this.selectedLabelSlots = "执行中";
  530. this.executingOrders(0);
  531. },
  532. // 获取科室二维码设置开关
  533. getMenu() {
  534. let menu = uni.getStorageSync("userData").menu;
  535. //判断当前登陆人具体角色 start
  536. let roles = uni.getStorageSync("userData").user.role;
  537. this.pharmacistFlag = roles.some(
  538. (item) => item.rolecode === "pharmacist"
  539. );
  540. //判断当前登陆人具体角色 end
  541. console.log(menu);
  542. menu.forEach((item) => {
  543. if (item.link === "wxInspect") {
  544. this.content.push({
  545. text: "检查信息",
  546. });
  547. } else if (item.link === "wxPatient") {
  548. this.content.push({
  549. text: "患者信息",
  550. });
  551. } else if (item.link === "wxPharmacy") {
  552. // 如果是配药师人员,则增加药房
  553. if (this.pharmacistFlag) {
  554. this.content.push({
  555. text: "药房",
  556. });
  557. }
  558. } else if (item.link === "wxCode") {
  559. this.content.push({
  560. text: "二维码设置",
  561. });
  562. } else if (item.link === "wxSpecimenEntry") {
  563. this.content.push({
  564. text: "标本录入",
  565. });
  566. } else if (item.link === "wxDrugsbagEntry") {
  567. this.content.push({
  568. text: "药品录入",
  569. });
  570. } else if (item.link === "wxTakeMedicine") {
  571. this.content.push({
  572. text: "摆药取药",
  573. });
  574. } else if (item.link === "myQrcode") {
  575. this.content.push({
  576. text: "我的二维码",
  577. });
  578. }
  579. });
  580. },
  581. // 拍照
  582. photograph(data) {
  583. photographTool(data);
  584. },
  585. // 悬浮按钮点击事件
  586. trigger(e) {
  587. if (e.item.text === "我的任务") {
  588. uni.navigateTo({
  589. url: "../mypage/mypage",
  590. });
  591. } else if (e.item.text === "退出登录") {
  592. // 假登录
  593. uni.showToast({
  594. title: "退出成功!",
  595. });
  596. let ip = uni.getStorageSync("ip"); //记住域名或ip
  597. let username = uni.getStorageSync("username"); //记住用户名
  598. let password = uni.getStorageSync("password"); //记住密码
  599. let savePasswordTime = uni.getStorageSync("savePasswordTime"); //记住密码的时间戳
  600. let clientid = uni.getStorageSync("clientid");
  601. uni.clearStorageSync();
  602. if (username) {
  603. uni.setStorageSync("ip", ip); //记住域名或ip
  604. uni.setStorageSync("username", username); //记住用户名
  605. uni.setStorageSync("password", password); //记住密码
  606. uni.setStorageSync("savePasswordTime", savePasswordTime); //记住密码的时间戳
  607. }
  608. uni.setStorageSync("clientid", clientid);
  609. uni.navigateTo({
  610. url: "../homePage/homePage",
  611. });
  612. // 假登录
  613. deleteIt("/auth/logout2").then((result) => {
  614. if (result.status == 200) {
  615. uni.showToast({
  616. title: "退出成功!",
  617. });
  618. let ip = uni.getStorageSync("ip"); //记住域名或ip
  619. let username = uni.getStorageSync("username"); //记住用户名
  620. let password = uni.getStorageSync("password"); //记住密码
  621. let clientid = uni.getStorageSync("clientid");
  622. uni.clearStorageSync();
  623. uni.setStorageSync("ip", ip); //记住域名或ip
  624. uni.setStorageSync("username", username); //记住用户名
  625. uni.setStorageSync("password", password); //记住密码
  626. uni.setStorageSync("clientid", clientid);
  627. uni.navigateTo({
  628. url: "../homePage/homePage",
  629. });
  630. } else {
  631. uni.showToast({
  632. icon: "none",
  633. title: "请求失败!",
  634. });
  635. }
  636. });
  637. } else if (e.item.text === "药房") {
  638. uni.navigateTo({
  639. url: "../pharmacy/pharmacy",
  640. });
  641. } else if (e.item.text === "患者信息") {
  642. uni.navigateTo({
  643. url: "../patientInformationList/patientInformationList",
  644. });
  645. } else if (e.item.text === "负责科室") {
  646. if (uni.getStorageSync("setDepts")) {
  647. uni.removeStorageSync("setDepts"); //清空选择的科室,初始化
  648. }
  649. let obj = uni.getStorageSync("setDeptConfg");
  650. uni.navigateTo({
  651. url: `../setDept/setDept?configName=${obj.configName}&id=${obj.id}&changedept=1`,
  652. });
  653. } else if (e.item.text === "检查信息") {
  654. uni.navigateTo({
  655. url: "../inspectList/inspectList",
  656. });
  657. } else if (e.item.text === "二维码设置") {
  658. uni.navigateTo({
  659. url: "../settingCode/settingCode",
  660. });
  661. } else if (e.item.text === "标本录入") {
  662. this.showHandViewSpecimen();
  663. } else if (e.item.text === "药品录入") {
  664. this.showHandViewDrugsbag();
  665. } else if (e.item.text === "摆药取药") {
  666. this.handleTakeMedicine()
  667. } else if (e.item.text === "我的二维码") {
  668. this.myQrcodeHandler()
  669. }
  670. },
  671. // 我的二维码
  672. myQrcodeHandler(){
  673. this.showMyQrcodeModel = {
  674. disjunctor: true,
  675. };
  676. },
  677. closeMyQrcodeModel(){
  678. this.showMyQrcodeModel.disjunctor = false;
  679. },
  680. // 摆药取药
  681. handleTakeMedicine() {
  682. if (!this.SMFlag) {
  683. return;
  684. }
  685. this.SMFlag = false;
  686. SM().then((content) => {
  687. uni.showLoading({
  688. title: "加载中",
  689. mask: true,
  690. });
  691. //检验二维码的有效性(扫码前必须验证)
  692. post("/dept/scanning", {
  693. content,
  694. })
  695. .then((result) => {
  696. this.currentCode = result.code;
  697. this.SMFlag = true;
  698. // 200检测通过,201没有有效期也通过。
  699. if (result.state == 200 || result.state == 201) {
  700. uni.hideLoading();
  701. uni.navigateTo({
  702. url: `../promptPage/promptPage?code=${result.code}`,
  703. });
  704. } else {
  705. uni.hideLoading();
  706. uni.showToast({
  707. icon: "none",
  708. title: '请求失败',
  709. });
  710. }
  711. })
  712. }).catch(err => {
  713. this.SMFlag = true;
  714. });
  715. },
  716. // 点击tab页切换
  717. clickHandler(key) {
  718. this.selectedLabelSlots = key;
  719. this.idx = 0;
  720. this.totalNum = -1;
  721. // this.zxzData = [];
  722. this.scroll_top = Math.random(); //回到顶部
  723. if (key === "待接单") {
  724. this.waitingOrders(0);
  725. } else if (key === "执行中") {
  726. this.executingOrders(0);
  727. }
  728. },
  729. // 进入详情页
  730. itemInfo(workOrder) {
  731. console.log(workOrder);
  732. uni.navigateTo({
  733. url: `../receipt_infopage/receipt_infopage?id=${workOrder.id}&associationTypeValue=${workOrder.taskType.associationType.value}`,
  734. });
  735. },
  736. //抢单后知道了
  737. know() {
  738. this.models.disjunctor = false;
  739. this.idx = 0;
  740. this.totalNum = -1;
  741. // this.zxzData = [];
  742. this.executingOrdersGetNum();
  743. this.waitingOrders(0); //seimin
  744. this.scroll_top = Math.random(); //回到顶部
  745. },
  746. //抢单确定
  747. ok() {
  748. this.models.disjunctor = false;
  749. get("/workerOrder/takeOrder/" + this.qdId.id).then((res) => {
  750. let msg = "接单失败";
  751. let icon = "error";
  752. if (res.status == 200) {
  753. msg = "接单成功";
  754. icon = "success";
  755. }
  756. this.models = {
  757. disjunctor: true,
  758. content: msg,
  759. icon: icon,
  760. operate: {
  761. know: "知道了",
  762. },
  763. };
  764. });
  765. },
  766. //抢单取消
  767. cancel() {
  768. this.models.disjunctor = false;
  769. },
  770. // 抢单
  771. showAlerts(data) {
  772. this.qdId = data;
  773. this.models = {
  774. disjunctor: true,
  775. title: "提示",
  776. content: "是否确定接单?",
  777. icon: "warn",
  778. operate: {
  779. ok: "确定",
  780. cancel: "取消",
  781. },
  782. };
  783. },
  784. //执行中列表数据获取
  785. executingOrders(idx) {
  786. console.log(this.zxzData.length, this.totalNum);
  787. if (this.zxzData.length == this.totalNum) {
  788. uni.showToast({
  789. icon: "none",
  790. title: "没有更多数据了!",
  791. });
  792. this.freshing = true;
  793. return;
  794. }
  795. let data = {
  796. idx,
  797. sum: 20,
  798. };
  799. if (this.arrayKey) {
  800. data.keyWord = this.arrayKey;
  801. } else {
  802. delete data.keyWord;
  803. }
  804. uni.showLoading({
  805. title: "加载中",
  806. mask: true,
  807. });
  808. post("/workerOrder/executingOrders", data).then((res) => {
  809. uni.hideLoading();
  810. if (res.status == 200) {
  811. this.triggered = false;
  812. this.freshing = true;
  813. this.totalNum = res.data.resultCount;
  814. if (idx === 0) {
  815. this.zxzData = res.data.data;
  816. } else {
  817. this.zxzData.push(...res.data.data);
  818. }
  819. this.tabs[1].num = res.data.resultCount;
  820. } else {
  821. uni.showToast({
  822. icon: "none",
  823. title: "请求失败!",
  824. });
  825. }
  826. });
  827. },
  828. //待抢单列表数据获取
  829. waitingOrders(idx) {
  830. if (this.zxzData.length == this.totalNum) {
  831. uni.showToast({
  832. icon: "none",
  833. title: "没有更多数据了!",
  834. });
  835. this.freshing = true;
  836. return;
  837. }
  838. let data = {
  839. idx,
  840. sum: 20,
  841. };
  842. uni.showLoading({
  843. title: "加载中",
  844. mask: true,
  845. });
  846. // 请求列表数据
  847. post("/workerOrder/waitingOrders", data).then((res) => {
  848. uni.hideLoading();
  849. if (res.status == 200) {
  850. this.triggered = false;
  851. this.freshing = true;
  852. this.totalNum = res.data.resultCount;
  853. if (idx === 0) {
  854. this.zxzData = res.data.data;
  855. } else {
  856. this.zxzData.push(...res.data.data);
  857. }
  858. this.tabs[0].num = res.data.resultCount;
  859. } else {
  860. uni.showToast({
  861. icon: "none",
  862. title: "请求失败!",
  863. });
  864. }
  865. });
  866. },
  867. //刷新
  868. refresherrefresh() {
  869. if (this.triggered) {
  870. return;
  871. }
  872. this.triggered = true;
  873. this.idx = 0;
  874. this.totalNum = -1;
  875. if (this.selectedLabelSlots == "待接单") {
  876. this.waitingOrders(0);
  877. } else if (this.selectedLabelSlots == "执行中") {
  878. this.executingOrders(0);
  879. }
  880. },
  881. // 滚动
  882. scroll(e) {
  883. if (e.detail.scrollTop < 20) {
  884. this.scroll_refresher_enabled = true;
  885. } else {
  886. this.scroll_refresher_enabled = false;
  887. }
  888. },
  889. // 下拉刷新复位
  890. refresherrestore() {
  891. this.triggered = false;
  892. console.log("下拉刷新复位");
  893. },
  894. //下拉刷新中止
  895. refresherabort() {
  896. this.triggered = false;
  897. console.log("下拉刷新中止");
  898. },
  899. //分页,上拉加载
  900. scrolltolower() {
  901. if (this.freshing) {
  902. this.freshing = false;
  903. if (this.selectedLabelSlots == "待接单") {
  904. this.waitingOrders(++this.idx);
  905. } else if (this.selectedLabelSlots == "执行中") {
  906. this.executingOrders(++this.idx);
  907. }
  908. }
  909. },
  910. // 执行中获取数字
  911. executingOrdersGetNum() {
  912. let data = {
  913. idx: 0,
  914. sum: 20,
  915. };
  916. if (this.arrayKey) {
  917. data.keyWord = this.arrayKey;
  918. } else {
  919. delete data.keyWord;
  920. }
  921. post("/workerOrder/executingOrders", data).then((res) => {
  922. if (res.status == 200) {
  923. this.tabs[1].num = res.data.resultCount;
  924. } else {
  925. uni.showToast({
  926. icon: "none",
  927. title: "请求失败!",
  928. });
  929. }
  930. });
  931. },
  932. // 待接单获取数字
  933. waitingOrdersGetNum() {
  934. let data = {
  935. idx: 0,
  936. sum: 20,
  937. };
  938. post("/workerOrder/waitingOrders", data).then((res) => {
  939. if (res.status == 200) {
  940. this.tabs[0].num = res.data.resultCount;
  941. } else {
  942. uni.showToast({
  943. icon: "none",
  944. title: "请求失败!",
  945. });
  946. }
  947. });
  948. },
  949. // 阻止浏览器滑动
  950. stop(e) {
  951. e.preventDefault();
  952. },
  953. },
  954. onLoad() {
  955. // 获取菜单权限
  956. this.getMenu();
  957. post("/auth/getUserWorkDept", {}).then((ress) => {
  958. if (ress.status == 200) {
  959. let userId = uni.getStorageSync("userData").user.id;
  960. let groupManager = ress.settings && ress.settings.groupManager; //当前工作组合选择的组
  961. let workType = ress.settings ? ress.settings.workType : -1; //1是综合,2是自主
  962. let ruleType = ress.settings ? ress.settings.ruleType : -1; //3是科室绑定人员,4是科室绑定分组,2是绑定分组
  963. if (workType == 2 && (ruleType == 3 || (ruleType == 4 && userId == groupManager.manager))) {
  964. //自选排班,科室绑定分组,当前登陆人是组长
  965. this.content.unshift({
  966. text: "负责科室",
  967. });
  968. }
  969. }
  970. });
  971. // let setDeptConfg = uni.getStorageSync("setDeptConfg");
  972. // let manager = uni.getStorageSync("manager");
  973. // let userId = uni.getStorageSync("userData").user.id;
  974. // console.log(setDeptConfg, manager, userId);
  975. // if (
  976. // setDeptConfg.workSchemeType == 2 &&
  977. // (setDeptConfg.ruleType == 3 ||
  978. // (setDeptConfg.ruleType == 4 && userId == manager))
  979. // ) {
  980. // //自选排班,科室绑定人员 || 科室绑定分组 && 组长是当前登陆人
  981. // this.content.unshift({
  982. // text: "负责科室",
  983. // });
  984. // }
  985. // #ifdef APP-PLUS
  986. // this.content.push({
  987. // text: "退出登录",
  988. // });
  989. // #endif
  990. this.selectedLabelSlots = "执行中";
  991. this.waitingOrdersGetNum();
  992. this.executingOrders(0);
  993. // #ifdef APP-PLUS
  994. webHandle("no", "app");
  995. // #endif
  996. // #ifdef H5
  997. webHandle("no", "wx");
  998. // #endif
  999. },
  1000. onShow() {
  1001. this.SMFlag = true;
  1002. // #ifdef H5
  1003. document.body.addEventListener("touchmove", this.stop, {
  1004. passive: false,
  1005. });
  1006. // #endif
  1007. },
  1008. onHide() {
  1009. // #ifdef H5
  1010. document.body.removeEventListener("touchmove", this.stop, {
  1011. passive: false,
  1012. });
  1013. // #endif
  1014. },
  1015. };
  1016. </script>
  1017. <style lang="less">
  1018. .Receiptpage {
  1019. width: 100%;
  1020. height: 100%;
  1021. position: relative;
  1022. .red {
  1023. color: red !important;
  1024. font-weight: bold !important;
  1025. }
  1026. .page_tab {
  1027. width: 100%;
  1028. height: 96rpx;
  1029. display: flex;
  1030. position: fixed;
  1031. left: 0;
  1032. top: 0;
  1033. z-index: 999;
  1034. .page_tab_bar {
  1035. flex: 1;
  1036. font-size: 36rpx;
  1037. background: #fff;
  1038. display: flex;
  1039. justify-content: center;
  1040. align-items: center;
  1041. position: relative;
  1042. &:after {
  1043. content: "";
  1044. position: absolute;
  1045. left: 0;
  1046. bottom: 0;
  1047. height: 2rpx;
  1048. width: 100%;
  1049. background-color: transparent;
  1050. }
  1051. .tab_num {
  1052. color: #ff3b53;
  1053. margin-left: 8rpx;
  1054. }
  1055. .more {
  1056. position: absolute;
  1057. right: 20rpx;
  1058. width: 40rpx;
  1059. height: 4rpx;
  1060. border-top: 2px solid #49b856;
  1061. border-bottom: 2px solid #49b856;
  1062. background-color: #49b856;
  1063. padding: 5px 0;
  1064. background-clip: content-box;
  1065. }
  1066. .more_picker {
  1067. position: absolute;
  1068. right: 0;
  1069. height: 100%;
  1070. opacity: 0;
  1071. }
  1072. &.active {
  1073. color: #49b856;
  1074. &:after {
  1075. background-color: #49b856;
  1076. }
  1077. }
  1078. }
  1079. }
  1080. .zwsj {
  1081. position: absolute;
  1082. left: 50%;
  1083. top: 180rpx;
  1084. transform: translateX(-50%);
  1085. .zwsj-img {
  1086. width: 560rpx;
  1087. }
  1088. .zwsj-txt {
  1089. font-size: 36rpx;
  1090. font-weight: 700;
  1091. margin-top: 20rpx;
  1092. text-align: center;
  1093. }
  1094. }
  1095. .page_items {
  1096. height: calc(100vh - 184rpx);
  1097. padding: 0 20rpx;
  1098. // padding-bottom: 88rpx;
  1099. padding-top: 96rpx;
  1100. .page_items_scroll {
  1101. height: 100%;
  1102. .page_item_wrap {
  1103. position: relative;
  1104. margin-bottom: 32rpx;
  1105. .page_item {
  1106. margin-bottom: 16rpx;
  1107. // min-height: 356rpx;
  1108. background: #fff;
  1109. border-radius: 8rpx;
  1110. overflow: hidden;
  1111. border: 2rpx solid #e5e9ed;
  1112. .L {
  1113. width: 40rpx;
  1114. height: 40rpx;
  1115. border-radius: 50%;
  1116. background: #f9fafb;
  1117. position: absolute;
  1118. left: -24rpx;
  1119. top: 68rpx;
  1120. border: 2rpx solid #e5e9ed;
  1121. }
  1122. .R {
  1123. width: 40rpx;
  1124. height: 40rpx;
  1125. border-radius: 50%;
  1126. background: #f9fafb;
  1127. position: absolute;
  1128. float: right;
  1129. right: -24rpx;
  1130. top: 68rpx;
  1131. border: 2rpx solid #e5e9ed;
  1132. }
  1133. .starting {
  1134. width: 40rpx;
  1135. height: 40rpx;
  1136. color: #fff;
  1137. background: #49b856;
  1138. display: inline-block;
  1139. border-radius: 50%;
  1140. text-align: center;
  1141. line-height: 40rpx;
  1142. font-size: 28rpx;
  1143. }
  1144. .End {
  1145. width: 40rpx;
  1146. height: 40rpx;
  1147. color: #fff;
  1148. background: #39b199;
  1149. display: inline-block;
  1150. border-radius: 50%;
  1151. text-align: center;
  1152. line-height: 40rpx;
  1153. font-size: 28rpx;
  1154. }
  1155. .page_item_top {
  1156. height: 86rpx;
  1157. border-bottom: 2rpx dashed #e5e9ed;
  1158. padding: 0 16rpx;
  1159. .page_item_top_L {
  1160. height: 100%;
  1161. float: left;
  1162. line-height: 88rpx;
  1163. display: flex;
  1164. align-items: center;
  1165. .emergencys {
  1166. background: #ff3b53 !important;
  1167. width: 124rpx !important;
  1168. }
  1169. .emergency {
  1170. background: #ff3b53 !important;
  1171. }
  1172. .emergency1 {
  1173. background: #49b856 !important;
  1174. }
  1175. .page_item_cont_start {
  1176. text-align: center;
  1177. height: 44rpx;
  1178. width: 104rpx;
  1179. line-height: 44rpx;
  1180. border-radius: 8rpx;
  1181. background: #49b856;
  1182. color: #fff;
  1183. .page_item_cont_start-img {
  1184. width: 22rpx;
  1185. position: relative;
  1186. top: 6rpx;
  1187. margin-right: 8rpx;
  1188. }
  1189. }
  1190. .L_iocn {
  1191. display: inline-block;
  1192. width: 44rpx;
  1193. height: 44rpx;
  1194. line-height: 42rpx;
  1195. border-radius: 100rpx;
  1196. color: #6cc076;
  1197. font-size: 32rpx;
  1198. border: 4rpx solid #6cc076;
  1199. background: #f0f6ed;
  1200. text-align: center;
  1201. margin-right: 8rpx;
  1202. }
  1203. .L_time {
  1204. color: #6cc076;
  1205. font-size: 32rpx;
  1206. }
  1207. .L_text {
  1208. font-size: 32rpx;
  1209. }
  1210. }
  1211. .page_item_top_R {
  1212. height: 100%;
  1213. float: right;
  1214. line-height: 88rpx;
  1215. font-size: 32rpx;
  1216. &.type {
  1217. margin-right: 32rpx;
  1218. color: red;
  1219. max-width: 260rpx;
  1220. white-space: nowrap;
  1221. text-overflow: ellipsis;
  1222. overflow: hidden;
  1223. }
  1224. .text_big{
  1225. font-weight: bold;
  1226. }
  1227. }
  1228. }
  1229. .page_item_cont {
  1230. min-height: 180rpx;
  1231. padding: 0 16rpx;
  1232. text-align: left;
  1233. position: relative;
  1234. display: flex;
  1235. flex-direction: column;
  1236. justify-content: space-between;
  1237. .text_big {
  1238. font-size: 32rpx;
  1239. margin-left: 10rpx;
  1240. font-weight: 700;
  1241. }
  1242. .line {
  1243. height: 100%;
  1244. width: 2rpx;
  1245. border-left: 2rpx solid #e5e9ed;
  1246. position: absolute;
  1247. // top: 70rpx;
  1248. top: 50%;
  1249. left: 20rpx;
  1250. transform: translateY(-50%);
  1251. }
  1252. .lines {
  1253. height: 40%;
  1254. width: 2rpx;
  1255. border-left: 2rpx solid #e5e9ed;
  1256. position: absolute;
  1257. top: 23%;
  1258. left: 36rpx;
  1259. }
  1260. .emergencys {
  1261. background: #ff3b53 !important;
  1262. width: 124rpx !important;
  1263. }
  1264. .emergency {
  1265. background: #ff3b53 !important;
  1266. }
  1267. .emergency1 {
  1268. background: #49b856 !important;
  1269. }
  1270. .page_item_cont_T {
  1271. // min-height: 80rpx;
  1272. // max-height: 324rpx;
  1273. font-size: 28rpx;
  1274. margin-top: 16rpx;
  1275. display: flex;
  1276. justify-content: space-between;
  1277. .page_item_cont_title {
  1278. height: 100%;
  1279. // float: left;
  1280. }
  1281. .page_item_cont_start {
  1282. text-align: center;
  1283. // float: right;
  1284. height: 44rpx;
  1285. width: 104rpx;
  1286. line-height: 44rpx;
  1287. border-radius: 8rpx;
  1288. background: #49b856;
  1289. color: #fff;
  1290. .page_item_cont_start-img {
  1291. width: 22rpx;
  1292. position: relative;
  1293. top: 6rpx;
  1294. margin-right: 8rpx;
  1295. }
  1296. }
  1297. }
  1298. .page_item_conts {
  1299. min-height: 30rpx;
  1300. color: rgb(102, 102, 102);
  1301. padding-left: 50rpx;
  1302. font-size: 28rpx;
  1303. margin: 16rpx 0;
  1304. position: relative;
  1305. view:not(.line) {
  1306. line-height: 1.2;
  1307. }
  1308. text {
  1309. color: #49b856;
  1310. }
  1311. }
  1312. .page_item_cont_B {
  1313. // padding-top: 20rpx;
  1314. font-size: 28rpx;
  1315. // overflow: hidden;
  1316. margin-bottom: 16rpx;
  1317. .page_item_cont_title {
  1318. height: 100%;
  1319. float: left;
  1320. }
  1321. }
  1322. }
  1323. .page_item_btn_wrap {
  1324. display: flex;
  1325. justify-content: space-between;
  1326. .page_item_btn {
  1327. height: 88rpx;
  1328. width: 49%;
  1329. background-image: linear-gradient(to right, #72c172, #3bb197);
  1330. border-radius: 8rpx;
  1331. line-height: 88rpx;
  1332. color: #fff;
  1333. font-size: 36rpx;
  1334. font-weight: 700;
  1335. text-align: center;
  1336. }
  1337. }
  1338. .page_item_btn {
  1339. height: 88rpx;
  1340. background-image: linear-gradient(to right, #72c172, #3bb197);
  1341. border-radius: 8rpx;
  1342. line-height: 88rpx;
  1343. color: #fff;
  1344. font-size: 36rpx;
  1345. font-weight: 700;
  1346. text-align: center;
  1347. }
  1348. }
  1349. .L-l {
  1350. width: 2rpx;
  1351. height: 40rpx;
  1352. background: #f9fafb;
  1353. position: absolute;
  1354. left: 20rpx;
  1355. top: 72rpx;
  1356. display: none;
  1357. }
  1358. .R-l {
  1359. width: 2rpx;
  1360. height: 40rpx;
  1361. background: #f9fafb;
  1362. position: absolute;
  1363. right: 20rpx;
  1364. top: 72rpx;
  1365. display: none;
  1366. }
  1367. }
  1368. }
  1369. }
  1370. .text {
  1371. font-size: 36rpx;
  1372. }
  1373. .wt_icon {
  1374. font-size: 40rpx;
  1375. }
  1376. }
  1377. </style>