成果管理-修改
parent
f093673f85
commit
69436db5e4
|
|
@ -49,7 +49,7 @@
|
||||||
</a-row>
|
</a-row>
|
||||||
|
|
||||||
<a-modal :open="modalOpen" :title="modalTitle" :footer="null" @cancel="handleCancel">
|
<a-modal :open="modalOpen" :title="modalTitle" :footer="null" @cancel="handleCancel">
|
||||||
<img style="height: 100%; width: 100%" :src="modalImage" />
|
<a-image style="height: 100%; width: 100%" :src="modalImage" />
|
||||||
</a-modal>
|
</a-modal>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -14,33 +14,33 @@ export const columns = [
|
||||||
{
|
{
|
||||||
title: '时间',
|
title: '时间',
|
||||||
dataIndex: 'dateDir',
|
dataIndex: 'dateDir',
|
||||||
width: 100,
|
width: 80,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'accessUrl',
|
title: 'accessUrl',
|
||||||
dataIndex: 'accessUrl',
|
dataIndex: 'accessUrl',
|
||||||
// ifShow: false,
|
ifShow: false,
|
||||||
width: 300,
|
width: 300,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'shpPath',
|
title: 'shpPath',
|
||||||
dataIndex: 'shpPath',
|
dataIndex: 'shpPath',
|
||||||
width: 100,
|
width: 150,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'tiffPath',
|
title: 'tiffPath',
|
||||||
dataIndex: 'tiffPath',
|
dataIndex: 'tiffPath',
|
||||||
width: 100,
|
width: 150,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '创建时间',
|
title: '创建时间',
|
||||||
dataIndex: 'createTime',
|
dataIndex: 'createTime',
|
||||||
width: 100,
|
width: 120,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '修改时间',
|
title: '修改时间',
|
||||||
dataIndex: 'updateTime',
|
dataIndex: 'updateTime',
|
||||||
width: 100,
|
width: 120,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
import GeoTiffManager from './GeoTiffManager/index.vue';
|
import GeoTiffManager from './GeoTiffManager/index.vue';
|
||||||
import AchievementManage from './AchievementManage/index.vue';
|
import AchievementManage from './AchievementManage/index.vue';
|
||||||
|
|
||||||
const activeKey = ref('3');
|
const activeKey = ref('1');
|
||||||
// 图层管理
|
// 图层管理
|
||||||
const GeoserverManagementRef = ref();
|
const GeoserverManagementRef = ref();
|
||||||
// 影像管理
|
// 影像管理
|
||||||
|
|
|
||||||
|
|
@ -174,6 +174,10 @@
|
||||||
|
|
||||||
// 图层管理-图层
|
// 图层管理-图层
|
||||||
function GeoserverManagementRaster(chooseRow, lngLat, zoom) {
|
function GeoserverManagementRaster(chooseRow, lngLat, zoom) {
|
||||||
|
let format =
|
||||||
|
chooseRow.dataType == '点'
|
||||||
|
? '&format=application/openlayers'
|
||||||
|
: '&format=image/png&TRANSPARENT=TRUE';
|
||||||
handlerLocation(lngLat, zoom);
|
handlerLocation(lngLat, zoom);
|
||||||
map.addSource('wmsSource', {
|
map.addSource('wmsSource', {
|
||||||
type: 'raster',
|
type: 'raster',
|
||||||
|
|
@ -182,10 +186,7 @@
|
||||||
chooseRow.dataTable +
|
chooseRow.dataTable +
|
||||||
'&styles=&bbox={bbox-epsg-3857}&width=256&height=256&srs=' +
|
'&styles=&bbox={bbox-epsg-3857}&width=256&height=256&srs=' +
|
||||||
chooseRow.spatialRef +
|
chooseRow.spatialRef +
|
||||||
chooseRow.dataType ==
|
format,
|
||||||
'点'
|
|
||||||
? '&format=application/openlayers'
|
|
||||||
: '&format=image/png&TRANSPARENT=TRUE',
|
|
||||||
// 'http://192.168.10.131:8080/geoserver/my_workspace/wms?service=WMS&version=1.1.0&request=GetMap&layers=my_workspace:parse_shpinfo_text3&styles=&bbox=118.32113719388846%2C35.64528587987562%2C118.89333296872105%2C36.17725393199594&width=256&height=256&srs=EPSG:4326&format=image/png&TRANSPARENT=TRUE&exceptions=application%2Fvnd.ogc.se_inimage',
|
// 'http://192.168.10.131:8080/geoserver/my_workspace/wms?service=WMS&version=1.1.0&request=GetMap&layers=my_workspace:parse_shpinfo_text3&styles=&bbox=118.32113719388846%2C35.64528587987562%2C118.89333296872105%2C36.17725393199594&width=256&height=256&srs=EPSG:4326&format=image/png&TRANSPARENT=TRUE&exceptions=application%2Fvnd.ogc.se_inimage',
|
||||||
// 'http://175.27.168.120:8080/geoserver/yinanxian/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&FORMAT=image%2Fjpeg&TRANSPARENT=true&LAYERS=yinanxian%3Ayingxiang_01&exceptions=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4548&STYLES=&WIDTH=529&HEIGHT=769&BBOX=607366.3276808303%2C3919435.438766631%2C612405.5241015075%2C3926765.179014889',
|
// 'http://175.27.168.120:8080/geoserver/yinanxian/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&FORMAT=image%2Fjpeg&TRANSPARENT=true&LAYERS=yinanxian%3Ayingxiang_01&exceptions=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4548&STYLES=&WIDTH=529&HEIGHT=769&BBOX=607366.3276808303%2C3919435.438766631%2C612405.5241015075%2C3926765.179014889',
|
||||||
],
|
],
|
||||||
|
|
@ -207,7 +208,7 @@
|
||||||
map.addSource('wmsSource', {
|
map.addSource('wmsSource', {
|
||||||
type: 'raster',
|
type: 'raster',
|
||||||
tiles: [chooseRow.accessUrl],
|
tiles: [chooseRow.accessUrl],
|
||||||
// tileSize: 256,
|
tileSize: 256,
|
||||||
});
|
});
|
||||||
map.addLayer({
|
map.addLayer({
|
||||||
id: 'street-border',
|
id: 'street-border',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue