样式修改

This commit is contained in:
lai
2024-12-20 17:18:16 +08:00
parent e4222e7b03
commit 9b84ff9452
2 changed files with 8 additions and 6 deletions

View File

@@ -28,7 +28,7 @@ import useWS from './hooks/useWS';
import useAppStore from '@/store/modules/app'; import useAppStore from '@/store/modules/app';
import { RESULT_CODE_SUCCESS } from '@/constants/result-constants'; import { RESULT_CODE_SUCCESS } from '@/constants/result-constants';
import { useRouter } from 'vue-router'; import { useRouter } from 'vue-router';
import { message } from 'ant-design-vue/es/components'; import { message } from 'ant-design-vue/lib/components';
import useNeInfoStore from '@/store/modules/neinfo'; import useNeInfoStore from '@/store/modules/neinfo';
const router = useRouter(); const router = useRouter();
@@ -110,6 +110,7 @@ function fnGetNeState() {
async function fnGetSkim() { async function fnGetSkim() {
const resArr = await Promise.allSettled([ const resArr = await Promise.allSettled([
listUDMSub({ listUDMSub({
neid: '001',
pageNum: 1, pageNum: 1,
pageSize: 1, pageSize: 1,
}), }),
@@ -175,7 +176,7 @@ function loadData() {
clearInterval(interval10s.value); clearInterval(interval10s.value);
interval10s.value = setInterval(() => { interval10s.value = setInterval(() => {
if (!interval10s.value) return; if (!interval10s.value) return
if (upfTFActive.value === '0') { if (upfTFActive.value === '0') {
upfTFSend('7'); upfTFSend('7');
upfTFActive.value = '7'; upfTFActive.value = '7';
@@ -190,7 +191,7 @@ function loadData() {
clearInterval(interval5s.value); clearInterval(interval5s.value);
interval5s.value = setInterval(() => { interval5s.value = setInterval(() => {
if (!interval5s.value) return; if (!interval5s.value) return
fnGetSkim(); // 获取概览信息 fnGetSkim(); // 获取概览信息
fnGetNeState(); // 获取网元状态 fnGetNeState(); // 获取网元状态
}, 5_000); }, 5_000);
@@ -575,4 +576,8 @@ onBeforeUnmount(() => {
.toDeep :deep(.ant-select-arrow) { .toDeep :deep(.ant-select-arrow) {
color: #fff; color: #fff;
} }
.toDeep :deep(.ant-select-selection-item) {
color: #fff;
}
</style> </style>

View File

@@ -814,15 +814,12 @@ function fnGetDeptTree() {
function handleChange(value: any, options: any) { function handleChange(value: any, options: any) {
modalState.from.roleIds = [value]; modalState.from.roleIds = [value];
console.log(modalState.from.roleIds, options.roleKey);
modalState.showTenant = options.roleKey === 'tenant'; modalState.showTenant = options.roleKey === 'tenant';
// 获取租户树结构数据 // 获取租户树结构数据
if (modalState.showTenant) fnGetDeptTree(); if (modalState.showTenant) fnGetDeptTree();
} }
function handleDel(value: any, options: any) { function handleDel(value: any, options: any) {
console.log(modalState.from.roleIds, options.roleKey);
modalState.showTenant = options.roleKey !== 'tenant'; modalState.showTenant = options.roleKey !== 'tenant';
// 获取租户树结构数据 // 获取租户树结构数据
if (modalState.showTenant) fnGetDeptTree(); if (modalState.showTenant) fnGetDeptTree();