Lijy 4 months ago
parent
commit
0173606642

+ 2 - 1
fhKeeper/formulahousekeeper/timesheet/src/components/taskComponent.vue

@@ -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)