jquery和ajax实现二级联动
结合layui实现二级联动案例,代码更改如下:
Title
原demo如下:
Title
##数据类型
[ { "comboType": "INPUT", "modelPropertyCode": "policyNo", "name": "保单号" }, { "comboType": "MULTIPUT", "modelPropertyCode": "departmentCode", "name": "承保机构" }, { "comboType": "DATE", "modelPropertyCode": "applyTime", "name": "投保日期" }, { "comboType": "DATE", "modelPropertyCode": "firstRegisterDate", "name": "车辆初登日期" }, { "modelPropertyCode": "planCode", "name": "保单类型" }, { "modelPropertyCode": "specialStr", "name": "特别约定" }, { "modelPropertyCode": "channelSourceCode", "name": "渠道来源" }, { "modelPropertyCode": "channelSourceDetailCode", "name": "渠道来源细分" }, { "modelPropertyCode": "clientType", "name": "客户类型" }, { "modelPropertyCode": "personalName", "name": "被保人名称" }, { "modelPropertyCode": "vehicleSeat", "name": "核定座位数" }, { "modelPropertyCode": "vehicleType", "name": "车辆类型" }, { "modelPropertyCode": "autoModelChnName", "name": "厂牌车型" }, { "modelPropertyCode": "usageAttributeCode", "name": "使用(营运)性质" }, { "modelPropertyCode": "applicationBusinessType", "name": "投保人个团属性" }, { "modelPropertyCode": "vehicleFrameNo", "name": "车架号" }, { "modelPropertyCode": "endorsementTimes", "name": "批改次数" }, { "modelPropertyCode": "endorseNo", "name": "批单号" }, { "modelPropertyCode": "purcharsePrice", "name": "新车购置价" }, { "modelPropertyCode": "lastCrashTimes", "name": "上年出险次数" }, { "modelPropertyCode": "totalActualPremium", "name": "商业险保费区间" }, { "modelPropertyCode": "insuranceBeginDate", "name": "保险起期" }, { "modelPropertyCode": "insuranceEndDate", "name": "保险止期" }, { "modelPropertyCode": "insuredAmount", "name": "车损险保额" }, { "modelPropertyCode": "insuredAmount2", "name": "三者险保额" }, { "modelPropertyCode": "lastPolicyNo", "name": "上年保单号" }, { "modelPropertyCode": "coinsuranceMark", "name": "共保标志" }, { "modelPropertyCode": "vehicleTonnages", "name": "吨位数" }, { "modelPropertyCode": "clientReMark", "name": "客户备注信息" }, { "modelPropertyCode": "rescueType", "name": "救援类型" }, { "modelPropertyCode": "rescuePlace", "name": "救援地点" }, { "modelPropertyCode": "rescueTarget", "name": "救援目标" }, { "modelPropertyCode": "responsibilityBelong", "name": "责任方" }, { "modelPropertyCode": "source", "name": "数据来源" }, { "modelPropertyCode": "customFlag", "name": "客户标识" }, { "modelPropertyCode": "province", "name": "省份" }, { "modelPropertyCode": "city", "name": "城市" }, { "modelPropertyCode": "area", "name": "区域" }, { "modelPropertyCode": "projectItem", "name": "项目" }]