This commit is contained in:
pycook
2023-08-19 11:04:06 +08:00
parent 4cc2e47f02
commit 0ebd52f3fd
4 changed files with 16 additions and 12 deletions

View File

@@ -60,7 +60,7 @@
</vxe-column>
<vxe-column field="type_id" title="模型" width="150px">
<template #default="{ row }">
{{ row.operate_type === '删除模型' ? row.change.alias : row.type_id}}
{{ row.operate_type === '删除模型' ? row.change.alias : row.type_id }}
</template>
</vxe-column>
<vxe-column field="changeDescription" title="描述">

View File

@@ -14,12 +14,16 @@
}
"
class="cmdb-views-header-metadata"
><a-icon type="info-circle" />
><a-icon type="info-circle" />
属性说明
</span>
</span>
<a-button size="small" icon="plus" type="primary" @click="$refs.create.handleOpen(true, 'create')"
>新建</a-button
<a-button
size="small"
icon="plus"
type="primary"
@click="$refs.create.handleOpen(true, 'create')"
>新建</a-button
>
</div>
<SplitPane
@@ -231,10 +235,10 @@
margin: '2px',
...getChoiceValueStyle(col, value),
}"
><ops-icon
:style="{ color: getChoiceValueIcon(col, value).color }"
:type="getChoiceValueIcon(col, value).name"
/>{{ value }}</span
><ops-icon
:style="{ color: getChoiceValueIcon(col, value).color }"
:type="getChoiceValueIcon(col, value).name"
/>{{ value }}</span
>
</template>
<span