From d604f3b914f6f2b40c4c73f917590d061bdfb542 Mon Sep 17 00:00:00 2001 From: yujiacong <1016029365@qq.com> Date: Tue, 29 Jul 2025 11:26:13 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=90=E8=90=A5=E6=B5=81=E6=B0=B4=E5=88=86?= =?UTF-8?q?=E6=9E=90=20-=20=E8=B4=9F=E8=B4=A3=E4=BA=BA=E8=81=94=E5=8A=A8?= =?UTF-8?q?=E5=88=86=E5=8C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/OperationFlowAnalysis.vue | 27 ++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/src/views/system/OperationFlowAnalysis.vue b/src/views/system/OperationFlowAnalysis.vue index ef5a5e2..4df5230 100644 --- a/src/views/system/OperationFlowAnalysis.vue +++ b/src/views/system/OperationFlowAnalysis.vue @@ -2,13 +2,13 @@
分区 - +
负责人 { + console.log(e); + if (e) { + formData.partitionId = e; + const matchedItems = adminListArr.value.filter( + (item) => (item.partitionId == formData.partitionId) + ); + adminListTypeArr.value = matchedItems; + } + }; const dateFormat = (row) => { const date = new Date(row); return date.format("yyyy-MM-dd hh:mm:ss"); @@ -471,6 +482,12 @@ export default { getGuildOperatorListAll().then((res) => { if (res.code == 200) { adminListArr.value = res.data; + + const matchedItems = adminListArr.value.filter( + (item) => (item.partitionId == 1) + ); + adminListTypeArr.value = matchedItems; + } else { ElMessage.error(res.message); } @@ -519,7 +536,9 @@ export default { remarkData, remarkFun, confirmRemarkFun, - toPercentage + toPercentage, + getlistByPartition, + adminListTypeArr }; }, };