Bläddra i källkod

feat(rh-table): 调整瑞恒运行失效 >120 的判断为 >100

Zimo 3 dagar sedan
förälder
incheckning
188fec3f5d

+ 1 - 1
src/components/ZmTable/ZmTableColumn.vue

@@ -22,7 +22,7 @@ interface Props
   zmSortMethod?: (prop: string, order: SortOrder | null) => void
   filterActive?: boolean
   filterModelValue?: any
-  realValue?: (...args: T[]) => any
+  realValue?: (...args: any[]) => any
   coverFormatter?: boolean
 }
 

+ 1 - 1
src/views/pms/iotrhdailyreport/index.vue

@@ -407,7 +407,7 @@ const openUnfilledDialog = () => {
           <div class="flex flex-col gap-2">
             <el-alert
               class="h-8!"
-              title="运行时效=当日注气量/产能&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;超过120%红色预警"
+              title="运行时效=当日注气量/产能&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;超过100%红色预警"
               type="error"
               show-icon
               :closable="false" />

+ 1 - 1
src/views/pms/iotrhdailyreport/rh-table.vue

@@ -121,7 +121,7 @@ const cellStyle = ({ row, column }: { row: any; column: any }) => {
     const dailyGasInjection = Number(row?.dailyGasInjection)
     if (capacity && dailyGasInjection) {
       const ratio = dailyGasInjection / capacity
-      if (ratio > 1.2) {
+      if (ratio > 1.0) {
         return {
           color: 'red',
           fontWeight: 'bold',