Commit 7843df01 by 刘泽奇

123

parent c01e56c0
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -737,4 +737,17 @@
.selftmreg .el-dialog__wrapper .el-dialog__header {
text-align:center;
}
.selftmreg-loginmask {
text-align:center;
}
.selftmreg-loginmask .el-dialog__header button{
display: none;
}
.selftmreg-loginmask .dialog-footer{
text-align: center;
}
.selftmreg-loginmask .dialog-footer button{
border-radius: 0;
}
\ No newline at end of file
......@@ -317,7 +317,8 @@
totalPrices: null,
dataList: [],
options: [],
titleName: ''
titleName: '',
toLogin: true,
}
},
computed: {
......@@ -342,7 +343,6 @@
}
if (itemCode != null) {
this.itemCode = itemCode;
} else {
this.$message.warning('code参数错误');
return;
......@@ -421,31 +421,9 @@
this.listPath.path = this.$route.query.dqPath ? `/${this.$root.channelName}` + this.$route.query.dqPath : `/${this.$root.channelName}/jdtrademark`;
this.$root.selfFooterShow = false;
this.getItemCode();
var that = this;
this.getOss();
this.noLoginMask();
console.log(this.tm_form_type);
var obj = this.$root.copyParams("", "getOssConfig", "/action/tmTools/springBoard");
this.$root.postReq("/web/trademark/tmqueryCtl/doPost", obj).then(function (d) {
if (d.status == 0) {
console.log(d, `mmmmmmmmmmmmmmmmmmmmmmm`);
that.d["key"] = "key";
that.d["Bucket"] = d.data.Bucket;
that.d["OSSAccessKeyId"] = d.data.OSSAccessKeyId;
that.d["Signature"] = d.data.Signature;
that.d["policy"] = d.data.policy;
that.d["success_action_status"] = d.data.success_action_status;
that.action = d.data.url;
console.log(that.action, `oooooooooooooooooooooooooooo`);
} else {
console.log(d.msg);
}
});
if (this.$route.query.channelOrder) {
this.channelOrder = JSON.parse(this.$route.query.channelOrder);
this.channelParams = this.$route.query.channelParams;
this.channelUser = JSON.parse(this.$route.query.channelUser);
console.log(this.$route.query, this.channelInfo, `xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx`);
}
},
destroyed() {
/*
......@@ -455,6 +433,42 @@
*/
},
methods: {
goGsbLogin(){
this.toLogin = false;
location.href = "https://www.gongsibao.com/user.php?redirect=https://zcchannelweb.gongsibao.com/gsbhome?state=selftmreg";
},
getOss(){
var obj = this.$root.copyParams("", "getOssConfig", "/action/tmTools/springBoard");
this.$root.postReq("/web/trademark/tmqueryCtl/doPost", obj).then((d) => {
if (d.status == 0) {
console.log(d, `mmmmmmmmmmmmmmmmmmmmmmm`);
this.d["key"] = "key";
this.d["Bucket"] = d.data.Bucket;
this.d["OSSAccessKeyId"] = d.data.OSSAccessKeyId;
this.d["Signature"] = d.data.Signature;
this.d["policy"] = d.data.policy;
this.d["success_action_status"] = d.data.success_action_status;
this.action = d.data.url;
console.log(this.action, `oooooooooooooooooooooooooooo`);
} else {
console.log(d.msg);
}
});
if (this.$route.query.channelOrder) {
this.channelOrder = JSON.parse(this.$route.query.channelOrder);
this.channelParams = this.$route.query.channelParams;
this.channelUser = JSON.parse(this.$route.query.channelUser);
console.log(this.$route.query, this.channelInfo, `xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx`);
}
},
noLoginMask(){
console.log(this.$route.query.channelUserId, "vvvvvvvvvvvvvvvvvvvvvv");
if (!this.$route.query.channelUserId && this.$route.query.channelUserId != "") {
this.toLogin = true;
console.log(this.toLogin,'lllllllllllllll');
}
},
maxZipCode(){
if (this.apply.zipCode.length > 6) {
console.log(this.apply.zipCode);
......
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