diff --git a/src/assets/logotype.png b/src/assets/logotype.png new file mode 100644 index 0000000..fdb4131 Binary files /dev/null and b/src/assets/logotype.png differ diff --git a/src/types/auto-imports.d.ts b/src/types/auto-imports.d.ts index e5c7bdb..5742656 100644 --- a/src/types/auto-imports.d.ts +++ b/src/types/auto-imports.d.ts @@ -5,6 +5,8 @@ declare global { const ElForm: typeof import('element-plus/es')['ElForm'] const ElMessage: typeof import('element-plus/es')['ElMessage'] const ElMessageBox: typeof import('element-plus/es')['ElMessageBox'] + const ElNotification: typeof import('element-plus/es')['ElNotification'] + const NEllipsis: typeof import('naive-ui')['NEllipsis'] const asyncComputed: typeof import('@vueuse/core')['asyncComputed'] const autoResetRef: typeof import('@vueuse/core')['autoResetRef'] const computed: typeof import('vue')['computed'] @@ -274,6 +276,8 @@ declare module 'vue' { readonly ElForm: UnwrapRef readonly ElMessage: UnwrapRef readonly ElMessageBox: UnwrapRef + readonly ElNotification: UnwrapRef + readonly NEllipsis: UnwrapRef readonly asyncComputed: UnwrapRef readonly autoResetRef: UnwrapRef readonly computed: UnwrapRef diff --git a/src/views/dataScreen/components/header.vue b/src/views/dataScreen/components/header.vue index be47d60..72a3469 100644 --- a/src/views/dataScreen/components/header.vue +++ b/src/views/dataScreen/components/header.vue @@ -298,6 +298,7 @@ function waringConfirm(item: any) { getwaringList(); ElMessage({ message: res.msg, + grouping: true, //分组消息合并 type: 'success' }); } diff --git a/src/views/monitoring/components/header.vue b/src/views/monitoring/components/header.vue index a775a0f..4303d75 100644 --- a/src/views/monitoring/components/header.vue +++ b/src/views/monitoring/components/header.vue @@ -320,6 +320,7 @@ function waringConfirm(item: any) { getwaringList(); ElMessage({ message: res.msg, + grouping: true, //分组消息合并 type: 'success' }); } diff --git a/src/views/monitoring/devicemanage/components/header.vue b/src/views/monitoring/devicemanage/components/header.vue index be47d60..72a3469 100644 --- a/src/views/monitoring/devicemanage/components/header.vue +++ b/src/views/monitoring/devicemanage/components/header.vue @@ -298,6 +298,7 @@ function waringConfirm(item: any) { getwaringList(); ElMessage({ message: res.msg, + grouping: true, //分组消息合并 type: 'success' }); } diff --git a/src/views/monitoring/screen/components/main.vue b/src/views/monitoring/screen/components/main.vue index 4a8ec5e..e674241 100644 --- a/src/views/monitoring/screen/components/main.vue +++ b/src/views/monitoring/screen/components/main.vue @@ -455,13 +455,19 @@ const formatRole: VxeColumnPropTypes.Formatter = ({ cellValue }) => { // const iconFont=cellValue.changeProp===-1?'':(cellValue.changeProp===1?'':'') // const cellData = `${cellValue.val}${iconFont}`; // const cellData = `${cellValue.val}${cellValue.canBeControl === '1' ? '' : ''}`; - const cellData = `${ - cellValue.ctrlPro.valueType != 'bool' ? cellValue.val : cellValue.val === 'true' ? '启' : '停' - }${cellValue.canBeControl === '1' && controlPerm ? '' : ''}`; + // const cellData = ` + // + // ${cellValue.ctrlPro.valueType != 'bool' ? cellValue.val : cellValue.val === 'true' ? '启' : '停'} + // + // + // ${cellValue.canBeControl === '1' && controlPerm ? '' : ''}`; + const cellData = ` + + ${cellValue.ctrlPro.valueType != 'bool' ? cellValue.val : cellValue.val === 'true' ? '启' : '停'} + + ${cellValue.canBeControl === '1' && controlPerm ? '' : ''}`; return cellData; };