提交
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<el-radio-group
|
<el-radio-group
|
||||||
v-model="form.usePhoneConfig"
|
v-model="form.usePhoneConfig"
|
||||||
:disabled="getConfig('usePhoneConfig').modifiable == 'false'"
|
:disabled="!getConfig('usePhoneConfig').modifiable"
|
||||||
>
|
>
|
||||||
<el-radio
|
<el-radio
|
||||||
v-for="(item, index) in getConfig('usePhoneConfig').options"
|
v-for="(item, index) in getConfig('usePhoneConfig').options"
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
@@ -79,9 +79,10 @@
|
|||||||
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
|
<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"
|
||||||
@@ -232,6 +233,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)
|
||||||
|
|||||||
@@ -214,7 +214,7 @@ const showColumns = ref([])
|
|||||||
|
|
||||||
// 初始化表格
|
// 初始化表格
|
||||||
function getCheckedColumns(list) {
|
function getCheckedColumns(list) {
|
||||||
showColumns.value = list
|
showColumns.value = list && list.length ? list : allSchemas.value.tableColumns
|
||||||
}
|
}
|
||||||
|
|
||||||
function resetQuery() {
|
function resetQuery() {
|
||||||
|
|||||||
Reference in New Issue
Block a user