|
@@ -437,8 +437,8 @@ export default {
|
|
// 更新检查项到数据库
|
|
// 更新检查项到数据库
|
|
async updateCheckItemHandle(item) {
|
|
async updateCheckItemHandle(item) {
|
|
console.log(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) {
|
|
if (res.code === 200) {
|
|
this.getRecordList()
|
|
this.getRecordList()
|
|
this.$message({
|
|
this.$message({
|