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({