patientInformationList.vue 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930
  1. <template>
  2. <view class="patientInformationList">
  3. <view class="page_tab">
  4. <view class="page_tab_bar active">
  5. <view class="tab_dept" @click="changeDept">
  6. {{ currenDept.dept}}
  7. <text class="newicon newicon-weibiaoti2010104"></text>
  8. </view>
  9. </view>
  10. <view class="search-box">
  11. <mSearch class="search" :mode="2" button="inside" placeholder="请输入关键字" @input="changeInp" v-model="keyword"></mSearch>
  12. </view>
  13. </view>
  14. <view v-if="zxzData.length == 0" class="zwsj">
  15. <image class="zwsj-img" mode="widthFix" src="../../static/img/zanwushuju.png"></image>
  16. <view class="zwsj-txt">暂无数据</view>
  17. </view>
  18. <view v-if="zxzData.length" class="page_items">
  19. <scroll-view class="page_items_scroll" scroll-y :refresher-enabled="scroll_refresher_enabled"
  20. :refresher-triggered="triggered" @refresherrefresh="refresherrefresh" @refresherrestore="refresherrestore"
  21. @scrolltolower="scrolltolower" :scroll-top="scroll_top" @refresherabort="refresherabort" @scroll="scroll"
  22. refresher-background="transport">
  23. <view class="page_item_wrap" v-for="(item, index) of zxzData" :key="index">
  24. <view class="page_item">
  25. <view class="page_item_top">
  26. <view class="page_item_top_L">
  27. <text class="circleRed" v-if="!item.tripTypeDTO"></text>{{ item.patientName }}({{ item.residenceNo }})({{ item.bedNum }})
  28. </view>
  29. <view class="send_wrap">
  30. <template v-if="item.gender || item.age !== undefined">
  31. {{item.gender ? item.gender.name: ''}} {{item.age !== undefined ? item.age + '岁': ''}}
  32. </template>
  33. <template v-else>--</template>
  34. </view>
  35. </view>
  36. <view class="page_item_cont">
  37. <view class="page_item_conts">
  38. <view class="page_item_conts_item">
  39. <view class="column">
  40. <text class="p_title">护理信息:</text>
  41. <text class="p_info">
  42. <text :class="{red:item.careLevel&&(item.careLevel.value==0||item.careLevel.value==1)}">{{item.careLevel ? item.careLevel.name : '' }}</text>(<text :class="{red:item.illnessState&&(item.illnessState.value==2||item.illnessState.value==3)}">{{item.illnessState ? item.illnessState.name : ''}}</text>)
  43. </text>
  44. </view>
  45. <view class="column">
  46. <text class="p_title">待检:</text>
  47. <text class="p_info">{{ item.watingCount }}</text>
  48. </view>
  49. </view>
  50. <view class="page_item_conts_item">
  51. <view class="column">
  52. <text class="p_title">陪检方式:</text>
  53. <text class="p_info">{{ item.tripTypeDTO ? item.tripTypeDTO.inspectMode : '' }}</text>
  54. </view>
  55. </view>
  56. <view class="page_item_conts_item">
  57. <view class="column">
  58. <text class="p_title">注意事项:</text>
  59. <text class="p_info">{{ item.remark }}</text>
  60. </view>
  61. </view>
  62. <view class="page_item_conts_item" v-if="item.inspects && item.inspects[0]">
  63. <view class="column">
  64. <text class="p_title">检查项目:</text>
  65. <text class="p_info">{{ item.inspects[0].inspectName }}-{{ item.inspects[0].inspectCode }}</text>
  66. </view>
  67. </view>
  68. <view class="page_item_conts_item" v-if="item.inspects && item.inspects[0]">
  69. <view class="column">
  70. <text class="p_title">检查科室:</text>
  71. <text class="p_info">
  72. <text>{{item.inspects[0].execDept ? item.inspects[0].execDept.dept : '' }}</text>
  73. </text>
  74. </view>
  75. <view class="column" style="flex-shrink: 0;margin-left: 40rpx;">
  76. <text class="p_info">{{ item.sortYytime | yyTimeFilter }}</text>
  77. </view>
  78. </view>
  79. </view>
  80. </view>
  81. <view class="page_item_btns">
  82. <view class="page_item_btn" hover-class="seimin-btn-hover" @click="itemInfo(item.patientCode)">患者详情</view>
  83. <view class="page_item_btn" hover-class="seimin-btn-hover" @click="scanDept(item)">送回病房</view>
  84. </view>
  85. </view>
  86. </view>
  87. </scroll-view>
  88. </view>
  89. <!-- 底部扫一扫 -->
  90. <bigScreen></bigScreen>
  91. <!-- 送回病房弹窗 -->
  92. <showModel :title="models1.title" :icon="models1.icon" :disjunctor="models1.disjunctor" :content="models1.content"
  93. :operate="models1.operate" @ok="ok1" @cancel="cancel1"></showModel>
  94. <!-- 送回病房建单弹窗 -->
  95. <showModel :title="models2.title" :icon="models2.icon" :disjunctor="models2.disjunctor" :content="models2.content"
  96. :operate="models2.operate" @ok="ok2" @cancel="cancel2"></showModel>
  97. <!-- 送回病房建单弹窗-扫描科室 -->
  98. <showModel :title="models3.title" :icon="models3.icon" :disjunctor="models3.disjunctor" :content="models3.content"
  99. :operate="models3.operate" @ok="ok3" @cancel="cancel3"></showModel>
  100. <!-- 弹窗 -->
  101. <showModel :title="models4.title" :icon="models4.icon" :disjunctor="models4.disjunctor"
  102. :radioInspectionDistanceItem="models4.radioInspectionDistanceItem" @ok="ok4" @cancel="cancel4"
  103. @radioChange="radioChange4" :operate="models4.operate">
  104. </showModel>
  105. </view>
  106. </template>
  107. <script>
  108. import mSearch from "@/components/mehaotian-search-revision/mehaotian-search-revision.vue";
  109. import bigScreen from "../../components/bigScreen/bigScreen.vue";
  110. import dayjs from 'dayjs';
  111. import debounce from 'lodash-es/debounce';
  112. import {
  113. get,
  114. post,
  115. SM,
  116. deleteIt,
  117. webHandle
  118. } from "../../http/http.js";
  119. export default {
  120. data() {
  121. return {
  122. keyword: '',
  123. selectRadio: [], //单选框选中的数据,第一项是qrcode,第二项是名称
  124. // 单选框弹窗model
  125. models4: {
  126. disjunctor: false,
  127. },
  128. SMFlag:true,
  129. hosId: uni.getStorageSync("userData").user.currentHospital.id,
  130. // 选中的患者项
  131. currentItem: {},
  132. // 送回病房弹窗model
  133. models1: {
  134. disjunctor: false,
  135. },
  136. // 送回病房建单弹窗model
  137. models2: {
  138. disjunctor: false,
  139. },
  140. // 送回病房建单弹窗model-扫描科室
  141. models3: {
  142. disjunctor: false,
  143. },
  144. scrollYY: 0, //滚动条滚动的距离
  145. options: {},
  146. // wechatFocusSwitch: 0,
  147. //当前登录人所属科室
  148. currenDept: {},
  149. // 抢单的id
  150. qdId: "",
  151. //列表数据
  152. zxzData: [],
  153. //分页页码
  154. idx: 0,
  155. // 列表项总数
  156. totalNum: -1,
  157. triggered: false, //下拉刷新状态
  158. freshing: false, //上拉加载开关
  159. scroll_top: 0, //距离顶部的距离
  160. scroll_refresher_enabled: true, //是否开启自定义下拉刷新
  161. currentStartDept: {}, //扫描的起点科室
  162. };
  163. },
  164. components: {
  165. bigScreen,
  166. mSearch,
  167. },
  168. filters: {
  169. // 自定义管道 yyTime
  170. yyTimeFilter: function(data) {
  171. if (data) {
  172. let nDate = null;
  173. if (typeof data == 'string') {
  174. let arr = data.split(/[-:\s]/);
  175. nDate = new Date(
  176. arr[0] - 0,
  177. arr[1] - 1,
  178. arr[2] - 0,
  179. arr[3] - 0,
  180. arr[4] - 0,
  181. 0
  182. );
  183. } else if (typeof data == 'number') {
  184. nDate = new Date(data);
  185. }
  186. const month = (nDate.getMonth() + 1).toString().padStart(2, 0);
  187. const date = nDate.getDate().toString().padStart(2, 0);
  188. const hour = nDate.getHours().toString().padStart(2, 0);
  189. const minute = nDate.getMinutes().toString().padStart(2, 0);
  190. return `${month}-${date} ${hour}:${minute}`;
  191. } else {
  192. return "";
  193. }
  194. }
  195. },
  196. methods: {
  197. handleSearch: debounce(function() {
  198. this.refresherrefresh();
  199. }, 500),
  200. //防抖搜索
  201. changeInp(event) {
  202. this.inputChange(event);
  203. },
  204. //监听输入
  205. inputChange(event) {
  206. this.keyword = event.detail ? event.detail.value : event;
  207. this.handleSearch();
  208. },
  209. // 获取是否需要选择陪检方式
  210. getInspectAndPatientTransformSend() {
  211. const postData = {
  212. "idx": 0,
  213. "sum": 1,
  214. "taskTypeConfig": {
  215. "taskTypeDTO": {
  216. "hosId": {
  217. "id": this.hosId
  218. },
  219. "associationType": {
  220. "key": "association_types",
  221. "value": "inspect",
  222. },
  223. },
  224. },
  225. };
  226. uni.showLoading({
  227. mask: true,
  228. title: '加载中'
  229. })
  230. post("/simple/data/fetchDataList/taskTypeConfig", postData).then((res) => {
  231. console.log(res)
  232. if (res.status == 200) {
  233. res.list = res.list || [];
  234. if (res.list[0] && res.list[0].signTypeIds) {
  235. // 如果开启
  236. const postData = {
  237. "idx": 0,
  238. "sum": 9999,
  239. "workOrderInspectScore": {
  240. "hosId": this.hosId,
  241. },
  242. };
  243. post("/simple/data/fetchDataList/workOrderInspectScore", postData).then((res) => {
  244. console.log(res)
  245. uni.hideLoading();
  246. if (res.status == 200) {
  247. res.list = res.list || [];
  248. let radioInspectionDistanceItem = res.list.map(v => ({
  249. id: v.id + "__" + v.inspectMode,
  250. inspectMode: v.inspectMode
  251. }));
  252. this.models4 = {
  253. disjunctor: true,
  254. title: "请选择陪检方式",
  255. radioInspectionDistanceItem,
  256. icon: "",
  257. operate: {
  258. ok: "确定",
  259. cancel: "取消",
  260. },
  261. };
  262. } else {
  263. uni.showToast({
  264. icon: "none",
  265. title: res.msg || "接口获取数据失败!",
  266. });
  267. }
  268. })
  269. } else {
  270. this.ok3Result();
  271. }
  272. } else {
  273. uni.hideLoading();
  274. uni.showToast({
  275. icon: "none",
  276. title: res.msg || "接口获取数据失败!",
  277. });
  278. }
  279. })
  280. },
  281. // 选中单选框
  282. radioChange4(item) {
  283. console.log(item);
  284. this.selectRadio = item.split("__");
  285. },
  286. // 确定
  287. ok4() {
  288. console.log(this.selectRadio);
  289. if (!this.selectRadio.length) {
  290. return;
  291. }
  292. this.models4.disjunctor = false;
  293. this.ok3Result();
  294. },
  295. cancel4() {
  296. this.models4.disjunctor = false;
  297. },
  298. ok2() {
  299. this.models2.disjunctor = false;
  300. this.getInspectAndPatientTransformSend();
  301. },
  302. cancel2() {
  303. this.models2.disjunctor = false;
  304. },
  305. ok3Result() {
  306. console.log(this.currentItem)
  307. uni.showLoading({
  308. mask: true,
  309. title: '加载中'
  310. })
  311. let userId = uni.getStorageSync("userData").user.id;
  312. let postData = {
  313. "workOrder": [{
  314. sourceId: 4,
  315. "hosId": this.hosId,
  316. "startDept": {
  317. "id": this.options.did || this.currentStartDept.id
  318. },
  319. "createDept": this.options.did || this.currentStartDept.id,
  320. "patient": {
  321. "patientCode": this.currentItem.patientCode
  322. },
  323. "worker": {
  324. "id": userId
  325. },
  326. }],
  327. "inspectMode": this.selectRadio.length > 0 ? this.selectRadio[0] : undefined,
  328. };
  329. console.log(postData);
  330. // return;
  331. post("/workerOrder/returnSickRoom", postData).then((res) => {
  332. uni.hideLoading();
  333. if (res.status == 200) {
  334. uni.showToast({
  335. icon: 'success',
  336. title: '建单成功',
  337. });
  338. } else {
  339. uni.showToast({
  340. icon: "none",
  341. title: res.msg || "接口获取数据失败!",
  342. });
  343. }
  344. })
  345. },
  346. ok3() {
  347. this.models3.disjunctor = false;
  348. this.getInspectAndPatientTransformSend();
  349. },
  350. cancel3() {
  351. this.models3.disjunctor = false;
  352. },
  353. // 送回病房-建单
  354. sendBuild() {
  355. let currentItem = JSON.parse(this.options.currentItem);
  356. this.models2 = {
  357. disjunctor: true,
  358. title: "提示",
  359. content: `您选择的起点科室为【${this.options.ddept}】,您将从【${this.options.ddept}】把【${currentItem.patientName}】送回【${this.options.dept}】,如您确认请点击“确认建单”。`,
  360. icon: "warn",
  361. operate: {
  362. ok: "确认建单",
  363. cancel: "取消",
  364. },
  365. };
  366. },
  367. // 送回病房-扫描科室
  368. scanDept(item) {
  369. console.log(item)
  370. if (!this.SMFlag) {
  371. return;
  372. }
  373. this.SMFlag = false;
  374. this.currentItem = item;
  375. let code = "";
  376. SM().then((ress1) => {
  377. uni.showLoading({
  378. title: "加载中",
  379. mask: true,
  380. });
  381. //检验二维码的有效性
  382. post("/dept/scanning", {
  383. content: ress1,
  384. }).then((result) => {
  385. this.SMFlag = true;
  386. if (result.state == 200 || result.state == 201) {
  387. let ress = result.code;
  388. if (ress) {
  389. code = ress;
  390. // 科室扫描
  391. let postData = {
  392. "type": "query",
  393. "qrCode": code
  394. };
  395. post("/dept/scanChangeDept", postData).then((res) => {
  396. uni.hideLoading();
  397. if (res.status == 200) {
  398. if (res.data) {
  399. if(res.data.deptDTO){
  400. this.currentStartDept = res.data.deptDTO;
  401. }else{
  402. this.currentStartDept = res.data;
  403. }
  404. this.models3 = {
  405. disjunctor: true,
  406. title: "提示",
  407. content: `您选择的起点科室为【${this.currentStartDept.dept}】,您将从【${this.currentStartDept.dept}】把【${this.currentItem.patientName}】送回【${this.currenDept.dept}】,如您确认请点击“确认建单”。`,
  408. icon: "warn",
  409. operate: {
  410. ok: "确认建单",
  411. cancel: "取消",
  412. },
  413. };
  414. } else {
  415. uni.hideLoading();
  416. uni.showToast({
  417. icon: "none",
  418. title: "请扫描正确的科室码!",
  419. });
  420. }
  421. } else {
  422. uni.hideLoading();
  423. uni.showToast({
  424. icon: "none",
  425. title: res.msg || "接口获取数据失败!",
  426. });
  427. }
  428. });
  429. }
  430. } else {
  431. uni.hideLoading();
  432. uni.showToast({
  433. icon: "none",
  434. title: result.info || "接口获取数据失败!",
  435. });
  436. }
  437. });
  438. }).catch(err=>{
  439. this.SMFlag = true;
  440. });
  441. },
  442. // 送回病房-选择起点科室
  443. sendBack(item) {
  444. console.log(item)
  445. this.currentItem = item;
  446. this.models1 = {
  447. disjunctor: true,
  448. title: "提示",
  449. content: `您好,您是要将【${item.patientName}】送回病房吗?如确认请您点击“选择起点科室”建立工单。`,
  450. icon: "warn",
  451. operate: {
  452. ok: "选择起点科室",
  453. cancel: "取消",
  454. },
  455. };
  456. },
  457. ok1() {
  458. this.models1.disjunctor = false;
  459. uni.navigateTo({
  460. url: `../search/search?type=sendBackPatientList&currentItem=${JSON.stringify(this.currentItem)}&cid=${this.currenDept.id}&cdept=${this.currenDept.dept}&scrollYY=${this.scrollYY}`,
  461. });
  462. },
  463. cancel1() {
  464. this.models1.disjunctor = false;
  465. },
  466. // 切换科室
  467. changeDept() {
  468. uni.navigateTo({
  469. url: `../search/search?type=patientInformationList`,
  470. });
  471. },
  472. // 进入详情页
  473. itemInfo(patientCode) {
  474. // #ifdef H5
  475. document.body.removeEventListener("touchmove", this.stop, {
  476. passive: false,
  477. });
  478. // #endif
  479. uni.navigateTo({
  480. url: `../patientInformationInfo/patientInformationInfo?patientCode=${patientCode}`,
  481. });
  482. },
  483. //患者列表数据获取
  484. waitingOrders(idx) {
  485. if (this.zxzData.length == this.totalNum) {
  486. uni.showToast({
  487. icon: "none",
  488. title: "没有更多数据了!",
  489. });
  490. this.freshing = true;
  491. return;
  492. }
  493. let data = {
  494. idx,
  495. sum: 99999,
  496. patient: {
  497. sortYytime: dayjs().format('YYYY-MM-DD HH:mm:ss'),
  498. keyWord: this.keyword || undefined,
  499. department: {
  500. id: this.currenDept.id,
  501. },
  502. },
  503. };
  504. uni.showLoading({
  505. title: "加载中",
  506. mask: true,
  507. });
  508. // 请求列表数据
  509. post("/nurse/fetchDataList/patient", data).then((res) => {
  510. uni.hideLoading();
  511. if (res.status == 200) {
  512. this.triggered = false;
  513. this.freshing = true;
  514. this.totalNum = res.totalNum;
  515. if (idx === 0) {
  516. this.zxzData = res.list;
  517. } else {
  518. this.zxzData.push(...res.list);
  519. }
  520. } else {
  521. uni.showToast({
  522. icon: "none",
  523. title: res.msg || "接口获取数据失败!",
  524. });
  525. }
  526. });
  527. },
  528. //刷新
  529. refresherrefresh() {
  530. if (this.triggered) {
  531. return;
  532. }
  533. console.log("下拉刷新");
  534. this.triggered = true;
  535. this.idx = 0;
  536. this.totalNum = -1;
  537. this.waitingOrders(0);
  538. },
  539. // 下拉刷新复位
  540. refresherrestore() {
  541. this.triggered = false;
  542. console.log("下拉刷新复位");
  543. },
  544. //下拉刷新中止
  545. refresherabort() {
  546. this.triggered = false;
  547. console.log("下拉刷新中止");
  548. },
  549. //分页,上拉加载
  550. scrolltolower() {
  551. if (this.freshing) {
  552. console.log("上拉加载");
  553. this.freshing = false;
  554. this.waitingOrders(++this.idx);
  555. }
  556. },
  557. // 滚动
  558. scroll(e) {
  559. this.scrollYY = e.detail.scrollTop;
  560. if (e.detail.scrollTop < 20) {
  561. this.scroll_refresher_enabled = true;
  562. } else {
  563. this.scroll_refresher_enabled = false;
  564. }
  565. },
  566. // 阻止浏览器滑动
  567. stop(e) {
  568. e.preventDefault();
  569. },
  570. },
  571. onLoad(options) {
  572. console.log(options);
  573. this.options = options;
  574. //滚动条位置设置
  575. if (options.scrollYY !== undefined) {
  576. this.scroll_top = options.scrollYY;
  577. }
  578. if (options.did && options.ddept && options.currentItem) {
  579. this.sendBuild();
  580. }
  581. let patientCurrentDept = uni.getStorageSync("patientCurrentDept");
  582. if (options.id && options.dept) {
  583. let {
  584. id,
  585. dept
  586. } = options;
  587. this.currenDept.id = id;
  588. this.currenDept.dept = dept;
  589. } else if (patientCurrentDept) {
  590. this.currenDept.id = patientCurrentDept.id;
  591. this.currenDept.dept = patientCurrentDept.dept;
  592. } else {
  593. this.currenDept = uni.getStorageSync("userData").user.dept;
  594. }
  595. // this.getWechatFocusSwitch();
  596. this.waitingOrders(0);
  597. // #ifdef APP-PLUS
  598. webHandle("no", "app");
  599. // #endif
  600. // #ifdef H5
  601. webHandle("no", "wx");
  602. // #endif
  603. },
  604. onShow() {
  605. this.SMFlag = true;
  606. // #ifdef H5
  607. document.body.addEventListener("touchmove", this.stop, {
  608. passive: false,
  609. });
  610. // #endif
  611. },
  612. onHide() {
  613. // #ifdef H5
  614. document.body.removeEventListener("touchmove", this.stop, {
  615. passive: false,
  616. });
  617. // #endif
  618. },
  619. };
  620. </script>
  621. <style lang="less" scoped>
  622. .toolbar {
  623. position: fixed;
  624. left: 0;
  625. bottom: var(--window-bottom);
  626. z-index: 99;
  627. width: 100%;
  628. display: flex;
  629. justify-content: center;
  630. align-items: center;
  631. box-sizing: border-box;
  632. border-radius: 4rpx;
  633. background-color: #E5E8ED;
  634. .toolbar-icon {
  635. font-size: 52rpx;
  636. margin-right: 16rpx;
  637. color: #49B856;
  638. }
  639. .toolbar-sao {
  640. font-size: 36rpx;
  641. color: #333;
  642. }
  643. }
  644. .column{
  645. display: flex!important;
  646. }
  647. .newicon-weibiaoti2010104 {
  648. font-size: 32rpx;
  649. padding-left: 5rpx;
  650. color: #8A8A8A;
  651. &.fz28{
  652. font-size: 28rpx;
  653. }
  654. }
  655. .patientInformationList {
  656. width: 100%;
  657. height: 100%;
  658. position: relative;
  659. .page_tab {
  660. width: 100%;
  661. height: 176rpx;
  662. position: fixed;
  663. left: 0;
  664. top: 0;
  665. z-index: 999;
  666. .search-box {
  667. background-color: rgb(242, 242, 242);
  668. .search{
  669. padding: 10rpx 24rpx;
  670. }
  671. }
  672. .page_tab_bar {
  673. height: 96rpx;
  674. flex: 1;
  675. font-size: 30rpx;
  676. background: #fff;
  677. display: flex;
  678. justify-content: center;
  679. align-items: center;
  680. position: relative;
  681. &:after {
  682. content: "";
  683. position: absolute;
  684. left: 0;
  685. bottom: 0;
  686. height: 8rpx;
  687. width: 100%;
  688. background-color: transparent;
  689. }
  690. .tab_dept {
  691. position: relative;
  692. .changeDept {
  693. white-space: nowrap;
  694. margin: 0;
  695. position: absolute;
  696. right: 0;
  697. top: 50%;
  698. transform: translate(105%, -50%);
  699. padding: 0 0.5em;
  700. line-height: 2;
  701. }
  702. }
  703. &.active {
  704. color: #49b856;
  705. &:after {
  706. background-color: #49b856;
  707. }
  708. }
  709. }
  710. }
  711. .zwsj {
  712. position: absolute;
  713. left: 50%;
  714. top: 180rpx;
  715. transform: translateX(-50%);
  716. .zwsj-img {
  717. width: 560rpx;
  718. }
  719. .zwsj-txt {
  720. font-size: 36rpx;
  721. font-weight: 700;
  722. margin-top: 20rpx;
  723. text-align: center;
  724. }
  725. }
  726. .page_items {
  727. height: calc(100vh - 164rpx - 80rpx);
  728. padding-top: 170rpx;
  729. .page_items_scroll {
  730. height: 100%;
  731. .page_item_wrap {
  732. position: relative;
  733. margin-top: 8rpx;
  734. &:last-of-type{
  735. padding-bottom: 24rpx;
  736. }
  737. .page_item {
  738. background: #fff;
  739. border-radius: 8rpx;
  740. overflow: hidden;
  741. border: 2rpx solid #e5e9ed;
  742. display: flex;
  743. flex-direction: column;
  744. padding-bottom: 16rpx;
  745. .L {
  746. width: 40rpx;
  747. height: 40rpx;
  748. border-radius: 50%;
  749. background: #f9fafb;
  750. position: absolute;
  751. left: -24rpx;
  752. top: 68rpx;
  753. border: 2rpx solid #e5e9ed;
  754. }
  755. .R {
  756. width: 40rpx;
  757. height: 40rpx;
  758. border-radius: 50%;
  759. background: #f9fafb;
  760. position: absolute;
  761. float: right;
  762. right: -24rpx;
  763. top: 68rpx;
  764. border: 2rpx solid #e5e9ed;
  765. }
  766. .page_item_top {
  767. height: 86rpx;
  768. border-bottom: 2rpx dashed #e5e9ed;
  769. padding: 0 16rpx;
  770. display: flex;
  771. align-items: center;
  772. justify-content: space-between;
  773. .send_wrap {
  774. display: flex;
  775. justify-content: space-between;
  776. align-items: center;
  777. font-size: 26rpx;
  778. color: #6A6A6A;
  779. }
  780. .sendBack {
  781. button {
  782. font-size: 28rpx;
  783. height: 52rpx;
  784. line-height: 52rpx;
  785. margin: 0;
  786. color: rgb(7, 134, 60);
  787. }
  788. }
  789. .page_item_top_L {
  790. height: 100%;
  791. float: left;
  792. display: flex;
  793. align-items: center;
  794. line-height: 88rpx;
  795. font-size: 30rpx;
  796. font-weight: bold;
  797. .circleRed{
  798. position: relative;
  799. margin-right: 8rpx;
  800. width: 16rpx;
  801. height: 16rpx;
  802. border-radius: 50%;
  803. background-color: red;
  804. }
  805. .L_time {
  806. color: #6cc076;
  807. font-size: 32rpx;
  808. }
  809. }
  810. .page_item_top_R {
  811. height: 40rpx;
  812. float: right;
  813. line-height: 40rpx;
  814. font-size: 24rpx;
  815. padding: 0 8rpx;
  816. background-color: red;
  817. color: #fff;
  818. }
  819. }
  820. .page_item_cont {
  821. padding: 0 32rpx;
  822. text-align: left;
  823. position: relative;
  824. .page_item_conts {
  825. color: rgb(102, 102, 102);
  826. font-size: 26rpx;
  827. .page_item_conts_item {
  828. margin-bottom: 16rpx;
  829. display: flex;
  830. justify-content: space-between;
  831. &:first-of-type{
  832. margin-top: 16rpx;
  833. }
  834. }
  835. .p_info {
  836. flex: 1;
  837. &.red {
  838. color: red;
  839. }
  840. }
  841. .num {
  842. float: right;
  843. }
  844. }
  845. }
  846. .page_item_btns{
  847. display: flex;
  848. justify-content: space-between;
  849. align-items: center;
  850. .page_item_btn {
  851. flex: 1;
  852. height: 72rpx;
  853. background-image: linear-gradient(to right, #72c172, #3bb197);
  854. border-radius: 8rpx;
  855. line-height: 72rpx;
  856. color: #fff;
  857. font-size: 36rpx;
  858. font-weight: 700;
  859. text-align: center;
  860. margin-right: 24rpx;
  861. &:first-of-type{
  862. margin-left: 24rpx;
  863. }
  864. }
  865. }
  866. }
  867. .L-l {
  868. width: 2rpx;
  869. height: 40rpx;
  870. background: #f9fafb;
  871. position: absolute;
  872. left: 20rpx;
  873. top: 72rpx;
  874. display: none;
  875. }
  876. .R-l {
  877. width: 2rpx;
  878. height: 40rpx;
  879. background: #f9fafb;
  880. position: absolute;
  881. right: 20rpx;
  882. top: 72rpx;
  883. display: none;
  884. }
  885. }
  886. }
  887. }
  888. }
  889. </style>