maxiaoxiao hai 5 meses
pai
achega
4f192ddb1e

+ 5 - 1
src/components/mapView/tablePage.vue

@@ -21,7 +21,7 @@
         :prop="item.prop"
         :label="item.label"
         :key="index"
-        show-overflow-tooltip
+        :show-overflow-tooltip="overtip"
         :width="item.width || null"
         :fixed="item.fixed"
         :align="item.align || 'left'"
@@ -85,6 +85,10 @@ export default {
       type: String,
       default: "total, sizes, prev, pager, next, jumper",
     },
+    overtip: {
+      type: Boolean,
+      default: true
+    },
   },
   data() {
     return {

+ 1 - 4
src/views/geologyDisaster/index.vue

@@ -16,10 +16,7 @@
               emitPath: false,
             }"></el-cascader>
         </div>
-        <tablePage class="tablePage" :cloumn="cloumn" :table="table" :indexed="false" layout="" ref="tableDialogRef">
-          <template #mj="{ row }">
-            {{ Number(row.gm).toFixed(2) }}
-          </template>
+        <tablePage class="tablePage" :cloumn="cloumn" :table="table" :indexed="false" layout="" :overtip="false">
           <template #action="{ row }">
             <span class="usable" @click="flyTo(row)"> 定位 </span>
             <span class="usable" @click="detail(row)">详情</span>