Parcourir la source

调整单井队生产动态无工作量采用 productionStatus字段

Zimo il y a 5 jours
Parent
commit
eb46579810
1 fichiers modifiés avec 4 ajouts et 3 suppressions
  1. 4 3
      src/components/DailyTableColumn/index.vue

+ 4 - 3
src/components/DailyTableColumn/index.vue

@@ -32,7 +32,7 @@
             <template #reference>
               <el-badge :value="row.reportDetails.length" type="primary" class="max-w-full">
                 <div
-                  class="w-58 flex flex-col bg-gray-200/80 hover:bg-blue-100 transition-colors relative group cursor-pointer p-2 rounded gap-y-2"
+                  class="w-58 flex flex-col bg-gray-200/80 hover:bg-blue-100 transition-colors relative group cursor-pointer px-2 py-0.5 rounded gap-y-2"
                 >
                   <div class="flex items-center gap-x-2">
                     <div class="flex items-center">
@@ -106,6 +106,7 @@
             </el-scrollbar>
           </el-popover>
         </div>
+        <div class="truncate" v-else-if="row.productionStatus">{{ row.productionStatus }}</div>
         <span v-else class="text-gray-300">-</span>
       </template>
       <template v-else-if="company === 'ry'" #default="{ row }">
@@ -114,7 +115,7 @@
             <template #reference>
               <el-badge :value="row.reportDetails.length" type="primary" class="max-w-full">
                 <div
-                  class="w-72 flex flex-col bg-gray-200/80 hover:bg-blue-100 transition-colors relative group cursor-pointer p-2 rounded gap-y-2"
+                  class="w-72 flex flex-col bg-gray-200/80 hover:bg-blue-100 transition-colors relative group cursor-pointer px-2 py-0.5 rounded gap-y-2"
                 >
                   <div class="flex items-center gap-x-2">
                     <div class="flex items-center">
@@ -234,7 +235,7 @@
             <template #reference>
               <el-badge :value="row.reportDetails.length" type="primary" class="max-w-full">
                 <div
-                  class="w-72 flex flex-col bg-gray-200/80 hover:bg-blue-100 transition-colors relative group cursor-pointer p-2 rounded gap-y-2"
+                  class="w-72 flex flex-col bg-gray-200/80 hover:bg-blue-100 transition-colors relative group cursor-pointer px-2 py-0.5 rounded gap-y-2"
                 >
                   <div class="flex items-center gap-x-2">
                     <div class="flex items-center">