Commit 487e1702 by 宋毅

tj

parent 061d2da3
......@@ -102,6 +102,15 @@ module.exports = function (app) {
});
app.get("/1688/selfRegister", async function (req, res) {
var getUserparams = {
actionProcess: "1688",
channelUserId: req.query.channelUserId
};
var userItemResult = await tmqueryCtl.getUserIdEncryptStr(getUserparams, req.query, req);
if (userItemResult.status != 0) {
res.end({ user: "user is null" });
return;
}
var params = {
actionProcess: "1688",
requrl: "/action/tmOrder/springBoard",
......@@ -115,10 +124,19 @@ module.exports = function (app) {
res.end(JSON.stringify(result));
return;
}
var skipUrl = "/#/1688/jdindentlist?channelUserId=" + encodeURIComponent(result.data);
var skipUrl = "/#/1688/jdindentlist?channelUserId=" + encodeURIComponent(userItemResult.data.encryptChannelUserId);
res.redirect(skipUrl);
});
app.get("/1688/auxRegister", async function (req, res) {
var getUserparams = {
actionProcess: "1688",
channelUserId: req.query.channelUserId
};
var userItemResult = await tmqueryCtl.getUserIdEncryptStr(getUserparams, req.query, req);
if (userItemResult.status != 0) {
res.end({ user: "user is null" });
return;
}
var params = {
actionProcess: "1688",
requrl: "/action/tmOrder/springBoard",
......@@ -132,10 +150,10 @@ module.exports = function (app) {
res.end(JSON.stringify(result));
return;
}
var skipUrl = "/#/1688/jdindentlist?channelUserId=" + encodeURIComponent(result.data);
var skipUrl = "/#/1688/jdindentlist?channelUserId=" + encodeURIComponent(userItemResult.data.encryptChannelUserId);
res.redirect(skipUrl);
});
app.get("/", async function (req, res) {
try {
var appinfo = await metaCtl.getAppInfo(req);
......
......@@ -578,6 +578,8 @@
channelUserId: this.$route.query.channelUserId,
deliveryOrderNo: row.deliveryOrderNo,
channelOrderNo: row.channelServiceNo,
dqPath: '/jdindentlist',
dqName: '订单列表'
}
});
window.scrollTo(0, 0);
......
<div id="selftmreg" style="background-color:white;">
<div class="jdindentdetail-nav" style="width:1200px;margin:12px auto;padding: 0;height:24px;line-height: 24px;">
<el-breadcrumb separator-class="el-icon-arrow-right">
<el-breadcrumb-item :to="listPath">商标注册服务
<el-breadcrumb-item :to="listPath">{{titleName}}
</el-breadcrumb-item>
<el-breadcrumb-item>自助商标注册</el-breadcrumb-item>
</el-breadcrumb>
......
......@@ -317,6 +317,7 @@
totalPrices: null,
dataList: [],
options: [],
titleName:''
}
},
computed: {
......@@ -416,6 +417,8 @@
}
},
mounted: function() {
this.titleName = this.$route.query.dqName || '商标注册服务';
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;
......
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