index.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804
  1. <template>
  2. <view class="index">
  3. <view class="arc_edge"></view>
  4. <view class="index_container">
  5. <!-- 头部搜索 -->
  6. <view class="search">
  7. <view class="search_wrap">
  8. <input focus placeholder="请输入标本编码/检查单号/请…" :placeholder-style="placeholderStyle" confirm-type="search"
  9. v-model="searchText" />
  10. <view class="searchBtn"> 搜索 </view>
  11. </view>
  12. <view class="icon-saoma">
  13. <text class="pda pda-saoma"></text>
  14. </view>
  15. </view>
  16. <!-- 通告栏 -->
  17. <uni-notice-bar :speed="20" scrollable single showIcon :text="updateTipsForNurses" background-color="#fff"
  18. color="#666">
  19. </uni-notice-bar>
  20. <!-- 一键收标本 -->
  21. <view class="collect_specimens">
  22. <view class="collect_icon"></view>
  23. <view class="collect_specimensNum">
  24. <view class="urgent collect_row" @click="gotoSpecimenList('urgent')">
  25. 急标数量<text class="collect_num">{{
  26. urgentNum | specimenNum
  27. }}</text>
  28. </view>
  29. <view class="ordinary collect_row" @click="gotoSpecimenList('ordinary')">
  30. 普标数量<text class="collect_num">{{
  31. ordinaryNum | specimenNum
  32. }}</text>
  33. </view>
  34. </view>
  35. <button class="collect_btn" type="default" @click="collectSpecimens">
  36. {{ specimenButton }}
  37. </button>
  38. </view>
  39. <!-- 最新工单 -->
  40. <view class="newOrders">
  41. <view class="newOrders_header">
  42. <text class="newOrders_header_title">最新工单</text>
  43. <text class="newOrders_header_more" @click="goToMore">更多&gt;&gt;</text>
  44. </view>
  45. <view class="newOrders_item" v-for="newOrder in newOrderList" :key="newOrder.id" @click="toDetail(newOrder.id)">
  46. <image class="ji" src="../../static/imgs/icon_ji.png" mode="widthFix"
  47. v-if="newOrder.emergencyType && newOrder.emergencyType.value == 2"></image>
  48. <image class="jiaji" src="../../static/imgs/icon_jiaji.png" mode="widthFix"
  49. v-if="newOrder.emergencyType && newOrder.emergencyType.value == 3"></image>
  50. <view class="newOrders_item_time" v-if="newOrder.showCreateTime">{{ newOrder.showCreateTime }}</view>
  51. <view class="newOrders_item_time" v-else-if="newOrder.yyjdTime && newOrder.gdState.value == 11">
  52. {{newOrder.yyjdTime | formatDate('MM-dd HH:mm')}}
  53. </view>
  54. <text class="newOrders_item_taskType">{{
  55. newOrder.isHalfInspect === 1
  56. ? "半程陪检"
  57. : newOrder.taskType && newOrder.taskType.taskName
  58. }}</text>
  59. <text class="newOrders_item_patientName">{{
  60. newOrder.patient && newOrder.patient.patientName
  61. }}</text>
  62. <text class="newOrders_item_status"
  63. :class="newOrder.stateTextClass">{{ newOrder.gdState && newOrder.gdState.name }}</text>
  64. </view>
  65. </view>
  66. <!-- 快捷工单 -->
  67. <view class="quick_other">
  68. <view class="quick_other_header">
  69. <text class="quick_other_header_title">快捷工单</text>
  70. </view>
  71. <view class="quick_other_container">
  72. <view class="quick_other_container_item" v-for="quickOther in quickOtherList" :key="quickOther.id">
  73. <view class="quick_other_container_item_text" @click="quickOrderOther(quickOther)">
  74. {{ quickOther.taskName }}
  75. </view>
  76. </view>
  77. </view>
  78. </view>
  79. </view>
  80. <seiminFooterNav></seiminFooterNav>
  81. <seiminModel ref="seiminModel"></seiminModel>
  82. <seiminPicker ref="sPicker" :title="pickerTitle" titleColor="#808080" titleFontSize="28rpx" confirmColor="#333"
  83. confirmFontSize="38rpx" confirmFontWeight="500" itemFontSize="32rpx" @onClose="closePicker"
  84. @onConfirm="confirmPicker" :pickerList="hospitalList">
  85. </seiminPicker>
  86. </view>
  87. </template>
  88. <script>
  89. import {
  90. mapState,
  91. mapMutations,
  92. mapActions
  93. } from "vuex";
  94. import {
  95. reqSpecimenWorkOrderMsg,
  96. reqDeptTaskType,
  97. reqFetchDataList,
  98. } from "../../request/api.js";
  99. import {
  100. GDSTATE
  101. } from "../../utils/enum.gdstate.js";
  102. import {
  103. ASSOCIATION_TYPES
  104. } from "../../utils/enum.association_types.js";
  105. export default {
  106. watch: {
  107. // 首页搜索内容
  108. searchText(newVal) {
  109. uni.navigateTo({
  110. url: `/pages/search/search?txt=${newVal}`
  111. })
  112. }
  113. },
  114. data() {
  115. return {
  116. searchText: '', //首页搜索内容
  117. placeholderStyle: "color:#999;font-size:30rpx;line-height:66rpx;",
  118. urgentNum: 0, //急标数量
  119. ordinaryNum: 0, //普标数量
  120. newOrderList: [], //最新工单列表
  121. quickOtherList: [], //快捷工单列表
  122. hospitalList: [], //当前用户权限中的院区列表
  123. pickerTitle: "", //选择院区picker的title
  124. specimenTaskTypeId: undefined, //标本任务类型id
  125. };
  126. },
  127. computed: {
  128. ...mapState("login", ["loginInfo"]),
  129. ...mapState('other', [
  130. "isShowSeiminModel",
  131. "deptDisplay",
  132. "specimenButton",
  133. "updateTipsForNurses",
  134. ]),
  135. },
  136. methods: {
  137. ...mapMutations('other', [
  138. "changeSeiminModel",
  139. "changeQucikCreateOrderType",
  140. "changeDeptDisplay",
  141. "changeUpdateTipsForNurses",
  142. "changeSpecimenButton",
  143. "changeNurseDeptSwitchTip",
  144. "changeSearchDeptParams",
  145. ]),
  146. ...mapActions('system', ["vxSystem"]),
  147. // 前往标本列表
  148. gotoSpecimenList(type) {
  149. uni.navigateTo({
  150. url: `/pages/specimenList/specimenList?urgent=${type==='urgent'?1:0}`
  151. })
  152. },
  153. // 前往工单详情
  154. toDetail(id) {
  155. uni.navigateTo({
  156. url: `/pages/orderDetail/orderDetail?id=${id}`
  157. })
  158. },
  159. // 跳转到工单列表页面
  160. goToMore() {
  161. uni.navigateTo({
  162. url: '/pages/orderList/orderList'
  163. })
  164. },
  165. // 获取页面数据
  166. init() {
  167. uni.showLoading({
  168. title: "加载中",
  169. mask: true,
  170. });
  171. Promise.all([
  172. this.querySpecimenNumRequest(), //查询急标和普标数量
  173. this.queryWorkOrdersRequest(), //查询最新工单列表
  174. this.queryDeptTaskTypeRequest(), //查询快捷工单(其他临床服务任务类型)
  175. this.queryDeptDisplayRequest(), //护士端科室显示选择(名称还是别名)
  176. this.queryUpdateTipsForNursesRequest(), //护士端更新提示
  177. this.querySpecimenButtonRequest(), //标本按钮文字
  178. this.queryNurseDeptSwitchTipRequest(), //护士科室切换提示自动关闭设置
  179. ]).then((values) => {
  180. uni.hideLoading();
  181. uni.stopPullDownRefresh();
  182. this.querySpecimenNumResponse(values[0]);
  183. this.queryWorkOrdersResponse(values[1]);
  184. this.queryDeptTaskTypeResponse(values[2]);
  185. this.queryDeptDisplayResponse(values[3]);
  186. this.queryUpdateTipsForNursesResponse(values[4]);
  187. this.querySpecimenButtonResponse(values[5]);
  188. this.queryNurseDeptSwitchTipResponse(values[6]);
  189. if (this.isShowSeiminModel) {
  190. this.showDeptModel();
  191. this.changeSeiminModel(false);
  192. }
  193. });
  194. },
  195. // 查询急标和普标数量
  196. querySpecimenNumRequest() {
  197. return reqSpecimenWorkOrderMsg({
  198. deptId: this.loginInfo.user.dept.id,
  199. });
  200. },
  201. // 查询急标和普标数量
  202. querySpecimenNumResponse(res) {
  203. if (res.status == 200) {
  204. if (res.specimenCount) {
  205. this.urgentNum = res.specimenCount.urgent;
  206. }
  207. if (res.specimenCount) {
  208. this.ordinaryNum = res.specimenCount.noUrgent;
  209. }
  210. } else {
  211. this.$refs.seiminModel.show({
  212. skin: "toast",
  213. icon: "error",
  214. content: res.msg || "获取数据失败",
  215. });
  216. throw new Error(res.msg || '获取数据失败');
  217. }
  218. },
  219. // 查询最新工单列表
  220. queryWorkOrdersRequest() {
  221. return reqFetchDataList("nurse", "workOrder", {
  222. workOrder: {
  223. createDept: this.loginInfo.user.dept.id,
  224. platform: 2,
  225. searchDays: 2,
  226. },
  227. idx: 0,
  228. sum: 5,
  229. });
  230. },
  231. // 查询最新工单列表
  232. queryWorkOrdersResponse(res) {
  233. if (res.status == 200) {
  234. res.list = res.list || [];
  235. this.newOrderList = res.list.map((v) => {
  236. if (v.gdState) {
  237. if (
  238. v.gdState.value == GDSTATE["待接单"] ||
  239. v.gdState.value == GDSTATE["待抢单"]
  240. ) {
  241. v.stateTextClass = "red";
  242. } else if (
  243. v.gdState.value == GDSTATE["待评价"] ||
  244. v.gdState.value == GDSTATE["已完成"]
  245. ) {
  246. v.stateTextClass = "green";
  247. } else {
  248. v.stateTextClass = "yellow";
  249. }
  250. }
  251. return v;
  252. });
  253. } else {
  254. this.$refs.seiminModel.show({
  255. skin: "toast",
  256. icon: "error",
  257. content: res.msg || "获取数据失败",
  258. });
  259. throw new Error(res.msg || '获取数据失败');
  260. }
  261. },
  262. // 查询快捷工单(其他临床服务任务类型)
  263. queryDeptTaskTypeRequest() {
  264. return reqDeptTaskType({
  265. deptId: this.loginInfo.user.dept.id,
  266. });
  267. },
  268. // 查询快捷工单(其他临床服务,标本)
  269. queryDeptTaskTypeResponse(res) {
  270. if (res.status == 200) {
  271. res.data = res.data || {};
  272. res.data.allTaskTypes = res.data.allTaskTypes || [];
  273. this.quickOtherList = res.data.allTaskTypes.filter(
  274. (v) => v.associationType ? v.associationType.value == ASSOCIATION_TYPES["其他临床服务"] : false
  275. );
  276. let specimenTaskType = res.data.allTaskTypes.find(
  277. (v) => v.associationType ? v.associationType.value == ASSOCIATION_TYPES["临时标本业务"] : false
  278. );
  279. this.specimenTaskTypeId = specimenTaskType && specimenTaskType.id;
  280. } else {
  281. this.$refs.seiminModel.show({
  282. skin: "toast",
  283. icon: "error",
  284. content: res.msg || "获取数据失败",
  285. });
  286. throw new Error(res.msg || '获取数据失败');
  287. }
  288. },
  289. // 护士端科室显示选择(名称还是别名)
  290. queryDeptDisplayRequest() {
  291. return this.vxSystem({
  292. idx: 0,
  293. sum: 1,
  294. systemConfiguration: {
  295. keyconfig: "deptDisplay",
  296. },
  297. });
  298. },
  299. // 护士端科室显示选择(名称还是别名)
  300. queryDeptDisplayResponse(res) {
  301. if (res.status == 200) {
  302. res.list = res.list || [];
  303. res.list[0] = res.list[0] || {};
  304. if (!res.list[0].id) {
  305. this.$refs.seiminModel.show({
  306. skin: "toast",
  307. icon: "error",
  308. content: "无法获取到【护士端科室显示选择】配置,请前往配置",
  309. });
  310. throw new Error('无法获取到【护士端科室显示选择】配置,请前往配置');
  311. }
  312. this.changeDeptDisplay(res.list[0].valueconfig);
  313. } else {
  314. this.$refs.seiminModel.show({
  315. skin: "toast",
  316. icon: "error",
  317. content: res.msg || "无法获取到【护士端科室显示选择】配置,请前往配置",
  318. });
  319. throw new Error(res.msg || '无法获取到【护士端科室显示选择】配置,请前往配置');
  320. }
  321. },
  322. // 护士端更新提示
  323. queryUpdateTipsForNursesRequest() {
  324. return this.vxSystem({
  325. idx: 0,
  326. sum: 1,
  327. systemConfiguration: {
  328. keyconfig: "updateTipsForNurses",
  329. },
  330. });
  331. },
  332. // 护士端更新提示
  333. queryUpdateTipsForNursesResponse(res) {
  334. if (res.status == 200) {
  335. res.list = res.list || [];
  336. res.list[0] = res.list[0] || {};
  337. if (!res.list[0].id) {
  338. this.$refs.seiminModel.show({
  339. skin: "toast",
  340. icon: "error",
  341. content: "无法获取到【护士端更新提示】配置,请前往配置",
  342. });
  343. throw new Error('无法获取到【护士端更新提示】配置,请前往配置');
  344. }
  345. this.changeUpdateTipsForNurses(res.list[0].valueconfig);
  346. } else {
  347. this.$refs.seiminModel.show({
  348. skin: "toast",
  349. icon: "error",
  350. content: res.msg || "无法获取到【护士端更新提示】配置,请前往配置",
  351. });
  352. throw new Error(res.msg || '无法获取到【护士端更新提示】配置,请前往配置');
  353. }
  354. },
  355. // 标本按钮文字
  356. querySpecimenButtonRequest() {
  357. return this.vxSystem({
  358. idx: 0,
  359. sum: 1,
  360. systemConfiguration: {
  361. keyconfig: "specimenButton",
  362. },
  363. });
  364. },
  365. // 标本按钮文字
  366. querySpecimenButtonResponse(res) {
  367. if (res.status == 200) {
  368. res.list = res.list || [];
  369. res.list[0] = res.list[0] || {};
  370. if (!res.list[0].id) {
  371. this.$refs.seiminModel.show({
  372. skin: "toast",
  373. icon: "error",
  374. content: "无法获取到【标本按钮文字】配置,请前往配置",
  375. });
  376. throw new Error('无法获取到【标本按钮文字】配置,请前往配置');
  377. }
  378. this.changeSpecimenButton(res.list[0].valueconfig);
  379. } else {
  380. this.$refs.seiminModel.show({
  381. skin: "toast",
  382. icon: "error",
  383. content: res.msg || "无法获取到【标本按钮文字】配置,请前往配置",
  384. });
  385. throw new Error(res.msg || '无法获取到【标本按钮文字】配置,请前往配置');
  386. }
  387. },
  388. // 护士科室切换提示自动关闭设置
  389. queryNurseDeptSwitchTipRequest() {
  390. return this.vxSystem({
  391. idx: 0,
  392. sum: 1,
  393. systemConfiguration: {
  394. keyconfig: "nurseDeptSwitchTip",
  395. },
  396. });
  397. },
  398. // 护士科室切换提示自动关闭设置
  399. queryNurseDeptSwitchTipResponse(res) {
  400. if (res.status == 200) {
  401. res.list = res.list || [];
  402. res.list[0] = res.list[0] || {};
  403. if (!res.list[0].id) {
  404. this.$refs.seiminModel.show({
  405. skin: "toast",
  406. icon: "error",
  407. content: "无法获取到【护士科室切换提示自动关闭设置】配置,请前往配置",
  408. });
  409. throw new Error('无法获取到【护士科室切换提示自动关闭设置】配置,请前往配置');
  410. }
  411. this.changeNurseDeptSwitchTip(res.list[0].valueconfig);
  412. } else {
  413. this.$refs.seiminModel.show({
  414. skin: "toast",
  415. icon: "error",
  416. content: res.msg || "无法获取到【护士科室切换提示自动关闭设置】配置,请前往配置",
  417. });
  418. throw new Error(res.msg || '无法获取到【护士科室切换提示自动关闭设置】配置,请前往配置');
  419. }
  420. },
  421. // 一键收取标本
  422. collectSpecimens() {
  423. if (!this.specimenTaskTypeId) {
  424. this.$refs.seiminModel.show({
  425. skin: "toast",
  426. icon: "error",
  427. content: "无法获取到临时标本业务",
  428. });
  429. throw new Error('无法获取到标本任务类型id');
  430. }
  431. this.changeQucikCreateOrderType({
  432. type: "specimen",
  433. taskTypeId: this.specimenTaskTypeId,
  434. });
  435. uni.navigateTo({
  436. url: "/pages/quickCreateOrder/quickCreateOrder",
  437. });
  438. },
  439. //其他临床服务快捷建单
  440. quickOrderOther(quickOther) {
  441. this.changeQucikCreateOrderType({
  442. type: "other",
  443. taskTypeId: quickOther.id,
  444. });
  445. uni.navigateTo({
  446. url: "/pages/quickCreateOrder/quickCreateOrder",
  447. });
  448. },
  449. // 切换科室弹窗
  450. showDeptModel() {
  451. const {
  452. user, //当前登录用户
  453. } = this.loginInfo;
  454. const userDept =
  455. user && user.dept ?
  456. this.deptDisplay == 1 ?
  457. user.dept.dept :
  458. user.dept.deptalias :
  459. "";
  460. this.$refs.seiminModel.showChangeDept({
  461. content: `您当前所属科室为<text class="green">${userDept}</text>,如与您实际科室不符点击<text class="red">切换科室</text>。`,
  462. btns: [{
  463. name: "知道了",
  464. textColor: "#49B856",
  465. flex: 2,
  466. },
  467. {
  468. name: "前往切换科室",
  469. textColor: "#666",
  470. flex: 3,
  471. click: (e) => {
  472. this.$refs.seiminModel.close();
  473. this.openPicker();
  474. },
  475. },
  476. ],
  477. });
  478. },
  479. //关闭
  480. closePicker() {
  481. this.$refs.sPicker._close();
  482. },
  483. //打开
  484. openPicker() {
  485. this.$refs.sPicker._open();
  486. let index = this.hospitalList.findIndex(v => v.value == this.loginInfo.user.currentHospital.id);
  487. this.$refs.sPicker._changeValue(index);
  488. },
  489. //确定:接收子组件传来的参数
  490. confirmPicker(checkedObj) {
  491. this.changeSearchDeptParams({
  492. backUrl: "/pages/index/index", //返回的url
  493. type: "changeDept_index", //首页切换科室
  494. hospital: checkedObj, //先选择院区
  495. });
  496. uni.navigateTo({
  497. url: "/pages/searchDept/searchDept",
  498. });
  499. },
  500. },
  501. mounted() {
  502. //选择院区picker的title
  503. this.pickerTitle = `您当前所属科室为<b class="green">${this.loginInfo.user.dept.dept}</b>,请您先选择院区`;
  504. //权限中的院区修改数据结构
  505. this.hospitalList = this.loginInfo.infoPermission.hospitals.map((v) => ({
  506. value: v.id,
  507. label: v.hosName,
  508. }));
  509. this.init();
  510. },
  511. onPullDownRefresh() {
  512. this.init();
  513. },
  514. };
  515. </script>
  516. <style lang="scss" scoped>
  517. .index {
  518. padding-bottom: 108rpx;
  519. // 弧形背景
  520. .arc_edge {
  521. @include arc_edge(220rpx);
  522. }
  523. .index_container {
  524. padding: 0 24rpx;
  525. position: relative;
  526. z-index: 2;
  527. // 搜素框
  528. .search {
  529. height: 66rpx;
  530. margin-top: -200rpx;
  531. @include flex(space-between, center);
  532. .search_wrap {
  533. width: 600rpx;
  534. height: 100%;
  535. border-radius: 33rpx;
  536. background-color: #fff;
  537. position: relative;
  538. input {
  539. height: 100%;
  540. padding-left: 33rpx;
  541. padding-right: 147rpx;
  542. }
  543. .searchBtn {
  544. position: absolute;
  545. right: 0;
  546. top: 50%;
  547. transform: translateY(-50%);
  548. line-height: 1em;
  549. color: #666;
  550. font-size: 32rpx;
  551. width: 110rpx;
  552. text-align: center;
  553. padding: 6rpx 0;
  554. @include border(left);
  555. }
  556. }
  557. .icon-saoma {
  558. width: 66rpx;
  559. height: 66rpx;
  560. background-color: #bee1a7;
  561. border-radius: 50%;
  562. color: $defaultColor;
  563. @include flex(center, center);
  564. }
  565. }
  566. // 通告栏
  567. .uni-noticebar {
  568. height: 88rpx;
  569. margin-top: 24rpx;
  570. margin-bottom: 0;
  571. @include border;
  572. }
  573. // 一键收标本
  574. .collect_specimens {
  575. width: 702rpx;
  576. height: 176rpx;
  577. background-color: #fff;
  578. margin-top: 8rpx;
  579. border-radius: 8rpx;
  580. // box-shadow: 0 0 7rpx 0 rgba(73, 184, 86, 0.09);
  581. position: relative;
  582. @include border;
  583. @include flex(center, center);
  584. @include semicircle(#f9fafb);
  585. .collect_icon {
  586. width: 48rpx;
  587. height: 48rpx;
  588. border-radius: 50%;
  589. background-color: rgba(57, 177, 153, 0.3);
  590. font-size: 24rpx;
  591. color: #39b199;
  592. @include border($color:#39b199);
  593. @include flex(center, center);
  594. }
  595. .collect_specimensNum {
  596. margin: 0 35rpx;
  597. width: 277rpx;
  598. font-size: 34rpx;
  599. color: #666;
  600. .collect_num {
  601. font-size: 46rpx;
  602. font-weight: 600;
  603. color: #333;
  604. margin-left: 16rpx;
  605. }
  606. .collect_row {
  607. height: 88rpx;
  608. @include border($directive:bottom, $style:dashed);
  609. @include flex(flex-start, center);
  610. &:last-of-type {
  611. border-bottom: none;
  612. }
  613. }
  614. }
  615. .collect_btn {
  616. margin: 0;
  617. width: 224rpx;
  618. height: 88rpx;
  619. background: linear-gradient(90deg, #74c271 0%, #39b199 100%);
  620. border-radius: 56rpx;
  621. color: #fff;
  622. font-size: 32rpx;
  623. line-height: 88rpx;
  624. @include clamp;
  625. &::after {
  626. border: none;
  627. }
  628. }
  629. }
  630. // 最新工单
  631. .newOrders {
  632. width: 702rpx;
  633. min-height: 530rpx;
  634. background-color: #fff;
  635. margin-top: 8rpx;
  636. border-radius: 8rpx;
  637. // box-shadow: 0 0 7rpx 0 rgba(73, 184, 86, 0.09);
  638. position: relative;
  639. padding: 0 15rpx;
  640. font-size: 32rpx;
  641. @include border;
  642. @include semicircle(#f9fafb, 70rpx);
  643. .newOrders_header {
  644. height: 87rpx;
  645. padding: 0 27rpx;
  646. @include border($directive:bottom, $style:dashed);
  647. @include flex(space-between, center);
  648. .newOrders_header_title {
  649. color: #333;
  650. }
  651. .newOrders_header_more {
  652. color: #666;
  653. }
  654. }
  655. .newOrders_item {
  656. height: 88rpx;
  657. padding: 0 27rpx;
  658. color: #333;
  659. font-size: 30rpx;
  660. position: relative;
  661. @include border(bottom);
  662. @include flex(center, center);
  663. .ji,
  664. .jiaji {
  665. width: 60rpx;
  666. position: absolute;
  667. right: 0;
  668. top: 0;
  669. }
  670. &:last-of-type {
  671. border-bottom: none;
  672. }
  673. .newOrders_item_time {
  674. width: 88rpx;
  675. text-align: center;
  676. }
  677. .newOrders_item_taskType {
  678. flex: 1;
  679. margin-left: 16rpx;
  680. @include clamp(1);
  681. }
  682. .newOrders_item_patientName {
  683. margin-left: 16rpx;
  684. margin-right: 16rpx;
  685. width: 148rpx;
  686. @include clamp(1);
  687. }
  688. .newOrders_item_status {
  689. width: 4em;
  690. }
  691. }
  692. }
  693. // 快捷工单
  694. .quick_other {
  695. width: 702rpx;
  696. background-color: #fff;
  697. margin-top: 8rpx;
  698. border-radius: 8rpx;
  699. // box-shadow: 0 0 7rpx 0 rgba(73, 184, 86, 0.09);
  700. position: relative;
  701. padding: 0 15rpx;
  702. font-size: 32rpx;
  703. @include border;
  704. @include semicircle(#f9fafb, 70rpx);
  705. .quick_other_header {
  706. height: 87rpx;
  707. padding: 0 27rpx;
  708. @include border($directive:bottom, $style:dashed);
  709. @include flex(space-between, center);
  710. .quick_other_header_title {
  711. color: #333;
  712. }
  713. }
  714. .quick_other_container {
  715. min-height: 288rpx;
  716. @include flex(flex-start, center);
  717. flex-wrap: wrap;
  718. font-size: 28rpx;
  719. .quick_other_container_item {
  720. width: 96rpx;
  721. height: 96rpx;
  722. border-radius: 8rpx;
  723. margin: 16rpx 35rpx;
  724. color: #fff;
  725. text-align: center;
  726. @include flex(center, center);
  727. .quick_other_container_item_text {
  728. @include clamp(2);
  729. }
  730. &:nth-of-type(8n + 1) {
  731. background-color: #a4c4c1;
  732. }
  733. &:nth-of-type(8n + 2) {
  734. background-color: #56bab6;
  735. }
  736. &:nth-of-type(8n + 3) {
  737. background-color: #39b199;
  738. }
  739. &:nth-of-type(8n + 4) {
  740. background-color: #48717f;
  741. }
  742. &:nth-of-type(8n + 5) {
  743. background-color: #56bab6;
  744. }
  745. &:nth-of-type(8n + 6) {
  746. background-color: #a4c4c1;
  747. }
  748. &:nth-of-type(8n + 7) {
  749. background-color: #48717f;
  750. }
  751. &:nth-of-type(8n + 8) {
  752. background-color: #8e9d9e;
  753. }
  754. }
  755. }
  756. }
  757. }
  758. }
  759. </style>