|
|
@ -60,6 +60,7 @@ |
|
|
|
v-model:tableObject="tableObject" |
|
|
|
v-model:tableObject="tableObject" |
|
|
|
:tableColumns="allSchemas.tableColumns" |
|
|
|
:tableColumns="allSchemas.tableColumns" |
|
|
|
@get-list="getTableList" |
|
|
|
@get-list="getTableList" |
|
|
|
|
|
|
|
@get-checked-columns="getCheckedColumns" |
|
|
|
> |
|
|
|
> |
|
|
|
<el-table-column type="expand"> |
|
|
|
<el-table-column type="expand"> |
|
|
|
<template #default="{ row }"> |
|
|
|
<template #default="{ row }"> |
|
|
@ -104,7 +105,7 @@ |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
<el-table-column |
|
|
|
v-for="item in allSchemas.tableColumns" |
|
|
|
v-for="item in showColumns" |
|
|
|
:key="item.field" |
|
|
|
:key="item.field" |
|
|
|
:prop="item.field" |
|
|
|
:prop="item.field" |
|
|
|
:label="item.label" |
|
|
|
:label="item.label" |
|
|
@ -282,6 +283,13 @@ async function getCurdSchemas() { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const showColumns = ref([]) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 初始化表格 |
|
|
|
|
|
|
|
function getCheckedColumns(list) { |
|
|
|
|
|
|
|
showColumns.value = list && list.length ? list : allSchemas.value.tableColumns |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 详情 |
|
|
|
// 详情 |
|
|
|
function handleDetail(row) { |
|
|
|
function handleDetail(row) { |
|
|
|
orderDetailDialog.value.open(row.clueId, row.signId) |
|
|
|
orderDetailDialog.value.open(row.clueId, row.signId) |
|
|
|