瀏覽代碼

Merge branch '2025-04-23/fetaure-CarbonSourceFeeding'

sunxiao 1 周之前
父節點
當前提交
e486b48a92

+ 12 - 0
src/components/Chat/ChatAgentInput.vue

@@ -17,6 +17,17 @@ const props = defineProps({
   }
 });
 
+const inputThemeOverrides = {
+  border: '0px',
+  borderHover: '0px',
+  borderFocus: '0px',
+  borderFocusWarning: '0px',
+  boxShadowFocus: 'none',
+  fontSizeMedium: '15px',
+  textColor: '#1A2029',
+  placeholderColor: 'rgba(158, 158, 158, 0.6)'
+}
+
 const emit = defineEmits(['onClick', 'onEnter']);
 
 const MAX_NUM = 5;
@@ -394,6 +405,7 @@ defineExpose({
                   @focus="focusInput"
                   @blur="blurInput"
                   @keypress="handleInpEnter"
+                  :theme-overrides="inputThemeOverrides"
                 />
               </div>
             </div>

+ 2 - 2
src/views/control/CirclePanel.vue

@@ -40,14 +40,14 @@ defineProps({
     <h4 class="title">智能加药量</h4>
     <div class="intellect-number">
       <p class="num">
-        <NNumberAnimation :from="0" :to="medicineAmount || 0" :duration="1000" :precision="0"></NNumberAnimation>
+        <NNumberAnimation :from="0" :to="medicineAmount || 0" :duration="1000" :precision="4"></NNumberAnimation>
       </p>
       <p class="unit">m³/h</p>
     </div>
     <p class="instant-number space-x-[14px]">
       <span class="label">瞬时加药量</span>
       <span class="value">
-        <NNumberAnimation :from="0" :to="tytjTransientLL || 0" :duration="1000" :precision="0"></NNumberAnimation>
+        <NNumberAnimation :from="0" :to="tytjTransientLL || 0" :duration="1000" :precision="4"></NNumberAnimation>
         <span>m³/h</span>
       </span>
     </p>

+ 4 - 3
src/views/control/EchartRight.vue

@@ -120,10 +120,11 @@ const getEchartOptions = (list) => {
         show: false,
         color: '#fff'
       },
+      splitNumber: 3,
       axisLabel: {
-        formatter: function (value) {
-          return value.toFixed(0)
-        }
+        // formatter: function (value) {
+        //   return value.toFixed(0)
+        // }
       }
     },
     series

+ 1 - 1
src/views/control/MedicinalView.vue

@@ -326,7 +326,7 @@ onUnmounted(() => {
                   <CirclePanel
                     :runing="systemSwitchType"
                     :medicineAmount="panelResultData.calculateVal"
-                    :tytjTransientLL="panelResultData.realValue"
+                    :tytjTransientLL="panelResultData.realVal"
                   ></CirclePanel>
                   <NumberPanel direction="right" title="硝酸盐智能设定" unit="mg/L" :value="panelResultData.htfksd"></NumberPanel>
                 </div>