From 2f325c122c25ef532219025a3db0e86db5ad2fa8 Mon Sep 17 00:00:00 2001 From: wyuu Date: Thu, 16 Jul 2026 18:08:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/index.scss | 3 +- src/assets/styles/ruoyi.scss | 9 +- src/components/PrintReportMask/index.vue | 109 +++++++++++ src/components/SelectTable/index.vue | 2 +- src/layout/index.vue | 17 +- src/store/modules/user.js | 4 + src/utils/webSocket.ts | 68 +++---- src/views/liswork/Issueorder/index.vue | 1 - src/views/liswork/batchPrint/index.vue | 32 ++- src/views/liswork/micro/index.vue | 35 +--- src/views/liswork/work/index.vue | 36 +--- src/views/liswork/xtwh/statstemplate/data.vue | 45 ++--- src/views/login.vue | 21 +- .../statisticalAnalysis/report/index.vue | 185 ++++-------------- 14 files changed, 266 insertions(+), 301 deletions(-) create mode 100644 src/components/PrintReportMask/index.vue diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index b5c4cb6..7c5b221 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -410,6 +410,7 @@ aside { line-height: 30px; padding: 0 !important; background-image: none !important; + color: #000; } .vxe-footer--column { @@ -430,8 +431,6 @@ aside { border-top: 1px solid #ccc !important; } - - .vxe-header--row th { height: 30px !important; line-height: 30px; diff --git a/src/assets/styles/ruoyi.scss b/src/assets/styles/ruoyi.scss index 8d0589a..ffab150 100644 --- a/src/assets/styles/ruoyi.scss +++ b/src/assets/styles/ruoyi.scss @@ -188,7 +188,7 @@ .el-table__body td { font-size: .8125rem; - + color: #000; } @@ -376,6 +376,7 @@ .col--ellipsis { height: 1.875rem !important; line-height: 1.875rem !important; + color: #000; } .el-checkbox { @@ -398,17 +399,17 @@ } // 滚动条 - .mytable-style ::-webkit-scrollbar { + .vxe-table ::-webkit-scrollbar { width: .6rem; height: .5rem; } - .mytable-style ::-webkit-scrollbar-thumb { + .vxe-table ::-webkit-scrollbar-thumb { background-color: #817e7e; cursor: pointer; } - .mytable-style ::-webkit-scrollbar-thumb:hover { + .vxe-table ::-webkit-scrollbar-thumb:hover { background-color: #817e7e; cursor: pointer; } diff --git a/src/components/PrintReportMask/index.vue b/src/components/PrintReportMask/index.vue new file mode 100644 index 0000000..6de907d --- /dev/null +++ b/src/components/PrintReportMask/index.vue @@ -0,0 +1,109 @@ + + + \ No newline at end of file diff --git a/src/components/SelectTable/index.vue b/src/components/SelectTable/index.vue index f3dfea4..836501c 100644 --- a/src/components/SelectTable/index.vue +++ b/src/components/SelectTable/index.vue @@ -40,7 +40,7 @@ :row-config="{ isHover: true, keyField: 'value', height: 30, isCurrent: true }" :data="filterData" :current-row="currentRow" @cell-click="currentChange" :tooltip-config="{ appendToBody: true, zIndex: 3000 }" :show-overflow="true" - :scroll-y="{ enabled: true, rSize: 30, height: '100%' }"> + :scroll-y="{ enabled: true, rSize: 30, height: '100%', oSize: 20, gt: 30, }"> diff --git a/src/layout/index.vue b/src/layout/index.vue index 1334fc9..b91b48f 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -1,10 +1,10 @@