样式修改

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

View File

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