wenbobowen 4 years ago
parent
commit
860daab819
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/projectManage/publishTask/index.vue

+ 2 - 2
src/views/projectManage/publishTask/index.vue

@@ -437,8 +437,8 @@ export default {
     // 更新检查项到数据库
     async updateCheckItemHandle(item) {
       console.log(item)
-      const { id: templateId, isCheck } = item
-      const res = await updateTemplateCheckStatus({ templateId, isCheck, taskId: this.taskId })
+      const { id: templateId, isCheck, parentTemplateId } = item
+      const res = await updateTemplateCheckStatus({ templateId, isCheck, taskId: this.taskId, templateId: parentTemplateId })
       if (res.code === 200) {
         this.getRecordList()
         this.$message({