Commit 127636f3 by 庄冰

template

parent 409aa521
...@@ -52,8 +52,8 @@ class Templateconfig extends APIBase { ...@@ -52,8 +52,8 @@ class Templateconfig extends APIBase {
opResult = await this.templateinfoSve.editTemplate(pobj); opResult = await this.templateinfoSve.editTemplate(pobj);
break; break;
case "getFormList": // 获取表单列表 case "getFormList": // 获取表单列表
// var actionBody = pobj.actionBody || {}; var actionBody = pobj.actionBody || {};
// actionBody["company_id"] = pobj.company_id; actionBody["company_id"] = pobj.company_id || "";
opResult = await this.forminfoSve.getFormList(pobj.actionBody); opResult = await this.forminfoSve.getFormList(pobj.actionBody);
break; break;
case "getTemplateAndLinkInfo": // 根据链接参数获取模板链接信息 case "getTemplateAndLinkInfo": // 根据链接参数获取模板链接信息
......
...@@ -7,7 +7,7 @@ class ForminfoDao extends Dao{ ...@@ -7,7 +7,7 @@ class ForminfoDao extends Dao{
extraWhere(qobj, qw, qc) { extraWhere(qobj, qw, qc) {
if(!qobj.company_id){ if(!qobj.company_id){
qw["company_id"] = ""; // qw["company_id"] = "";
}else{ }else{
qw["company_id"] = Number(qobj.company_id); qw["company_id"] = Number(qobj.company_id);
} }
......
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