Commit 5dd9c9ff by 刘泽奇

123

parent 0e4842c8
...@@ -383,15 +383,20 @@ ...@@ -383,15 +383,20 @@
console.log(this.tm_form_type); console.log(this.tm_form_type);
var obj = this.$root.copyParams("", "getOssConfig", "/action/tmTools/springBoard"); var obj = this.$root.copyParams("", "getOssConfig", "/action/tmTools/springBoard");
this.$root.postReq("/web/trademark/tmqueryCtl/doPost", obj).then(function (d) { this.$root.postReq("/web/trademark/tmqueryCtl/doPost", obj).then(function (d) {
console.log(d, `mmmmmmmmmmmmmmmmmmmmmmm`); if (d.status == 0) {
that.d["key"] = "key"; console.log(d, `mmmmmmmmmmmmmmmmmmmmmmm`);
that.d["Bucket"] = d.data.Bucket; that.d["key"] = "key";
that.d["OSSAccessKeyId"] = d.data.OSSAccessKeyId; that.d["Bucket"] = d.data.Bucket;
that.d["Signature"] = d.data.Signature; that.d["OSSAccessKeyId"] = d.data.OSSAccessKeyId;
that.d["policy"] = d.data.policy; that.d["Signature"] = d.data.Signature;
that.d["success_action_status"] = d.data.success_action_status; that.d["policy"] = d.data.policy;
that.action = d.data.url; that.d["success_action_status"] = d.data.success_action_status;
console.log(that.action, `oooooooooooooooooooooooooooo`); that.action = d.data.url;
console.log(that.action, `oooooooooooooooooooooooooooo`);
} else {
console.log(d.msg);
}
}); });
if (this.$route.query.channelOrder) { if (this.$route.query.channelOrder) {
this.channelOrder = JSON.parse(this.$route.query.channelOrder); this.channelOrder = JSON.parse(this.$route.query.channelOrder);
...@@ -399,8 +404,6 @@ ...@@ -399,8 +404,6 @@
this.channelUser = JSON.parse(this.$route.query.channelUser); this.channelUser = JSON.parse(this.$route.query.channelUser);
console.log(this.$route.query, this.channelInfo, `xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx`); console.log(this.$route.query, this.channelInfo, `xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx`);
} }
}, },
methods: { methods: {
...@@ -1160,15 +1163,17 @@ ...@@ -1160,15 +1163,17 @@
} }
}); });
} }
if (this.form.tmFormType == "4") { if (!agree) {
if (!this.form.colorizedPicUrl) { if (this.form.tmFormType == "4") {
this.$message.warning("请完善信息"); if (!this.form.colorizedPicUrl) {
return; this.$message.warning("请完善信息");
} return;
} else { }
if (!this.form.tmName || !this.form.colorizedPicUrl) { } else {
this.$message.warning("请完善信息"); if (!this.form.tmName || !this.form.colorizedPicUrl) {
return; this.$message.warning("请完善信息");
return;
}
} }
} }
if (formName == "form" || formName == "apply") { if (formName == "form" || formName == "apply") {
...@@ -1360,7 +1365,7 @@ ...@@ -1360,7 +1365,7 @@
this.$refs[flag].d.key = key; this.$refs[flag].d.key = key;
}, },
tobefore(){ tobefore(){
this.toTop(); this.toTop();
this.step = Number(this.step) - 1; this.step = Number(this.step) - 1;
this.step = this.step.toString(); this.step = this.step.toString();
}, },
......
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