NEZ-1045 fix: agent 编辑页面增加 protocol 下拉框

This commit is contained in:
@changcode
2021-10-08 13:41:53 +08:00
parent ac76890f2a
commit 4f53c91128
7 changed files with 33 additions and 7 deletions

View File

@@ -47,6 +47,10 @@
</div>
</el-popover>
</span>
<span v-else-if="item.prop === 'protocol'">
<span v-if="scope.row[item.prop] === 1">http</span>
<span v-if="scope.row[item.prop] === 2">https</span>
</span>
<span v-else-if="scope.row[item.prop]">{{scope.row[item.prop]}}</span>
<template v-else>-</template>
</template>
@@ -118,6 +122,11 @@ export default {
prop: 'checkTime',
show: false,
minWidth: 150
}, {
label: this.$t('config.agent.protocol'),
prop: 'protocol',
show: false,
minWidth: 150
}
]
}