Commit cc5a115d by 王昆

gsb

parent e5d310ec
...@@ -85,6 +85,7 @@ class XbgApi extends apiBase { ...@@ -85,6 +85,7 @@ class XbgApi extends apiBase {
async setCompanyIds(qobj) { async setCompanyIds(qobj) {
let config = await this.userconfSve.findById(qobj.userId); let config = await this.userconfSve.findById(qobj.userId);
console.log("config", config);
// var config = this.userConfig[qobj.userId]; // var config = this.userConfig[qobj.userId];
if (!config) { if (!config) {
return; return;
...@@ -96,6 +97,7 @@ class XbgApi extends apiBase { ...@@ -96,6 +97,7 @@ class XbgApi extends apiBase {
qobj.ecompany_id.push(Number(id)); qobj.ecompany_id.push(Number(id));
} }
} }
console.log("qobj.ecompany_id", qobj.ecompany_id);
} }
async setPayCompanyIds(qobj) { async setPayCompanyIds(qobj) {
...@@ -117,7 +119,9 @@ class XbgApi extends apiBase { ...@@ -117,7 +119,9 @@ class XbgApi extends apiBase {
} }
try { try {
var params = qobj || {}; var params = qobj || {};
console.log("params", params);
var rs = await this.restClient.execPost(params, this.url + "etemplateList"); var rs = await this.restClient.execPost(params, this.url + "etemplateList");
console.log("rs", rs);
return JSON.parse(rs.stdout); return JSON.parse(rs.stdout);
} catch (e) { } catch (e) {
console.log(e); console.log(e);
......
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