1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<template>
<e-comment :dataSource="value"></e-comment>
<!-- <a-list class="comment-list" :header="''" item-layout="horizontal" :data-source="value">
<a-list-item slot="renderItem" slot-scope="item">
<a-comment :author="item.auditUnitName" :avatar="''" :name="1">
<p slot="content"> {{ item.auditContent }}</p>
<a-tooltip slot="datetime" :title="item.auditDate">
<span>{{ item.auditDate}}</span>
</a-tooltip>
</a-comment>
</a-list-item>
</a-list> -->
</template>
<script>
export default {
name: "audit",
data() {
return {
auditList: [{ auditContent: '', auditUnitName: '', auditDate: '', photo: 'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png', },],
};
},
props: {
value: {
type: Array,
default: () => {
return [...this.auditList]
}
}
},
created() {
this.load();
},
methods: {
load() {
}
},
};
</script>