|
@@ -384,7 +384,6 @@ export default {
|
|
|
|
|
|
// 修改checklist绑定模版列表
|
|
|
updateSelectedTemHandle(checkedIds) {
|
|
|
- console.log(checkedIds)
|
|
|
const selectedBizTemplateIds = []
|
|
|
const templates = []
|
|
|
checkedIds.map(checkedId => {
|
|
@@ -436,9 +435,8 @@ export default {
|
|
|
|
|
|
// 更新检查项到数据库
|
|
|
async updateCheckItemHandle(item) {
|
|
|
- console.log(item)
|
|
|
- const { id: templateId, isCheck, parentTemplateId } = item
|
|
|
- const res = await updateTemplateCheckStatus({ templateId, isCheck, taskId: this.taskId, templateId: parentTemplateId })
|
|
|
+ const { isCheck, parentTemplateId } = item
|
|
|
+ const res = await updateTemplateCheckStatus({ isCheck, taskId: this.taskId, templateId: parentTemplateId })
|
|
|
if (res.code === 200) {
|
|
|
this.getRecordList()
|
|
|
this.$message({
|