From 870611f2ec33c99edc35fd131d5d74db13be76a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?LAPTOP-S9HJSOEB=5C=E6=98=8A=E5=A4=A9?= Date: Sun, 28 Apr 2024 11:47:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/antd_color.less | 4 +- src/router/index.js | 36 +++++------ src/views/checkManage/checkOperation.vue | 77 +++++++++++++++++++----- src/views/checkManage/index.vue | 4 +- src/views/historyCheck/index.vue | 8 ++- src/views/historyMonitoring/index.vue | 9 +-- 6 files changed, 90 insertions(+), 48 deletions(-) diff --git a/public/antd_color.less b/public/antd_color.less index b746b9c..e04b7f1 100644 --- a/public/antd_color.less +++ b/public/antd_color.less @@ -42,7 +42,7 @@ html {--antd-wave-shadow-color: @primary-color;} .ant-alert-info .ant-alert-icon {color: #1890ff;} .ant-alert-warning {background-color: #fffbe6;border: 1px solid #ffe58f;} .ant-alert-warning .ant-alert-icon {color: #faad14;} -.ant-alert-error {background-color: #fff1f0;border: 1px solid #ffa39e;} +.ant-alert-error {background-color: color(~`colorPalette("@{heading-color}", 1)`);border: 1px solid #ffa39e;} .ant-alert-error .ant-alert-icon {color: #f5222d;} .ant-alert-close-icon {background-color: transparent;border: none;} .ant-alert-close-icon .anticon-close {color: @text-color-secondary;} @@ -1377,7 +1377,7 @@ tr.ant-table-expanded-row:hover {background: #fbfbfb;} .ant-tag-pink-inverse {color: #fff;background: #eb2f96;border-color: #eb2f96;} .ant-tag-magenta {color: #eb2f96;background: #fff0f6;border-color: #ffadd2;} .ant-tag-magenta-inverse {color: #fff;background: #eb2f96;border-color: #eb2f96;} -.ant-tag-red {color: #f5222d;background: #fff1f0;border-color: #ffa39e;} +.ant-tag-red {color: #f5222d;background: color(~`colorPalette("@{heading-color}", 1)`);border-color: #ffa39e;} .ant-tag-red-inverse {color: #fff;background: #f5222d;border-color: #f5222d;} .ant-tag-volcano {color: #fa541c;background: #fff2e8;border-color: #ffbb96;} .ant-tag-volcano-inverse {color: #fff;background: #fa541c;border-color: #fa541c;} diff --git a/src/router/index.js b/src/router/index.js index 3d337b8..76d3bf3 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -76,15 +76,15 @@ const routes = [{ }, component: () => import('@/views/historyMonitoring/index') }, - { - path: 'alarmLog', - name: 'alarmLog', - meta: { - icon: 'eye', - name: '告警日志' - }, - component: () => import('@/views/alarmVideos/alarmLog') - }, + // { + // path: 'alarmLog', + // name: 'alarmLog', + // meta: { + // icon: 'eye', + // name: '告警日志' + // }, + // component: () => import('@/views/alarmVideos/alarmLog') + // }, { path: 'checkManage', name: 'checkManage', @@ -112,15 +112,15 @@ const routes = [{ component: () => import('@/views/historyCheck/index'), }, - { - path: 'checkHistory1', - name: 'checkHistory1', - meta: { - icon: 'tag', - name: '库位历史', - }, - component: () => import('@/views/historyCheck/index'), - }, + // { + // path: 'checkHistory1', + // name: 'checkHistory1', + // meta: { + // icon: 'tag', + // name: '库位历史', + // }, + // component: () => import('@/views/historyCheck/index'), + // }, // { // path: 'stockHistory', // name: 'stockHistory', diff --git a/src/views/checkManage/checkOperation.vue b/src/views/checkManage/checkOperation.vue index 0a6e08f..b4c6be9 100644 --- a/src/views/checkManage/checkOperation.vue +++ b/src/views/checkManage/checkOperation.vue @@ -3,7 +3,8 @@