Commit 03b2e22c authored by qzhxx's avatar qzhxx

修改

parent ad0ab7a0
...@@ -148,11 +148,11 @@ export default { ...@@ -148,11 +148,11 @@ export default {
_this.$qs.stringify(this.ruleForm) _this.$qs.stringify(this.ruleForm)
) )
.then(res => { .then(res => {
if(res.resultCode === "200"){ if(res.data.resultCode === "200"){
_this.$message({ type: "success", message: "新增成功!" }); _this.$message({ type: "success", message: "新增成功!" });
_this.dialogVisible =false _this.dialogVisible =false
}else{ }else{
_this.$message({ type: "error", message: res.message }); _this.$message({ type: "error", message: res.data.message });
} }
......
...@@ -302,7 +302,9 @@ export default { ...@@ -302,7 +302,9 @@ export default {
// 重置 // 重置
Reset() { Reset() {
// this.$refs["form"].resetFields(); // this.$refs["form"].resetFields();
this.form = {}; this.form = {};
this.value1 = []
this.Search(); this.Search();
}, },
// // 获取当前查询参数 // // 获取当前查询参数
......
...@@ -353,7 +353,7 @@ export default { ...@@ -353,7 +353,7 @@ export default {
}, },
this.$qs.stringify(this.ruleForm) this.$qs.stringify(this.ruleForm)
).then(res => { ).then(res => {
this.$message({ type: "success", message: "修改成功!" }); this.$message({ type: "success", message: "修改视频申请已提交,待审核!" });
history.go(-1); history.go(-1);
}).catch(function(err) { }).catch(function(err) {
console.log(err); console.log(err);
......
...@@ -528,12 +528,13 @@ export default { ...@@ -528,12 +528,13 @@ export default {
}) })
.then( .then(
res => { res => {
this.msgInfo = { if(res.data.resultCode === "200"){
type: "wait", this.$message({ type: "success", message: "删除视频申请已提交,待审核!" });
des: `申请已提交,待审核…`,
};
// this.$message({ type: "success", message: "删除成功!" });
_this.Search(); _this.Search();
}else{
this.$message({ type: "error", message: res.data.message });
}
}, },
error => { error => {
this.$message({ 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