index.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654
  1. <template>
  2. <div class="scene-box" v-if="routerParam !== 'home'">
  3. <!-- <div class="scene-box"> -->
  4. <div class="device-header">智能通风管控系统</div>
  5. <div class="select-node" :class="{ 'node-select-show': !treeShow, 'node-select-hide': treeShow, }">
  6. <SvgIcon class="is-expansion-icon put-away-icon" size="38" name="expansion" @click="showTree(true)" />
  7. <span class="title">{{ treeNodeTitle }}</span>
  8. </div>
  9. <div class="device-select" :class="{ 'device-select-show': treeShow, 'device-select-hide': !treeShow, }">
  10. <SvgIcon class="is-expansion-icon expansion-icon" size="28" name="put-away" @click="showTree(false)" />
  11. <div class="device-select-box">
  12. <a-tree
  13. :show-line="true"
  14. :tree-data="treeData"
  15. v-model:selectedKeys="selectedKeys"
  16. v-model:expandedKeys="expandedKeys"
  17. @select="onSelect"
  18. >
  19. </a-tree>
  20. </div>
  21. </div>
  22. <div class="bottom-tabs-box" @mousedown="setDivHeight" id="monitorBox">
  23. <div class="to-small" @click="toHome"></div>
  24. <div class="device-button-group" v-if="deviceList.length > 0">
  25. <div class="device-button" :class="{ 'device-active': deviceActive == device.deviceType }" v-for="(device, index) in deviceList" :key="index" @click="monitorChange(index)">{{ device.deviceName }}</div>
  26. <div class="enter-detail" @click="goDetail()">
  27. <send-outlined />
  28. {{ treeNodeTitle }}详情
  29. </div>
  30. </div>
  31. <a-tabs class="tabs-box" v-model:activeKey="activeKey" @change="tabChange" >
  32. <a-tab-pane key="1" tab="实时监测">
  33. <template v-if="deviceType == 'fan' && activeKey == '1'">
  34. <GroupMonitorTable :dataSource="dataSource" :columnsType="`${deviceType}_monitor`" />
  35. </template>
  36. <template v-else-if = "activeKey == '1'">
  37. <MonitorTable
  38. ref="monitorTable"
  39. :columnsType="`${deviceType}_monitor`"
  40. :dataSource="dataSource"
  41. design-scope="device_monitor"
  42. :isShowPagination = "false"
  43. :isShowActionColumn="true"
  44. title="设备监测"
  45. >
  46. <template #action="{ record }">
  47. <TableAction
  48. :actions="[
  49. {
  50. label: '详情',
  51. onClick: goDetail.bind(null, record),
  52. },
  53. {
  54. label: '定位',
  55. onClick: goLocation.bind(null, record),
  56. },
  57. ]"
  58. />
  59. </template>
  60. </MonitorTable>
  61. </template>
  62. </a-tab-pane>
  63. <a-tab-pane key="2" tab="历史数据">
  64. <div class="tab-item">
  65. <HistoryTable ref="historyTable" v-if="activeKey == '2'" :sysId="systemID" :columns-type="`${deviceType}`" :device-type="deviceType" :device-list-api="getDeviceList.bind(null, { strtype : deviceType, sysId: systemID })" designScope="device-history" />
  66. </div>
  67. </a-tab-pane>
  68. <a-tab-pane key="3" tab="报警历史">
  69. <div class="tab-item">
  70. <AlarmHistoryTable ref="alarmHistoryTable" v-if="activeKey == '3'" :sysId="systemID" columns-type="alarm" :device-type="deviceType" :device-list-api="getDeviceList.bind(null, { strtype: deviceType, sysId: systemID })" designScope="alarm-history" />
  71. </div>
  72. </a-tab-pane>
  73. <a-tab-pane key="4" tab="操作历史">
  74. <div class="tab-item">
  75. <HandlerHistoryTable ref="handlerHistoryTable" v-if="activeKey == '4'" :sysId="systemID" columns-type="operatorhistory" :device-type="deviceType" :device-list-api="getDeviceList.bind(null, { strtype: deviceType, sysId: systemID })" designScope="operator-history" />
  76. </div>
  77. </a-tab-pane>
  78. </a-tabs>
  79. </div>
  80. <component v-if="modalVisible" :is="currentModal" v-model:visible="modalVisible" :dataSource="dataSource" :activeID="activeID" />
  81. </div>
  82. </template>
  83. <script setup lang="ts">
  84. import {ref, onMounted, onUnmounted, ComponentOptions, shallowRef } from 'vue'
  85. import { SendOutlined } from '@ant-design/icons-vue';
  86. import { list, getDeviceList, getDeviceTypeList } from './device.api'
  87. import AlarmHistoryTable from '../comment/AlarmHistoryTable.vue';
  88. import HistoryTable from '../comment/HistoryTable.vue';
  89. import HandlerHistoryTable from '../comment/HandlerHistoryTable.vue';
  90. import MonitorTable from '../comment/MonitorTable.vue';
  91. import GroupMonitorTable from '../comment/GroupMonitorTable.vue';
  92. import { TreeProps, message } from 'ant-design-vue';
  93. import { TableAction } from '/@/components/Table';
  94. import FiberModal from './modal/fiber.modal.vue';
  95. import DustModal from './modal/dust.modal.vue'
  96. import { SvgIcon } from '/@/components/Icon';
  97. import { getActions } from '/@/qiankun/state';
  98. import { useRouter } from 'vue-router';
  99. type DeviceType = { deviceType: string, deviceName: string, datalist: any[] };
  100. const router = useRouter()
  101. const actions = getActions();
  102. actions.setGlobalState({ pageObj: { pageType: 'home' } });
  103. const monitorTable = ref()
  104. const historyTable = ref()
  105. const alarmHistoryTable = ref()
  106. const handlerHistoryTable = ref()
  107. const routerParam = ref('home') // 默认进来时首页
  108. // 模态框
  109. const currentModal = shallowRef<Nullable<ComponentOptions>>(null); //模态框
  110. const modalVisible = ref<Boolean>(false); // 模态框是否可见
  111. //
  112. const drawerHeight = ref(240) // 监测框最小高度
  113. const treeShow = ref(true) //是否显示树形菜单
  114. const treeNodeTitle = ref('') // 选中的树形标题
  115. const deviceList = ref<DeviceType[]>([])
  116. const deviceActive = ref('')
  117. const activeKey = ref('1'); // tab key
  118. const dataSource = shallowRef([]) // 实时监测数据
  119. const activeID = ref('') // 打开详情modal时监测的设备id
  120. const deviceType = ref('') // 监测设备类型
  121. const systemType = ref('')
  122. const systemID = ref('') // 系统监测时,系统id
  123. const selectedKeys = ref<string[]>([]);
  124. const expandedKeys = ref<string[]>([]);
  125. const scroll = ref({
  126. y: drawerHeight.value - 100
  127. })
  128. const treeData = ref<TreeProps['treeData']>([]);
  129. //树形菜单选择事件
  130. const onSelect: TreeProps['onSelect'] = async(keys, e) => {
  131. deviceType.value = ''
  132. systemID.value = ''
  133. deviceList.value = []
  134. if(e.node.parent && (e.node.parent.node.type.toString()).startsWith('sys')){
  135. systemType.value = e.node.parent.node.type
  136. deviceType.value = e.node.parent.node.type
  137. systemID.value = e.node.type
  138. // 传递工作面id信息,用于定位
  139. actions.setGlobalState({ locationObj: { pageType: deviceType.value ,deviceid: systemID.value }, pageObj: null });
  140. }else{
  141. systemType.value = e.node.type
  142. deviceType.value = e.node.type
  143. }
  144. selectedKeys.values = keys
  145. treeNodeTitle.value = e.node.title
  146. if (timer) clearInterval(timer);
  147. await getDataSource()
  148. getMonitor()
  149. };
  150. function tabChange(activeKeyVal) {
  151. activeKey.value = activeKeyVal;
  152. };
  153. function showTree(flag) {
  154. treeShow.value = flag
  155. }
  156. async function getDeviceType () {
  157. const result = await getDeviceTypeList({})
  158. if (result.length > 0) {
  159. const dataSource = <TreeProps['treeData']>[]
  160. let key = '0'
  161. const getData = (resultList, dataSourceList, keyVal) => {
  162. resultList.forEach((item, index) => {
  163. if (item.children && item.children.length > 0) {
  164. const children = getData(item.children, [], `${keyVal}-${index}`)
  165. dataSourceList.push({
  166. children: children,
  167. title: item.itemText,
  168. key: `${keyVal}-${index}`,
  169. type: item.itemValue,
  170. });
  171. } else {
  172. dataSourceList.push({
  173. children: [],
  174. title: item.itemText,
  175. key: `${keyVal}-${index}`,
  176. type: item.itemValue,
  177. });
  178. }
  179. });
  180. return dataSourceList
  181. }
  182. console.log('树形菜单-------------->', treeData.value)
  183. treeData.value = getData(result, dataSource, key)
  184. }
  185. }
  186. // https获取监测数据
  187. let timer: null | NodeJS.Timeout = null;
  188. function getMonitor() {
  189. timer = setInterval(async () => {
  190. await getDataSource()
  191. }, 1000);
  192. };
  193. async function getDataSource() {
  194. if (deviceType.value.startsWith('sys') && systemID.value) {
  195. const res = await list({ devicetype: 'sys', systemID: systemID.value });
  196. const result = res.msgTxt;
  197. const deviceArr = <DeviceType[]>[]
  198. result.forEach(item => {
  199. const data = item['datalist'].filter((data: any) => {
  200. const readData = data.readData;
  201. return Object.assign(data, readData);
  202. })
  203. if (item.type != 'sys') {
  204. deviceArr.unshift({ deviceType: item.type, deviceName: item['typeName'] ? item['typeName'] : item['datalist'][0]['typeName'], datalist: data })
  205. }
  206. })
  207. console.log('关联设备列表', deviceArr)
  208. deviceList.value = deviceArr
  209. deviceActive.value = deviceArr[1].deviceType
  210. monitorChange(1)
  211. } else {
  212. const res = await list({ devicetype: deviceType.value, pagetype: 'normal' })
  213. if (res.msgTxt[0]) {
  214. dataSource.value = res.msgTxt[0].datalist || [];
  215. dataSource.value.filter((data: any) => {
  216. const readData = data.readData;
  217. return Object.assign(data, readData);
  218. });
  219. }
  220. }
  221. }
  222. function setDivHeight(e: MouseEvent) {
  223. const divObject = document.getElementById('monitorBox') as HTMLElement
  224. const divHeight = divObject.offsetHeight
  225. drawerHeight.value = divHeight
  226. const startY = e.clientY
  227. document.onmousemove = function(res){
  228. res.preventDefault()
  229. const distY = Math.abs(res.clientY - startY)
  230. if(res.clientY > startY){
  231. if(divHeight - distY >= 240){
  232. drawerHeight.value = divHeight - distY
  233. }else{
  234. drawerHeight.value = 240
  235. }
  236. }
  237. if(res.clientY < startY){
  238. drawerHeight.value = divHeight + distY
  239. }
  240. divObject.style.height = drawerHeight.value+'px'
  241. }
  242. document.onmouseup = function() {
  243. document.onmousemove = null
  244. if(scroll.value.y != drawerHeight.value - 100) {
  245. scroll.value = {y: drawerHeight.value - 100 }
  246. // const tableBody = document.getElementsByClassName('zxm-table-container')[0].children[1] as HTMLElement
  247. // debugger
  248. // tableBody.style.height = `${drawerHeight.value - 350}px`
  249. }
  250. }
  251. }
  252. // 定位
  253. function goLocation(record) {
  254. actions.setGlobalState({ locationId: record.deviceID, locationObj: null, pageObj: null });
  255. }
  256. // 详情
  257. function goDetail(record?){
  258. if(record){
  259. if (deviceType.value.startsWith('fiber')) {
  260. activeID.value = record.deviceID
  261. currentModal.value = FiberModal
  262. modalVisible.value = true;
  263. } else if (deviceType.value.startsWith('dusting')) {
  264. activeID.value = record.deviceID
  265. currentModal.value = DustModal
  266. modalVisible.value = true;
  267. } else if (deviceType.value.indexOf("gate") != -1) {
  268. const newPage = router.resolve({path: '/monitorChannel/monitor-gate'})
  269. window.open(newPage.href, '_blank')
  270. } else if (deviceType.value.indexOf("window") != -1) {
  271. const newPage = router.resolve({ path: '/monitorChannel/monitor-window' })
  272. window.open(newPage.href, '_blank')
  273. } else if (deviceType.value.indexOf("windrect") != -1) {
  274. const newPage = router.resolve({ path: '/monitorChannel/monitor-windrect' })
  275. window.open(newPage.href, '_blank')
  276. } else if (deviceType.value.indexOf("fanmain") != -1) {
  277. const newPage = router.resolve({ path: '/monitorChannel/monitor-fan-main' })
  278. window.open(newPage.href, '_blank')
  279. } else if (deviceType.value.indexOf("fanlocal") != -1) {
  280. const newPage = router.resolve({ path: '/monitorChannel/monitor-fan-local' })
  281. window.open(newPage.href, '_blank')
  282. } else {
  283. message.info('待开发。。。')
  284. }
  285. }else{
  286. if (systemType.value.indexOf("sys_dongshi") != -1) {
  287. const newPage = router.resolve({ path: '/chamber-home', query: {id: systemID.value }})
  288. window.open(newPage.href, '_blank')
  289. }else{
  290. message.info('待开发。。。')
  291. }
  292. }
  293. }
  294. function toHome() {
  295. deviceList.value = []
  296. actions.setGlobalState({ pageObj: { pageType: 'home'} });
  297. }
  298. // 遍历树形菜单
  299. async function findTreeDataValue(data:[], obj) {
  300. const findDeviceType = (data: [], obj) => {
  301. let type = ''
  302. if (obj.deviceid) {
  303. type = obj.deviceid
  304. } else {
  305. type = obj.deviceType
  306. }
  307. data.find((item: any) => {
  308. if (item.children.length > 0) {
  309. findDeviceType(item.children, obj)
  310. }
  311. if (item.type == type) {
  312. deviceType.value = obj.deviceid ? 'sys' : item.type
  313. if (obj.deviceid) systemID.value = obj.deviceid
  314. selectedKeys.value = [item.key]
  315. expandedKeys.value = [item.key]
  316. treeNodeTitle.value = item.title
  317. }
  318. })
  319. }
  320. findDeviceType(data, obj)
  321. if (timer) clearInterval(timer);
  322. await getDataSource()
  323. getMonitor()
  324. }
  325. function monitorChange(index) {
  326. dataSource.value = []
  327. deviceActive.value = deviceType.value = deviceList.value[index].deviceType
  328. if (activeKey.value == '1' && monitorTable.value) {
  329. monitorTable.value.setLoading(true)
  330. dataSource.value = deviceList.value[index].datalist
  331. }
  332. if(activeKey.value == '2' && historyTable.value){
  333. historyTable.value.setLoading(true)
  334. }
  335. if (activeKey.value == '3' && alarmHistoryTable.value) {
  336. alarmHistoryTable.value.setLoading(true)
  337. }
  338. if (activeKey.value == '4' && handlerHistoryTable.value) {
  339. handlerHistoryTable.value.setLoading(true)
  340. }
  341. }
  342. onMounted(async() => {
  343. actions.onGlobalStateChange(async(newState, prev) => {
  344. for (const key in newState) {
  345. if (key === 'pageObj') {
  346. const pageObj = newState[key]
  347. if (pageObj) {
  348. routerParam.value = pageObj.pageType
  349. if (pageObj.deviceid) {
  350. await findTreeDataValue(treeData.value, { deviceid: pageObj.deviceid })
  351. } else {
  352. await findTreeDataValue(treeData.value, { deviceType: pageObj.pageType })
  353. }
  354. }
  355. }
  356. }
  357. })
  358. await getDeviceType()
  359. // await getDataSource()
  360. // getMonitor()
  361. })
  362. onUnmounted(() => {
  363. if (timer) {
  364. clearInterval(timer);
  365. }
  366. })
  367. </script>
  368. <style lang="less" scoped >
  369. @import '/@/design/vent/modal.less';
  370. @ventSpace: zxm;
  371. .device-header{
  372. position: fixed;
  373. width: 100%;
  374. height: 56px;
  375. background: url('/@/assets/images/vent/home/modal-top.png');
  376. text-align: center;
  377. line-height: 56px;
  378. font-size: 28px;
  379. color: #ffffffdd;
  380. font-weight: 600;
  381. z-index: -1;
  382. }
  383. .select-node{
  384. position: fixed;
  385. top: 60px;
  386. left: 10px;
  387. color: #fff;
  388. display: flex;
  389. justify-content: center;
  390. font-size: 24px;
  391. .title{
  392. margin-left: 10px;
  393. }
  394. }
  395. .device-select{
  396. width: 250px;
  397. height: 500px;
  398. background: url('/@/assets/images/vent/home/tree-bg.png') no-repeat;
  399. position: fixed;
  400. top: 60px;
  401. left: 10px;
  402. background-size: contain;
  403. pointer-events: auto;
  404. padding: 20px 10px 30px 10px;
  405. .expansion-icon{
  406. position: absolute;
  407. left: 190px;
  408. top: 25px;
  409. }
  410. }
  411. .is-expansion-icon{
  412. background: url('/@/assets/images/vent/home/tree-icon-bg.png') no-repeat;
  413. background-size: contain;
  414. padding: 5px;
  415. pointer-events: auto;
  416. z-index: 999;
  417. &:hover{
  418. background: url('/@/assets/images/vent/home/tree-icon-hover-bg.png') no-repeat;
  419. background-size: contain;
  420. }
  421. }
  422. .put-away-icon{
  423. display: inline-block;
  424. }
  425. .device-select-show{
  426. left: 10px;
  427. animation-name: treeShow;
  428. /* 持续时间 */
  429. animation-duration: 1s;
  430. transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1) .5s;
  431. }
  432. .device-select-hide{
  433. left: -250px;
  434. animation-name: treeHide;
  435. /* 持续时间 */
  436. animation-duration: 1s;
  437. transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1) .5s;
  438. }
  439. .node-select-show{
  440. left: 10px;
  441. animation-name: treeShow;
  442. /* 持续时间 */
  443. animation-duration: 1s;
  444. transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1) .5s;
  445. }
  446. .node-select-hide{
  447. left: -400px;
  448. animation-name: treeHide;
  449. /* 持续时间 */
  450. animation-duration: 1s;
  451. transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1) .5s;
  452. }
  453. .device-select-box{
  454. width: 208px;
  455. height: 450px;
  456. overflow-y: auto;
  457. color: #fff;
  458. :deep(.zxm-tree){
  459. background: transparent !important;
  460. color: #fff !important;
  461. .zxm-tree-switcher{
  462. background: transparent !important;
  463. }
  464. .zxm-tree-node-content-wrapper.zxm-tree-node-selected{
  465. background-color: #00b1c8;
  466. }
  467. .zxm-tree-node-content-wrapper:hover{
  468. background-color: #00b1c855;
  469. }
  470. input{
  471. height: 0px !important;
  472. }
  473. }
  474. &::-webkit-scrollbar-track {
  475. -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  476. border-radius: 10px;
  477. background: #ededed22;
  478. height: 100px;
  479. }
  480. &::-webkit-scrollbar-thumb {
  481. -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  482. background: #4288A444;
  483. }
  484. }
  485. .bottom-tabs-box{
  486. position: relative;
  487. .to-small{
  488. width: 60px;
  489. height: 60px;
  490. background: url('/@/assets/images/vent/home/tosmall.png') no-repeat center;
  491. background-size: auto;
  492. position: absolute;
  493. top: -65px;
  494. right: 30px;
  495. border-radius: 10px;
  496. padding: 8px;
  497. backdrop-filter: blur(10px);
  498. background-color: rgba(0, 58, 128, 0.418);
  499. &:hover{
  500. background-color: rgba(42, 85, 138, 0.418);
  501. }
  502. }
  503. .device-button-group{
  504. position: absolute;
  505. top: -30px;
  506. left: 30px;
  507. display: flex;
  508. width: 100%;
  509. .device-button{
  510. padding: 4px 15px;
  511. position: relative;
  512. display: flex;
  513. justify-content: center;
  514. align-items: center;
  515. font-size: 14px;
  516. color: #fff;
  517. cursor: pointer;
  518. margin: 0 3px;
  519. &::before{
  520. content: '';
  521. position: absolute;
  522. top: 0;
  523. right: 0;
  524. bottom: 0;
  525. left: 0;
  526. border: 1px solid #6176AF;
  527. transform: skewX(-38deg);
  528. background-color: rgba(0, 77, 103,85%);
  529. z-index: -1;
  530. }
  531. }
  532. .device-active{
  533. // color: #0efcff;
  534. &::before{
  535. border-color: #0efcff;
  536. box-shadow: 1px 1px 3px 1px #0efcff inset;
  537. }
  538. }
  539. }
  540. .enter-detail{
  541. color: #fff;
  542. cursor: pointer;
  543. position: absolute;
  544. right: 150px;
  545. top: -10px;
  546. padding: 5px;
  547. // border: 1px transparent solid;
  548. border-radius: 5px;
  549. margin-left: 8px;
  550. margin-right: 8px;
  551. width: auto;
  552. // height: 40px;
  553. // border: 1px solid #65dbea;
  554. height: 33px !important;
  555. display: flex;
  556. align-items: center;
  557. justify-content: center;
  558. color: #fff;
  559. padding: 5px 15px 5px 15px;
  560. cursor: pointer;
  561. &:hover {
  562. background: linear-gradient(#2cd1ff55, #1eb0ff55);
  563. }
  564. &::before {
  565. width: calc(100% - 6px);
  566. height: 27px;
  567. content: '';
  568. position: absolute;
  569. top: 3px;
  570. right: 0;
  571. left: 3px;
  572. bottom: 0;
  573. z-index: -1;
  574. border-radius: inherit; /*important*/
  575. background: linear-gradient(#1fa6cb, #127cb5);
  576. }
  577. &::after {
  578. width: calc(100% + 32px);
  579. height: 10px;
  580. content: '';
  581. position: absolute;
  582. top: 35px;
  583. right: 0;
  584. left: -16px;
  585. bottom: 0;
  586. z-index: -1;
  587. border-radius: inherit; /*important*/
  588. background: url('/@/assets/images/vent/short-light.png') no-repeat;
  589. background-position: center;
  590. background-size: 100%;
  591. z-index: 999;
  592. }
  593. }
  594. }
  595. @keyframes treeShow {
  596. 0% {
  597. left: -400px;
  598. opacity: 0;
  599. }
  600. 100% {
  601. left: 10px;
  602. opacity: 1;
  603. }
  604. }
  605. @keyframes treeHide {
  606. 0% {
  607. left: 10px;
  608. opacity: 1;
  609. }
  610. 100% {
  611. left: -400px;
  612. opacity: 0;
  613. }
  614. }
  615. :deep(.@{ventSpace}-tabs-tabpane-active) {
  616. overflow: auto;
  617. // height: 100%;
  618. }
  619. :deep(.zxm-select-dropdown){
  620. left: 0 !important;
  621. }
  622. </style>