diff --git a/client/src/views/qualityinspect/inspecttaskdo.vue b/client/src/views/qualityinspect/inspecttaskdo.vue index 7ff9484..e2ce3cd 100644 --- a/client/src/views/qualityinspect/inspecttaskdo.vue +++ b/client/src/views/qualityinspect/inspecttaskdo.vue @@ -101,7 +101,7 @@ size="small" icon="el-icon-edit" @click="handleEdit(scope)" - /> --> + /> @@ -283,31 +281,30 @@ export default { }, - //点击组织弹出清单 + + recorclickRow(scope) { + + this.listLoading2 = true; + this.listQuery = {pageoff:true, subtask: this.id, dept:scope.row.dept} + + this.getinspectrecordlist(); + }, + //点击组织弹出清单 getinspectrecordlist() { getinspectrecordlist(this.listQuery) .then((res) => { this.inspectitemList = res.data; - + console.log(this.inspectitemList) }) }, - recorclickRow(row) { - - this.listLoading2 = true; - this.listQuery = {pageoff:true, subtask: this.id, dept:row.dept} - - this.getinspectrecordlist(); - }, - handleCheck(scope) { this.dialog=true; this.recordid=scope.row.id this.fileList=[]; - console.log(this.recordid) getinspectrecord(this.recordid).then((res) => { this.inspectrecord = res.data;