zhuliu vor 7 Monaten
Ursprung
Commit
10a4a9089f

+ 5 - 3
src/views/report/components/reportFile/examineHistoryDialog.vue

@@ -7,7 +7,7 @@
         :append-to-body="true" 
         :close-on-click-modal="false">
         <div v-if="visible">
-            <examineHistory :fileGuid="fileGuid"></examineHistory>
+            <examineHistory :fileGuid="fileGuid" :taskId="taskId"></examineHistory>
         </div>
     </el-dialog>
 </template>
@@ -23,6 +23,7 @@ export default {
     return {
         visible:false,
         fileGuid:null,
+        taskId:null,
     };
   },
   watch: {},
@@ -30,8 +31,9 @@ export default {
   created() {},
   mounted() {},
   methods: {
-    open(fileGuid){
-        this.fileGuid = fileGuid
+    open(fileGuid,taskId){
+        this.fileGuid = fileGuid || null
+        this.taskId = taskId || null
         this.visible = true
     },
     handleClose(){

+ 7 - 0
src/views/task/components/examine/components/examineHistory.vue

@@ -67,6 +67,10 @@ export default {
     fileGuid:{
         type:String,
         default:''
+    },
+    taskId:{
+        type:String,
+        default:''
     }
   },
   data() {
@@ -77,6 +81,9 @@ export default {
   watch: {
     fileGuid(){
         this.getExamineHistory()
+    },
+    taskId(){
+        this.getExamineHistory()
     }
   },
   computed: {},

+ 8 - 1
src/views/task/components/index.vue

@@ -75,6 +75,9 @@
     <handleTask1 ref="handleTask1Dialog" @isSuccess="isSuccess"></handleTask1>
     <handleTask2 ref="handleTask2Dialog" @isSuccess="isSuccess"></handleTask2>
     <lookReport ref="lookReport" @isSuccess="isSuccess"></lookReport>
+
+    <!-- 审核历史 -->
+    <examineHistoryDialog ref="examineHistoryDialog"></examineHistoryDialog>
   </div>
 </template>
 
@@ -87,6 +90,8 @@ import createTask from '@/views/patentMining/components/dialog/createTask.vue'
 import handleTask1 from '@/views/patentMining/components/dialog/handleTask1.vue'
 import handleTask2 from '@/views/patentMining/components/dialog/handleTask2.vue'
 import lookReport from '@/views/report/components/dialog/lookReport.vue'
+
+import examineHistoryDialog from '@/views/report/components/reportFile/examineHistoryDialog.vue'
 export default {
   mixins: [column, optionsData, taskPatentMining],
   // type区分是从哪里进入
@@ -107,6 +112,7 @@ export default {
     handleTask1,
     handleTask2,
     lookReport,
+    examineHistoryDialog
   },
   data() {
     return {
@@ -253,7 +259,8 @@ export default {
     handleCommand(ev, row) {
       switch (ev) {
         case '1'://查看审核记录
-          this.$refs.auditRecords.open(row)
+          // this.$refs.auditRecords.open(row)
+          this.$refs.examineHistoryDialog.open(null,row.id)
           break;
         case '2'://取消任务//发起人和审核人可以取消任务,外部人员不能取消任务
           this.finishClose(row, 1)