diff --git a/src/views/responseManagement/userResponse/index.vue b/src/views/responseManagement/userResponse/index.vue index b8c66ce..ef1e982 100644 --- a/src/views/responseManagement/userResponse/index.vue +++ b/src/views/responseManagement/userResponse/index.vue @@ -88,8 +88,8 @@ - + > + @@ -126,9 +126,9 @@ @@ -618,15 +618,22 @@ const ApproveUserEnd = (row) => { state.emailDialogVisibleNew = true; }; -const ApproveUserEndData = (row) => { +const ApproveUserEndData = (row, isEndApply) => { + console.log(row, ''); let data = {}; - data.id = state.disasterData.disasterId; - data.email = state.disasterData.email; + + if (row) { + data.id = row.disasterId; + data.email = row.email; + }else{ + data.id = state.disasterData.disasterId; + data.email = state.disasterData.email; + } if (state.reason) { data.refuseReason = state.reason; } // data.email = "13935964706@163.com" - data.isEndApply = row; + data.isEndApply = isEndApply; examineDisasterInfoEnd(data).then((da) => { ElMessage.success('success'); }); diff --git a/src/views/systemManagement/administrator/index.vue b/src/views/systemManagement/administrator/index.vue index 441723f..4547d02 100644 --- a/src/views/systemManagement/administrator/index.vue +++ b/src/views/systemManagement/administrator/index.vue @@ -25,13 +25,14 @@ - - + + + - - - - + + + +