cmc-web/webs/ams-web/src/views/log/LookDialog.vue

26 lines
706 B
Vue
Raw Normal View History

2024-08-20 12:11:31 +00:00
<template>
<el-dialog title="查看属性" :close-on-click-modal="false" :visible.sync="addData.dialog" width="1400px">
<cb-smart-table :data="addData.data">
<el-table-column label="属性" prop="name"></el-table-column>
<el-table-column label="值" prop="propertyValue"></el-table-column>
</cb-smart-table>
<div slot="footer" class="dialog-footer">
<el-button type="ghost" @click.native="addData.dialog = false">关闭</el-button>
</div>
</el-dialog>
</template>
<script lang="ts">
import { defineComponent } from 'vue'
export default defineComponent({
props: {
addData: {
type: Object,
2024-08-21 01:17:14 +00:00
default: () => {},
},
},
2024-08-20 12:11:31 +00:00
})
</script>
2024-08-21 01:17:14 +00:00
<style></style>