receiptpage.vue 47 KB

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