Commit 03b2e22c authored by qzhxx's avatar qzhxx

修改

parent ad0ab7a0
......@@ -148,11 +148,11 @@ export default {
_this.$qs.stringify(this.ruleForm)
)
.then(res => {
if(res.resultCode === "200"){
if(res.data.resultCode === "200"){
_this.$message({ type: "success", message: "新增成功!" });
_this.dialogVisible =false
}else{
_this.$message({ type: "error", message: res.message });
_this.$message({ type: "error", message: res.data.message });
}
......
......@@ -302,7 +302,9 @@ export default {
// 重置
Reset() {
// this.$refs["form"].resetFields();
this.form = {};
this.value1 = []
this.Search();
},
// // 获取当前查询参数
......
......@@ -353,7 +353,7 @@ export default {
},
this.$qs.stringify(this.ruleForm)
).then(res => {
this.$message({ type: "success", message: "修改成功!" });
this.$message({ type: "success", message: "修改视频申请已提交,待审核!" });
history.go(-1);
}).catch(function(err) {
console.log(err);
......
......@@ -528,12 +528,13 @@ export default {
})
.then(
res => {
this.msgInfo = {
type: "wait",
des: `申请已提交,待审核…`,
};
// this.$message({ type: "success", message: "删除成功!" });
if(res.data.resultCode === "200"){
this.$message({ type: "success", message: "删除视频申请已提交,待审核!" });
_this.Search();
}else{
this.$message({ type: "error", message: res.data.message });
}
},
error => {
this.$message({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment