levinsky

levinsky VIP4

10飞吻 2018-9-23 加入 来自ordos

(这个人懒得留下签名)

levinsky 最近的回答

  • 3天前关于国民经济行业代码4级联动中回答:

    内容属于 layuiadmin 会员专区,此处不予展示
  • 3天前关于国民经济行业代码4级联动中回答:

    内容属于 layuiadmin 会员专区,此处不予展示
  • 3天前国民经济行业类别代码4级联动中回答:

    var classJson = [{
    "text": "农、林、牧、渔业",
    "value": "A",
    "children": [{
    "text": "农业",
    "value": "01",
    "children": [{
    "text": "谷物种植",
    "value": "011",
    "children": [{
    "text": "稻谷种植",
    "value": "0111",
    "children": null
    }, {
    "text": "小麦种植",
    "value": "0112",
    "children": null
    }, {
    "text": "玉米种植",
    "value": "0113",
    "children": null
    }, {
    "text": "其他谷物种植",
    "value": "0119",
    "children": null
    }]
    }, {
    "text": "豆类、油料和薯类种植",
    "value": "012",
    "children": [{
    "text": "豆类种植",
    "value": "0121",
    "children": null
    }, {
    "text": "油料种植",
    "value": "0122",
    "children": null
    }, {
    "text": "薯类种植",
    "value": "0123",
    "children": null
    }]
    }, {
    "text": "棉、麻、糖、烟草种植",
    "value": "013",
    "children": [{
    "text": "棉花种植",
    "value": "0131",
    "children": null
    }, {
    "text": "麻类种植",
    "value": "0132",
    "children": null
    }, {
    "text": "糖料种植",
    "value": "0133",
    "children": null
    }, {
    "text": "烟草种植",
    "value": "0134",
    "children": null
    }]
    }, {
    "text": "蔬菜、食用菌及园艺作物种植",
    "value": "014",
    "children": [{
    "text": "蔬菜种植",
    "value": "0141",
    "children": null
    }, {
    "text": "食用菌种植",
    "value": "0142",
    "children": null
    }, {
    "text": "花卉种植",
    "value": "0143",
    "children": null
    }, {
    "text": "其他园艺作物种植",
    "value": "0149",
    "children": null
    }]
    }, {
    "text": "水果种植",
    "value": "015",
    "children": [{
    "text": "仁果类和核果类水果种植",
    "value": "0151",
    "children": null
    }, {
    "text": "葡萄种植",
    "value": "0152",
    "children": null
    }, {
    "text": "柑橘类种植",
    "value": "0153",
    "children": null
    }, {
    "text": "香蕉等亚热带水果种植",
    "value": "0154",
    "children": null
    }, {
    "text": "其他水果种植",
    "value": "0159",
    "children": null
    }]
    }, {
    "text": "坚果、含油果、香料和饮料作物种植",
    "value": "016",
    "children": [{
    "text": "坚果种植",
    "value": "0161",
    "children": null
    }, {
    "text": "含油果种植",
    "value": "0162",
    "children": null
    }, {
    "text": "香料作物种植",
    "value": "0163",
    "children": null
    }, {
    "text": "茶叶种植",
    "value": "0164",
    "children": null
    }, {
    "text": "其他饮料作物种植",
    "value": "0169",
    "children": null
    }]
    }, {
    "text": "中药材种植",
    "value": "017",
    "children": [{
    "text": "中草药种植",
    "value": "0171",
    "children": null
    }, {
    "text": "其他中药材种植",
    "value": "0179",
    "children": null
    }]
    }, {
    "text": "草种植及割草",
    "value": "018",
    "children": [{
    "text": "草种植",
    "value": "0181",
    "children": null
    }, {
    "text": "天然草原割草",
    "value": "0182",
    "children": null
    }]
    }, {
    "text": "其他农业",
    "value": "019",
    "children": null
    }]
    }, {
    "text": "林业",
    "value": "02",
    "children": [{
    "text": "林木育种和育苗",
    "value": "021",
    "children": [{
    "text": "林木育种",
    "value": "0211",
    "children": null
    }, {
    "text": "林木育苗",
    "value": "0212",
    "children": null
    }]
    }, {
    "text": "造林和更新",
    "value": "022",
    "children": null
    }, {
    "text": "森林经营、管护和改培",
    "value": "023",
    "children": [{
    "text": "森林经营和管护",
    "value": "0231",
    "children": null
    }, {
    "text": "森林改培",
    "value": "0232",
    "children": null
    }]
    }, {
    "text": "木材和竹材采运",
    "value": "024",
    "children": [{
    "text": "木材采运",
    "value": "0241",
    "children": null
    }, {
    "text": "竹材采运",
    "value": "0242",
    "children": null
    }]
    }, {
    "text": "林产品采集",
    "value": "025",
    "children": [{
    "text": "木竹材林产品采集",
    "value": "0251",
    "children": null
    }, {
    "text": "非木竹材林产品采集",
    "value": "0252",
    "children": null
    }]
    }]
    }, {
    "text": "畜牧业",
    "value": "03",
    "children": [{
    "text": "牲畜饲养",
    "value": "031",
    "children": [{
    "text": "牛的饲养",
    "value": "0311",
    "children": null
    }, {
    "text": "马的饲养",
    "value": "0312",
    "children": null
    }, {
    "text": "猪的饲养",
    "value": "0313",
    "children": null
    }, {
    "text": "羊的饲养",
    "value": "0314",
    "children": null
    }, {
    "text": "骆驼饲养",
    "value": "0315",
    "children": null
    }, {
    "text": "其他牲畜饲养",
    "value": "0319",
    "children": null
    }]
    }, {
    "text": "家禽饲养",
    "value": "032",
    "children": [{
    "text": "鸡的饲养",
    "value": "0321",
    "children": null
    }, {
    "text": "鸭的饲养",
    "value": "0322",
    "children": null
    }, {
    "text": "鹅的饲养",
    "value": "0323",
    "children": null
    }, {
    "text": "其他家禽饲养",
    "value": "0329",
    "children": null
    }]
    }, {
    "text": "狩猎和捕捉动物",
    "value": "033",
    "children": null
    }, {
    "text": "其他畜牧业",
    "value": "039",
    "children": [{
    "text": "兔的饲养",
    "value": "0391",
    "children": null
    }, {
    "text": "蜜蜂饲养",
    "value": "0392",
    "children": null
    }, {
    "text": "其他未列明畜牧业",
    "value": "0399",
    "children": null
    }]
    }]
    }, {
    "text": "渔业",
    "value": "04",
    "children": [{
    "text": "水产养殖",
    "value": "041",
    "children": [{
    "text": "海水养殖",
    "value": "0411",
    "children": null
    }, {
    "text": "内陆养殖",
    "value": "0412",
    "children": null
    }]
    }, {
    "text": "水产捕捞",
    "value": "042",
    "children": [{
    "text": "海水捕捞",
    "value": "0421",
    "children": null
    }, {
    "text": "内陆捕捞",
    "value": "0422",
    "children": null
    }]
    }]
    }, {
    "text": "农、林、牧、渔专业及辅助性活动",
    "value": "05",
    "children": [{
    "text": "农业专业及辅助性活动",
    "value": "051",
    "children": [{
    "text": "种子种苗培育活动",
    "value": "0511",
    "children": null
    }, {
    "text": "农业机械活动",
    "value": "0512",
    "children": null
    }, {
    "text": "灌溉活动",
    "value": "0513",
    "children": null
    }, {
    "text": "农产品初加工活动",
    "value": "0514",
    "children": null
    }, {
    "text": "农作物病虫害防治活动",
    "value": "0515",
    "children": null
    }, {
    "text": "其他农业专业及辅助性活动",
    "value": "0519",
    "children": null
    }]
    }, {
    "text": "林业专业及辅助性活动",
    "value": "052",
    "children": [{
    "text": "林业有害生物防治活动",
    "value": "0521",
    "children": null
    }, {
    "text": "森林防火活动",
    "value": "0522",
    "children": null
    }, {
    "text": "林产品初级加工活动",
    "value": "0523",
    "children": null
    }, {
    "text": "其他林业专业及辅助性活动",
    "value": "0529",
    "children": null
    }]
    }, {
    "text": "畜牧专业及辅助性活动",
    "value": "053",
    "children": [{
    "text": "畜牧良种繁殖活动",
    "value": "0531",
    "children": null
    }, {
    "text": "畜禽粪污处理活动",
    "value": "0532",
    "children": null
    }, {
    "text": "其他畜牧专业及辅助性活动",
    "value": "0539",
    "children": null
    }]
    }, {
    "text": "渔业专业及辅助性活动",
    "value": "054",
    "children": [{
    "text": "鱼苗及鱼种场活动",
    "value": "0541",
    "children": null
    }, {
    "text": "其他渔业专业及辅助性活动",
    "value": "0549",
    "children": null
    }]
    }]
    }]
    }, {
    "text": "采矿业",
    "value": "B",
    "children": [{
    "text": "煤炭开采和洗选业",
    "value": "06",
    "children": [{
    "text": "烟煤和无烟煤开采洗选",
    "value": "061",
    "children": null
    }, {
    "text": "褐煤开采洗选",
    "value": "062",
    "children": null
    }, {
    "text": "其他煤炭采选",
    "value": "069",
    "children": null
    }]
    }, {
    "text": "石油和天然气开采业",
    "value": "07",
    "children": [{
    "text": "石油开采",
    "value": "071",
    "children": [{
    "text": "陆地石油开采",
    "value": "0711",
    "children": null
    }, {
    "text": "海洋石油开采",
    "value": "0712",
    "children": null
    }]
    }, {
    "text": "天然气开采",
    "value": "072",
    "children": [{
    "text": "陆地天然气开采",
    "value": "0721",
    "children": null
    }, {
    "text": "海洋天然气及可燃冰开采",
    "value": "0722",
    "children": null
    }]
    }]
    }, {
    "text": "黑色金属矿采选业",
    "value": "08",
    "children": [{
    "text": "铁矿采选",
    "value": "081",
    "children": null
    }, {
    "text": "锰矿、铬矿采选",
    "value": "082",
    "children": null
    }, {
    "text": "其他黑色金属矿采选",
    "value": "089",
    "children": null
    }]
    }, {
    "text": "有色金属矿采选业",
    "value": "09",
    "children": [{
    "text": "常用有色金属矿采选",
    "value": "091",
    "children": [{
    "text": "铜矿采选",
    "value": "0911",
    "children": null
    }, {
    "text": "铅锌矿采选",
    "value": "0912",
    "children": null
    }, {
    "text": "镍钴矿采选",
    "value": "0913",
    "children": null
    }, {
    "text": "锡矿采选",
    "value": "0914",
    "children": null
    }, {
    "text": "锑矿采选",
    "value": "0915",
    "children": null
    }, {
    "text": "铝矿采选",
    "value": "0916",
    "children": null
    }, {
    "text": "镁矿采选",
    "value": "0917",
    "children": null
    }, {
    "text": "其他常用有色金属矿采选",
    "value": "0919",
    "children": null
    }]
    }, {
    "text": "贵金属矿采选",
    "value": "092",
    "children": [{
    "text": "金矿采选",
    "value": "0921",
    "children": null
    }, {
    "text": "银矿采选",
    "value": "0922",
    "children": null
    }, {
    "text": "其他贵金属矿采选",
    "value": "0929",
    "children": null
    }]
    }, {
    "text": "稀有稀土金属矿采选",
    "value": "093",
    "children": [{
    "text": "钨钼矿采选",
    "value": "0931",
    "children": null
    }, {
    "text": "稀土金属矿采选",
    "value": "0932",
    "children": null
    }, {
    "text": "放射性金属矿采选",
    "value": "0933",
    "children": null
    }, {
    "text": "其他稀有金属矿采选",
    "value": "0939",
    "children": null
    }]
    }]
    }, {
    "text": "非金属矿采选业",
    "value": "10",
    "children": [{
    "text": "土砂石开采",
    "value": "101",
    "children": [{
    "text": "石灰石、石膏开采",
    "value": "1011",
    "children": null
    }, {
    "text": "建筑装饰用石开采",
    "value": "1012",
    "children": null
    }, {
    "text": "耐火土石开采",
    "value": "1013",
    "children": null
    }, {
    "text": "粘土及其他土砂石开采",
    "value": "1019",
    "children": null
    }]
    }, {
    "text": "化学矿开采",
    "value": "102",
    "children": null
    }, {
    "text": "采盐",
    "value": "103",
    "children": null
    }, {
    "text": "石棉及其他非金属矿采选",
    "value": "109",
    "children": [{
    "text": "石棉、云母矿采选",
    "value": "1091",
    "children": null
    }, {
    "text": "石墨、滑石采选",
    "value": "1092",
    "children": null
    }, {
    "text": "宝石、玉石采选",
    "value": "1093",
    "children": null
    }, {
    "text": "其他未列明非金属矿采选",
    "value": "1099",
    "children": null
    }]
    }]
    }, {
    "text": "开采专业及辅助性活动",
    "value": "11",
    "children": [{
    "text": "煤炭开采和洗选专业及辅助性活动",
    "value": "111",
    "children": null
    }, {
    "text": "石油和天然气开采专业及辅助性活动",
    "value": "112",
    "children": null
    }, {
    "text": "其他开采专业及辅助性活动",
    "value": "119",
    "children": null
    }]
    }, {
    "text": "其他采矿业",
    "value": "12",
    "children": [{
    "text": "其他采矿业",
    "value": "120",
    "children": null
    }]
    }]
    }]

    数据不全,不让贴这么多出来
  • 6天前提交 Ajax 成功后,静态更新表格中的数据中回答:

    @昨天有雨 对头~~~~~
  • 6天前提交 Ajax 成功后,静态更新表格中的数据中回答:

  • 6天前提交 Ajax 成功后,静态更新表格中的数据中回答:

    我是看到说明文档里这样用的,这段被注释掉了。
    $.ajax({
    ????
    });
  • 2018-11-9 9:52:52各位,table url 中 使用 post提交json时,如何填加参数?中回答:

    内容属于 layuiadmin 会员专区,此处不予展示
  • 2018-11-8 19:47:2关于table的数据源格式的问题中回答:

    谢谢月磊,搞定了,马上入手~~~~~
  • 2018-11-8 19:46:12layui table 数据不符合规范怎么办?中回答:

    谢谢月磊,搞定~~
  • 2018-11-8 17:56:11layui table 数据不符合规范怎么办?中回答:

    table.render({
    elem: '#demp'
    ,url: ''
    ,parseData: function(res){ //res 即为原始返回的数据
    return {
    "code": res.ClientListDataResult.code, //解析接口状态
    "msg": res.ClientListDataResult.msg, //解析提示文本
    "count": res.ClientListDataResult.count, //解析数据长度
    "data": res.ClientListDataResult.data //解析数据列表
    };
    }
    //,…… //其他参数
    });
    我试过了,不行~~~似乎
  • 2018-11-8 17:55:17layui table 数据不符合规范怎么办?中回答:

    no,no,no, layui table 只能接受 {},这样的json数据,而不能接受{"xxxxxx":[{"code":0,"msg":"","count":1000,"data":[{"xxxxxxxxxxxxxxxx"}]......

    这样的数据,包含在里面的格式是正确的