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
42
43
44
45
46
| <template>
| <vol-table
| :tableData="tableData"
| :columns="columns"
| :height="411"
| :pagination-hide="true"
| :load-key="false"
| :text-inline="false"
| :ck="false"
| ></vol-table>
| </template>
| <script>
| import VolTable from '@/components/basic/VolTable.vue';
| import {
| defineComponent,
| ref,
| reactive,
| toRefs,
| getCurrentInstance
| } from 'vue';
| export default defineComponent({
| components: {
| VolTable
| },
| props: {
| tableData: {
| type: Array,
| default: () => {
| return [];
| }
| }
| },
| setup() {
| const columns = reactive([
| { title: '节点', field: 'stepName' },
| { title: '审批人', field: 'auditor' },
| { title: '审批结果', field: 'auditStatus' },
| { title: '审批时间', field: 'auditDate',width:150 },
| { title: '备注', field: 'remark' }
| ]);
| return {
| columns
| }
| }
| });
| </script>
|
|