From 0440b8c881e4049788882473f04a8fb2b7f23fea Mon Sep 17 00:00:00 2001 From: pengwei Date: Tue, 19 Aug 2025 18:04:19 +0800 Subject: [PATCH] =?UTF-8?q?fit:1=E3=80=81=E4=BF=A1=E8=AE=BF=E6=8A=95?= =?UTF-8?q?=E8=AF=89=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/data/PetitionComplaint.vue | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/src/views/data/PetitionComplaint.vue b/src/views/data/PetitionComplaint.vue index 211fc54..c7972cb 100644 --- a/src/views/data/PetitionComplaint.vue +++ b/src/views/data/PetitionComplaint.vue @@ -136,7 +136,7 @@ @@ -283,7 +283,7 @@
{{ - (activeRow.tableName === 'gabxf')?(activeRow.problemSourcesCode==='21'?'国家信访':'公安部信访'):'局长信箱' + getDataTypeFun(activeRow) }}
@@ -443,7 +443,15 @@ async function handleDel(row) { await delDataThreadFun({originId:row.originId,tableName:row.tableName}); getList(); } - +const getDataTypeFun =(row)=>{ + if(row.tableName === 'gabxf'){ + return row.problemSourcesCode==='21'?'国家信访':'公安部信访'; + }else if(row.tableName ==='jzxx'){ + return '局长信箱'; + }else{ + return '案件核查'; + } +} const activeNegativeId = ref(""); @@ -461,6 +469,10 @@ function handleDetail(row) { console.log(activeRow.value) detailShow.value = true; } +watch(()=>query.value.problemSourcesCode,(val)=>{ + query.value.problemSourcesCode=val; + getList(); +})