无人机管理后台前端(已迁走)
张含笑
2025-12-04 542809cb5dadb77e776fbe69c2f66467a7d14513
feat:调整样式
1 files modified
27 ■■■■ changed files
src/views/resource/components/spotDetails.vue 27 ●●●● patch | view | raw | blame | history
src/views/resource/components/spotDetails.vue
@@ -60,7 +60,14 @@
        <div class="table-overlay">
          <div class="table-content">
            <div class="tabname">图斑列表</div>
            <el-table
       <div class="tabBoxLoading"
        v-loading="tableLoading"
            element-loading-text="加载中..."
            element-loading-background="rgba(0, 0, 0, 0.1)"
            >
             <el-table
             v-if="tableData.length > 0"
              ref="polygonTableEle"
              highlight-current-row
              :row-class-name="tableRowClassName"
@@ -108,6 +115,7 @@
                </template>
              </el-table-column>
            </el-table>
       </div>
           
          </div>
        </div>
@@ -160,6 +168,7 @@
const homeViewer = shallowRef(null);
let tbJwdList = [];
const loading = ref(false);
const tableLoading = ref(true);
const tableData = ref([]);
const AlltableData = ref([]);
let total = ref(0);
@@ -260,9 +269,9 @@
const isInit = ref(true);
// 图斑管理表格
const getTableList = () => {
  tableLoading.value = true;
  const requestParams = {
    patchesInfoId: props.detailid,
  };
  AlltableMapListApi(requestParams).then(res => {
    tableData.value = res.data.data?.map(item => ({
@@ -277,6 +286,8 @@
    } else {
      entitiesAddSpot();
    }
  }).finally(() => {
    tableLoading.value = false;
  });
};
@@ -640,7 +651,7 @@
      getspotManagementTableApi(); 
    }, 0);
  } else {
 tableLoading.value = false;
    tableData.value = []; 
    isEditing.value = false;
    handleUpDateDrawState(false);
@@ -907,9 +918,15 @@
  z-index: 9999 !important;
  max-width: 300px;
}
.tabBoxLoading {
height: 100%;
}
.el-table {
  flex: 1;
  overflow: auto;
height: 98%;
overflow: auto;
}
.btnGroups {
  position: absolute;