From c0db1d4fa603e227695ffc8738a30843c28f5dd6 Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期二, 07 四月 2026 16:30:06 +0800
Subject: [PATCH] 新增和编辑页面工资定额输入验证,确保其不小于0

---
 src/views/reportAnalysis/dataDashboard/components/basic/right-bottom.vue |   39 ++++++++++++++++-----------------------
 1 files changed, 16 insertions(+), 23 deletions(-)

diff --git a/src/views/reportAnalysis/dataDashboard/components/basic/right-bottom.vue b/src/views/reportAnalysis/dataDashboard/components/basic/right-bottom.vue
index 9d4e983..f885d05 100644
--- a/src/views/reportAnalysis/dataDashboard/components/basic/right-bottom.vue
+++ b/src/views/reportAnalysis/dataDashboard/components/basic/right-bottom.vue
@@ -1,6 +1,6 @@
 <template>
   <div>
-    <PanelHeader title="瀹㈡埛閲戦璐$尞鎺掑悕" />
+    <PanelHeader title="瀹㈡埛璐$尞鎺掑悕" />
     <div class="panel-item-customers">
       <div class="switch-container">
         <DateTypeSwitch v-model="dateType" @change="handleDateTypeChange" />
@@ -104,13 +104,19 @@
   formatter: function (params) {
     let result = params[0].axisValueLabel + '<br/>'
     params.forEach((item) => {
-      result += `<div>${item.marker} ${item.seriesName}: ${item.value}</div>`
+      result += `<div>${item.marker} ${item.seriesName}: ${item.value}鍏�</div>`
     })
     return result
   },
 }))
 
-const grid = computed(() => ({ top: 0, left: '20%', right: '10%', bottom: 0 }))
+const grid = computed(() => ({
+  top: 8,
+  left: 12,
+  right: 14,
+  bottom: 8,
+  containLabel: true,
+}))
 
 const xAxis = computed(() => [
   {
@@ -127,26 +133,13 @@
     inverse: false,
     data: xdataName.value,
     axisLabel: {
-      formatter: (value) => {
-        if (!value) return ''
-        const maxLen = 6 // 姣忚鏈�澶氬瓧绗︽暟锛屽彲鎸夐渶璋冩暣
-        if (value.length <= maxLen) return `{a|${value}}`
-
-        const lines = []
-        for (let i = 0; i < value.length; i += maxLen) {
-          lines.push(value.slice(i, i + maxLen))
-        }
-        return lines.map((line) => `{a|${line}}`).join('\n')
-      },
-      rich: {
-        a: {
-          width: 120,
-          fontSize: 14,
-          color: '#fff',
-          padding: [5, 4, 5, 0],
-          align: 'right',
-        },
-      },
+      color: '#fff',
+      fontSize: 13,
+      width: 200,
+      overflow: 'break',
+      align: 'right',
+      margin: 10,
+      lineHeight: 18,
     },
     axisLine: { show: false },
     axisTick: { show: false },

--
Gitblit v1.9.3