隐患考评bug修复

2024年1月19日V01.00.51
zhaoyu 2024-01-18 20:47:57 +08:00
parent 28b9bfc228
commit 3e6b804b7d
1 changed files with 4 additions and 3 deletions

View File

@ -168,7 +168,7 @@
v-if="USER_ID=='1'" v-if="USER_ID=='1'"
type="danger" type="danger"
icon="el-icon-view" icon="el-icon-view"
@click="fnDelvaluation(row.HIDDEN_ID)">重置考评 @click="fnDelvaluation(row)">重置考评
</el-button> </el-button>
</template> </template>
</el-table-column> </el-table-column>
@ -427,7 +427,7 @@ export default {
} }
}) })
}, },
fnDelvaluation(hiddenId) { fnDelvaluation(row) {
this.$confirm('确定要重置选中的评审记录吗?', { this.$confirm('确定要重置选中的评审记录吗?', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
@ -437,7 +437,8 @@ export default {
requestFN( requestFN(
'/hiddenevaluationrecord/deleteEvaluation', '/hiddenevaluationrecord/deleteEvaluation',
{ {
HIDDEN_ID: hiddenId HIDDEN_ID: row.HIDDEN_ID,
USER_ID: row.CREATOR
} }
).then((data) => { ).then((data) => {
this.listLoading = false this.listLoading = false