维度项为空时的判断
This commit is contained in:
@@ -77,7 +77,7 @@
|
||||
:label="item.label"></el-checkbox>
|
||||
</el-checkbox-group>
|
||||
</template>
|
||||
<template #header>
|
||||
<template #header v-if="Object.keys(dimensionFields)?.length">
|
||||
<div style="display:flex;margin-left:20px">
|
||||
<el-checkbox-group v-model="tableSearch['Group by']"
|
||||
placeholder="请选择内容">
|
||||
@@ -261,18 +261,7 @@ const initTable = async () => {
|
||||
if (item.queryMode == 'NE') config.searchLabel = `${config.label} !=`
|
||||
tableOption.value.column[item.fieldCode] = config
|
||||
})
|
||||
//if(!!Object.keys(dimensionFields.value).length){
|
||||
// tableOption.value.column['groupbylisy'] = {
|
||||
// hide:true,
|
||||
// prop: 'groupbylisy',
|
||||
// label: '维度',
|
||||
// type: 'input',
|
||||
// overHidden: true,
|
||||
// isExport: false,
|
||||
// sortable: false,
|
||||
// search: true
|
||||
// }
|
||||
//}
|
||||
|
||||
|
||||
isInit.value = true
|
||||
searchChange()
|
||||
|
||||
Reference in New Issue
Block a user