|
@@ -1997,12 +1997,13 @@ export default {
|
|
|
},
|
|
|
showReasonForRejection(item) {
|
|
|
const taskId = this.taskId
|
|
|
- const id = item
|
|
|
+ const {id} = item
|
|
|
this.http.post('/task/getFileRejectReason',{
|
|
|
taskId
|
|
|
},res => {
|
|
|
if(res.code == 'ok'){
|
|
|
let text = res.data.find(item => item.id == id)
|
|
|
+ console.log(text)
|
|
|
this.$alert(text.fileRejectReason, '驳回原因');
|
|
|
}else {
|
|
|
this.$message.error(res.msg)
|