소스 검색

优化点检

guarantee-lsq 2 년 전
부모
커밋
bd6f45f226
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/views/check/checkjob/modules/DetailStandardCheckJob.vue

+ 2 - 2
src/views/check/checkjob/modules/DetailStandardCheckJob.vue

@@ -238,12 +238,12 @@ export default {
       this.visible = true
       this.model = record
       this.modalTitle = '保养记录'
-      queryCheckJob({ standardId: record.id, type: this.checkType, statusList: [this.DictCache.VALUE.CHECK_JOB_STATUS.NOT_EXECUTE, this.DictCache.VALUE.CHECK_JOB_STATUS.EXECUTING].join(',') }).then(res => {
+      queryCheckJob({ standardId: record.id, type: record.checkType, statusList: [this.DictCache.VALUE.CHECK_JOB_STATUS.NOT_EXECUTE, this.DictCache.VALUE.CHECK_JOB_STATUS.EXECUTING].join(',') }).then(res => {
         this.data = res.data
       })
     },
     handleOk () {
-      queryCheckJob({ standardId: this.model.id, type: this.checkType, statusList: [this.DictCache.VALUE.CHECK_JOB_STATUS.NOT_EXECUTE, this.DictCache.VALUE.CHECK_JOB_STATUS.EXECUTING].join(',') }).then(res => {
+      queryCheckJob({ standardId: this.model.id, type: this.model.checkType, statusList: [this.DictCache.VALUE.CHECK_JOB_STATUS.NOT_EXECUTE, this.DictCache.VALUE.CHECK_JOB_STATUS.EXECUTING].join(',') }).then(res => {
         this.data = res.data
       })
     },