|
|
@ -46,6 +46,22 @@ |
|
|
|
<el-form-item label="服务token" prop="serviceToken" style="font-size: 1rem" :label-width="'120px'"> |
|
|
|
<el-input v-model.trim="editDataInfoForm.serviceToken" style="width: 80%"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="是否需要聚合" prop="isNeedCluster" style="font-size: 1rem" :label-width="'120px'" |
|
|
|
v-if="editDataInfoForm.serviceType === '081100'"> |
|
|
|
<el-select style="width: 80%" v-model="editDataInfoForm.isNeedCluster" placeholder="请选择"> |
|
|
|
<!-- 是和否两种选择 --> |
|
|
|
<el-option v-for="item in isNeedClusterOptions" :key="item.value" :label="item.label" |
|
|
|
:value="item.value" /> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="是否支持一键搜索" prop="isSupportFastQuery" style="font-size: 1rem" :label-width="'120px'" |
|
|
|
v-if="editDataInfoForm.serviceType === '081100'"> |
|
|
|
<el-select style="width: 80%" v-model="editDataInfoForm.isSupportFastQuery" placeholder="请选择"> |
|
|
|
<!-- 是和否两种选择 --> |
|
|
|
<el-option v-for="item in isSupportFastQueryOptions" :key="item.value" :label="item.label" |
|
|
|
:value="item.value" /> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item v-if="editDataInfoForm.serviceType === '030300'" label="服务索引" prop="serviceIndex" |
|
|
|
style="font-size: 1rem" :label-width="'120px'"> |
|
|
|
<el-input v-model="editDataInfoForm.serviceIndex" style="width: 80%"></el-input> |
|
|
@ -195,6 +211,8 @@ export default { |
|
|
|
serviceType: "", //服务类型,wms/wmts/wfs/3d tiles/terrain |
|
|
|
serviceUrl: "", //服务地址 |
|
|
|
serviceToken: "", //服务token |
|
|
|
isNeedCluster: "0", |
|
|
|
isSupportFastQuery: "0", |
|
|
|
serviceName: "", //服务名称 |
|
|
|
serviceNameAlias: "", //服务别名 |
|
|
|
serviceIndex: "", //服务索引 |
|
|
@ -206,6 +224,26 @@ export default { |
|
|
|
}, |
|
|
|
directoryInfo: null, // 目录信息 |
|
|
|
dialogTitle: "添加图层", |
|
|
|
isNeedClusterOptions: [ |
|
|
|
{ |
|
|
|
value: "0", |
|
|
|
label: "否", |
|
|
|
}, |
|
|
|
{ |
|
|
|
value: "1", |
|
|
|
label: "是", |
|
|
|
}, |
|
|
|
], |
|
|
|
isSupportFastQueryOptions: [ |
|
|
|
{ |
|
|
|
value: "0", |
|
|
|
label: "否", |
|
|
|
}, |
|
|
|
{ |
|
|
|
value: "1", |
|
|
|
label: "是", |
|
|
|
}, |
|
|
|
], |
|
|
|
serviceTypeOptions: [ |
|
|
|
{ |
|
|
|
value: "021102", |
|
|
@ -301,6 +339,8 @@ export default { |
|
|
|
this.editDataInfoForm.serviceNameAlias = row.serviceNameAlias; |
|
|
|
this.editDataInfoForm.serviceUrl = row.serviceUrl; |
|
|
|
this.editDataInfoForm.serviceToken = row.serviceToken; |
|
|
|
this.editDataInfoForm.isNeedCluster = row.isNeedCluster; |
|
|
|
this.editDataInfoForm.isSupportFastQuery = row.isSupportFastQuery; |
|
|
|
this.editDataInfoForm.serviceIndex = row.serviceIndex; |
|
|
|
this.editDataInfoForm.relationStyleId = row.relationStyleId; |
|
|
|
this.editDataInfoForm.relationStyleName = row.relationStyleName; |
|
|
@ -392,6 +432,8 @@ export default { |
|
|
|
this.editDataInfoForm.id = ""; |
|
|
|
this.editDataInfoForm.serviceUrl = ""; |
|
|
|
this.editDataInfoForm.serviceToken = ""; |
|
|
|
this.editDataInfoForm.isNeedCluster = "0"; |
|
|
|
this.editDataInfoForm.isSupportFastQuery = "0"; |
|
|
|
this.editDataInfoForm.serviceName = ""; |
|
|
|
this.editDataInfoForm.serviceNameAlias = ""; |
|
|
|
this.editDataInfoForm.serviceIndex = ""; |
|
|
|