main.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781
  1. <template>
  2. <div class="main-data data-official">
  3. <div class="left">
  4. <div class="left-cont" v-if="leftShow">
  5. <div
  6. class="left-top"
  7. @mouseover="showDialog(1)"
  8. >
  9. <div class="cont-title-area">
  10. <img
  11. class="cont-title-bg"
  12. src="@/assets/images/main/cont_title_bg.png"
  13. alt=""
  14. />
  15. <div class="cont-title">资源台账</div>
  16. </div>
  17. <div class="components-item bg2">
  18. <terminal-data :key="appOrg" :resourceData="resourceData" :carTypeNum="carTypeNum" :carActivationNum="carActivationNum" :carUseNum="carUseNum"></terminal-data>
  19. </div>
  20. </div>
  21. <div class="left-bottom"
  22. @mouseover="showDialog(2)"
  23. >
  24. <div class="cont-title-area">
  25. <img
  26. class="cont-title-bg"
  27. src="@/assets/images/main/cont_title_bg.png"
  28. alt=""
  29. />
  30. <div class="cont-title">监控管理</div>
  31. </div>
  32. <div class="components-item bg2">
  33. <car-stock :key="appOrg" :monitorData="monitorData"></car-stock>
  34. </div>
  35. </div>
  36. </div>
  37. </div>
  38. <div class="middle">
  39. <img src="@/assets/zhang/publicCar/officialCar.png" width="50" style="position: absolute;top: 125px;left: 20px;cursor: pointer">
  40. <MapTwo @transmit="transmit" @changeCurCompany="changeCurCompany" :mapData="mapData" ref="map"></MapTwo>
  41. <!-- 返回按钮 -->
  42. <div class="bottom-area flex-row align-items-center space-between" v-if="menuFlag">
  43. <div class="bottom-left flex-row align-items-center">
  44. <div class="left-item">
  45. <el-cascader
  46. v-model="curCompany"
  47. :options="company"
  48. @change="handleCompanyChange"
  49. placeholder="单位"
  50. :show-all-levels="false"
  51. popper-class="dropDown"
  52. clearable
  53. >
  54. <template slot-scope="{ node, data }">
  55. <div style="display: flex; align-items: center">
  56. <img
  57. v-if="data.label == '山西省公司(本部)'"
  58. src="../../../assets/images/main/tiaozhuanlouyu.png"
  59. style="width: 15px; margin-right: 10px"
  60. />
  61. <span
  62. v-else-if="data.value == '1A001' || data.value == '1A002' || data.value == '1A004' || data.value == '1A005'"
  63. style="
  64. display: inline-block;
  65. width: 10px;
  66. height: 10px;
  67. border-radius: 50%;
  68. margin-right: 10px;
  69. background: rgb(255, 180, 74);
  70. "
  71. ></span>
  72. <span>{{ data.label }}</span>
  73. </div>
  74. </template>
  75. </el-cascader>
  76. </div>
  77. </div>
  78. <div class="bottom-right">
  79. <img
  80. v-if="showBack"
  81. @click="onBack"
  82. src="@/assets/images/main/back.png"
  83. class="back"
  84. />
  85. </div>
  86. </div>
  87. </div>
  88. <div class="right">
  89. <div class="right-cont" v-if="rightShow">
  90. <div class="cont-title-area">
  91. <img
  92. class="cont-title-bg"
  93. src="@/assets/images/main/cont_title_bg.png"
  94. alt=""
  95. />
  96. <div class="cont-title">运行管理</div>
  97. </div>
  98. <div class="components-item bg3">
  99. <car-warning :key="appOrg" :manageTopHalf="manageTopHalf" :manageLastHalf="manageLastHalf" v-if="this.flag >= 2"></car-warning>
  100. </div>
  101. </div>
  102. </div>
  103. <!--弹出层-->
  104. <div
  105. :class="dialogType < 3 ? 'dialog' : 'dialog-r'"
  106. v-if="dialogShow"
  107. >
  108. <terminal-data-dialog
  109. v-if="dialogType === 1"
  110. :resourceData="resourceData" :carTypeNum="carTypeNum" :carActivationNum="carActivationNum" :carUseNum="carUseNum"
  111. @chooseX="chooseCost"
  112. @chooseY="chooseHealth"
  113. @closeDialog="closeDialog"
  114. ></terminal-data-dialog>
  115. <car-warning-dialog
  116. v-if="dialogType === 4"
  117. @choose="chooseCost"
  118. @closeDialog="closeDialog"
  119. ></car-warning-dialog>
  120. <car-stock-dialog
  121. v-if="dialogType === 2"
  122. :monitorData="monitorData"
  123. @chooseX="chooseOp('未带工单预警数', '未带工单报警')"
  124. @chooseY="chooseOp('超速预警数', '超速报警')"
  125. @chooseZ="chooseOp('节假日预警数', '节假日用车报警')"
  126. @closeDialog="closeDialog"
  127. ></car-stock-dialog>
  128. </div>
  129. <div v-if="showC" class="dialog-2">
  130. <div class="dialog-center">
  131. <resource-list
  132. v-if="showRes === 1"
  133. :op = "op"
  134. :total = "total"
  135. :dataList = "dataList"
  136. @close="onCloseRes"
  137. @handlePageChange="handlePageChangeZ"
  138. ></resource-list>
  139. <car-cost
  140. :dataList = "dataList"
  141. :total = "total"
  142. v-if="showCost === 1"
  143. @close="onCloseCost"
  144. @handlePageChange="handlePageChangeY"
  145. ></car-cost>
  146. <car-health
  147. :dataList = "dataList"
  148. :total = "total"
  149. v-if="showHealth === 1"
  150. @close="onCloseHealth"
  151. @handlePageChange="handlePageChangeX"
  152. ></car-health>
  153. </div>
  154. </div>
  155. </div>
  156. </template>
  157. <script>
  158. import ResourceList from '@/views/screen/official/resourceList.vue'
  159. import Province from "../map/province.vue";
  160. import TerminalData from "./terminalData.vue";
  161. import TerminalDataDialog from "./terminalDataDialog.vue";
  162. import TerminalOnline from "./terminalOnline.vue";
  163. import CarWarning from "./carWarning.vue";
  164. import CarWarningDialog from "./carWarningDialog.vue";
  165. import CarStock from "../logistics/car/carStock.vue";
  166. import CarTerminal from "../logistics/car/carTerminal.vue";
  167. import company from "@/views/screen/data/company.json";
  168. import CarCost from '@/views/screen/official/carCost.vue'
  169. import CarHealth from '@/views/screen/official/carHealth.vue'
  170. import CarStockDialog from "@/views/screen/logistics/car/carStockDialog.vue";
  171. import MapTwo from '@/views/pad/map/mapTwo.vue'
  172. import {
  173. getCarDetail,
  174. getMonitor,
  175. getOperationManageLastHalf,
  176. getOperationManageTopHalf,
  177. getResource,
  178. getSelfCarNum, getWarnDetail
  179. } from '@/api/screen/service'
  180. export default {
  181. name: "OfficialMain",
  182. components: {
  183. MapTwo,
  184. CarHealth,
  185. CarCost,
  186. ResourceList,
  187. Province,
  188. TerminalData,
  189. TerminalOnline,
  190. CarWarning,
  191. CarStock,
  192. CarTerminal,
  193. TerminalDataDialog,
  194. CarWarningDialog,
  195. CarStockDialog,
  196. },
  197. data() {
  198. return {
  199. menuFlag: true,
  200. total: 0,
  201. dataList: [],
  202. mapData:[],
  203. flag: 0,
  204. carActivationNum:[],
  205. carUseNum:[],
  206. carTypeNum:[],
  207. resourceData:{},
  208. monitorData:{},
  209. manageTopHalf:{},
  210. manageLastHalf:{},
  211. op:'',
  212. showC:false,
  213. showRes:0,
  214. showCost:0,
  215. showHealth:0,
  216. leftShow: true,
  217. rightShow: true,
  218. dialogShow: false,
  219. dialogType: 1,
  220. curDeep: 1,
  221. showBack: false,
  222. showMap: true,
  223. showLocal: false,
  224. appOrg: "0000",
  225. alertType: null,
  226. curCompany: [],
  227. company: [
  228. {
  229. "value": "10001",
  230. "label": "国网山西省电力公司",
  231. "children": [
  232. {
  233. "value": "10001",
  234. "label": "山西省公司(本部)",
  235. "poi": [112.316448, 38.000045],
  236. "city": "山西省"
  237. },
  238. {
  239. "value": "1A001",
  240. "label": "国网营销服务中心",
  241. "poi": [112.36677, 37.756826],
  242. "city": "太原市"
  243. },
  244. {
  245. "value": "1A002",
  246. "label": "国网超高压变电分公司",
  247. "poi": [112.555937, 37.785564],
  248. "city": "太原市"
  249. },
  250. {
  251. "value": "1A004",
  252. "label": "国网电力科学技术研究院",
  253. "poi": [112.567029, 37.858831],
  254. "city": "太原市"
  255. },
  256. {
  257. "value": "1A005",
  258. "label": "国网山西省电力公司党校",
  259. "poi": [112.56677, 38.056826],
  260. "city": "太原市"
  261. }
  262. ]
  263. }
  264. ]
  265. };
  266. },
  267. created() {
  268. this.resource();
  269. this.monitor();
  270. this.operationManage();
  271. this.getMapData()
  272. },
  273. destroyed() {},
  274. beforeDestroy() {},
  275. mounted() {},
  276. methods: {
  277. handleCompanyChange(e){
  278. console.log(this.curCompany)
  279. if (!e[1]){
  280. this.transmit('0000')
  281. this.$refs.map.showBack = false
  282. return
  283. }
  284. this.$refs.map.showBack = true
  285. this.transmit(e[1])
  286. },
  287. changeCurCompany(){
  288. this.curCompany = ['10001', '10001']
  289. this.transmit('10001')
  290. },
  291. handlePageChangeX(page, pageSize){
  292. getCarDetail(this.appOrg, 1, pageSize, page).then(res => {
  293. if (Number(res.code) === 200) {
  294. this.dataList = res.data.list
  295. this.showC = true
  296. this.showHealth = 1
  297. }
  298. })
  299. },
  300. handlePageChangeY(page, pageSize){
  301. getCarDetail(this.appOrg, 0, pageSize, page).then(res => {
  302. if (Number(res.code) === 200) {
  303. this.dataList = res.data.list
  304. this.showC = true
  305. this.showCost = 1
  306. }
  307. })
  308. },
  309. handlePageChangeZ(page, pageSize){
  310. getWarnDetail(this.appOrg, this.alertType, pageSize, page).then(res => {
  311. if (Number(res.code) === 200) {
  312. this.dataList = res.data.list
  313. this.showC = true
  314. this.showRes = 1
  315. }
  316. })
  317. },
  318. transmit(appOrg){
  319. this.appOrg = appOrg
  320. if (appOrg === '0000'){
  321. this.curCompany = []
  322. }
  323. this.resource();
  324. this.monitor();
  325. this.operationManageTopHalf();
  326. },
  327. getMapData(){
  328. getSelfCarNum().then(res => {
  329. if (Number(res.code) === 200) {
  330. this.mapData = res.data
  331. this.$refs.map.start()
  332. }
  333. })
  334. },
  335. resource(){
  336. getResource(this.appOrg).then(res => {
  337. if (Number(res.code) === 200) {
  338. this.resourceData = res.data
  339. this.resourceData.cd = 5 - this.resourceData.totalCarNum.toString().length
  340. this.resourceData.totalCarNum = this.resourceData.totalCarNum.toString().padStart(5, '0');
  341. this.resourceData.percentageLack = (this.resourceData.totalCarNum !== 0) ? Math.round(((this.resourceData.totalCarNum - this.resourceData.establishmentsCarNum) / this.resourceData.totalCarNum) * 100) : 0;
  342. this.resourceData.percentagePosess = (this.resourceData.totalCarNum !== 0) ? Math.round((this.resourceData.establishmentsCarNum / this.resourceData.totalCarNum) * 100) : 0;
  343. this.carTypeNum = [
  344. {
  345. type: "商务车",
  346. num: this.resourceData.carNumOne
  347. },
  348. {
  349. type: "越野车",
  350. num: this.resourceData.carNumTwo
  351. },
  352. {
  353. type: "小轿车",
  354. num: this.resourceData.carNumThree
  355. },
  356. {
  357. type: "小型客车",
  358. num: this.resourceData.carNumFour
  359. },
  360. {
  361. type: "大型客车",
  362. num: this.resourceData.carNumFive
  363. }
  364. ]
  365. this.carUseNum = [
  366. {
  367. type: "企业用车",
  368. num: this.resourceData.enterpriseCarNum
  369. },
  370. {
  371. type: "企业负责人用车",
  372. num: this.resourceData.headCarNum
  373. }
  374. ]
  375. this.carActivationNum = [
  376. {
  377. type: "燃油汽车",
  378. num: this.resourceData.oilCarNum
  379. },
  380. {
  381. type: "新能源汽车",
  382. num: this.resourceData.newPowerCarNum
  383. }
  384. ]
  385. }
  386. })
  387. },
  388. monitor(){
  389. getMonitor(this.appOrg).then(res => {
  390. if (Number(res.code) === 200) {
  391. this.monitorData = res.data
  392. this.monitorData.percentageInstall = (this.monitorData.terminalTotal !== 0) ? Math.round((this.monitorData.terminalInstall / this.monitorData.terminalTotal) * 100) : 0;
  393. this.monitorData.percentageOnline = (this.monitorData.terminalTotal !== 0) ? Math.round((this.monitorData.terminalOnline / this.monitorData.terminalTotal) * 100) : 0;
  394. }
  395. })
  396. },
  397. operationManageTopHalf(){
  398. getOperationManageTopHalf(this.appOrg).then(res => {
  399. if (Number(res.code) === 200) {
  400. this.manageTopHalf = res.data
  401. this.flag++
  402. }
  403. })
  404. },
  405. operationManageLastHalf(){
  406. getOperationManageLastHalf().then(res => {
  407. if (Number(res.code) === 200) {
  408. this.manageLastHalf = res.data
  409. this.flag++
  410. }
  411. })
  412. },
  413. operationManage(){
  414. this.operationManageTopHalf()
  415. this.operationManageLastHalf()
  416. },
  417. chooseOp(title, alertType){
  418. this.op = title
  419. this.alertType = alertType
  420. getWarnDetail(this.appOrg, alertType, 10, 0).then(res => {
  421. if (Number(res.code) === 200) {
  422. this.dataList = res.data.list
  423. this.total = res.data.total
  424. this.showC = true
  425. this.showRes = 1
  426. }
  427. })
  428. },
  429. chooseRes(){
  430. this.closeDialog()
  431. this.showC = true
  432. this.showRes = 1
  433. },
  434. onCloseRes(){
  435. this.showC = false
  436. this.showRes = 0
  437. },
  438. chooseCost(){
  439. getCarDetail(this.appOrg, 0, 10, 0).then(res => {
  440. if (Number(res.code) === 200) {
  441. this.dataList = res.data.list
  442. this.total = res.data.total
  443. this.showC = true
  444. this.showCost = 1
  445. }
  446. })
  447. },
  448. onCloseCost(){
  449. this.showC = false
  450. this.showCost = 0
  451. },
  452. chooseHealth(){
  453. getCarDetail(this.appOrg, 1, 10, 0).then(res => {
  454. if (Number(res.code) === 200) {
  455. this.dataList = res.data.list
  456. this.total = res.data.total
  457. this.showC = true
  458. this.showHealth = 1
  459. }
  460. })
  461. },
  462. onCloseHealth(){
  463. this.showC = false
  464. this.showHealth = 0
  465. },
  466. showDialog(type) {
  467. if (type < 4) {
  468. this.leftShow = false;
  469. this.rightShow = true;
  470. } else {
  471. this.rightShow = false;
  472. this.leftShow = true;
  473. }
  474. this.dialogShow = true;
  475. this.dialogType = type;
  476. },
  477. closeDialog() {
  478. this.leftShow = true;
  479. this.rightShow = true;
  480. this.dialogShow = false;
  481. },
  482. //点击地图事件
  483. onMapClick(e) {
  484. this.curDeep = e.deep;
  485. if (e.deep > 1) {
  486. this.showBack = true;
  487. } else {
  488. this.showBack = false;
  489. }
  490. //点击山西省本部
  491. if (e.name == "山西省公司(本部)") {
  492. this.showMap = false;
  493. this.showLocal = true;
  494. this.curCompany = ["10001", "10001"];
  495. this.appOrg = "10001";
  496. } else {
  497. this.showMap = true;
  498. this.showLocal = false;
  499. this.curCompany = e.curCompany;
  500. }
  501. //判断是否点击了子单位
  502. if (e.curCompany && e.curCompany.length > 0) {
  503. let appOrg = e.curCompany[e.curCompany.length - 1];
  504. this.appOrg = appOrg;
  505. }
  506. },
  507. //返回操作
  508. onBack() {
  509. this.curDeep = 1;
  510. if (this.curDeep <= 1) {
  511. this.showBack = false;
  512. this.showMap = true;
  513. this.showLocal = false;
  514. this.curCompany = [];
  515. }
  516. this.appOrg = "0000";
  517. this.$refs.province.reloadMap(this.curDeep);
  518. },
  519. },
  520. };
  521. </script>
  522. <style lang="scss">
  523. .data-official {
  524. width: 100%;
  525. height: 100%;
  526. margin: 0 auto;
  527. // background-image: url("../../../assets/images/official_car/bg.jpg");
  528. // background-size: cover;
  529. display: flex;
  530. flex-direction: row;
  531. justify-content: space-between;
  532. .left {
  533. margin: 125px 0 0 40px;
  534. width: 580px;
  535. .left-cont {
  536. width: 100%;
  537. height: 1000px;
  538. padding-top: 19px;
  539. background: url("../../../assets/images/main/main_bg.png") no-repeat;
  540. background-size: 100% 100%;
  541. }
  542. .components-item {
  543. width: 550px;
  544. height: 420px;
  545. background: url("../../../assets/images/main/components_mid_bg.png")
  546. no-repeat;
  547. background-size: 100% 100%;
  548. margin-bottom: 28px;
  549. margin-left: 15px;
  550. overflow: hidden;
  551. }
  552. .components-item.bg2 {
  553. background: url("../../../assets/images/main/components_mid_bg2.png")
  554. no-repeat;
  555. background-size: 100% 100%;
  556. }
  557. .left-top {
  558. // width: 550px;
  559. // height: 444px;
  560. // background: url("../../../assets/images/service_new/left_top_2.png")
  561. // no-repeat;
  562. // background-size: cover;
  563. // margin-bottom: 21px;
  564. }
  565. .left-bottom {
  566. // width: 550px;
  567. // height: 444px;
  568. // background: url("../../../assets/images/service_new/left_top_2.png")
  569. // no-repeat;
  570. // background-size: cover;
  571. }
  572. }
  573. .middle {
  574. //background: url('../../../assets/zhang/public_map.png') no-repeat center;
  575. display: flex;
  576. flex: 1;
  577. align-items: center;
  578. justify-content: center;
  579. padding: 125px 0 0 0px;
  580. position: relative;
  581. .bottom-area {
  582. width: 200px;
  583. position: absolute;
  584. right: 50px;
  585. left: 50px;
  586. bottom: 80px;
  587. .bottom-left {
  588. .left-item {
  589. width: 180px;
  590. height: 30px;
  591. background: url("../../../assets/images/main/choose_bg_long.png")
  592. no-repeat;
  593. background-size: cover;
  594. input {
  595. background: rgba(255, 255, 255, 0);
  596. border: none;
  597. color: #00ffff;
  598. }
  599. .el-input__icon {
  600. color: #00ffff;
  601. }
  602. }
  603. .office {
  604. margin-left: 10px;
  605. width: 180px;
  606. height: 30px;
  607. line-height: 30px;
  608. padding-left: 15px;
  609. color: #898989;
  610. background: url("../../../assets/images/main/choose_bg_long.png")
  611. no-repeat;
  612. background-size: cover;
  613. font-size: 14px;
  614. }
  615. }
  616. .bottom-right {
  617. .back {
  618. width: 34px;
  619. height: 30px;
  620. cursor: pointer;
  621. }
  622. }
  623. }
  624. }
  625. .right {
  626. margin: 125px 40px 0 0px;
  627. width: 580px;
  628. .right-cont {
  629. width: 100%;
  630. height: 1000px;
  631. padding-top: 19px;
  632. background: url("../../../assets/images/main/main_bg.png") no-repeat;
  633. background-size: 100% 100%;
  634. }
  635. .components-item {
  636. width: 550px;
  637. height: 389px;
  638. background: url("../../../assets/images/main/components_mid_bg.png")
  639. no-repeat;
  640. background-size: cover;
  641. margin-bottom: 28px;
  642. margin-left: 15px;
  643. overflow: hidden;
  644. }
  645. .components-item.bg2 {
  646. background: url("../../../assets/images/main/components_mid_bg2.png")
  647. no-repeat;
  648. background-size: cover;
  649. }
  650. .components-item.bg3 {
  651. height: 920px;
  652. background: url("../../../assets/images/main/components_long_bg.png")
  653. no-repeat;
  654. background-size: 100% 100%;
  655. }
  656. .right-top {
  657. // width: 550px;
  658. // height: 444px;
  659. // background: url("../../../assets/images/service_new/left_top_2.png")
  660. // no-repeat;
  661. // background-size: cover;
  662. // margin-bottom: 21px;
  663. }
  664. .right-bottom {
  665. // width: 550px;
  666. // height: 444px;
  667. // background: url("../../../assets/images/service_new/left_top_2.png")
  668. // no-repeat;
  669. // background-size: cover;
  670. }
  671. }
  672. .cont-title-area {
  673. display: flex;
  674. flex-direction: row;
  675. align-items: center;
  676. justify-content: center;
  677. position: relative;
  678. margin-bottom: 10px;
  679. img {
  680. width: 284px;
  681. height: 32px;
  682. }
  683. .cont-title {
  684. font-size: 20px;
  685. font-weight: 900;
  686. font-family: "PingFangSC";
  687. width: 100%;
  688. position: absolute;
  689. display: flex;
  690. align-items: center;
  691. justify-content: center;
  692. top: -5px;
  693. color: #fff;
  694. }
  695. }
  696. .dialog {
  697. position: fixed;
  698. top: 125px;
  699. left: 40px;
  700. z-index: 10;
  701. width: 100%;
  702. }
  703. .dialog-r {
  704. position: fixed;
  705. top: 125px;
  706. right: 40px;
  707. z-index: 10;
  708. width: 100%;
  709. display: flex;
  710. justify-content: flex-end;
  711. }
  712. .dialog-2 {
  713. position: fixed;
  714. left: 0;
  715. top: 0;
  716. right: 0;
  717. bottom: 0;
  718. z-index: 9999;
  719. display: flex;
  720. flex-direction: row;
  721. align-items: center;
  722. justify-content: center;
  723. background: rgba(0, 0, 0, 0.7);
  724. }
  725. .build {
  726. margin: 0 auto;
  727. width: 90%;
  728. height: auto;
  729. object-fit: contain;
  730. }
  731. ::-webkit-scrollbar {
  732. width: 3px;
  733. height: 3px;
  734. }
  735. ::-webkit-scrollbar-thumb {
  736. //滑块部分
  737. // border-radius: 5px;
  738. background-color: #58cbbb;
  739. }
  740. ::-webkit-scrollbar-track {
  741. //轨道部分
  742. // box-shadow: inset 0 0 5px #ddd;
  743. background: #ddd;
  744. // border-radius: 5px;
  745. }
  746. }
  747. .dropDown .el-cascader-panel{
  748. height: 150px !important;
  749. }
  750. </style>