Merge pull request #1040 from jumpserver/pr@dev@ticket_perf

perf: 工单详情样式优化
This commit is contained in:
feng626
2021-09-15 14:07:18 +08:00
committed by GitHub
2 changed files with 4 additions and 5 deletions

View File

@@ -52,7 +52,6 @@ export default {
}
},
password: {
helpText: this.$t('assets.PasswordWithoutSpecialCharHelpText'),
hidden: (formValue) => {
if (!this.$route.params.id) {
return false

View File

@@ -7,12 +7,12 @@
<el-row :gutter="10">
<el-col v-for="item in detailCardItems" :key="'card-' + item.key" :span="12">
<el-row class="item">
<el-col :span="6">
<el-col :span="4">
<div :style="{ 'text-align': 'align' }" class="item-label">
<label>{{ item.key }}: </label>
</div>
</el-col>
<el-col :span="18">
<el-col :span="20">
<div class="item-text">
<ItemValue v-bind="item" />
</div>
@@ -24,12 +24,12 @@
<el-row :gutter="10">
<el-col v-for="item in specialCardItems" :key="'card-' + item.key" :span="12">
<el-row class="item">
<el-col :span="6">
<el-col :span="4">
<div :style="{ 'text-align': 'align' }" class="item-label">
<label>{{ item.key }}: </label>
</div>
</el-col>
<el-col :span="18">
<el-col :span="20">
<div class="item-text">
<ItemValue v-bind="item" />
</div>