web
8 小时以前 855deb4dfb6458a1eed217363625b13d58143f58
src/views/facility/monitorList/index.vue
@@ -238,7 +238,7 @@
            </el-col>
        </el-row>
        <!--表格及分页-->
        <el-table v-loading="loading" :data="tableData">
        <el-table v-loading="loading" :data="tableData" class="table">
            <el-table-column
                v-for="(item, key, index) of tableHeader"
                :prop="key.toString()"
@@ -248,7 +248,7 @@
            >
                <template #default="scope">
                    <div v-if="key === 'imageUrl'">
                        <img :src="imgBaseUrl + scope.row.headImg" class="table-headImg" alt="" />
                        <img :src="imgBaseUrl + scope.row.imageUrl" class="table-headImg" alt="" />
                    </div>
                    <div v-else-if="key === 'pointType'">
                        {{ scope.row.pointType === 1 ? '水温监测点' : '生态流量监测点' }}
@@ -327,4 +327,10 @@
        flex-grow: 1;
    }
}
.table{
    .table-headImg{
        height: 50px;
        margin: 0 auto;
    }
}
</style>