Commit 2068f98d by 刘泽奇

123

parent 4e2c6192
...@@ -1266,8 +1266,10 @@ ...@@ -1266,8 +1266,10 @@
payStatus: "dfk" payStatus: "dfk"
} }
}; };
this.$root.loading = true;
var jdObj = that.$root.copyParams(obj, "subTmOrder", "/action/tmOrder/springBoard", "yes", "yes"); var jdObj = that.$root.copyParams(obj, "subTmOrder", "/action/tmOrder/springBoard", "yes", "yes");
that.$root.postReq("/web/trademark/tmqueryCtl/doPost", jdObj).then(function (d) { that.$root.postReq("/web/trademark/tmqueryCtl/doPost", jdObj).then(function (d) {
this.$root.loading = false;
console.log(`///////////////////////////////`, d); console.log(`///////////////////////////////`, d);
if (d.status == 0) { if (d.status == 0) {
that.$message.warning("操作成功"); that.$message.warning("操作成功");
...@@ -1277,6 +1279,7 @@ ...@@ -1277,6 +1279,7 @@
that.$message.warning(d.msg); that.$message.warning(d.msg);
} }
}).catch(function (e) { }).catch(function (e) {
this.$root.loading = false;
that.$message.warning("操作失败"); that.$message.warning("操作失败");
}); });
......
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