patientInformationList.vue 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968
  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. e.yyEndTime = e.newTime +'--'+ e.newTime2
  549. }else{
  550. e.yyEndTime = e.newTime
  551. }
  552. })
  553. if (idx === 0) {
  554. this.zxzData = res.list;
  555. } else {
  556. this.zxzData.push(...res.list);
  557. }
  558. } else {
  559. uni.showToast({
  560. icon: "none",
  561. title: res.msg || "接口获取数据失败!",
  562. });
  563. }
  564. });
  565. },
  566. //刷新
  567. refresherrefresh() {
  568. if (this.triggered) {
  569. return;
  570. }
  571. console.log("下拉刷新");
  572. this.triggered = true;
  573. this.idx = 0;
  574. this.totalNum = -1;
  575. this.waitingOrders(0);
  576. },
  577. // 下拉刷新复位
  578. refresherrestore() {
  579. this.triggered = false;
  580. console.log("下拉刷新复位");
  581. },
  582. //下拉刷新中止
  583. refresherabort() {
  584. this.triggered = false;
  585. console.log("下拉刷新中止");
  586. },
  587. //分页,上拉加载
  588. scrolltolower() {
  589. if (this.freshing) {
  590. console.log("上拉加载");
  591. this.freshing = false;
  592. this.waitingOrders(++this.idx);
  593. }
  594. },
  595. // 滚动
  596. scroll(e) {
  597. this.scrollYY = e.detail.scrollTop;
  598. if (e.detail.scrollTop < 20) {
  599. this.scroll_refresher_enabled = true;
  600. } else {
  601. this.scroll_refresher_enabled = false;
  602. }
  603. },
  604. // 阻止浏览器滑动
  605. stop(e) {
  606. e.preventDefault();
  607. },
  608. },
  609. onLoad(options) {
  610. console.log(options);
  611. this.options = options;
  612. //滚动条位置设置
  613. if (options.scrollYY !== undefined) {
  614. this.scroll_top = options.scrollYY;
  615. }
  616. if (options.did && options.ddept && options.currentItem) {
  617. this.sendBuild();
  618. }
  619. let patientCurrentDept = uni.getStorageSync("patientCurrentDept");
  620. if (options.id && options.dept) {
  621. let {
  622. id,
  623. dept
  624. } = options;
  625. this.currenDept.id = id;
  626. this.currenDept.dept = dept;
  627. } else if (patientCurrentDept) {
  628. this.currenDept.id = patientCurrentDept.id;
  629. this.currenDept.dept = patientCurrentDept.dept;
  630. } else {
  631. this.currenDept = uni.getStorageSync("userData").user.dept;
  632. }
  633. // this.getWechatFocusSwitch();
  634. this.getInspectConfig();
  635. // #ifdef APP-PLUS
  636. webHandle("no", "app");
  637. // #endif
  638. // #ifdef H5
  639. webHandle("no", "wx");
  640. // #endif
  641. },
  642. onShow() {
  643. this.SMFlag = true;
  644. // #ifdef H5
  645. document.body.addEventListener("touchmove", this.stop, {
  646. passive: false,
  647. });
  648. // #endif
  649. },
  650. onHide() {
  651. // #ifdef H5
  652. document.body.removeEventListener("touchmove", this.stop, {
  653. passive: false,
  654. });
  655. // #endif
  656. },
  657. };
  658. </script>
  659. <style lang="less" scoped>
  660. .toolbar {
  661. position: fixed;
  662. left: 0;
  663. bottom: var(--window-bottom);
  664. z-index: 99;
  665. width: 100%;
  666. display: flex;
  667. justify-content: center;
  668. align-items: center;
  669. box-sizing: border-box;
  670. border-radius: 4rpx;
  671. background-color: #E5E8ED;
  672. .toolbar-icon {
  673. font-size: 52rpx;
  674. margin-right: 16rpx;
  675. color: #49B856;
  676. }
  677. .toolbar-sao {
  678. font-size: 36rpx;
  679. color: #333;
  680. }
  681. }
  682. .column{
  683. display: flex!important;
  684. }
  685. .newicon-weibiaoti2010104 {
  686. font-size: 32rpx;
  687. padding-left: 5rpx;
  688. color: #8A8A8A;
  689. &.fz28{
  690. font-size: 28rpx;
  691. }
  692. }
  693. .patientInformationList {
  694. width: 100%;
  695. height: 100%;
  696. position: relative;
  697. .page_tab {
  698. width: 100%;
  699. height: 176rpx;
  700. position: fixed;
  701. left: 0;
  702. top: 0;
  703. z-index: 999;
  704. .search-box {
  705. background-color: rgb(242, 242, 242);
  706. .search{
  707. padding: 10rpx 24rpx;
  708. }
  709. }
  710. .page_tab_bar {
  711. height: 96rpx;
  712. flex: 1;
  713. font-size: 30rpx;
  714. background: #fff;
  715. display: flex;
  716. justify-content: center;
  717. align-items: center;
  718. position: relative;
  719. &:after {
  720. content: "";
  721. position: absolute;
  722. left: 0;
  723. bottom: 0;
  724. height: 8rpx;
  725. width: 100%;
  726. background-color: transparent;
  727. }
  728. .tab_dept {
  729. position: relative;
  730. .changeDept {
  731. white-space: nowrap;
  732. margin: 0;
  733. position: absolute;
  734. right: 0;
  735. top: 50%;
  736. transform: translate(105%, -50%);
  737. padding: 0 0.5em;
  738. line-height: 2;
  739. }
  740. }
  741. &.active {
  742. color: #49b856;
  743. &:after {
  744. background-color: #49b856;
  745. }
  746. }
  747. }
  748. }
  749. .zwsj {
  750. position: absolute;
  751. left: 50%;
  752. top: 180rpx;
  753. transform: translateX(-50%);
  754. .zwsj-img {
  755. width: 560rpx;
  756. }
  757. .zwsj-txt {
  758. font-size: 36rpx;
  759. font-weight: 700;
  760. margin-top: 20rpx;
  761. text-align: center;
  762. }
  763. }
  764. .page_items {
  765. height: calc(100vh - 164rpx - 80rpx);
  766. padding-top: 170rpx;
  767. .page_items_scroll {
  768. height: 100%;
  769. .page_item_wrap {
  770. position: relative;
  771. margin-top: 8rpx;
  772. &:last-of-type{
  773. padding-bottom: 24rpx;
  774. }
  775. .page_item {
  776. background: #fff;
  777. border-radius: 8rpx;
  778. overflow: hidden;
  779. border: 2rpx solid #e5e9ed;
  780. display: flex;
  781. flex-direction: column;
  782. padding-bottom: 16rpx;
  783. .L {
  784. width: 40rpx;
  785. height: 40rpx;
  786. border-radius: 50%;
  787. background: #f9fafb;
  788. position: absolute;
  789. left: -24rpx;
  790. top: 68rpx;
  791. border: 2rpx solid #e5e9ed;
  792. }
  793. .R {
  794. width: 40rpx;
  795. height: 40rpx;
  796. border-radius: 50%;
  797. background: #f9fafb;
  798. position: absolute;
  799. float: right;
  800. right: -24rpx;
  801. top: 68rpx;
  802. border: 2rpx solid #e5e9ed;
  803. }
  804. .page_item_top {
  805. height: 86rpx;
  806. border-bottom: 2rpx dashed #e5e9ed;
  807. padding: 0 16rpx;
  808. display: flex;
  809. align-items: center;
  810. justify-content: space-between;
  811. .send_wrap {
  812. display: flex;
  813. justify-content: space-between;
  814. align-items: center;
  815. font-size: 26rpx;
  816. color: #6A6A6A;
  817. }
  818. .sendBack {
  819. button {
  820. font-size: 28rpx;
  821. height: 52rpx;
  822. line-height: 52rpx;
  823. margin: 0;
  824. color: rgb(7, 134, 60);
  825. }
  826. }
  827. .page_item_top_L {
  828. height: 100%;
  829. float: left;
  830. display: flex;
  831. align-items: center;
  832. line-height: 88rpx;
  833. font-size: 30rpx;
  834. font-weight: bold;
  835. .circleRed{
  836. position: relative;
  837. margin-right: 8rpx;
  838. width: 16rpx;
  839. height: 16rpx;
  840. border-radius: 50%;
  841. background-color: red;
  842. }
  843. .L_time {
  844. color: #6cc076;
  845. font-size: 32rpx;
  846. }
  847. }
  848. .page_item_top_R {
  849. height: 40rpx;
  850. float: right;
  851. line-height: 40rpx;
  852. font-size: 24rpx;
  853. padding: 0 8rpx;
  854. background-color: red;
  855. color: #fff;
  856. }
  857. }
  858. .page_item_cont {
  859. padding: 0 32rpx;
  860. text-align: left;
  861. position: relative;
  862. .page_item_conts {
  863. color: rgb(102, 102, 102);
  864. font-size: 26rpx;
  865. .page_item_conts_item {
  866. margin-bottom: 16rpx;
  867. display: flex;
  868. justify-content: space-between;
  869. &:first-of-type{
  870. margin-top: 16rpx;
  871. }
  872. }
  873. .p_info {
  874. flex: 1;
  875. &.red {
  876. color: red;
  877. }
  878. }
  879. .num {
  880. float: right;
  881. }
  882. }
  883. }
  884. .page_item_btns{
  885. display: flex;
  886. justify-content: space-between;
  887. align-items: center;
  888. .page_item_btn {
  889. flex: 1;
  890. height: 72rpx;
  891. background-image: linear-gradient(to right, #72c172, #3bb197);
  892. border-radius: 8rpx;
  893. line-height: 72rpx;
  894. color: #fff;
  895. font-size: 36rpx;
  896. font-weight: 700;
  897. text-align: center;
  898. margin-right: 24rpx;
  899. &:first-of-type{
  900. margin-left: 24rpx;
  901. }
  902. }
  903. }
  904. }
  905. .L-l {
  906. width: 2rpx;
  907. height: 40rpx;
  908. background: #f9fafb;
  909. position: absolute;
  910. left: 20rpx;
  911. top: 72rpx;
  912. display: none;
  913. }
  914. .R-l {
  915. width: 2rpx;
  916. height: 40rpx;
  917. background: #f9fafb;
  918. position: absolute;
  919. right: 20rpx;
  920. top: 72rpx;
  921. display: none;
  922. }
  923. }
  924. }
  925. }
  926. }
  927. </style>