index.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650
  1. <template>
  2. <div class="device-box" id="monitorBox">
  3. <a-tabs class="tabs-box" type="card" v-model:activeKey="activeKey" @change="tabChange" id="tabsBox" v-if="isRefresh">
  4. <a-tab-pane key="1" tab="实时监测">
  5. <template v-if="deviceType == 'fan' && activeKey == '1'">
  6. <GroupMonitorTable :dataSource="dataSource" :columnsType="`${deviceType}_monitor`" />
  7. </template>
  8. <template v-else-if="activeKey == '1' && deviceType">
  9. <template v-if="hasPermission('btn:noGb')">
  10. <MonitorTable
  11. ref="monitorTable"
  12. :columnsType="`${deviceType}_monitor`"
  13. :dataSource="dataSource"
  14. design-scope="device_monitor"
  15. :isShowPagination="false"
  16. :isShowActionColumn="isHaveNoAction.includes(deviceType.split('_')[0]) ? false : true"
  17. :is-show-select="false"
  18. title="设备监测"
  19. :scroll="{ y: 650 }"
  20. :defSort="defSort"
  21. sortDataIndex="strinstallpos"
  22. >
  23. <template #filterCell="{ column, record }">
  24. <template v-if="deviceType.startsWith('safetymonitor')">
  25. <div v-if="!record.devicename && column.dataIndex === 'devicename'">-</div>
  26. <div v-if="!record.V && column.dataIndex === 'V'">-</div>
  27. <div v-if="!record.PointUnit && column.dataIndex === 'PointUnit'">-</div>
  28. <div v-if="!record.highRange && column.dataIndex === 'highRange'">-</div>
  29. <div v-if="!record.lowRange && column.dataIndex === 'lowRange'">-</div>
  30. <div v-if="!record.dataTypeName && column.dataIndex === 'dataTypeName'">-</div>
  31. </template>
  32. <a-tag v-if="column.dataIndex === 'warnFlag'" :color="record.warnFlag == '0' ? 'green' : record.warnFlag == 1 ? '#FF5812' : 'gray'">
  33. {{ record.warnFlag == '0' ? '正常' : record.warnFlag == 1 ? '报警' : record.warnFlag == 2 ? '断开' : '未监测' }}</a-tag
  34. >
  35. <a-tag v-if="column.dataIndex === 'netStatus'" :color="record.netStatus == '0' ? '#f00' : 'green'">{{
  36. record.netStatus == '0' ? '断开' : '连接'
  37. }}</a-tag>
  38. </template>
  39. </MonitorTable>
  40. </template>
  41. <template v-else>
  42. <MonitorTable
  43. ref="monitorTable"
  44. :columnsType="`${deviceType}_monitor`"
  45. :dataSource="dataSource"
  46. design-scope="device_monitor"
  47. :isShowPagination="false"
  48. :isShowActionColumn="isHaveNoAction.includes(deviceType.split('_')[0]) ? false : true"
  49. :is-show-select="false"
  50. title="设备监测"
  51. :form-config="deviceType == 'safetymonitor' && sysOrgCode != 'zjtzqctmk' ? formConfig : undefined"
  52. :scroll="{ y: 650 }"
  53. :defSort="defSort"
  54. sortDataIndex="strinstallpos"
  55. >
  56. <template #filterCell="{ column, record }">
  57. <template v-if="deviceType.startsWith('safetymonitor')">
  58. <div v-if="!record.devicename && column.dataIndex === 'devicename'">-</div>
  59. <div v-if="!record.V && column.dataIndex === 'V'">-</div>
  60. <div v-if="!record.PointUnit && column.dataIndex === 'PointUnit'">-</div>
  61. <div v-if="!record.highRange && column.dataIndex === 'highRange'">-</div>
  62. <div v-if="!record.lowRange && column.dataIndex === 'lowRange'">-</div>
  63. <div v-if="!record.dataTypeName && column.dataIndex === 'dataTypeName'">-</div>
  64. </template>
  65. <a-tag v-if="column.dataIndex === 'warnFlag'" :color="record.warnFlag == '0' ? 'green' : record.warnFlag == 1 ? '#FF5812' : 'gray'">
  66. {{ record.warnFlag == '0' ? '正常' : record.warnFlag == 1 ? '报警' : record.warnFlag == 2 ? '断开' : '未监测' }}</a-tag
  67. >
  68. <a-tag v-if="column.dataIndex === 'netStatus'" :color="record.netStatus == '0' ? '#f00' : 'green'">{{
  69. record.netStatus == '0' ? '断开' : '连接'
  70. }}</a-tag>
  71. </template>
  72. </MonitorTable>
  73. </template>
  74. <!-- <MonitorTable
  75. ref="monitorTable"
  76. :columnsType="`${deviceType}_monitor`"
  77. :dataSource="dataSource"
  78. design-scope="device_monitor"
  79. :isShowPagination="false"
  80. :isShowActionColumn="isHaveNoAction.includes(deviceType.split('_')[0]) ? false : true"
  81. :is-show-select="false"
  82. title="设备监测"
  83. :form-config="deviceType == 'safetymonitor' && sysOrgCode != 'zjtzqctmk' ? formConfig : undefined"
  84. :scroll="{ y: 650 }"
  85. > -->
  86. </template>
  87. <!-- 图表 -->
  88. <!-- <div style="width:100%;height:280px;margin: 20px 0px;">
  89. <BarAndLine v-if="deviceType == 'windrect'" xAxisPropType="strname" :dataSource="dataSource" height="100%"
  90. :chartsColumns="chartsColumnsRect" chartsType="" :option="echartsOption" />
  91. <BarAndLine v-else-if="deviceType == 'fanlocal'" xAxisPropType="strname" :dataSource="dataSource" height="100%"
  92. :chartsColumns="chartsColumnsFan" chartsType="" :option="echartsOption" />
  93. <BarAndLine v-else-if="deviceType == 'fanmain'" xAxisPropType="strname" :dataSource="dataSource" height="100%"
  94. :chartsColumns="chartsColumnsMain" chartsType="" :option="echartsOption" />
  95. <BarAndLine v-else-if="deviceType == 'fiber'" xAxisPropType="strname" :dataSource="dataSource" height="100%"
  96. :chartsColumns="chartsColumnsFiber" chartsType="" :option="echartsOption" />
  97. <BarAndLine v-else-if="deviceType == 'obfurage'" xAxisPropType="strname" :dataSource="dataSource" height="100%"
  98. :chartsColumns="chartsColumnsObf" chartsType="" :option="echartsOption" />
  99. <BarAndLine v-else-if="deviceType == 'bundletube'" xAxisPropType="strname" :dataSource="dataSource"
  100. height="100%" :chartsColumns="chartsColumnsBun" chartsType="" :option="echartsOption" />
  101. <BarAndLine v-else xAxisPropType="strname" :dataSource="dataSource" height="100%"
  102. :chartsColumns="chartsColumnsreal" chartsType="" :option="echartsOption" />
  103. </div> -->
  104. </a-tab-pane>
  105. <a-tab-pane key="2" tab="历史数据">
  106. <div class="tab-item">
  107. <HistoryTable
  108. ref="historyTable"
  109. v-if="activeKey == '2'"
  110. :columns-type="`${deviceType}`"
  111. :device-type="deviceType"
  112. designScope="device-history"
  113. />
  114. </div>
  115. <!-- 图表 -->
  116. <!-- <div v-if="alive" style="width:100%;height:280px;margin: 20px 0px;">
  117. <BarAndLine v-if="deviceType == 'windrect'" xAxisPropType="gdevicename" :dataSource="dataSourceHis"
  118. height="100%" :chartsColumns="chartsColumnsRect" chartsType="" :option="echartsOption" />
  119. <BarAndLine v-else-if="deviceType == 'fanlocal'" xAxisPropType="gdevicename" :dataSource="dataSourceHis"
  120. height="100%" :chartsColumns="chartsColumnsFan" chartsType="" :option="echartsOption" />
  121. <BarAndLine v-else-if="deviceType == 'fanmain'" xAxisPropType="gdevicename" :dataSource="dataSourceHis"
  122. height="100%" :chartsColumns="chartsColumnsMain" chartsType="" :option="echartsOption" />
  123. <BarAndLine v-else-if="deviceType == 'fiber'" xAxisPropType="gdevicename" :dataSource="dataSourceHis"
  124. height="100%" :chartsColumns="chartsColumnsFiber" chartsType="" :option="echartsOption" />
  125. <BarAndLine v-else-if="deviceType == 'obfurage'" xAxisPropType="gdevicename" :dataSource="dataSourceHis"
  126. height="100%" :chartsColumns="chartsColumnsObf" chartsType="" :option="echartsOption" />
  127. <BarAndLine v-else-if="deviceType == 'bundletube'" xAxisPropType="gdevicename" :dataSource="dataSourceHis"
  128. height="100%" :chartsColumns="chartsColumnsBun" chartsType="" :option="echartsOption" />
  129. <BarAndLine v-else xAxisPropType="gdevicename" :dataSource="dataSourceHis" height="100%"
  130. :chartsColumns="chartsColumnsreal" chartsType="" :option="echartsOption" />
  131. </div> -->
  132. </a-tab-pane>
  133. <a-tab-pane key="3" tab="报警历史" v-if="!hasPermission('safety:hideWarning')">
  134. <div class="tab-item">
  135. <AlarmHistoryTable
  136. ref="alarmHistoryTable"
  137. v-if="globalConfig.History_Type == 'remote' && activeKey == '3'"
  138. columns-type="alarm"
  139. :list="safetyList"
  140. :device-type="deviceType"
  141. :device-list-api="getDeviceList.bind(null, { devicekind: deviceType, pageSize: 10000 })"
  142. designScope="alarm-history"
  143. />
  144. <AlarmHistoryCommentTable
  145. ref="alarmHistoryTable"
  146. v-else-if="activeKey == '3'"
  147. columns-type="alarm"
  148. :device-type="deviceType"
  149. :device-list-api="getDeviceList.bind(null, { devicekind: deviceType, pageSize: 10000 })"
  150. designScope="alarm-history"
  151. />
  152. </div>
  153. </a-tab-pane>
  154. <a-tab-pane key="4" tab="操作历史" v-if="deviceType !== 'safetymonitor' && deviceType !== 'wasichoufang'">
  155. <div class="tab-item">
  156. <HandlerHistoryTable
  157. ref="handlerHistoryTable"
  158. v-if="activeKey == '4'"
  159. columns-type="operator_history"
  160. :device-type="deviceType"
  161. :device-list-api="getDeviceList.bind(null, { devicekind: deviceType, pageSize: 10000 })"
  162. designScope="operator-history"
  163. />
  164. </div>
  165. </a-tab-pane>
  166. </a-tabs>
  167. <div class="right-btn-group">
  168. <div class="update-btn">
  169. <span>同步分站:</span>
  170. <a-select
  171. v-model:value="subStation"
  172. :options="subStationOptions"
  173. placeholder="同步分站"
  174. size="large"
  175. :fieldNames="{ label: 'strinstallpos', value: 'id' }"
  176. style="width: 150px"
  177. />
  178. <div class="btn btn1" @click="updateSubstation">确定</div>
  179. </div>
  180. <div class="export-btn"><div class="btn btn1" @click="exportData">一键导出</div></div>
  181. </div>
  182. </div>
  183. </template>
  184. <script setup lang="ts">
  185. import { ref, onMounted, onUnmounted, shallowRef, defineProps, watch, inject, unref } from 'vue';
  186. import { list, getDeviceList, safetyList, getExportUrl, subStationList, initSubStation } from './safety.api';
  187. import AlarmHistoryCommentTable from '../comment/AlarmHistoryTable.vue';
  188. import AlarmHistoryTable from './AlarmHistoryTable.vue';
  189. import HistoryTable from './HistoryTable.vue';
  190. import HandlerHistoryTable from '../comment/HandlerHistoryTable.vue';
  191. import MonitorTable from '../comment/MonitorTable.vue';
  192. import GroupMonitorTable from '../comment/GroupMonitorTable.vue';
  193. import { useRouter } from 'vue-router';
  194. import { formConfig, isHaveNoAction } from './safety.data';
  195. import { getDictItemsByCode } from '/@/utils/dict';
  196. import { usePermission } from '/@/hooks/web/usePermission';
  197. import { useGlobSetting } from '/@/hooks/setting';
  198. import { useMethods } from '/@/hooks/system/useMethods';
  199. import { message } from 'ant-design-vue';
  200. const { sysOrgCode } = useGlobSetting();
  201. const { hasPermission } = usePermission();
  202. const globalConfig = inject('globalConfig');
  203. const { handleExportXls } = useMethods();
  204. // import { BorderBox8 as DvBorderBox8 } from '@kjgl77/datav-vue3';
  205. // const echartsOption = {
  206. // grid: {
  207. // top: '60px',
  208. // left: '10px',
  209. // right: '25px',
  210. // bottom: '5%',
  211. // containLabel: true,
  212. // },
  213. // toolbox: {
  214. // feature: {},
  215. // },
  216. // };
  217. // let alive = ref(true)
  218. type DeviceType = { deviceType: string; deviceName: string; datalist: any[] };
  219. const props = defineProps({
  220. pageData: {
  221. type: Object,
  222. default: () => {},
  223. },
  224. });
  225. const scroll = {
  226. y: 360,
  227. };
  228. const defSort = {
  229. column: 'strinstallpos',
  230. order: 'desc',
  231. };
  232. const monitorTable = ref();
  233. const historyTable = ref();
  234. const alarmHistoryTable = ref();
  235. const handlerHistoryTable = ref();
  236. const isRefresh = ref(true);
  237. const activeKey = ref('1'); // tab key
  238. const dataSource = shallowRef([]); // 实时监测数据
  239. const deviceType = ref(''); // 监测设备类型
  240. const subStation = ref('');
  241. const subStationOptions = ref([]);
  242. // let dataSourceHis = shallowRef([])//历史数据
  243. //历史数据
  244. async function changeHis(data) {
  245. // alive.value = false
  246. // nextTick(() => {
  247. // dataSourceHis = data
  248. // alive.value = true
  249. // })
  250. }
  251. async function tabChange(activeKeyVal) {
  252. activeKey.value = activeKeyVal;
  253. if (activeKey.value != '1') {
  254. if (timer != undefined) {
  255. clearTimeout(timer);
  256. timer = undefined;
  257. }
  258. } else {
  259. timer = null;
  260. await getMonitor(true);
  261. }
  262. }
  263. // https获取监测数据
  264. let timer: null | NodeJS.Timeout = null;
  265. function getMonitor(flag?) {
  266. if (deviceType.value) {
  267. if (timer) timer = null;
  268. if (Object.prototype.toString.call(timer) === '[object Null]') {
  269. timer = setTimeout(
  270. async () => {
  271. await getDataSource();
  272. if (timer) {
  273. getMonitor();
  274. }
  275. },
  276. flag ? 0 : 1000
  277. );
  278. }
  279. }
  280. }
  281. async function getDataSource() {
  282. const formData = monitorTable.value.getForm();
  283. const res = await list({ devicetype: deviceType.value, filterParams: { ...formData.getFieldsValue() } });
  284. if (res.msgTxt.length > 0) {
  285. dataSource.value = [];
  286. let dataArr = res.msgTxt[0].datalist || [];
  287. dataArr.filter((data: any) => {
  288. const readData = data.readData;
  289. return Object.assign(data, readData);
  290. });
  291. if (deviceType.value == 'safetymonitor') {
  292. // 如果是安全监控的数据时需要过滤常见设备数据,根据设定的常用安全监控字典去匹配
  293. let dictCodes = getDictItemsByCode('safetynormal');
  294. console.log(dictCodes, '111-----------');
  295. const searchForm = formData.getFieldsValue();
  296. if (searchForm && searchForm['dataTypeName'] && dictCodes && dictCodes.length > 0) {
  297. console.log(searchForm, '000---------');
  298. const tempData = [];
  299. const tempData1 = [];
  300. for (let i = 0; i < dataArr.length; i++) {
  301. const item = dataArr[i];
  302. let flag = false;
  303. for (let i = 0; i < dictCodes.length; i++) {
  304. const dict = dictCodes[i];
  305. if (dict['value'] == item['dataTypeName']) {
  306. flag = true;
  307. }
  308. }
  309. if (flag) {
  310. tempData.push(item);
  311. } else {
  312. tempData1.push(item);
  313. }
  314. }
  315. if (sysOrgCode == 'zjtzqctmk' || hasPermission('btn:noGb')) {
  316. dataSource.value = [...tempData, ...tempData1];
  317. } else {
  318. dataSource.value = [...tempData];
  319. }
  320. } else {
  321. dataSource.value = dataArr;
  322. }
  323. } else {
  324. dataSource.value = dataArr;
  325. }
  326. } else {
  327. dataSource.value = [];
  328. }
  329. }
  330. async function getSubstation() {
  331. const list: [] = await subStationList({ monitorparam: 'safetymonitor*' });
  332. subStationOptions.value = list;
  333. if (list.length > 0) {
  334. subStation.value = list[0]['id'];
  335. }
  336. }
  337. function exportData() {
  338. handleExportXls('安全监控导出', getExportUrl);
  339. }
  340. function updateSubstation() {
  341. if (subStation.value) {
  342. initSubStation({ substationID: subStation.value }).then(() => {
  343. message.success('分站同步完成!');
  344. });
  345. } else {
  346. message.warning('请选择分站!');
  347. }
  348. }
  349. onMounted(async () => {
  350. const { currentRoute } = useRouter();
  351. if (unref(currentRoute)) {
  352. const path = unref(currentRoute).path;
  353. if (path) {
  354. deviceType.value = path.substring(path.lastIndexOf('/') + 1);
  355. }
  356. await getMonitor(true);
  357. await getSubstation();
  358. }
  359. });
  360. onUnmounted(() => {
  361. if (timer) {
  362. clearTimeout(timer);
  363. }
  364. timer = undefined;
  365. });
  366. </script>
  367. <style lang="less" scoped>
  368. @import '/@/design/theme.less';
  369. @import '/@/design/vent/modal.less';
  370. @ventSpace: zxm;
  371. .device-box {
  372. width: 100%;
  373. height: calc(100% - 100px);
  374. padding-bottom: 10px;
  375. margin-top: 20px;
  376. display: flex;
  377. justify-content: center;
  378. .tabs-box {
  379. width: calc(100% - 12px) !important;
  380. height: 100% !important;
  381. bottom: 3px !important;
  382. }
  383. .device-button-group {
  384. position: absolute;
  385. top: -30px;
  386. display: flex;
  387. width: 100%;
  388. .device-button {
  389. height: 26px;
  390. padding: 0 20px;
  391. background: linear-gradient(45deg, #04e6fb55, #0c5cab55);
  392. clip-path: polygon(10px 0, 0 50%, 10px 100%, 100% 100%, calc(100% - 10px) 50%, 100% 0);
  393. display: flex;
  394. justify-content: center;
  395. align-items: center;
  396. color: #fff;
  397. position: relative;
  398. cursor: pointer;
  399. &:nth-child(1) {
  400. left: calc(-6px * 1);
  401. }
  402. &:nth-child(2) {
  403. left: calc(-6px * 2);
  404. }
  405. &:nth-child(3) {
  406. left: calc(-6px * 3);
  407. }
  408. &:nth-child(4) {
  409. left: calc(-6px * 4);
  410. }
  411. &:nth-child(5) {
  412. left: calc(-6px * 5);
  413. }
  414. &:nth-child(6) {
  415. left: calc(-6px * 6);
  416. }
  417. &:nth-child(7) {
  418. left: calc(-6px * 7);
  419. }
  420. &:nth-child(8) {
  421. left: calc(-6px * 8);
  422. }
  423. &:nth-child(9) {
  424. left: calc(-6px * 9);
  425. }
  426. &:nth-child(10) {
  427. left: calc(-6px * 10);
  428. }
  429. &:nth-child(11) {
  430. left: calc(-6px * 11);
  431. }
  432. &:nth-child(12) {
  433. left: calc(-6px * 12);
  434. }
  435. &:nth-child(13) {
  436. left: calc(-6px * 13);
  437. }
  438. &:nth-child(14) {
  439. left: calc(-6px * 14);
  440. }
  441. &:nth-child(15) {
  442. left: calc(-6px * 15);
  443. }
  444. &:first-child {
  445. clip-path: polygon(0 0, 10px 50%, 0 100%, 100% 100%, calc(100% - 10px) 50%, 100% 0);
  446. }
  447. }
  448. .device-active {
  449. background: linear-gradient(45deg, #04e6fb, #0c5cab);
  450. &::before {
  451. border-color: #0efcff;
  452. box-shadow: 1px 1px 3px 1px #0efcff inset;
  453. }
  454. }
  455. }
  456. .enter-detail {
  457. color: #fff;
  458. cursor: pointer;
  459. position: absolute;
  460. right: 120px;
  461. top: -6px;
  462. padding: 5px;
  463. border-radius: 5px;
  464. margin-left: 8px;
  465. margin-right: 8px;
  466. width: auto;
  467. height: 33px !important;
  468. display: flex;
  469. align-items: center;
  470. justify-content: center;
  471. color: #fff;
  472. padding: 5px 15px 5px 15px;
  473. cursor: pointer;
  474. &:hover {
  475. background: var(--vent-modal-bg2);
  476. }
  477. &::before {
  478. width: calc(100% - 6px);
  479. height: 27px;
  480. content: '';
  481. position: absolute;
  482. top: 3px;
  483. right: 0;
  484. left: 3px;
  485. bottom: 0;
  486. z-index: -1;
  487. border-radius: inherit;
  488. /*important*/
  489. background: linear-gradient(#1fa6cb, #127cb5);
  490. }
  491. }
  492. }
  493. .right-btn-group {
  494. position: absolute;
  495. color: #fff;
  496. right: 20px;
  497. display: flex;
  498. .export-btn {
  499. }
  500. .update-btn {
  501. margin-right: 10px;
  502. display: flex;
  503. align-items: center;
  504. .btn {
  505. background: var(--vent-modal-bg2);
  506. }
  507. }
  508. .btn {
  509. padding: 8px 20px;
  510. position: relative;
  511. border-radius: 2px;
  512. color: #fff;
  513. width: fit-content;
  514. cursor: pointer;
  515. &::before {
  516. position: absolute;
  517. display: block;
  518. content: '';
  519. width: calc(100% - 4px);
  520. height: calc(100% - 4px);
  521. top: 2px;
  522. left: 2px;
  523. border-radius: 2px;
  524. z-index: -1;
  525. }
  526. }
  527. .btn1 {
  528. border: 1px solid var(--vent-btn-primary-border-color);
  529. &::before {
  530. background-image: linear-gradient(#2effee92, #0cb1d592);
  531. }
  532. &:hover {
  533. border: 1px solid #5cfaffaa;
  534. &::before {
  535. background-image: linear-gradient(#2effee72, #0cb1d572);
  536. }
  537. }
  538. }
  539. }
  540. :deep(.@{ventSpace}-tabs-tabpane-active) {
  541. height: 100%;
  542. border: 1px solid var(--vent-device-manager-box-border);
  543. border-radius: 2px;
  544. -webkit-backdrop-filter: blur(8px);
  545. box-shadow: 0 0 20px #44b4ff33 inset;
  546. background-color: var(--vent-device-manager-box-bg);
  547. overflow-y: auto;
  548. }
  549. :deep(.@{ventSpace}-tabs-card) {
  550. .@{ventSpace}-tabs-tab {
  551. background: var(--vent-modal-bg2);
  552. border-color: var(--vent-btn-primary-border-color);
  553. border-radius: 0%;
  554. &:hover {
  555. color: #64d5ff;
  556. }
  557. }
  558. .@{ventSpace}-tabs-content {
  559. height: 100% !important;
  560. }
  561. .@{ventSpace}-tabs-tab.@{ventSpace}-tabs-tab-active .@{ventSpace}-tabs-tab-btn {
  562. color: var(--vent-font-action-link);
  563. }
  564. .@{ventSpace}-tabs-nav::before {
  565. border-color: var(--vent-btn-primary-border-color);
  566. }
  567. .@{ventSpace}-picker,
  568. .@{ventSpace}-select-selector {
  569. width: 100% !important;
  570. background: #00000017 !important;
  571. border: 1px solid @vent-form-item-border !important;
  572. input,
  573. .@{ventSpace}-select-selection-item,
  574. .@{ventSpace}-picker-suffix {
  575. color: #fff !important;
  576. }
  577. .@{ventSpace}-select-selection-placeholder {
  578. color: #b7b7b7 !important;
  579. }
  580. }
  581. .@{ventSpace}-pagination-next,
  582. .action,
  583. .@{ventSpace}-select-arrow,
  584. .@{ventSpace}-picker-separator {
  585. color: #fff !important;
  586. }
  587. }
  588. </style>