salary
qsh 5 months ago
parent 43b95e3a10
commit b6bd32430b
  1. 2
      src/views/Basic/GeneralSet/Comp/BSClue.vue
  2. 10
      src/views/Clue/Order/Comp/MallOrderList.vue
  3. 10
      src/views/Clue/Order/Comp/OrderList.vue
  4. 2
      src/views/Clue/Pool/index.vue

@ -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() {

Loading…
Cancel
Save