Commit cbc49192 authored by zhengke's avatar zhengke

修改

parent df1c8c22
......@@ -144,13 +144,21 @@
if (res.resultCode == 1) {
let tempData = res.data;
if (tempData) {
if(tempData.CompanyName){
this.msg.CompanyName = tempData.CompanyName;
}
if(tempData.Principal){
this.msg.Principal = tempData.Principal;
}
if(tempData.Mobile){
this.msg.Mobile = tempData.Mobile;
}
if(tempData.EMail){
this.msg.EMail = tempData.EMail;
}
}
}
}
);
},
//保存数据
......
......@@ -260,27 +260,67 @@
if (res.resultCode == 1) {
let tempData = res.data;
if (tempData) {
if(tempData.CompanyName){
this.msg.CompanyName = tempData.CompanyName;
}
if(tempData.CompanyEnName){
this.msg.CompanyEnName = tempData.CompanyEnName;
}
if(tempData.Mobile){
this.msg.Mobile = tempData.Mobile;
}
if(tempData.EMail){
this.msg.EMail = tempData.EMail;
}
if(tempData.LegalPerson){
this.msg.LegalPerson = tempData.LegalPerson;
}
if(tempData.Principal){
this.msg.Principal = tempData.Principal;
}
if(tempData.WechatNo){
this.msg.WechatNo = tempData.WechatNo;
}
if(tempData.DomainUrl){
this.msg.DomainUrl = tempData.DomainUrl;
}
if(tempData.Industry){
this.msg.Industry = tempData.Industry;
}
if(tempData.FoundingTimeStr){
this.msg.FoundingTime = tempData.FoundingTimeStr;
}
if(tempData.EmployeeNum){
this.msg.EmployeeNum = tempData.EmployeeNum;
}
if(tempData.AnnualSales){
this.msg.AnnualSales = tempData.AnnualSales;
}
if(tempData.Address){
this.msg.Address = tempData.Address;
}
if(tempData.EnAddress){
this.msg.EnAddress = tempData.EnAddress;
}
if(tempData.AnnualImport){
this.msg.AnnualImport = tempData.AnnualImport;
}
if(tempData.ImportCategory){
this.msg.ImportCategory = tempData.ImportCategory;
}
if(tempData.ImportCountry){
this.msg.ImportCountry = tempData.ImportCountry;
}
if(tempData.ExportCountry){
this.msg.ExportCountry = tempData.ExportCountry;
this.msg.CompanyIntro = tempData.CompanyIntro;
}
if(tempData.CompanyIntro){
this.msg.OtherInfo = tempData.OtherInfo;
}
if(tempData.OtherInfo){
this.msg.OtherInfo = tempData.OtherInfo;
}
}
}
}
);
......
......@@ -266,29 +266,72 @@
if (res.resultCode == 1) {
let tempData = res.data;
if (tempData) {
if(tempData.CompanyName){
this.msg.CompanyName = tempData.CompanyName;
}
if(tempData.CompanyEnName){
this.msg.CompanyEnName = tempData.CompanyEnName;
}
if(tempData.Mobile){
this.msg.Mobile = tempData.Mobile;
}
if(tempData.EMail){
this.msg.EMail = tempData.EMail;
}
if(tempData.LegalPerson){
this.msg.LegalPerson = tempData.LegalPerson;
}
if(tempData.Principal){
this.msg.Principal = tempData.Principal;
}
if(tempData.WechatNo){
this.msg.WechatNo = tempData.WechatNo;
}
if(tempData.DomainUrl){
this.msg.DomainUrl = tempData.DomainUrl;
}
if(tempData.Industry){
this.msg.Industry = tempData.Industry;
}
if(tempData.FoundingTimeStr){
this.msg.FoundingTime = tempData.FoundingTimeStr;
}
if(tempData.EmployeeNum){
this.msg.EmployeeNum = tempData.EmployeeNum;
}
if(tempData.AnnualSales){
this.msg.AnnualSales = tempData.AnnualSales;
}
if(tempData.Address){
this.msg.Address = tempData.Address;
}
if(tempData.Address){
this.msg.Address = tempData.Address;
}
if(tempData.EnAddress){
this.msg.EnAddress = tempData.EnAddress;
}
if(tempData.AnnualImport){
this.msg.AnnualImport = tempData.AnnualImport;
}
if(tempData.ImportCategory){
this.msg.ImportCategory = tempData.ImportCategory;
}
if(tempData.ImportCountry){
this.msg.ImportCountry = tempData.ImportCountry;
}
if(tempData.ExportCountry){
this.msg.ExportCountry = tempData.ExportCountry;
}
if(tempData.CompanyIntro){
this.msg.CompanyIntro = tempData.CompanyIntro;
}
if(tempData.OtherInfo){
this.msg.OtherInfo = tempData.OtherInfo;
}
}
}
}
);
},
//保存数据
......
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