Commit 127636f3 by 庄冰

template

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