fei.wang
2025-03-17 afedb522ac910d1e5265ad93b9bacb1da41cfefb
src/views/mapManage/index.vue
@@ -1,10 +1,21 @@
<template>
  <!-- <div v-if="role=='访客'" class="app-container">
 <el-empty  description="暂无权限"></el-empty>
</div> -->
  <div class="app-container">
    <!-- <el-empty description="描述文字"></el-empty> -->
    <el-table v-loading="listLoading" :data="list" element-loading-text="Loading" border fit height="100%"
      class="table-container" highlight-current-row>
      <el-table-column fixed label="ID" width="80" >
        <template slot-scope="scope">
          {{ scope.row.id }}
        </template>
      </el-table-column>
      <el-table-column label="公司名称" width="200">
        <template slot-scope="scope">
          {{ scope.row.companyname }}
        </template>
      </el-table-column>
      <el-table-column label="地图名称" width="90">
@@ -37,7 +48,7 @@
          {{ scope.row.heig}}
        </template>
      </el-table-column>
      <el-table-column label="瓦片文件" width="100">
      <el-table-column label="瓦片文件" width="120">
        <template slot-scope="scope">
          {{ scope.row.file}}
        </template>
@@ -52,7 +63,7 @@
          {{ scope.row.ishow}}
        </template>
      </el-table-column>
      <el-table-column label="更新时间" >
      <el-table-column label="更新时间" width="170">
        <template slot-scope="scope">
          {{ scope.row.addtime}}
        </template>
@@ -108,6 +119,7 @@
</template>
<script>
import Pagination from '@/components/Pagination'
import { getBaidumapPage,  addorupBaidumap,addSystemOperationLog } from '@/api/baidumap'
import { deepClone } from '@/utils'
@@ -126,6 +138,7 @@
  },
  data() {
    return {
      role:localStorage.getItem('role'),
      uadd:'',
      udelete:'',
      uupdate:'',
@@ -136,6 +149,7 @@
      listQuery: {
        current: 1,
        size: 20,
        username:localStorage.getItem('username'),
        keyword: undefined,
      },
      uploadUrl: '',
@@ -155,6 +169,7 @@
      this.listQuery = {
        current: 1,
        size: 20,
        username:localStorage.getItem('username'),
        keyword: undefined
      }
      this.fetchData()