项目列表上传DXF文件并显示

This commit is contained in:
Teo
2025-04-23 18:19:47 +08:00
parent 68648072de
commit 0ab7056dd1
8 changed files with 326 additions and 78 deletions

View File

@ -1,11 +1,6 @@
<template loading="true">
<el-config-provider :locale="appStore.locale" :size="appStore.size">
<router-view />
<div>123</div>
<div v-for="item in aarr">
1<span v-for="itm in item.features">{{ itm.geometry.coordinates }}1</span>
</div>
<el-button type="primary" size="default" @click="a" class="ml-100" v-loading.fullscreen.lock="fullscreenLoading">123</el-button>
</el-config-provider>
</template>
@ -14,22 +9,7 @@ import useSettingsStore from '@/store/modules/settings';
import { handleThemeStyle } from '@/utils/theme';
import useAppStore from '@/store/modules/app';
import { getProjectTeam } from './utils/projectTeam';
import request from '@/utils/request';
const appStore = useAppStore();
const fullscreenLoading = ref(false);
const aarr = ref([]);
const a = () => {
fullscreenLoading.value = true;
request({
url: '/project/project/json',
method: 'get'
}).then((res) => {
console.log(res);
aarr.value = res.data.layers;
fullscreenLoading.value = false;
});
};
onMounted(() => {
nextTick(() => {
@ -39,3 +19,20 @@ onMounted(() => {
});
});
</script>
<style>
* {
-webkit-touch-callout: none; /*系统默认菜单被禁用*/
-webkit-user-select: none; /*webkit浏览器*/
-khtml-user-select: none; /*早期浏览器*/
-moz-user-select: none; /*火狐*/
-ms-user-select: none; /*IE10*/
user-select: none;
}
input {
-webkit-user-select: auto; /*webkit浏览器*/
}
textarea {
-webkit-user-select: auto; /*webkit浏览器*/
}
</style>