This commit is contained in:
parent
f3d7b4ae7d
commit
1d5c26c6d4
|
@ -1047,7 +1047,7 @@ export default {
|
||||||
type: "success",
|
type: "success",
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
this.$message.error("新增失败");
|
this.$message.error(data.message);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//删除命令
|
//删除命令
|
||||||
|
@ -1072,7 +1072,7 @@ export default {
|
||||||
type: "success",
|
type: "success",
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
this.$message.error("删除失败");
|
this.$message.error(data.message);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -281,7 +281,7 @@ export default {
|
||||||
});
|
});
|
||||||
this.flag = true;
|
this.flag = true;
|
||||||
} else {
|
} else {
|
||||||
this.$message.error("操作失败");
|
this.$message.error(data.message);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -344,7 +344,7 @@ export default {
|
||||||
type: "success",
|
type: "success",
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
this.$message.error("操作失败");
|
this.$message.error(data.message);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -323,7 +323,7 @@ export default {
|
||||||
type: "success",
|
type: "success",
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
this.$message.error("保存失败");
|
this.$message.error(res.data.message);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async GetUserAnswer() {
|
async GetUserAnswer() {
|
||||||
|
|
|
@ -116,7 +116,7 @@ export default {
|
||||||
this.dialogVisible = false;
|
this.dialogVisible = false;
|
||||||
console.log({ ...datas, ...this.ruleForm }, "存储");
|
console.log({ ...datas, ...this.ruleForm }, "存储");
|
||||||
} else {
|
} else {
|
||||||
this.$message.error("保存失败");
|
this.$message.error(res.data.message);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 拿缓存
|
// 拿缓存
|
||||||
|
|
|
@ -270,7 +270,7 @@ export default {
|
||||||
});
|
});
|
||||||
this.dialogVisible = false;
|
this.dialogVisible = false;
|
||||||
} else {
|
} else {
|
||||||
this.$message.error("保存失败");
|
this.$message.error(data.message);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//拿缓存
|
//拿缓存
|
||||||
|
|
|
@ -204,7 +204,7 @@ export default {
|
||||||
this.dialogVisible1 = false;
|
this.dialogVisible1 = false;
|
||||||
this.GetUserAnswer();
|
this.GetUserAnswer();
|
||||||
} else {
|
} else {
|
||||||
this.$message.error("保存失败");
|
this.$message.error(data.message);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async GetUserAnswer() {
|
async GetUserAnswer() {
|
||||||
|
|
|
@ -332,7 +332,7 @@ export default {
|
||||||
JSON.stringify({ ...obj, ...newSessObj })
|
JSON.stringify({ ...obj, ...newSessObj })
|
||||||
);
|
);
|
||||||
this.$message({
|
this.$message({
|
||||||
message: "删除成功",
|
message: data.message,
|
||||||
type: "success",
|
type: "success",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -237,7 +237,7 @@ export default {
|
||||||
type: "success",
|
type: "success",
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
this.$message.error("保存失败");
|
this.$message.error(data.message);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
submitForm(formName) {
|
submitForm(formName) {
|
||||||
|
|
|
@ -117,7 +117,7 @@ export default {
|
||||||
});
|
});
|
||||||
this.dialogVisible = false;
|
this.dialogVisible = false;
|
||||||
} else {
|
} else {
|
||||||
this.$message.error("保存失败");
|
this.$message.error(res.data.message);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async GetUserAnswer() {
|
async GetUserAnswer() {
|
||||||
|
|
|
@ -201,7 +201,7 @@ export default {
|
||||||
type: "success",
|
type: "success",
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
this.$message.error("保存失败");
|
this.$message.error(res.data.message);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//拿到缓存数据
|
//拿到缓存数据
|
||||||
|
|
Loading…
Reference in New Issue