Commit 26c344c4 by 王勇飞

pp

parent 670ecafa
...@@ -9,7 +9,7 @@ class UIConfigCache extends CacheBase{ ...@@ -9,7 +9,7 @@ class UIConfigCache extends CacheBase{
async cacheUiConfig(appid){ async cacheUiConfig(appid){
const key=this.prefix+appid; const key=this.prefix+appid;
var configValue=await this.redisClient.get(key); var configValue=await this.redisClient.get(key);
if(!configValue || configValue=="undefined"){ if(!configValue || configValue=="undefined" || true){
console.log("uiconfig no cache...."); console.log("uiconfig no cache....");
configValue =system.getUiConfig2(appid); configValue =system.getUiConfig2(appid);
await this.redisClient.set(key,JSON.stringify(configValue)); await this.redisClient.set(key,JSON.stringify(configValue));
......
...@@ -53,6 +53,7 @@ ...@@ -53,6 +53,7 @@
fkey: 0, fkey: 0,
isIndeterminate: false, isIndeterminate: false,
checkAll: false, checkAll: false,
principalGlobal: "",
checkedNcl: [], checkedNcl: [],
ncl: ["01", "02", "03", "04", "05", "06", "07", "08", "09", ncl: ["01", "02", "03", "04", "05", "06", "07", "08", "09",
"10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24",
...@@ -406,6 +407,7 @@ ...@@ -406,6 +407,7 @@
}; };
console.log('前端打印接收后端的数据: ', JSON.stringify(d_apply)); console.log('前端打印接收后端的数据: ', JSON.stringify(d_apply));
console.log('全局打印', this.principalGlobal);
var apply = { var apply = {
type: d_apply ? d_apply.type : "", type: d_apply ? d_apply.type : "",
...@@ -417,7 +419,7 @@ ...@@ -417,7 +419,7 @@
customerContact: d_customer ? d_customer.customerContact : "", customerContact: d_customer ? d_customer.customerContact : "",
mobile: d_customer ? d_customer.mobile : "", mobile: d_customer ? d_customer.mobile : "",
email: d_customer ? d_customer.email : "", email: d_customer ? d_customer.email : "",
principal: d_apply.principal ? d_apply.principal : "汉唐信通(北京)咨询有限公司", principal: d_tm.principal ? d_tm.principal : "",
businessLicensePic: d_apply ? d_apply.businessLicensePic : "", businessLicensePic: d_apply ? d_apply.businessLicensePic : "",
identityCardPic: d_apply ? d_apply.identityCardPic : "", identityCardPic: d_apply ? d_apply.identityCardPic : "",
businessLicensePic2: d_apply ? d_apply.businessLicensePic2 : "", businessLicensePic2: d_apply ? d_apply.businessLicensePic2 : "",
...@@ -433,7 +435,7 @@ ...@@ -433,7 +435,7 @@
var nclOne = []; var nclOne = [];
for (var i = 0; i < d.data.tms.length; i++) { for (var i = 0; i < d.data.tms.length; i++) {
var t = d.data.tms[i]; var t = d.data.tms[i];
var nclThree = null; var nclThree = null;
if (t.nclSmallCodes.indexOf("nclthree") < 0) { if (t.nclSmallCodes.indexOf("nclthree") < 0) {
nclThree = JSON.parse(t.nclSmallCodes); nclThree = JSON.parse(t.nclSmallCodes);
} else { } else {
......
...@@ -984,13 +984,6 @@ ...@@ -984,13 +984,6 @@
if (!this.apply.businessLicensePic && data.businessLicensePic) { if (!this.apply.businessLicensePic && data.businessLicensePic) {
this.apply.businessLicensePic = data.businessLicensePic; this.apply.businessLicensePic = data.businessLicensePic;
} }
if (!this.apply.principal) {
if(data.principal) {
this.apply.principal = data.principal;
} else {
this.apply.principal = "汉唐信通(北京)咨询有限公司";
};
}
} }
}).finally(() => { }).finally(() => {
this.$root.hideMask(); this.$root.hideMask();
......
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