index.vue 23 KB

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