|
|
@@ -4,103 +4,210 @@
|
|
|
"templateCode":"contract",
|
|
|
"templateKey":"contractId",
|
|
|
"templateKeyName":"合同ID",
|
|
|
- "searchCode": "appointmentId",
|
|
|
- "searchName": "预约ID",
|
|
|
+ "searchCode": "contractId",
|
|
|
+ "searchName": "合同ID",
|
|
|
"conditions": [
|
|
|
{
|
|
|
- "name": "租客名称",
|
|
|
+ "name": "合同名称",
|
|
|
"inputType": "input",
|
|
|
- "code": "tenantName",
|
|
|
+ "code": "contractName",
|
|
|
"whereCondition": "equal"
|
|
|
},
|
|
|
{
|
|
|
- "name": "租客手机号",
|
|
|
+ "name": "合同编号",
|
|
|
"inputType": "input",
|
|
|
- "code": "tenantTel",
|
|
|
+ "code": "contractCode",
|
|
|
"whereCondition": "equal"
|
|
|
},
|
|
|
{
|
|
|
- "name": "预约房屋编号",
|
|
|
+ "name": "合同类型",
|
|
|
"inputType": "input",
|
|
|
- "code": "appointmentRoomId",
|
|
|
+ "code": "contractType",
|
|
|
"whereCondition": "equal"
|
|
|
}
|
|
|
],
|
|
|
"columns":[
|
|
|
{
|
|
|
- "code": "tenantName",
|
|
|
- "cnCode":"租客名称",
|
|
|
- "desc":"必填,请填写租客名称",
|
|
|
+ "code": "contractName",
|
|
|
+ "cnCode":"合同名称",
|
|
|
+ "desc":"必填,请填写合同名称",
|
|
|
"required":true,
|
|
|
"hasDefaultValue":false,
|
|
|
"inputType": "input",
|
|
|
"limit":"maxLength",
|
|
|
- "limitParam":"64",
|
|
|
- "limitErrInfo":"租客名称不能超过64位",
|
|
|
+ "limitParam":"200",
|
|
|
+ "limitErrInfo":"合同名称不能超过64位",
|
|
|
"show": true
|
|
|
},
|
|
|
{
|
|
|
- "code": "tenantSex",
|
|
|
- "cnCode":"租客性别",
|
|
|
- "desc":"选填,请选择租客性别",
|
|
|
+ "code": "contractCode",
|
|
|
+ "cnCode":"合同编号",
|
|
|
+ "desc":"选填,请填写合同编号",
|
|
|
+ "required":true,
|
|
|
+ "hasDefaultValue":false,
|
|
|
+ "inputType": "input",
|
|
|
+ "limit":"maxLength",
|
|
|
+ "limitParam":"30",
|
|
|
+ "limitErrInfo":"合同编号错误",
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "contractType",
|
|
|
+ "cnCode":"合同类型",
|
|
|
+ "desc":"必填,请选择合同类型",
|
|
|
"required":true,
|
|
|
"hasDefaultValue":false,
|
|
|
"inputType": "select",
|
|
|
- "selectValue":"0,1",
|
|
|
- "selectValueName":"男,女",
|
|
|
+ "selectValue":"10001,10002",
|
|
|
+ "selectValueName":"小区文化,其他",
|
|
|
"limit":"num",
|
|
|
"limitParam":"",
|
|
|
- "limitErrInfo":"年龄格式错误",
|
|
|
+ "limitErrInfo":"合同类型格式错误",
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "partyA",
|
|
|
+ "cnCode":"甲方",
|
|
|
+ "desc":"必填,请填写甲方",
|
|
|
+ "required":true,
|
|
|
+ "hasDefaultValue":false,
|
|
|
+ "inputType": "input",
|
|
|
+ "limit":"maxLength",
|
|
|
+ "limitParam":"200",
|
|
|
+ "limitErrInfo":"甲方名称太长",
|
|
|
"show": true
|
|
|
},
|
|
|
{
|
|
|
- "code": "tenantTel",
|
|
|
- "cnCode":"租客电话",
|
|
|
- "desc":"必填,请填写租客电话",
|
|
|
+ "code": "partyB",
|
|
|
+ "cnCode":"乙方",
|
|
|
+ "desc":"必填,请填写乙方",
|
|
|
+ "required":true,
|
|
|
+ "hasDefaultValue":false,
|
|
|
+ "inputType": "input",
|
|
|
+ "limit":"maxLength",
|
|
|
+ "limitParam":"200",
|
|
|
+ "limitErrInfo":"乙方名称太长",
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "aContacts",
|
|
|
+ "cnCode":"甲方联系人",
|
|
|
+ "desc":"必填,请填写甲方联系人",
|
|
|
+ "required":true,
|
|
|
+ "hasDefaultValue":false,
|
|
|
+ "inputType": "input",
|
|
|
+ "limit":"maxLength",
|
|
|
+ "limitParam":"64",
|
|
|
+ "limitErrInfo":"甲方联系人长度超过64位",
|
|
|
+ "show": false
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "bContacts",
|
|
|
+ "cnCode":"乙方联系人",
|
|
|
+ "desc":"必填,请填写甲方联系人",
|
|
|
+ "required":true,
|
|
|
+ "hasDefaultValue":false,
|
|
|
+ "inputType": "input",
|
|
|
+ "limit":"maxLength",
|
|
|
+ "limitParam":"64",
|
|
|
+ "limitErrInfo":"甲方联系人长度超过64位",
|
|
|
+ "show": false
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "aLink",
|
|
|
+ "cnCode":"甲方联系电话",
|
|
|
+ "desc":"必填,请填写甲方联系电话",
|
|
|
"required":true,
|
|
|
"hasDefaultValue":false,
|
|
|
"inputType": "input",
|
|
|
"limit":"phone",
|
|
|
"limitParam":"",
|
|
|
- "limitErrInfo":"手机号格式错误",
|
|
|
- "show": true
|
|
|
+ "limitErrInfo":"甲方联系电话错误",
|
|
|
+ "show": false
|
|
|
},
|
|
|
{
|
|
|
- "code": "appointmentTime",
|
|
|
- "cnCode":"预约时间",
|
|
|
- "desc":"必填,请填写预约时间",
|
|
|
+ "code": "bLink",
|
|
|
+ "cnCode":"乙方联系电话",
|
|
|
+ "desc":"必填,请填写乙方联系电话",
|
|
|
"required":true,
|
|
|
"hasDefaultValue":false,
|
|
|
"inputType": "input",
|
|
|
- "limit":"datetime",
|
|
|
+ "limit":"phone",
|
|
|
"limitParam":"",
|
|
|
- "limitErrInfo":"预约时间格式错误",
|
|
|
+ "limitErrInfo":"乙方联系电话错误",
|
|
|
+ "show": false
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "operator",
|
|
|
+ "cnCode":"经办人",
|
|
|
+ "desc":"必填,请填写经办人",
|
|
|
+ "required":true,
|
|
|
+ "hasDefaultValue":false,
|
|
|
+ "inputType": "input",
|
|
|
+ "limit":"maxLength",
|
|
|
+ "limitParam":"64",
|
|
|
+ "limitErrInfo":"经办人超过64位",
|
|
|
"show": true
|
|
|
},
|
|
|
{
|
|
|
- "code": "appointmentRoomId",
|
|
|
- "cnCode":"预约房屋",
|
|
|
- "desc":"选填,请填写预约房屋",
|
|
|
+ "code": "operatorLink",
|
|
|
+ "cnCode":"联系电话",
|
|
|
+ "desc":"必填,请填写经办人联系电话",
|
|
|
+ "required":true,
|
|
|
+ "hasDefaultValue":false,
|
|
|
+ "inputType": "input",
|
|
|
+ "limit":"phone",
|
|
|
+ "limitParam":"",
|
|
|
+ "limitErrInfo":"经办人联系电话格式错误",
|
|
|
+ "show": false
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "amount",
|
|
|
+ "cnCode":"合同金额",
|
|
|
+ "desc":"必填,请填写合同金额",
|
|
|
"required":false,
|
|
|
"hasDefaultValue":false,
|
|
|
"inputType": "input",
|
|
|
- "limit":"num",
|
|
|
+ "limit":"money",
|
|
|
"limitParam":"",
|
|
|
- "limitErrInfo":"预约房屋格式错误",
|
|
|
+ "limitErrInfo":"合同金额格式错误,如1.50",
|
|
|
"show": true
|
|
|
},
|
|
|
{
|
|
|
- "code": "remark",
|
|
|
- "cnCode":"备注",
|
|
|
- "desc":"选填,请填写备注",
|
|
|
- "required":false,
|
|
|
+ "code": "startTime",
|
|
|
+ "cnCode":"开始时间",
|
|
|
+ "desc":"必填,请填写合同开始时间",
|
|
|
+ "required":true,
|
|
|
"hasDefaultValue":false,
|
|
|
"inputType": "input",
|
|
|
- "limit":"maxLength",
|
|
|
- "limitParam":"500",
|
|
|
- "limitErrInfo":"备注不能超过500字",
|
|
|
+ "limit":"dateTime",
|
|
|
+ "limitParam":"",
|
|
|
+ "limitErrInfo":"合同开始时间格式错误",
|
|
|
"show": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "endTime",
|
|
|
+ "cnCode":"结束时间",
|
|
|
+ "desc":"必填,请填写合同结束时间",
|
|
|
+ "required":true,
|
|
|
+ "hasDefaultValue":false,
|
|
|
+ "inputType": "input",
|
|
|
+ "limit":"dateTime",
|
|
|
+ "limitParam":"",
|
|
|
+ "limitErrInfo":"合同结束时间格式错误",
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "signingTime",
|
|
|
+ "cnCode":"签订时间",
|
|
|
+ "desc":"选填,请填写合同签订时间",
|
|
|
+ "required":true,
|
|
|
+ "hasDefaultValue":false,
|
|
|
+ "inputType": "input",
|
|
|
+ "limit":"dateTime",
|
|
|
+ "limitParam":"",
|
|
|
+ "limitErrInfo":"合同签订时间格式错误",
|
|
|
+ "show": false
|
|
|
}
|
|
|
-
|
|
|
]
|
|
|
}
|