From 26f877b93510d37c929a5c9704e1ca4bd583ce2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com> Date: Fri, 19 Apr 2024 09:10:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/manage/Auditing/index.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/views/manage/Auditing/index.vue b/src/views/manage/Auditing/index.vue index 726fbab..bcfe10c 100644 --- a/src/views/manage/Auditing/index.vue +++ b/src/views/manage/Auditing/index.vue @@ -243,6 +243,11 @@ export default { }, //审核 auditing() { + let manageRouteNodeIds = [] + this.nodelist.map(e => { + manageRouteNodeIds = [...manageRouteNodeIds, ...e.nodeList.map(el => el.id)] + }) + console.log(manageRouteNodeIds) this.$prompt('请输入审核备注信息?', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', @@ -251,7 +256,7 @@ export default { routeCheckPerson: JSON.parse(localStorage.getItem('user')).nickName, routeCheckRemark: value, routeCheckStatus: 'AGREE', - manageRouteNodeIds: this.nodelist.map(e => e.manageRouteId) + manageRouteNodeIds: manageRouteNodeIds } audit(obj).then(res => { this.$notify({