Commit b3774c40 authored by 刘殿昕's avatar 刘殿昕

Merge branch 'ldx' into dev

parents ebaf24e1 3f611cae
...@@ -121,10 +121,10 @@ ...@@ -121,10 +121,10 @@
<div class="skfw_fwlx_radios"> <div class="skfw_fwlx_radios">
<el-radio <el-radio
v-for="item in skfwRadios" v-for="item in skfwRadios"
:key="item" :key="item.name"
v-model="skfwQqt" v-model="skfwQqt"
:label="item" :label="item.id"
>{{ item }}</el-radio> >{{ item.name }}</el-radio>
<el-button v-if="activeBtn == 1" @click="clickFwcs()" class="fwcs_btn_fwcs">服务测试</el-button> <el-button v-if="activeBtn == 1" @click="clickFwcs()" class="fwcs_btn_fwcs">服务测试</el-button>
</div> </div>
</div> </div>
...@@ -371,9 +371,7 @@ export default { ...@@ -371,9 +371,7 @@ export default {
{ label: "PUT", value: "PUT" }, { label: "PUT", value: "PUT" },
{ label: "DELETE", value: "DELETE" } { label: "DELETE", value: "DELETE" }
], ],
optionType1: [ optionType1: [{ label: "GET", value: "GET" }],
{ label: "GET", value: "GET" },
],
activeName: 0, activeName: 0,
activeZh: 0, activeZh: 0,
sjfwQqcs: [ sjfwQqcs: [
...@@ -471,15 +469,7 @@ export default { ...@@ -471,15 +469,7 @@ export default {
sjfwQqt: "JSON", sjfwQqt: "JSON",
zhfwQqt: "JSON", zhfwQqt: "JSON",
skfwQqt: "ArcGIS Server Web", skfwQqt: "ArcGIS Server Web",
skfwRadios: [ skfwRadios: [],
"ArcGIS Server Web",
"文档",
"KML",
"OGC(WMS)",
"OGS(WMTS)",
"OGS(WFS)",
"OGS(WCS)"
],
optionsZhyy: [ optionsZhyy: [
{ label: "模型算法类", value: 0 }, { label: "模型算法类", value: 0 },
{ label: "查询验证类", value: 1 }, { label: "查询验证类", value: 1 },
...@@ -836,6 +826,7 @@ export default { ...@@ -836,6 +826,7 @@ export default {
this.$api.workbench.getServiceTypeList().then(response => { this.$api.workbench.getServiceTypeList().then(response => {
if (response.data.success == 1) { if (response.data.success == 1) {
this.btnList = response.data.data; this.btnList = response.data.data;
this.skfwRadios = this.btnList[1].childDomains;
this.activeBtn = 0; this.activeBtn = 0;
} else { } else {
console.log(response.data.errMsg); console.log(response.data.errMsg);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment