index.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638
  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. >
  21. <template #filterCell="{ column, record }">
  22. <template v-if="deviceType.startsWith('safetymonitor')">
  23. <div v-if="!record.devicename && column.dataIndex === 'devicename'">-</div>
  24. <div v-if="!record.V && column.dataIndex === 'V'">-</div>
  25. <div v-if="!record.PointUnit && column.dataIndex === 'PointUnit'">-</div>
  26. <div v-if="!record.highRange && column.dataIndex === 'highRange'">-</div>
  27. <div v-if="!record.lowRange && column.dataIndex === 'lowRange'">-</div>
  28. <div v-if="!record.dataTypeName && column.dataIndex === 'dataTypeName'">-</div>
  29. </template>
  30. <a-tag v-if="column.dataIndex === 'warnFlag'" :color="record.warnFlag == '0' ? 'green' : record.warnFlag == 1 ? '#FF5812' : 'gray'">
  31. {{ record.warnFlag == '0' ? '正常' : record.warnFlag == 1 ? '报警' : record.warnFlag == 2 ? '断开' : '未监测' }}</a-tag
  32. >
  33. <a-tag v-if="column.dataIndex === 'netStatus'" :color="record.netStatus == '0' ? '#f00' : 'green'">{{
  34. record.netStatus == '0' ? '断开' : '连接'
  35. }}</a-tag>
  36. </template>
  37. </MonitorTable>
  38. </template>
  39. <template v-else>
  40. <MonitorTable
  41. ref="monitorTable"
  42. :columnsType="`${deviceType}_monitor`"
  43. :dataSource="dataSource"
  44. design-scope="device_monitor"
  45. :isShowPagination="false"
  46. :isShowActionColumn="isHaveNoAction.includes(deviceType.split('_')[0]) ? false : true"
  47. :is-show-select="false"
  48. title="设备监测"
  49. :form-config="deviceType == 'safetymonitor' && sysOrgCode != 'zjtzqctmk' ? formConfig : undefined"
  50. :scroll="{ y: 650 }"
  51. >
  52. <template #filterCell="{ column, record }">
  53. <template v-if="deviceType.startsWith('gate')">
  54. <template v-if="record.frontGateOpenCtrl == 1 || record.frontGateOpenCtrl === true">
  55. <a-tag v-if="column.dataIndex === 'frontGateOpen' && record.frontGateOpen == 0 && record.frontGateClose == 0" color="red"
  56. >正在打开</a-tag
  57. >
  58. <a-tag v-else-if="column.dataIndex === 'frontGateOpen'" color="processing">打开</a-tag>
  59. </template>
  60. <template v-else-if="record.frontGateOpenCtrl == 0 || record.frontGateOpenCtrl === false">
  61. <a-tag v-if="column.dataIndex === 'frontGateOpen' && record.frontGateOpen == 0 && record.frontGateClose == 0" color="red"
  62. >正在关闭</a-tag
  63. >
  64. <a-tag v-else-if="column.dataIndex === 'frontGateOpen' && record.frontGateOpen == 0 && record.frontGateClose == 1" color="default"
  65. >关闭</a-tag
  66. >
  67. <a-tag v-else-if="column.dataIndex === 'frontGateOpen' && record.frontGateOpen == 1 && record.frontGateClose == 0" color="default"
  68. >打开</a-tag
  69. >
  70. </template>
  71. <template v-if="record.rearGateOpenCtrl == 1 || record.rearGateOpenCtrl === true">
  72. <a-tag v-if="column.dataIndex === 'rearGateOpen' && record.rearGateOpen == 0 && record.rearGateClose == 0" color="red"
  73. >正在打开</a-tag
  74. >
  75. <a-tag v-else-if="column.dataIndex === 'rearGateOpen'" color="processing">打开</a-tag>
  76. </template>
  77. <template v-else-if="record.rearGateOpenCtrl == 0 || record.rearGateOpenCtrl === false">
  78. <a-tag v-if="column.dataIndex === 'rearGateOpen' && record.rearGateOpen == 0 && record.rearGateClose == 0" color="red"
  79. >正在关闭</a-tag
  80. >
  81. <a-tag v-else-if="column.dataIndex === 'rearGateOpen' && record.rearGateOpen == 0 && record.rearGateClose == 1" color="default"
  82. >关闭</a-tag
  83. >
  84. <a-tag v-else-if="column.dataIndex === 'rearGateOpen' && record.rearGateOpen == 1 && record.rearGateClose == 0" color="default"
  85. >打开</a-tag
  86. >
  87. </template>
  88. </template>
  89. <template v-if="deviceType.startsWith('windrect')">
  90. <a-tag v-if="column.dataIndex === 'sign'" :color="record.sign == '0' ? '#95CF65' : record.sign == 1 ? '#4590EA' : '#9876AA'">
  91. {{ record.sign == '0' ? '高位' : record.sign == 1 ? '中位' : '低位' }}</a-tag
  92. >
  93. <template v-if="record && column && column.dataIndex === 'isRun' && record.isRun">
  94. <a-tag v-if="record.isRun == -2 || record.isRun == -1" :color="record.isRun == -2 ? '#95CF65' : '#ED5700'">{{
  95. record.isRun == -2 ? '空闲' : '等待'
  96. }}</a-tag>
  97. <a-tag v-else-if="record.isRun == 100" color="#4693FF">完成</a-tag>
  98. <Progress v-else :percent="Number(record.isRun)" size="small" status="active" />
  99. </template>
  100. </template>
  101. <template v-if="deviceType.startsWith('safetymonitor')">
  102. <div v-if="!record.devicename && column.dataIndex === 'devicename'">-</div>
  103. <div v-if="!record.V && column.dataIndex === 'V'">-</div>
  104. <div v-if="!record.PointUnit && column.dataIndex === 'PointUnit'">-</div>
  105. <div v-if="!record.highRange && column.dataIndex === 'highRange'">-</div>
  106. <div v-if="!record.lowRange && column.dataIndex === 'lowRange'">-</div>
  107. <div v-if="!record.dataTypeName && column.dataIndex === 'dataTypeName'">-</div>
  108. </template>
  109. <a-tag v-if="column.dataIndex === 'warnFlag'" :color="record.warnFlag == '0' ? 'green' : record.warnFlag == 1 ? '#FF5812' : 'gray'">
  110. {{ record.warnFlag == '0' ? '正常' : record.warnFlag == 1 ? '报警' : record.warnFlag == 2 ? '断开' : '未监测' }}</a-tag
  111. >
  112. <a-tag v-if="column.dataIndex === 'netStatus'" :color="record.netStatus == '0' ? '#f00' : 'green'">{{
  113. record.netStatus == '0' ? '断开' : '连接'
  114. }}</a-tag>
  115. </template>
  116. </MonitorTable>
  117. </template>
  118. <!-- <MonitorTable
  119. ref="monitorTable"
  120. :columnsType="`${deviceType}_monitor`"
  121. :dataSource="dataSource"
  122. design-scope="device_monitor"
  123. :isShowPagination="false"
  124. :isShowActionColumn="isHaveNoAction.includes(deviceType.split('_')[0]) ? false : true"
  125. :is-show-select="false"
  126. title="设备监测"
  127. :form-config="deviceType == 'safetymonitor' && sysOrgCode != 'zjtzqctmk' ? formConfig : undefined"
  128. :scroll="{ y: 650 }"
  129. > -->
  130. </template>
  131. <!-- 图表 -->
  132. <!-- <div style="width:100%;height:280px;margin: 20px 0px;">
  133. <BarAndLine v-if="deviceType == 'windrect'" xAxisPropType="strname" :dataSource="dataSource" height="100%"
  134. :chartsColumns="chartsColumnsRect" chartsType="" :option="echartsOption" />
  135. <BarAndLine v-else-if="deviceType == 'fanlocal'" xAxisPropType="strname" :dataSource="dataSource" height="100%"
  136. :chartsColumns="chartsColumnsFan" chartsType="" :option="echartsOption" />
  137. <BarAndLine v-else-if="deviceType == 'fanmain'" xAxisPropType="strname" :dataSource="dataSource" height="100%"
  138. :chartsColumns="chartsColumnsMain" chartsType="" :option="echartsOption" />
  139. <BarAndLine v-else-if="deviceType == 'fiber'" xAxisPropType="strname" :dataSource="dataSource" height="100%"
  140. :chartsColumns="chartsColumnsFiber" chartsType="" :option="echartsOption" />
  141. <BarAndLine v-else-if="deviceType == 'obfurage'" xAxisPropType="strname" :dataSource="dataSource" height="100%"
  142. :chartsColumns="chartsColumnsObf" chartsType="" :option="echartsOption" />
  143. <BarAndLine v-else-if="deviceType == 'bundletube'" xAxisPropType="strname" :dataSource="dataSource"
  144. height="100%" :chartsColumns="chartsColumnsBun" chartsType="" :option="echartsOption" />
  145. <BarAndLine v-else xAxisPropType="strname" :dataSource="dataSource" height="100%"
  146. :chartsColumns="chartsColumnsreal" chartsType="" :option="echartsOption" />
  147. </div> -->
  148. </a-tab-pane>
  149. <a-tab-pane key="2" tab="历史数据">
  150. <div class="tab-item">
  151. <HistoryTable
  152. ref="historyTable"
  153. v-if="activeKey == '2'"
  154. :columns-type="`${deviceType}`"
  155. :device-type="deviceType"
  156. designScope="device-history"
  157. />
  158. </div>
  159. <!-- 图表 -->
  160. <!-- <div v-if="alive" style="width:100%;height:280px;margin: 20px 0px;">
  161. <BarAndLine v-if="deviceType == 'windrect'" xAxisPropType="gdevicename" :dataSource="dataSourceHis"
  162. height="100%" :chartsColumns="chartsColumnsRect" chartsType="" :option="echartsOption" />
  163. <BarAndLine v-else-if="deviceType == 'fanlocal'" xAxisPropType="gdevicename" :dataSource="dataSourceHis"
  164. height="100%" :chartsColumns="chartsColumnsFan" chartsType="" :option="echartsOption" />
  165. <BarAndLine v-else-if="deviceType == 'fanmain'" xAxisPropType="gdevicename" :dataSource="dataSourceHis"
  166. height="100%" :chartsColumns="chartsColumnsMain" chartsType="" :option="echartsOption" />
  167. <BarAndLine v-else-if="deviceType == 'fiber'" xAxisPropType="gdevicename" :dataSource="dataSourceHis"
  168. height="100%" :chartsColumns="chartsColumnsFiber" chartsType="" :option="echartsOption" />
  169. <BarAndLine v-else-if="deviceType == 'obfurage'" xAxisPropType="gdevicename" :dataSource="dataSourceHis"
  170. height="100%" :chartsColumns="chartsColumnsObf" chartsType="" :option="echartsOption" />
  171. <BarAndLine v-else-if="deviceType == 'bundletube'" xAxisPropType="gdevicename" :dataSource="dataSourceHis"
  172. height="100%" :chartsColumns="chartsColumnsBun" chartsType="" :option="echartsOption" />
  173. <BarAndLine v-else xAxisPropType="gdevicename" :dataSource="dataSourceHis" height="100%"
  174. :chartsColumns="chartsColumnsreal" chartsType="" :option="echartsOption" />
  175. </div> -->
  176. </a-tab-pane>
  177. <a-tab-pane key="3" tab="报警历史" v-if="!hasPermission('safety:hideWarning')">
  178. <div class="tab-item">
  179. <AlarmHistoryTable
  180. ref="alarmHistoryTable"
  181. v-if="globalConfig.History_Type == 'remote' && activeKey == '3'"
  182. columns-type="alarm"
  183. :list="safetyList"
  184. :device-type="deviceType"
  185. :device-list-api="getDeviceList.bind(null, { devicekind: deviceType, pageSize: 10000 })"
  186. designScope="alarm-history"
  187. />
  188. <AlarmHistoryCommentTable
  189. ref="alarmHistoryTable"
  190. v-else-if="activeKey == '3'"
  191. columns-type="alarm"
  192. :device-type="deviceType"
  193. :device-list-api="getDeviceList.bind(null, { devicekind: deviceType, pageSize: 10000 })"
  194. designScope="alarm-history"
  195. />
  196. </div>
  197. </a-tab-pane>
  198. <a-tab-pane key="4" tab="操作历史" v-if="deviceType !== 'safetymonitor' && deviceType !== 'wasichoufang'">
  199. <div class="tab-item">
  200. <HandlerHistoryTable
  201. ref="handlerHistoryTable"
  202. v-if="activeKey == '4'"
  203. columns-type="operator_history"
  204. :device-type="deviceType"
  205. :device-list-api="getDeviceList.bind(null, { devicekind: deviceType, pageSize: 10000 })"
  206. designScope="operator-history"
  207. />
  208. </div>
  209. </a-tab-pane>
  210. </a-tabs>
  211. </div>
  212. </template>
  213. <script setup lang="ts">
  214. import { ref, onMounted, onUnmounted, shallowRef, defineProps, watch, inject, unref } from 'vue';
  215. import BarAndLine from '/@/components/chart/BarAndLine.vue';
  216. import { list, getDeviceList, safetyList } from './safety.api';
  217. import AlarmHistoryCommentTable from '../comment/AlarmHistoryTable.vue';
  218. import AlarmHistoryTable from './AlarmHistoryTable.vue';
  219. import HistoryTable from './HistoryTable.vue';
  220. import HandlerHistoryTable from '../comment/HandlerHistoryTable.vue';
  221. import MonitorTable from '../comment/MonitorTable.vue';
  222. import GroupMonitorTable from '../comment/GroupMonitorTable.vue';
  223. import { Progress } from 'ant-design-vue';
  224. import { useRouter } from 'vue-router';
  225. import { formConfig, isHaveNoAction } from './safety.data';
  226. import { getDictItemsByCode } from '/@/utils/dict';
  227. import { usePermission } from '/@/hooks/web/usePermission';
  228. import { useGlobSetting } from '/@/hooks/setting';
  229. const { sysOrgCode } = useGlobSetting();
  230. const { hasPermission } = usePermission();
  231. const globalConfig = inject('globalConfig');
  232. // import { BorderBox8 as DvBorderBox8 } from '@kjgl77/datav-vue3';
  233. // const echartsOption = {
  234. // grid: {
  235. // top: '60px',
  236. // left: '10px',
  237. // right: '25px',
  238. // bottom: '5%',
  239. // containLabel: true,
  240. // },
  241. // toolbox: {
  242. // feature: {},
  243. // },
  244. // };
  245. // let alive = ref(true)
  246. type DeviceType = { deviceType: string; deviceName: string; datalist: any[] };
  247. const props = defineProps({
  248. pageData: {
  249. type: Object,
  250. default: () => {},
  251. },
  252. });
  253. const scroll = {
  254. y: 360,
  255. };
  256. const monitorTable = ref();
  257. const historyTable = ref();
  258. const alarmHistoryTable = ref();
  259. const handlerHistoryTable = ref();
  260. const isRefresh = ref(true);
  261. const activeKey = ref('1'); // tab key
  262. const dataSource = shallowRef([]); // 实时监测数据
  263. const deviceType = ref(''); // 监测设备类型
  264. // let dataSourceHis = shallowRef([])//历史数据
  265. //历史数据
  266. async function changeHis(data) {
  267. // alive.value = false
  268. // nextTick(() => {
  269. // dataSourceHis = data
  270. // alive.value = true
  271. // })
  272. }
  273. async function tabChange(activeKeyVal) {
  274. activeKey.value = activeKeyVal;
  275. if (activeKey.value != '1') {
  276. if (timer != undefined) {
  277. clearTimeout(timer);
  278. timer = undefined;
  279. }
  280. } else {
  281. timer = null;
  282. await getMonitor(true);
  283. }
  284. }
  285. // https获取监测数据
  286. let timer: null | NodeJS.Timeout = null;
  287. function getMonitor(flag?) {
  288. if (deviceType.value) {
  289. if (timer) timer = null;
  290. if (Object.prototype.toString.call(timer) === '[object Null]') {
  291. timer = setTimeout(
  292. async () => {
  293. await getDataSource();
  294. if (timer) {
  295. getMonitor();
  296. }
  297. },
  298. flag ? 0 : 1000
  299. );
  300. }
  301. }
  302. }
  303. async function getDataSource() {
  304. const formData = monitorTable.value.getForm();
  305. const res = await list({ devicetype: deviceType.value, filterParams: { ...formData.getFieldsValue() } });
  306. if (res.msgTxt.length > 0) {
  307. dataSource.value = [];
  308. let dataArr = res.msgTxt[0].datalist || [];
  309. dataArr.filter((data: any) => {
  310. const readData = data.readData;
  311. return Object.assign(data, readData);
  312. });
  313. if (deviceType.value == 'safetymonitor') {
  314. // 如果是安全监控的数据时需要过滤常见设备数据,根据设定的常用安全监控字典去匹配
  315. let dictCodes = getDictItemsByCode('safetynormal');
  316. const searchForm = formData.getFieldsValue();
  317. if (searchForm && !searchForm['dataTypeName'] && dictCodes && dictCodes.length > 0) {
  318. const tempData = [];
  319. const tempData1 = [];
  320. for (let i = 0; i < dataArr.length; i++) {
  321. const item = dataArr[i];
  322. let flag = false;
  323. for (let i = 0; i < dictCodes.length; i++) {
  324. const dict = dictCodes[i];
  325. if (dict['value'] == item['dataTypeName']) {
  326. flag = true;
  327. }
  328. }
  329. if (flag) {
  330. tempData.push(item);
  331. } else {
  332. tempData1.push(item);
  333. }
  334. }
  335. if (sysOrgCode == 'zjtzqctmk' || hasPermission('btn:noGb')) {
  336. dataSource.value = [...tempData, ...tempData1];
  337. } else {
  338. dataSource.value = [...tempData];
  339. }
  340. } else {
  341. dataSource.value = dataArr;
  342. }
  343. } else {
  344. dataSource.value = dataArr;
  345. }
  346. } else {
  347. dataSource.value = [];
  348. }
  349. }
  350. onMounted(async () => {
  351. const { currentRoute } = useRouter();
  352. if (unref(currentRoute)) {
  353. const path = unref(currentRoute).path;
  354. if (path) {
  355. deviceType.value = path.substring(path.lastIndexOf('/') + 1);
  356. }
  357. await getMonitor(true);
  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/vent/color.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: linear-gradient(#2cd1ff55, #1eb0ff55);
  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. :deep(.@{ventSpace}-tabs-tabpane-active) {
  494. height: 100%;
  495. border: 1px solid #44d3ff70;
  496. border-radius: 2px;
  497. -webkit-backdrop-filter: blur(8px);
  498. box-shadow: 0 0 20px #44b4ff33 inset;
  499. background-color: #ffffff11;
  500. overflow-y: auto;
  501. }
  502. :deep(.@{ventSpace}-tabs-card) {
  503. .@{ventSpace}-tabs-tab {
  504. background: linear-gradient(#2cd1ff55, #1eb0ff55);
  505. border-color: #74e9fe;
  506. border-radius: 0%;
  507. &:hover {
  508. color: #64d5ff;
  509. }
  510. }
  511. .@{ventSpace}-tabs-content {
  512. height: 100% !important;
  513. }
  514. .@{ventSpace}-tabs-tab.@{ventSpace}-tabs-tab-active .@{ventSpace}-tabs-tab-btn {
  515. color: aqua;
  516. }
  517. .@{ventSpace}-tabs-nav::before {
  518. border-color: #74e9fe;
  519. }
  520. .@{ventSpace}-picker,
  521. .@{ventSpace}-select-selector {
  522. width: 100% !important;
  523. background: #00000017 !important;
  524. border: 1px solid @vent-form-item-boder !important;
  525. input,
  526. .@{ventSpace}-select-selection-item,
  527. .@{ventSpace}-picker-suffix {
  528. color: #fff !important;
  529. }
  530. .@{ventSpace}-select-selection-placeholder {
  531. color: #b7b7b7 !important;
  532. }
  533. }
  534. .@{ventSpace}-pagination-next,
  535. .action,
  536. .@{ventSpace}-select-arrow,
  537. .@{ventSpace}-picker-separator {
  538. color: #fff !important;
  539. }
  540. .@{ventSpace}-table-cell-row-hover {
  541. background: #264d8833 !important;
  542. }
  543. .@{ventSpace}-table-row-selected {
  544. background: #00c0a311 !important;
  545. td {
  546. background-color: #00000000 !important;
  547. }
  548. }
  549. .@{ventSpace}-table-thead {
  550. // background: linear-gradient(#004a8655 0%, #004a86aa 10%) !important;
  551. background: #3d9dd45d !important;
  552. & > tr > th,
  553. .@{ventSpace}-table-column-title {
  554. // color: #70f9fc !important;
  555. border-color: #84f2ff !important;
  556. border-left: none !important;
  557. border-right: none !important;
  558. padding: 7px;
  559. }
  560. }
  561. .@{ventSpace}-table-tbody {
  562. tr > td {
  563. padding: 12px;
  564. }
  565. }
  566. .@{ventSpace}-table-tbody > tr:hover.@{ventSpace}-table-row > td {
  567. background-color: #26648855 !important;
  568. }
  569. .jeecg-basic-table-row__striped {
  570. // background: #97efff11 !important;
  571. td {
  572. background-color: #97efff11 !important;
  573. }
  574. }
  575. }
  576. </style>