From 3b9b56fec9125e6d0b5b1d5dd868464e5c9a7b1f Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Tue, 26 Sep 2023 18:52:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=97=A5=E6=9C=9F=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E6=B8=85=E7=A9=BA=E5=BC=82=E5=B8=B8=E5=92=8C=E7=A7=BB=E9=99=A4?= =?UTF-8?q?console?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/software-history.vue | 3 +++ src/views/logManage/alarm/index.vue | 6 ++++-- src/views/logManage/mml/index.vue | 21 +++++++++---------- src/views/logManage/operation/index.vue | 1 - src/views/logManage/setting/index.vue | 13 +++++++----- src/views/monitor/job/log.vue | 3 +++ src/views/monitor/logininfor/index.vue | 3 +++ src/views/monitor/operlog/index.vue | 3 +++ src/views/system/config/index.vue | 3 +++ src/views/system/dict/index.vue | 3 +++ src/views/system/role/index.vue | 3 +++ src/views/system/user/index.vue | 3 +++ src/views/traceManage/analysis/index.vue | 1 - src/views/traceManage/task/index.vue | 1 - 14 files changed, 46 insertions(+), 21 deletions(-) diff --git a/src/views/configManage/softwareManage/components/software-history.vue b/src/views/configManage/softwareManage/components/software-history.vue index ec9d2d55..e8ac547f 100644 --- a/src/views/configManage/softwareManage/components/software-history.vue +++ b/src/views/configManage/softwareManage/components/software-history.vue @@ -166,6 +166,9 @@ function fnTableSelectedRowKeys(keys: (string | number)[]) { function fnGetList() { if (tableState.loading) return; tableState.loading = true; + if (!queryRangePicker.value) { + queryRangePicker.value = ['', '']; + } queryParams.beginTime = queryRangePicker.value[0]; queryParams.endTime = queryRangePicker.value[1]; listNeVersion(toRaw(queryParams)).then(res => { diff --git a/src/views/logManage/alarm/index.vue b/src/views/logManage/alarm/index.vue index fb0dfbc6..fcd0aac3 100644 --- a/src/views/logManage/alarm/index.vue +++ b/src/views/logManage/alarm/index.vue @@ -175,10 +175,12 @@ function fnTableSize({ key }: MenuInfo) { function fnGetList() { if (tableState.loading) return; tableState.loading = true; + if (!queryRangePicker.value) { + queryRangePicker.value = ['', '']; + } queryParams.beginTime = queryRangePicker.value[0]; queryParams.endTime = queryRangePicker.value[1]; listAlarm(toRaw(queryParams)).then(res => { - console.log(res); if (res.code === RESULT_CODE_SUCCESS && Array.isArray(res.rows)) { tablePagination.total = res.total; tableState.data = res.rows; @@ -212,7 +214,7 @@ onMounted(() => { - + { - console.log(res); if (res.code === RESULT_CODE_SUCCESS && Array.isArray(res.rows)) { tablePagination.total = res.total; tableState.data = res.rows; @@ -279,12 +281,10 @@ onMounted(() => { > @@ -297,8 +297,7 @@ onMounted(() => { padding: 0 24px; } .mmlText { - max-width: 200px; + max-width: 800px; cursor: pointer; - text-align: start; } diff --git a/src/views/logManage/operation/index.vue b/src/views/logManage/operation/index.vue index 145a8bfa..d27b22bd 100644 --- a/src/views/logManage/operation/index.vue +++ b/src/views/logManage/operation/index.vue @@ -172,7 +172,6 @@ function fnGetList() { if (tableState.loading) return; tableState.loading = true; listOperationLog(toRaw(queryParams)).then(res => { - console.log(res); if (res.code === RESULT_CODE_SUCCESS && Array.isArray(res.rows)) { tablePagination.total = res.total; tableState.data = res.rows; diff --git a/src/views/logManage/setting/index.vue b/src/views/logManage/setting/index.vue index 38f1f3b1..81b457f7 100644 --- a/src/views/logManage/setting/index.vue +++ b/src/views/logManage/setting/index.vue @@ -157,7 +157,6 @@ function fnGetList() { if (tableState.loading) return; tableState.loading = true; listTraceData(toRaw(queryParams)).then(res => { - console.log(res); if (res.code === RESULT_CODE_SUCCESS && Array.isArray(res.rows)) { tablePagination.total = res.total; tableState.data = res.rows; @@ -218,7 +217,9 @@ function fnModalVisible(row: Record) { modalState.from.rawDataHTML = t('views.traceManage.analysis.noData'); } }); - modalState.title = t('views.traceManage.analysis.taskTitle', { num: row.imsi }); + modalState.title = t('views.traceManage.analysis.taskTitle', { + num: row.imsi, + }); modalState.visible = true; } @@ -321,7 +322,7 @@ onMounted(() => { { { :visible="modalState.visible" @cancel="fnModalVisibleClose" > -
{{ t('views.traceManage.analysis.signalData') }}
+
+ {{ t('views.traceManage.analysis.signalData') }} +
{ diff --git a/src/views/monitor/logininfor/index.vue b/src/views/monitor/logininfor/index.vue index ab0390ef..56c73bce 100644 --- a/src/views/monitor/logininfor/index.vue +++ b/src/views/monitor/logininfor/index.vue @@ -312,6 +312,9 @@ function fnExportList() { function fnGetList() { if (tableState.loading) return; tableState.loading = true; + if (!queryRangePicker.value) { + queryRangePicker.value = ['', '']; + } queryParams.beginTime = queryRangePicker.value[0]; queryParams.endTime = queryRangePicker.value[1]; listLogininfor(toRaw(queryParams)).then(res => { diff --git a/src/views/monitor/operlog/index.vue b/src/views/monitor/operlog/index.vue index de11305f..c07eb4c0 100644 --- a/src/views/monitor/operlog/index.vue +++ b/src/views/monitor/operlog/index.vue @@ -345,6 +345,9 @@ function fnExportList() { function fnGetList() { if (tableState.loading) return; tableState.loading = true; + if (!queryRangePicker.value) { + queryRangePicker.value = ['', '']; + } queryParams.beginTime = queryRangePicker.value[0]; queryParams.endTime = queryRangePicker.value[1]; listOperlog(toRaw(queryParams)).then(res => { diff --git a/src/views/system/config/index.vue b/src/views/system/config/index.vue index ac8e62f8..d94c68b5 100644 --- a/src/views/system/config/index.vue +++ b/src/views/system/config/index.vue @@ -423,6 +423,9 @@ function fnRefreshCache() { function fnGetList() { if (tableState.loading) return; tableState.loading = true; + if (!queryRangePicker.value) { + queryRangePicker.value = ['', '']; + } queryParams.beginTime = queryRangePicker.value[0]; queryParams.endTime = queryRangePicker.value[1]; listConfig(toRaw(queryParams)).then(res => { diff --git a/src/views/system/dict/index.vue b/src/views/system/dict/index.vue index 51926e58..a80fe970 100644 --- a/src/views/system/dict/index.vue +++ b/src/views/system/dict/index.vue @@ -426,6 +426,9 @@ function fnDataView(dictId: string | number = '0') { function fnGetList() { if (tableState.loading) return; tableState.loading = true; + if (!queryRangePicker.value) { + queryRangePicker.value = ['', '']; + } queryParams.beginTime = queryRangePicker.value[0]; queryParams.endTime = queryRangePicker.value[1]; listType(toRaw(queryParams)).then(res => { diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue index 4ffd3136..edc49e6a 100644 --- a/src/views/system/role/index.vue +++ b/src/views/system/role/index.vue @@ -673,6 +673,9 @@ function fnExportList() { function fnGetList() { if (tableState.loading) return; tableState.loading = true; + if (!queryRangePicker.value) { + queryRangePicker.value = ['', '']; + } queryParams.beginTime = queryRangePicker.value[0]; queryParams.endTime = queryRangePicker.value[1]; listRole(toRaw(queryParams)).then(res => { diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index a4317be5..5d6ffa43 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -674,6 +674,9 @@ function fnModalUploadXlsxImportExportTemplate() { function fnGetList() { if (tableState.loading) return; tableState.loading = true; + if (!queryRangePicker.value) { + queryRangePicker.value = ['', '']; + } queryParams.beginTime = queryRangePicker.value[0]; queryParams.endTime = queryRangePicker.value[1]; listUser(toRaw(queryParams)).then(res => { diff --git a/src/views/traceManage/analysis/index.vue b/src/views/traceManage/analysis/index.vue index 704bf659..81b457f7 100644 --- a/src/views/traceManage/analysis/index.vue +++ b/src/views/traceManage/analysis/index.vue @@ -157,7 +157,6 @@ function fnGetList() { if (tableState.loading) return; tableState.loading = true; listTraceData(toRaw(queryParams)).then(res => { - console.log(res); if (res.code === RESULT_CODE_SUCCESS && Array.isArray(res.rows)) { tablePagination.total = res.total; tableState.data = res.rows; diff --git a/src/views/traceManage/task/index.vue b/src/views/traceManage/task/index.vue index 8ecafaff..607f9d99 100644 --- a/src/views/traceManage/task/index.vue +++ b/src/views/traceManage/task/index.vue @@ -461,7 +461,6 @@ function fnModalOk() { const hide = message.loading(t('common.loading'), 0); traceTask .then(res => { - console.log(res); if (res.code === RESULT_CODE_SUCCESS) { message.success({ content: t('common.msgSuccess', { msg: modalState.title }),