diff --git a/.env.development b/.env.development
index 8c542b5..cbebb18 100644
--- a/.env.development
+++ b/.env.development
@@ -9,7 +9,7 @@ VITE_APP_BASE_API = 'http://192.168.110.119:8899'
# 无人机接口地址
-VITE_APP_BASE_DRONE_API = 'http://192.168.110.8:9136'
+VITE_APP_BASE_DRONE_API = 'http://192.168.110.119:9136'
# 应用访问路径 例如使用前缀 /admin/
VITE_APP_CONTEXT_PATH = '/'
diff --git a/index.html b/index.html
index 4e225e1..25b2d10 100644
--- a/index.html
+++ b/index.html
@@ -210,7 +210,7 @@
+ src="http://58.17.134.85:7363/changxieoffice/web-apps/apps/api/documents/api.js">
diff --git a/src/views/progress/progressPaper/index.vue b/src/views/progress/progressPaper/index.vue
index 94f36f7..d4c4024 100644
--- a/src/views/progress/progressPaper/index.vue
+++ b/src/views/progress/progressPaper/index.vue
@@ -500,18 +500,8 @@ const initGeoTiff = async () => {
};
let map: any = null;
-const layerData = reactive({});
const centerPosition = ref(fromLonLat([107.12932403398425, 23.805564054229908]));
const initOLMap = () => {
- console.log(111);
- // const scoure = new TileLayer({
- // // 设置图层的数据源为XYZ类型。XYZ是一个通用的瓦片图层源,它允许你通过URL模板来获取瓦片
- // source: new XYZ({
- // url: 'http://192.168.110.2:8000/api/projects/3/tasks/c2e3227f-343f-48b1-88c0-1432d6eab33f/orthophoto/tiles/{z}/{x}/{y}'
- // })
- // });
- // console.log(scoure);
-
map = new Map({
// 设置地图容器的ID
target: 'olMap',
@@ -519,16 +509,17 @@ const initOLMap = () => {
layers: [
// 高德地图
// TileLayer表示一个瓦片图层,它由一系列瓦片(通常是图片)组成,用于在地图上显示地理数据。
+
new TileLayer({
- // 设置图层的数据源为XYZ类型。XYZ是一个通用的瓦片图层源,它允许你通过URL模板来获取瓦片
source: new XYZ({
- url: 'https://webst02.is.autonavi.com/appmaptile?style=6&x={x}&y={y}&z={z}'
+ url: 'https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}',
+ maxZoom: 18
})
}),
new TileLayer({
// 设置图层的数据源为XYZ类型。XYZ是一个通用的瓦片图层源,它允许你通过URL模板来获取瓦片
source: new XYZ({
- url: 'http://webst02.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&lang=zh_cn&size=1&scale=1&style=8'
+ url: 'http://192.168.110.2:8000/api/projects/3/tasks/c2e3227f-343f-48b1-88c0-1432d6eab33f/orthophoto/tiles/{z}/{x}/{y}'
})
})
// imageLayer.value
@@ -541,7 +532,7 @@ const initOLMap = () => {
center: centerPosition.value, //地图中心点
zoom: 15, // 缩放级别
minZoom: 0, // 最小缩放级别
- // maxZoom: 18, // 最大缩放级别
+ // maxZoom: 19, // 最大缩放级别
constrainResolution: true // 因为存在非整数的缩放级别,所以设置该参数为true来让每次缩放结束后自动缩放到距离最近的一个整数级别,这个必须要设置,当缩放在非整数级别时地图会糊
// projection: 'EPSG:4326' // 投影坐标系,默认是3857
}),
@@ -848,8 +839,6 @@ const toggleFeatureHighlight = (feature: Feature, addIfNotExist = true) => {
onMounted(async () => {
// 地图初始化
- // geoTiffLoading.value = true;
- await initGeoTiff();
initOLMap();
// geoTiffLoading.value = false;
map.addLayer(sharedLayer);
diff --git a/src/views/project/contractorMaterial/component/contractorMaterialRecord.vue b/src/views/project/contractorMaterial/component/contractorMaterialRecord.vue
index 7549cc4..cf4c003 100644
--- a/src/views/project/contractorMaterial/component/contractorMaterialRecord.vue
+++ b/src/views/project/contractorMaterial/component/contractorMaterialRecord.vue
@@ -22,6 +22,10 @@
+<<<<<<< HEAD
+=======
+
+>>>>>>> 64b04286e36ef42ab8a27f17406454b185d48e80
diff --git a/src/views/quality/knowledgeDocument/component/bookFile.vue b/src/views/quality/knowledgeDocument/component/bookFile.vue
index 008de99..33c8f21 100644
--- a/src/views/quality/knowledgeDocument/component/bookFile.vue
+++ b/src/views/quality/knowledgeDocument/component/bookFile.vue
@@ -29,6 +29,7 @@
+
{{ filterfilenPath(scope.row.filePath) }}
@@ -45,7 +46,7 @@
-
+
@@ -57,30 +58,15 @@ import { ref, reactive, getCurrentInstance, nextTick } from 'vue';
import { listKnowledgeDocument, getProfileDetail } from '@/api/quality/knowledgeDocument';
import { useUserStoreHook } from '@/store/modules/user';
-const emit = defineEmits(['onExport', 'onExportView']);
+const emit = defineEmits(['onExport', 'onExportView', 'onBook']);
const stores = useUserStoreHook();
-const { proxy } = getCurrentInstance() as any;
-
-const documentDetailRef = ref();
-const allTreeRef = ref();
-const baseURL: string | undefined | boolean = import.meta.env.VITE_API_URL;
-
const loading = ref(false);
const tableData = ref([]);
const isShowDialog = ref(false);
-const formData = reactive({ fileName: '', projectId: stores.selectedProject.id });
-const projectList = ref([]);
-const projectQuery = reactive({ name: '' });
-const pageNum = ref(1);
-const pageSize = ref(10);
+const formData = reactive({ fileName: '', projectId: stores.selectedProject.id, pageNum: 1, pageSize: 10 });
const total = ref(0);
-const showDocumentDetail = ref(false);
const emptyText = ref('暂无数据');
const treeList = ref([]);
-const arrayList = ref([]);
-const infoMap = ref(new Map());
-const infoList = ref([]);
-const paramsQuery = reactive({ idStr: '', project: '' });
const openDialog = () => {
isShowDialog.value = true;
@@ -104,7 +90,7 @@ const getDataFileQuery = () => {
tableData.value = [];
if (res.code == 200 && res.rows?.length) {
tableData.value = res.rows;
- total.value = res.rows.length;
+ total.value = res.total;
} else {
emptyText.value = '没有查询到数据,请重新输入搜索';
}
@@ -112,15 +98,7 @@ const getDataFileQuery = () => {
};
const onBook = (row: any) => {
- return;
- getProfileDetail(row.id).then((res: any) => {
- if (res.code == 200) {
- showDocumentDetail.value = true;
- nextTick(() => {
- documentDetailRef.value.openDialog(res.data);
- });
- }
- });
+ emit('onBook', row);
};
const onExport = (row: any) => {
diff --git a/src/views/quality/knowledgeDocument/index.vue b/src/views/quality/knowledgeDocument/index.vue
index f9d6062..15e606d 100644
--- a/src/views/quality/knowledgeDocument/index.vue
+++ b/src/views/quality/knowledgeDocument/index.vue
@@ -93,13 +93,14 @@
-
-
+
+
+
查看修改文件
-
-
+
@@ -158,6 +159,15 @@
+
-