{ "templateName":"投诉建议", //表名(中文) "templateCode":"complaint", //表名 "templateKey":"complaintId", //表主键 "templateKeyName":"投诉ID", "searchCode": "complaintName", //查询条件 "searchName": "投诉人名称", "conditions": [ //查询条件 { "name": "投诉ID", "inputType": "input", //输入框 "code": "complaintId", "whereCondition": "equal" //判断条件,相等 }, { "name": "投诉类型", "inputType": "select", //选择框 "code": "typeCd", //选择类型 "selectValue":"809001,809002", //对应后台业务 "selectValueName":"投诉,建议", //选择内容 "whereCondition": "equal" //判断条件,相等 }, { "name": "投诉人", "inputType": "input", //输入框 "code": "complaintName", //判断内容 "whereCondition": "equal" //判断条件,相等 }, { "name": "联系电话", "inputType": "input", //输入框 "code": "tel", "whereCondition": "equal" //判断条件,相等 }, { "name": "房屋编号", "inputType": "input", //输入框 "code": "roomId", "whereCondition": "equal" //判断条件,相等 }, { "name": "投诉状态", "inputType": "select", //选择框 "code": "state", //状态码 "selectValue":"1100,1200", //状态码编号 "selectValueName":"派单,结单", //状态内容 "whereCondition": "equal" //判断条件,相等 } ], "columns":[ { "code":"storeId", "cnCode":"商户ID", "desc":"必填,请填写商户ID", //默认展示 "required":true, "hasDefaultValue":false, //是否有默认值 "inputType":"input", //input类型 "limit":"num", //数据类型 "limitParam":"", //限制值 "limitErrInfo":"商户ID必须为数字",//错误提示内容 "show": false //是否展示 }, { "code": "typeCd", "cnCode":"投诉类型", "desc":"必填,请选择投诉类型", "required":true, "hasDefaultValue":false, "inputType": "select", "selectValue":"809001,809002", "selectValueName":"投诉,建议", "limit":"num", "limitParam":"", "limitErrInfo":"投诉类型格式错误", "show": true }, { "code":"roomId", "cnCode":"房屋编号", "desc":"必填,请选择房屋编号", "required":true, "hasDefaultValue":false, "inputType":"input", "limit":"num", "limitParam":"", "limitErrInfo":"房屋编号格式错误", "show": true }, { "code":"complaintName", "cnCode":"投诉人", "desc":"必填,请填写投诉人", "required":true, "hasDefaultValue":false, "inputType":"input", "limit":"maxLength", "limitParam":"200", "limitErrInfo":"投诉人不能大于200位", "show": false }, { "code":"tel", "cnCode":"投诉电话", "desc":"必填,请填写投诉电话", "required":true, "hasDefaultValue":false, "inputType":"input", "limit":"phone", "limitParam":"", "limitErrInfo":"投诉电话格式错误", "show": true }, { "code":"state", "cnCode":"投诉状态", "desc":"必填,请填写投诉状态", "required":true, "hasDefaultValue":false, "inputType":"input", "limit":"num", "limitParam":"", "limitErrInfo":"投诉状态格式错误", "show": true }, { "code":"context", "cnCode":"投诉内容", "desc":"必填,请填写投诉内容", "required":true, "hasDefaultValue":false, "inputType":"textarea", "limit":"maxLength", "limitParam":"4000", "limitErrInfo":"投诉状态超过4000位", "show": false } ] }