diff --git a/src/views/gisMapPage/gisMapBox1.vue b/src/views/gisMapPage/gisMapBox1.vue
index 1d0da9b..9210bb6 100644
--- a/src/views/gisMapPage/gisMapBox1.vue
+++ b/src/views/gisMapPage/gisMapBox1.vue
@@ -92,12 +92,12 @@
// getLayerIdByClick();
(config.orders || []).forEach(item => setLayerOrder(...item));
newfiberMapbox.getLayers().filter(i => highlightLayers[i.newfiberId] && (highlightLayers[i.newfiberId] = i));
- let timeout = setTimeout(() => {
- let { pitch, center } = config.params.init;
- pitch && newfiberMapbox.map.setPitch(pitch);
- center && newfiberMapbox.map.setCenter(center);
- clearTimeout(timeout);
- }, 1000);
+ // let timeout = setTimeout(() => {
+ let { pitch, center } = config.params.init;
+ pitch && newfiberMapbox.map.setPitch(pitch);
+ center && newfiberMapbox.map.setCenter(center);
+ //clearTimeout(timeout);
+ //}, 1000);
newfiberMapbox.map.load = true;
});
}, 200);
diff --git a/src/views/gisMapPage/gisMapBox1.vue b/src/views/gisMapPage/gisMapBox1.vue
index 1d0da9b..9210bb6 100644
--- a/src/views/gisMapPage/gisMapBox1.vue
+++ b/src/views/gisMapPage/gisMapBox1.vue
@@ -92,12 +92,12 @@
// getLayerIdByClick();
(config.orders || []).forEach(item => setLayerOrder(...item));
newfiberMapbox.getLayers().filter(i => highlightLayers[i.newfiberId] && (highlightLayers[i.newfiberId] = i));
- let timeout = setTimeout(() => {
- let { pitch, center } = config.params.init;
- pitch && newfiberMapbox.map.setPitch(pitch);
- center && newfiberMapbox.map.setCenter(center);
- clearTimeout(timeout);
- }, 1000);
+ // let timeout = setTimeout(() => {
+ let { pitch, center } = config.params.init;
+ pitch && newfiberMapbox.map.setPitch(pitch);
+ center && newfiberMapbox.map.setCenter(center);
+ //clearTimeout(timeout);
+ //}, 1000);
newfiberMapbox.map.load = true;
});
}, 200);
diff --git a/src/views/project/projectInformation/index.vue b/src/views/project/projectInformation/index.vue
index 493d73c..793398e 100644
--- a/src/views/project/projectInformation/index.vue
+++ b/src/views/project/projectInformation/index.vue
@@ -210,7 +210,7 @@
projectInfoNewDetail,
updateProjectBuildStatus,
} from '@/api/project/projectInformationNew';
-
+import bus from '@/bus';
const { proxy } = getCurrentInstance();
const { build_category, project_library_type, project_content_type, build_status, findText } = useDicts(proxy);
const { project_data_sources } = proxy.useDict('project_data_sources');
@@ -288,6 +288,7 @@
opts.text = optTextMap.get(type);
curRow.value = data;
curRow.value.analysisUsers1 = data.drainagePartition ? data.drainagePartition.split(',') : [];
+ bus.emit('getProjectRowData', data);
};
const close = type => {
diff --git a/src/views/gisMapPage/gisMapBox1.vue b/src/views/gisMapPage/gisMapBox1.vue
index 1d0da9b..9210bb6 100644
--- a/src/views/gisMapPage/gisMapBox1.vue
+++ b/src/views/gisMapPage/gisMapBox1.vue
@@ -92,12 +92,12 @@
// getLayerIdByClick();
(config.orders || []).forEach(item => setLayerOrder(...item));
newfiberMapbox.getLayers().filter(i => highlightLayers[i.newfiberId] && (highlightLayers[i.newfiberId] = i));
- let timeout = setTimeout(() => {
- let { pitch, center } = config.params.init;
- pitch && newfiberMapbox.map.setPitch(pitch);
- center && newfiberMapbox.map.setCenter(center);
- clearTimeout(timeout);
- }, 1000);
+ // let timeout = setTimeout(() => {
+ let { pitch, center } = config.params.init;
+ pitch && newfiberMapbox.map.setPitch(pitch);
+ center && newfiberMapbox.map.setCenter(center);
+ //clearTimeout(timeout);
+ //}, 1000);
newfiberMapbox.map.load = true;
});
}, 200);
diff --git a/src/views/project/projectInformation/index.vue b/src/views/project/projectInformation/index.vue
index 493d73c..793398e 100644
--- a/src/views/project/projectInformation/index.vue
+++ b/src/views/project/projectInformation/index.vue
@@ -210,7 +210,7 @@
projectInfoNewDetail,
updateProjectBuildStatus,
} from '@/api/project/projectInformationNew';
-
+import bus from '@/bus';
const { proxy } = getCurrentInstance();
const { build_category, project_library_type, project_content_type, build_status, findText } = useDicts(proxy);
const { project_data_sources } = proxy.useDict('project_data_sources');
@@ -288,6 +288,7 @@
opts.text = optTextMap.get(type);
curRow.value = data;
curRow.value.analysisUsers1 = data.drainagePartition ? data.drainagePartition.split(',') : [];
+ bus.emit('getProjectRowData', data);
};
const close = type => {
diff --git a/src/views/project/projectInformation/operate.vue b/src/views/project/projectInformation/operate.vue
index 2beb7a9..5c6a5d9 100644
--- a/src/views/project/projectInformation/operate.vue
+++ b/src/views/project/projectInformation/operate.vue
@@ -108,7 +108,7 @@
- 设置项目范围
+ 设置项目范围
@@ -327,7 +327,7 @@
-
+