patientInformationList.vue 29 KB

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