Commit 97b532a7 by 刘泽奇

123

parent da044175
......@@ -30,7 +30,6 @@ class tmqueryCtl extends CtlBase {
}
pobj.isDecryptUser = "yes";
}
var rc = system.getObject("util.execClient");
try {
if (!pobj.requrl) {
......
......@@ -21,7 +21,7 @@ var settings = {
port: process.env.NODE_PORT || 4004,
channelApiUrl: function () {
if (this.env == "dev") {
return "http://zcchannel.apps.com";
return "http://zcchannel.apps.com:4003";
} else {
return "http://zc-channel-service";
}
......
<div class="companydetail-warpper">
<div class="jdindentlist-header">
<div class="jdindentlist-header" v-if="channelFrom == \'jd\'">
<div>京东云PLUS工商、商标注册平台</div>
<div v-if="user_Name">
<span v-if="user_Name"><i class="el-icon-user"></i></span>
......
......@@ -6,6 +6,7 @@
currentStep:1,
companyData:[],
user_Name:"",
channelFrom:"",
}
},
mounted: function() {
......@@ -16,8 +17,12 @@
this.user_Name = item.substring(4);
}
});
this.getChannelFrom();
},
methods: {
getChannelFrom(){
this.channelFrom = this.$root.getChannelPath();
},
loginOut(){
let _this = this;
$.ajax({
......
......@@ -7,7 +7,7 @@
<span>退出</span>
</div>
</div> -->
<div class="jdindentlist-header">
<div class="jdindentlist-header" v-if="channelFrom == \'jd\'">
<div>京东云PLUS工商、商标注册平台</div>
<div v-if="user_Name">
<span v-if="user_Name"><i class="el-icon-user"></i></span>
......
......@@ -332,6 +332,7 @@
/**订单付款信息 */
receiptVoucher: {},
user_Name: "",
channelFrom:"",
}
},
mounted: function() {
......@@ -393,6 +394,7 @@
this.user_Name = item.substring(4);
}
});
this.getChannelFrom();
},
computed: {
......@@ -435,6 +437,9 @@
},
methods: {
getChannelFrom(){
this.channelFrom = this.$root.getChannelPath();
},
loginOut(){
$.ajax({
async: true,
......
<div class="jdindentlist-warpper">
<div class="jdindentlist-header">
<div class="jdindentlist-header" v-if="channelFrom == \'jd\'">
<div>京东云PLUS工商、商标注册平台</div>
<div v-if="user_Name">
<span v-if="user_Name"><i class="el-icon-user"></i></span>
......
......@@ -438,6 +438,7 @@
],
hidePage: true,
user_Name:"",
channelFrom:"",
}
},
......@@ -452,6 +453,7 @@
this.user_Name = item.substring(4);
}
});
this.getChannelFrom();
},
mounted: function() {
var that = this;
......@@ -473,6 +475,9 @@
},
methods: {
getChannelFrom(){
this.channelFrom = this.$root.getChannelPath();
},
loginOut(){
$.ajax({
async: true,
......
......@@ -2,7 +2,7 @@
<div class="jdindentdetail-warpper">
<div class="jdindentlist-header">
<div class="jdindentlist-header" v-if="channelFrom == \'jd\'">
<div>京东云PLUS工商、商标注册平台</div>
<div v-if="user_Name">
<span v-if="user_Name"><i class="el-icon-user"></i></span>
......
......@@ -331,7 +331,8 @@
popupValue: "",
/**订单付款信息 */
receiptVoucher: {},
user_Name:""
user_Name:"",
channelFrom:"",
}
},
mounted: function() {
......@@ -393,6 +394,7 @@
this.user_Name = item.substring(4);
}
});
this.getChannelFrom();
},
computed: {
......@@ -434,7 +436,9 @@
},
methods: {
getChannelFrom(){
this.channelFrom = this.$root.getChannelPath();
},
/*初始化订单数据 */
initIndent(){
var deliveryObj = this.$root.copyParams({ "deliveryOrderNo": this.deliveryOrderNo, "channelUserId": this.$route.query.channelUserId }, "getTmOrderInfo", "/action/tmOrder/springBoard");
......
<div class="jdindentlist-warpper">
<div class="jdindentlist-header">
<div class="jdindentlist-header" v-if="channelFrom == \'jd\'">
<div>京东云PLUS工商、商标注册平台</div>
<div v-if="user_Name">
<span v-if="user_Name"><i class="el-icon-user"></i></span>
......
......@@ -441,6 +441,7 @@
],
hidePage: true,
user_Name: "",
channelFrom: "",
}
},
......@@ -455,6 +456,7 @@
this.user_Name = item.substring(4);
}
});
this.getChannelFrom();
},
mounted: function() {
var that = this;
......@@ -476,6 +478,10 @@
},
methods: {
getChannelFrom(){
this.channelFrom = this.$root.getChannelPath();
console.log(this.channelFrom, '~~~~~~~~~~~~~~~~~~~~~~~~~');
},
checkedCity(e){
let city = this.regionValue[0];
let area = this.regionValue[1];
......@@ -500,21 +506,22 @@
async: true,
url: "http://login.jdcloud.com/logout",
type: "GET",
dataType: "jsonp",
jsonp: 'callback',
jsonpCallback: 'handleResponse',
dataType: "jsonp",
jsonp: 'callback',
jsonpCallback: 'handleResponse',
data: {
},
success: function (response, status, xhr) {
console.log('状态为:' + status + ',状态是:' + xhr.statusText);
console.log(response);
if(response.code == 0){
_this.user_Name = "";
if (response.code == 0) {
console.log(document.cookie);
}
}
});
},
toViewImg(src) {
this.toViewImgSrc = src;
this.toViewImgType = true
......
......@@ -157,11 +157,7 @@
methods: {
/*全选 */
goIndentList(){
location.href="http://oauth2.jdcloud.com/authorize?response_type=token&redirect_uri=http://tm.plus.jdcloud.com/jdtm/getUser&state=selftmreg&client_id=9841572588670903";
this.$router.push({
path: `/${this.$root.channelName}/jdindentlist`,
});
location.href="http://oauth2.jdcloud.com/authorize?response_type=token&redirect_uri=http://tm.plus.jdcloud.com/jdtm/getUser&state=jdindentlist&client_id=9841572588670903";
},
handleCheckAllChange(val) {
if (val) {
......@@ -200,6 +196,7 @@
});
},
jumpJdProductDetails(code, e){
if (code.channelItemCode) {
switch (code.itemCode) {
case "zzsbzc":
......
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