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 }; }, };