|
@@ -122,8 +122,8 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item prop="envId" style="flex:1; margin-left:-120px;">
|
|
|
- <el-select v-model="serviceData.envId" class="filter-item" style="width: 190px;" filterable placeholder="环境" @change="showZkAddress">
|
|
|
- <el-option v-for="item in envSelections" :key="item.key" :label="item.display_name" :value="item.key" />
|
|
|
+ <el-select v-model="serviceData.envId" class="filter-item" style="width: 190px;" filterable placeholder="环境">
|
|
|
+ <el-option v-for="item in envSelections" :key="item.key" :label="item.display_name" :value="item.key" :title="item.registryAddress" />
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</div>
|
|
@@ -164,6 +164,11 @@
|
|
|
<el-input v-model="serviceData.returnDataStructure" :autosize="{ minRows: 2, maxRows: 8}" type="textarea" title="key:每个自定义类型在返回结构中的节点树,以英文“.“分隔;value:自定义类型的全限定类名" placeholder="{'data':'com.didi.order.api.response.BaserOrderInfoResult','data.feeInfo':'com.didi.order.api.response.FeeInfoResult'}" />
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
+ <span class="showBtn" @mouseover="explain" @mouseout="explain">配置指南</span>
|
|
|
+ <div v-if="showexplain" class="showInfo">
|
|
|
+ <div class="showZm" />
|
|
|
+ <div class="showInfo">配置指南</div>
|
|
|
+ </div>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
<el-button @click="dialogFormVisible = false">
|
|
|
取消
|
|
@@ -239,6 +244,7 @@ export default {
|
|
|
tableKey: 0,
|
|
|
list: null,
|
|
|
total: 0,
|
|
|
+ showexplain: false,
|
|
|
listLoading: true,
|
|
|
statusMappings: new Map([[1, '已开启'], [0, '未开启']]),
|
|
|
statusOperateMap: new Map([[1, '开启'], [0, '关闭']]),
|
|
@@ -341,6 +347,13 @@ export default {
|
|
|
// }, 1.5 * 1000)
|
|
|
})
|
|
|
},
|
|
|
+ explain() {
|
|
|
+ if (this.showexplain === false) {
|
|
|
+ this.showexplain = true
|
|
|
+ } else {
|
|
|
+ this.showexplain = false
|
|
|
+ }
|
|
|
+ },
|
|
|
updateEnvChannel(v) {
|
|
|
// console.log(v)
|
|
|
this.serviceData.envChannel = v
|
|
@@ -350,6 +363,7 @@ export default {
|
|
|
var envSel = {}
|
|
|
envSel.key = sel.envId
|
|
|
envSel.display_name = sel.envName
|
|
|
+ envSel.registryAddress = sel.registryAddress
|
|
|
this.envSelections.push(envSel)
|
|
|
}
|
|
|
})
|
|
@@ -641,3 +655,27 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
+
|
|
|
+<style>
|
|
|
+.showInfo {
|
|
|
+ width: 400px;
|
|
|
+ height: 400px;
|
|
|
+ text-align: center;
|
|
|
+ position: fixed;
|
|
|
+ top: 50%;
|
|
|
+ left: 50%;
|
|
|
+ transform: translate(-50%,-50%);
|
|
|
+}
|
|
|
+.showZm {
|
|
|
+ position:absolute;
|
|
|
+ background-color: #ccc;
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ opacity: 0.5;
|
|
|
+}
|
|
|
+.showBtn {
|
|
|
+ color: red;
|
|
|
+ padding-left: 200px;
|
|
|
+}
|
|
|
+
|
|
|
+</style>
|