fix: 日志IMS-CDR类型查询默认空进行全查询,表格宽度增加

This commit is contained in:
TsMask
2024-07-23 14:26:09 +08:00
parent a36a12f783
commit fac47279b5

View File

@@ -44,7 +44,7 @@ let queryParams = reactive({
/**网元类型 */
neType: 'IMS',
neId: '001',
recordType: 'MOC',
recordType: '',
callerParty: '',
calledParty: '',
sortField: 'timestamp',
@@ -61,9 +61,9 @@ let queryParams = reactive({
/**查询参数重置 */
function fnQueryReset() {
recordTypes.value = ['MOC'];
recordTypes.value = [];
queryParams = Object.assign(queryParams, {
recordType: 'MOC',
recordType: '',
callerParty: '',
calledParty: '',
startTime: '',
@@ -78,7 +78,7 @@ function fnQueryReset() {
}
/**记录类型 */
const recordTypes = ref<string[]>(['MOC']);
const recordTypes = ref<string[]>([]);
/**查询记录类型变更 */
function fnQueryRecordTypeChange(value: any) {
@@ -639,7 +639,7 @@ onBeforeUnmount(() => {
:data-source="tableState.data"
:size="tableState.size"
:pagination="tablePagination"
:scroll="{ x: tableColumns.length * 120, y: 'calc(100vh - 480px)' }"
:scroll="{ x: tableColumns.length * 150, y: 'calc(100vh - 480px)' }"
:row-selection="{
type: 'checkbox',
columnWidth: '48px',