diff --git a/src/api/demo/system.ts b/src/api/demo/system.ts
index b2ddf3f7..8928487f 100644
--- a/src/api/demo/system.ts
+++ b/src/api/demo/system.ts
@@ -435,8 +435,8 @@ export const getGeomData = (params) =>
// 影像管理
// 更新tiff影像
-export const GeoTiffManagerUpdateGeoTiff = (params) =>
- defHttp.post({ url: Api.GeoTiffManagerUpdateGeoTiff, params });
+export const GeoTiffManagerUpdateGeoTiff = () =>
+ defHttp.post({ url: Api.GeoTiffManagerUpdateGeoTiff });
// 影像列表
export const GeoTiffManagerLoadPage = (params) =>
defHttp.get({ url: Api.GeoTiffManagerLoadPage, params });
diff --git a/src/components/CloudQueryContent/CloudQueryModal/BasicQuery/ModalMap/index.vue b/src/components/CloudQueryContent/CloudQueryModal/BasicQuery/ModalMap/index.vue
index b73d14da..6cca9204 100644
--- a/src/components/CloudQueryContent/CloudQueryModal/BasicQuery/ModalMap/index.vue
+++ b/src/components/CloudQueryContent/CloudQueryModal/BasicQuery/ModalMap/index.vue
@@ -3,18 +3,22 @@
diff --git a/src/views/demo/system/cloudManagement/Modal/modal.vue b/src/views/demo/system/cloudManagement/Modal/modal.vue
index 9acfa25e..a97c0aa8 100644
--- a/src/views/demo/system/cloudManagement/Modal/modal.vue
+++ b/src/views/demo/system/cloudManagement/Modal/modal.vue
@@ -1,7 +1,7 @@
-
+
@@ -49,18 +49,27 @@
/>
-
- 天地图
- 图层2
- 图层3
- 图层4
-
+
@@ -70,7 +79,7 @@
placeholder="请先选择图层"
:options="classFieldOptioins"
:fieldNames="{ label: 'column_name', value: 'column_name' }"
- :disabled="classFieldOptioins.length == 0"
+ :disabled="props.modalData.data.layer == undefined"
@change="classFieldChange"
/>
@@ -88,7 +97,7 @@
placeholder="请先选择图层"
:options="classFieldOptioins"
:fieldNames="{ label: 'column_name', value: 'column_name' }"
- :disabled="props.modalData.data.classField == undefined"
+ :disabled="props.modalData.data.layer == undefined"
/>
@@ -108,20 +117,26 @@
diff --git a/src/views/demo/system/cloudManagement/util.ts b/src/views/demo/system/cloudManagement/util.ts
index 4e8b0e8f..f1b121fe 100644
--- a/src/views/demo/system/cloudManagement/util.ts
+++ b/src/views/demo/system/cloudManagement/util.ts
@@ -9,32 +9,32 @@ export const columns = [
{
title: '名称',
dataIndex: 'name',
- width: 100,
+ width: 80,
},
{
title: '云查询分类',
- dataIndex: 'overlay',
- width: 100,
+ dataIndex: 'code',
+ width: 80,
},
{
title: '图层',
dataIndex: 'layer',
- width: 100,
+ // width: 100,
},
{
title: '数据表',
dataIndex: 'tableName',
- width: 100,
+ // width: 120,
},
{
title: '叠加图层',
dataIndex: 'overlayList',
- width: 100,
+ width: 150,
},
{
title: '是否分类',
dataIndex: 'isClass',
- width: 100,
+ width: 80,
},
{
title: '分类字段',
@@ -49,14 +49,20 @@ export const columns = [
{
title: '选择面积计算字段',
dataIndex: 'areaField',
- width: 100,
+ // width: 100,
},
{
title: '是否合计',
dataIndex: 'isSum',
- width: 100,
+ width: 80,
+ },
+ {
+ title: '创建时间',
+ dataIndex: 'createTime',
+ // width: 100,
}
];
+
export const emptyTreeItem = {
itemName: '',
itemValue: '',
@@ -66,7 +72,7 @@ export const emptyTableItem = {
name: '',
layer: undefined,
tableName: '',
- overlayList: ['1'],
+ overlayList: ['天地图'],
isClass: false,
classField: undefined,
className: undefined,
@@ -77,21 +83,31 @@ export const emptyTableItem = {
export const searchFormSchema_1 = [
{
field: 'key',
- label: '关键字',
+ label: '名称',
component: 'Input',
colProps: { span: 8 },
},
+ {
+ field: '[StartTime, EndTime]',
+ label: '日期范围',
+ component: 'RangePicker',
+ colProps: { span: 8 },
+ componentProps: {
+ format: 'YYYY-MM-DD',
+ placeholder: ['开始日期', '结束日期'],
+ },
+ },
];
export const searchFormSchema_2 = [
{
field: 'key',
- label: '关键字',
+ label: '名称',
component: 'Input',
colProps: { span: 8 },
},
{
- field: '[startTime, endTime]',
+ field: '[StartTime, EndTime]',
helpMessage: '查询范围只包含时序影像大类',
label: '日期范围',
component: 'RangePicker',
diff --git a/src/views/demo/system/geoservermanagement/clound/clound.data.ts b/src/views/demo/system/geoservermanagement/clound/clound.data.ts
index 2bdca197..e26e7917 100644
--- a/src/views/demo/system/geoservermanagement/clound/clound.data.ts
+++ b/src/views/demo/system/geoservermanagement/clound/clound.data.ts
@@ -20,23 +20,23 @@ export const indexColumns: BasicColumn[] = [
{
title: '空间参考',
dataIndex: 'spatialRef',
- width: 70,
+ width: 100,
},
{
title: '数据源类型',
dataIndex: 'dataSourceType',
ifShow: false,
- width: 90,
+ width: 100,
},
{
title: '数据类型',
dataIndex: 'dataType',
- width: 50,
+ width: 100,
},
{
title: '数据表名',
dataIndex: 'dataTable',
- width: 120,
+ width: 150,
},
{
title: 'shp或者xls地址',
@@ -53,12 +53,12 @@ export const indexColumns: BasicColumn[] = [
{
title: '创建时间',
dataIndex: 'createTime',
- width: 120,
+ width: 150,
},
{
title: '修改时间',
dataIndex: 'updateTime',
- width: 120,
+ width: 150,
},
];
@@ -67,7 +67,7 @@ export const indexSearchFormSchema: FormSchema[] = [
field: 'SererName',
label: '服务名称',
component: 'Input',
- colProps: { span: 8 },
+ colProps: { span: 12 },
},
];
diff --git a/src/views/demo/system/geoservermanagement/clound/mapComponent.vue b/src/views/demo/system/geoservermanagement/clound/mapComponent.vue
index 92fcf163..d5599cd3 100644
--- a/src/views/demo/system/geoservermanagement/clound/mapComponent.vue
+++ b/src/views/demo/system/geoservermanagement/clound/mapComponent.vue
@@ -175,9 +175,10 @@
// console.log(chooseRow);
getGeomData({ dataTable: chooseRow.dataTable })
.then((res) => {
- let st = res.slice(6, -1);
+ let st: any = 'POINT(, )'.slice(6, -1);
st = st.split(' ');
handlerLocation([st[0], st[1]], 11);
+ // handlerLocation([118.32113719388846, 35.64528587987562], 11);
raster(chooseRow);
})
.catch((error) => {
@@ -195,6 +196,8 @@
'&styles=&bbox={bbox-epsg-3857}&width=256&height=256&srs=' +
chooseRow.spatialRef +
'&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://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',
],
tileSize: 256,
});
diff --git a/src/views/demo/system/geoservermanagement/index.vue b/src/views/demo/system/geoservermanagement/index.vue
index 09ad692d..98bc433a 100644
--- a/src/views/demo/system/geoservermanagement/index.vue
+++ b/src/views/demo/system/geoservermanagement/index.vue
@@ -136,7 +136,7 @@