|
|
@@ -1,144 +1,103 @@
|
|
|
{
|
|
|
- "templateName": "考勤班组",
|
|
|
+ "templateName": "房屋装修",
|
|
|
"directories": "property",
|
|
|
- "templateCode": "attendanceClasses",
|
|
|
- "templateKey": "classesId",
|
|
|
- "templateKeyName": "班组ID",
|
|
|
- "searchCode": "classesId",
|
|
|
- "searchName": "班组ID",
|
|
|
+ "templateCode": "roomRenovation",
|
|
|
+ "templateKey": "rId",
|
|
|
+ "templateKeyName": "装修ID",
|
|
|
+ "searchCode": "rId",
|
|
|
+ "searchName": "装修ID",
|
|
|
"conditions": [
|
|
|
{
|
|
|
- "name": "班组名称",
|
|
|
+ "name": "房屋名称",
|
|
|
"inputType": "input",
|
|
|
- "code": "classesName",
|
|
|
+ "code": "roomName",
|
|
|
"whereCondition": "equal"
|
|
|
},
|
|
|
{
|
|
|
- "name": "班组ID",
|
|
|
+ "name": "联系人",
|
|
|
"inputType": "input",
|
|
|
- "code": "classesId",
|
|
|
+ "code": "personName",
|
|
|
"whereCondition": "equal"
|
|
|
},
|
|
|
{
|
|
|
- "name": "打卡类型",
|
|
|
- "inputType": "select",
|
|
|
- "selectValue":"1001,1002,1003",
|
|
|
- "selectValueName":"每天打卡,隔天打卡,自定义",
|
|
|
- "code": "clockType",
|
|
|
+ "name": "联系电话",
|
|
|
+ "inputType": "input",
|
|
|
+ "code": "personTel",
|
|
|
"whereCondition": "equal"
|
|
|
}
|
|
|
],
|
|
|
"columns": [
|
|
|
{
|
|
|
- "code": "classesName",
|
|
|
- "cnCode": "班次名称",
|
|
|
- "desc": "必填,请填写班次名称",
|
|
|
+ "code": "roomName",
|
|
|
+ "cnCode": "房屋",
|
|
|
+ "desc": "必填,请填写房屋",
|
|
|
"required": true,
|
|
|
"hasDefaultValue": false,
|
|
|
"inputType": "input",
|
|
|
"limit": "maxLength",
|
|
|
"limitParam": "64",
|
|
|
- "limitErrInfo": "班次名称格式错误",
|
|
|
+ "limitErrInfo": "房屋格式错误",
|
|
|
"show": true
|
|
|
},
|
|
|
{
|
|
|
- "code": "timeOffset",
|
|
|
- "cnCode": "打卡范围",
|
|
|
- "desc": "必填,请填写打卡范围",
|
|
|
+ "code": "personName",
|
|
|
+ "cnCode": "联系人",
|
|
|
+ "desc": "必填,请填写联系人",
|
|
|
"required": true,
|
|
|
"hasDefaultValue": false,
|
|
|
"inputType": "input",
|
|
|
- "limit": "num",
|
|
|
- "limitParam": "",
|
|
|
- "limitErrInfo": "打卡范围格式错误",
|
|
|
+ "limit": "maxLength",
|
|
|
+ "limitParam": "64",
|
|
|
+ "limitErrInfo": "联系人格式错误",
|
|
|
"show": true
|
|
|
},
|
|
|
{
|
|
|
- "code": "clockCount",
|
|
|
- "cnCode": "打卡次数",
|
|
|
- "desc": "选填,请选择打卡次数",
|
|
|
+ "code": "personTel",
|
|
|
+ "cnCode": "联系电话",
|
|
|
+ "desc": "选填,请填写联系电话",
|
|
|
"required": true,
|
|
|
"hasDefaultValue": false,
|
|
|
- "inputType": "select",
|
|
|
- "selectValue":"2,4,6",
|
|
|
- "selectValueName":"2次,4次,6次",
|
|
|
- "limit": "num",
|
|
|
- "limitParam": "",
|
|
|
- "limitErrInfo": "打卡次数错误",
|
|
|
- "show": true
|
|
|
- },{
|
|
|
- "code": "clockType",
|
|
|
- "cnCode": "打卡类型",
|
|
|
- "desc": "选填,请选择打卡类型",
|
|
|
- "required": true,
|
|
|
- "hasDefaultValue": false,
|
|
|
- "inputType": "select",
|
|
|
- "selectValue":"1001,1002,1003",
|
|
|
- "selectValueName":"每天打卡,隔天打卡,自定义",
|
|
|
+ "inputType": "input",
|
|
|
"limit": "num",
|
|
|
"limitParam": "",
|
|
|
- "limitErrInfo": "打卡类型错误",
|
|
|
- "show": true
|
|
|
- },{
|
|
|
- "code": "clockTypeValue",
|
|
|
- "cnCode": "打卡规则",
|
|
|
- "desc": "必填,请填写打卡规则 * 每天打卡 ? 隔天打卡 0-6组成逗号分隔 自定义",
|
|
|
- "required": true,
|
|
|
- "hasDefaultValue": false,
|
|
|
- "inputType": "input",
|
|
|
- "limit": "maxLength",
|
|
|
- "limitParam": "12",
|
|
|
- "limitErrInfo": "打卡规则格式错误",
|
|
|
+ "limitErrInfo": "联系电话错误",
|
|
|
"show": true
|
|
|
},
|
|
|
{
|
|
|
- "code": "leaveOffset",
|
|
|
- "cnCode": "迟到范围",
|
|
|
- "desc": "必填,请填写迟到范围",
|
|
|
+ "code": "startTime",
|
|
|
+ "cnCode": "装修时间",
|
|
|
+ "desc": "选填,请选择装修时间",
|
|
|
"required": true,
|
|
|
"hasDefaultValue": false,
|
|
|
"inputType": "input",
|
|
|
- "limit": "maxLength",
|
|
|
- "limitParam": "20",
|
|
|
- "limitErrInfo": "迟到范围错误",
|
|
|
+ "limit": "date",
|
|
|
+ "limitParam": "",
|
|
|
+ "limitErrInfo": "装修时间错误",
|
|
|
"show": true
|
|
|
},
|
|
|
{
|
|
|
- "code": "lateOffset",
|
|
|
- "cnCode": "早退范围",
|
|
|
- "desc": "必填,请填写早退范围",
|
|
|
+ "code": "endTime",
|
|
|
+ "cnCode": "结束时间",
|
|
|
+ "desc": "必填,请选择结束时间",
|
|
|
"required": true,
|
|
|
"hasDefaultValue": false,
|
|
|
"inputType": "input",
|
|
|
- "limit": "maxLength",
|
|
|
- "limitParam": "20",
|
|
|
- "limitErrInfo": "早退范围错误",
|
|
|
+ "limit": "date",
|
|
|
+ "limitParam": "",
|
|
|
+ "limitErrInfo": "结束时间错误",
|
|
|
"show": true
|
|
|
},
|
|
|
{
|
|
|
- "code": "classesObjType",
|
|
|
- "cnCode": "班次对象类型",
|
|
|
- "desc": "选填,请选择班次对象类型",
|
|
|
- "required": true,
|
|
|
- "hasDefaultValue": false,
|
|
|
- "inputType": "select",
|
|
|
- "selectValue":"1001,1002,1003",
|
|
|
- "selectValueName":"集团公司,分公司,部门",
|
|
|
- "limit": "num",
|
|
|
- "limitParam": "",
|
|
|
- "limitErrInfo": "班次对象类型错误",
|
|
|
- "show": true
|
|
|
- },{
|
|
|
- "code": "classesObjId",
|
|
|
- "cnCode": "班次对象",
|
|
|
- "desc": "选填,请选择班次对象",
|
|
|
- "required": true,
|
|
|
+ "code": "remark",
|
|
|
+ "cnCode": "备注",
|
|
|
+ "desc": "必填,请选择备注",
|
|
|
+ "required": false,
|
|
|
"hasDefaultValue": false,
|
|
|
"inputType": "input",
|
|
|
- "limit": "num",
|
|
|
- "limitParam": "",
|
|
|
- "limitErrInfo": "班次对象错误",
|
|
|
- "show": true
|
|
|
+ "limit": "maxLength",
|
|
|
+ "limitParam": "512",
|
|
|
+ "limitErrInfo": "备注太长",
|
|
|
+ "show": false
|
|
|
}
|
|
|
]
|
|
|
}
|