成果管理-修改

dianlixunjian
滕嵩 2024-08-27 11:17:05 +08:00
parent f093673f85
commit 69436db5e4
4 changed files with 16 additions and 15 deletions

View File

@ -49,7 +49,7 @@
</a-row>
<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>
</div>
</template>

View File

@ -14,33 +14,33 @@ export const columns = [
{
title: '时间',
dataIndex: 'dateDir',
width: 100,
width: 80,
},
{
title: 'accessUrl',
dataIndex: 'accessUrl',
// ifShow: false,
ifShow: false,
width: 300,
},
{
title: 'shpPath',
dataIndex: 'shpPath',
width: 100,
title: 'shpPath',
dataIndex: 'shpPath',
width: 150,
},
{
title: 'tiffPath',
dataIndex: 'tiffPath',
width: 100,
width: 150,
},
{
title: '创建时间',
dataIndex: 'createTime',
width: 100,
width: 120,
},
{
title: '修改时间',
dataIndex: 'updateTime',
width: 100,
width: 120,
},
];

View File

@ -18,7 +18,7 @@
import GeoTiffManager from './GeoTiffManager/index.vue';
import AchievementManage from './AchievementManage/index.vue';
const activeKey = ref('3');
const activeKey = ref('1');
//
const GeoserverManagementRef = ref();
//

View File

@ -174,6 +174,10 @@
// -
function GeoserverManagementRaster(chooseRow, lngLat, zoom) {
let format =
chooseRow.dataType == '点'
? '&format=application/openlayers'
: '&format=image/png&TRANSPARENT=TRUE';
handlerLocation(lngLat, zoom);
map.addSource('wmsSource', {
type: 'raster',
@ -182,10 +186,7 @@
chooseRow.dataTable +
'&styles=&bbox={bbox-epsg-3857}&width=256&height=256&srs=' +
chooseRow.spatialRef +
chooseRow.dataType ==
'点'
? '&format=application/openlayers'
: '&format=image/png&TRANSPARENT=TRUE',
format,
// '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',
],
@ -207,7 +208,7 @@
map.addSource('wmsSource', {
type: 'raster',
tiles: [chooseRow.accessUrl],
// tileSize: 256,
tileSize: 256,
});
map.addLayer({
id: 'street-border',