From c4e688a944eebfc7e3033ef47f3c3aa29a698020 Mon Sep 17 00:00:00 2001 From: lz-ui Date: Mon, 27 Oct 2025 14:06:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=B7=BB=E5=8A=A0=E6=A0=87=E8=AE=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/reset.scss | 9 ++++++- src/views/operation/report/index.vue | 38 +++++++++++++++++++++++++--- 2 files changed, 43 insertions(+), 4 deletions(-) diff --git a/src/assets/styles/reset.scss b/src/assets/styles/reset.scss index a79530c..587c15c 100644 --- a/src/assets/styles/reset.scss +++ b/src/assets/styles/reset.scss @@ -170,4 +170,11 @@ background: #eaf2fe; color: #c0c4cc; cursor: not-allowed; -} \ No newline at end of file +} + + + +#app .has-active{ + background: #f56c6c; + color: #fff; +} \ No newline at end of file diff --git a/src/views/operation/report/index.vue b/src/views/operation/report/index.vue index 47fb191..00f9049 100644 --- a/src/views/operation/report/index.vue +++ b/src/views/operation/report/index.vue @@ -16,6 +16,16 @@ > + + + + + @@ -177,6 +201,7 @@ const total = ref(0) const dateRange = ref([]) const editHadRef = ref(null) const activeName = ref('FINYX_F') +const matchIdType = ref({ id: '', type: '' }) const dialogOpen = ref(false) const dialogTitle = ref('标记') @@ -184,6 +209,10 @@ const dialogForm = ref({}) /** 数据范围选项*/ const dataScopeOptions = ref([]) +const flagStatusOptions = ref([ + { value: 1, label: '已标记' }, + { value: 0, label: '未标记' }, +]) const data = reactive({ form: {}, @@ -192,6 +221,7 @@ const data = reactive({ pageSize: 10, matchNumStr: undefined, leagueAbbName: undefined, + flagStatus: undefined, }, rules: {}, }) @@ -243,7 +273,8 @@ function openDialog(row, type='') { if(row && row.reportResults && type){ dialogForm.value = row.reportResults.find(el => el.modelType === type) dialogOpen.value = true - dialogTitle.value = '标记' + type + dialogTitle.value = ' 标记 ' + row.matchNumStr + ' ' + type+ '模型' + matchIdType.value = { id: row.matchId, type: type } } } @@ -341,6 +372,7 @@ function resetQuery() { dateRange.value = [] proxy.resetForm("queryRef") handleQuery() + matchIdType.value = { id: '', type: '' } } onMounted(() => {