diff --git a/bi/case.js b/bi/case.js index 06e6370fe..a71a4923d 100644 --- a/bi/case.js +++ b/bi/case.js @@ -3748,6 +3748,7 @@ BI.ColorChooserPopup = BI.inherit(BI.Widget, { _defaultConfig: function () { return BI.extend(BI.ColorChooserPopup.superclass._defaultConfig.apply(this, arguments), { baseCls: "bi-color-chooser-popup", + width: 200, height: 145 }) }, diff --git a/bi/widget.css b/bi/widget.css index 8c1f117a0..fbd6b229f 100644 --- a/bi/widget.css +++ b/bi/widget.css @@ -85,19 +85,19 @@ -moz-border-radius: 2px; border-radius: 2px; } -.bi-multidate-popup .bi-multidate-popup-label { +.bi-multidate-popup .multidate-popup-label { color: #3f8ce8; font-size: 14px; } -.bi-multidate-popup .bi-multidate-popup-item:active, -.bi-multidate-popup .bi-multidate-popup-item.active { +.bi-multidate-popup .multidate-popup-item:active, +.bi-multidate-popup .multidate-popup-item.active { background-color: #3f8ce8; color: #ffffff; -webkit-border-radius: 2px 2px 0 0; -moz-border-radius: 2px 2px 0 0; border-radius: 2px 2px 0 0; } -.bi-multidate-popup .bi-multidate-popup-button { +.bi-multidate-popup .multidate-popup-button { color: #3f8ce8; font-size: 14px; } diff --git a/bi/widget.js b/bi/widget.js index 5664880b9..1609f5480 100644 --- a/bi/widget.js +++ b/bi/widget.js @@ -2268,7 +2268,7 @@ BI.DateCombo = BI.inherit(BI.Widget, { _defaultConfig: function () { return BI.extend(BI.DateCombo.superclass._defaultConfig.apply(this, arguments), { baseCls: "bi-date-combo bi-border", - height: 30 + height: 25 }); }, _init: function () { @@ -2768,6 +2768,7 @@ BI.DateTimeCombo = BI.inherit(BI.Single, { _defaultConfig: function () { return BI.extend(BI.DateTimeCombo.superclass._defaultConfig.apply(this, arguments), { baseCls: 'bi-date-time-combo bi-border', + width: 200, height: 24 }); }, @@ -2883,50 +2884,6 @@ BI.DateTimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.DateTimeCombo.EVENT_CHANGE = "EVENT_CHANGE"; BI.DateTimeCombo.EVENT_BEFORE_POPUPVIEW = "BI.DateTimeCombo.EVENT_BEFORE_POPUPVIEW"; BI.shortcut('bi.date_time_combo', BI.DateTimeCombo); -/** - * Created by Urthur on 2017/7/14. - */ -BI.CustomDateTimeCombo = BI.inherit(BI.Widget, { - _defaultConfig: function () { - return BI.extend(BI.CustomDateTimeCombo.superclass._defaultConfig.apply(this, arguments), { - baseCls: "bi-custom-date-time-combo" - }) - }, - - _init: function () { - BI.CustomDateTimeCombo.superclass._init.apply(this, arguments); - var self = this; - this.DateTime = BI.createWidget({ - type: "bi.date_time_combo", - element: this - }); - this.DateTime.on(BI.DateTimeCombo.EVENT_CANCEL, function () { - self.fireEvent(BI.CustomDateTimeCombo.EVENT_CHANGE); - self.fireEvent(BI.CustomDateTimeCombo.EVENT_CANCEL); - }); - - this.DateTime.on(BI.DateTimeCombo.EVENT_CONFIRM, function () { - self.fireEvent(BI.CustomDateTimeCombo.EVENT_CHANGE); - self.fireEvent(BI.CustomDateTimeCombo.EVENT_CONFIRM); - }); - - this.DateTime.on(BI.DateTimeCombo.EVENT_CHANGE, function () { - self.fireEvent(BI.CustomDateTimeCombo.EVENT_CHANGE); - }); - }, - - getValue: function () { - return this.DateTime.getValue(); - }, - - setValue: function (v) { - this.DateTime.setValue(v); - } -}); -BI.CustomDateTimeCombo.EVENT_CHANGE = "EVENT_CHANGE"; -BI.CustomDateTimeCombo.EVENT_CANCEL = "EVENT_CANCEL"; -BI.CustomDateTimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; -BI.shortcut("bi.custom_date_time_combo", BI.CustomDateTimeCombo); /** * Created by Urthur on 2017/7/14. */ @@ -2944,7 +2901,7 @@ BI.DateTimePopup = BI.inherit(BI.Widget, { this.cancelButton = BI.createWidget({ type: 'bi.text_button', forceCenter: true, - cls: 'bi-multidate-popup-button bi-border-top bi-border-right', + cls: 'multidate-popup-button bi-border-top bi-border-right', shadow: true, text: BI.i18nText("BI-Basic_Cancel") }); @@ -2955,7 +2912,7 @@ BI.DateTimePopup = BI.inherit(BI.Widget, { this.okButton = BI.createWidget({ type: "bi.text_button", forceCenter: true, - cls: 'bi-multidate-popup-button bi-border-top', + cls: 'multidate-popup-button bi-border-top', shadow: true, text: BI.i18nText("BI-Basic_OK") }); @@ -2973,55 +2930,64 @@ BI.DateTimePopup = BI.inherit(BI.Widget, { }); this.dateSelect = BI.createWidget({ - type: "bi.horizontal", + type: "bi.vertical_adapt", cls: "bi-border-top", items: [{ type: "bi.label", text: BI.i18nText("BI-Basic_Time"), width: 45 - },{ + }, { type: "bi.date_time_select", max: 23, min: 0, width: 60, height: 30, + listeners: [{ + eventName: BI.DateTimeSelect.EVENT_CONFIRM, + action: function () { + self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE); + } + }], ref: function (_ref) { self.hour = _ref; - self.hour.on(BI.DateTimeSelect.EVENT_CONFIRM, function () { - self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE); - }); } - },{ + }, { type: "bi.label", text: ":", width: 15 - },{ + }, { type: "bi.date_time_select", max: 59, min: 0, width: 60, height: 30, + listeners: [{ + eventName: BI.DateTimeSelect.EVENT_CONFIRM, + action: function () { + self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE); + } + }], ref: function (_ref) { self.minute = _ref; - self.minute.on(BI.DateTimeSelect.EVENT_CONFIRM, function () { - self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE); - }); } - },{ + }, { type: "bi.label", text: ":", width: 15 - },{ + }, { type: "bi.date_time_select", max: 59, min: 0, width: 60, height: 30, + listeners: [{ + eventName: BI.DateTimeSelect.EVENT_CONFIRM, + action: function () { + self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE); + } + }], ref: function (_ref) { self.second = _ref; - self.second.on(BI.DateTimeSelect.EVENT_CONFIRM, function () { - self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE); - }); } }] }); @@ -3048,7 +3014,7 @@ BI.DateTimePopup = BI.inherit(BI.Widget, { }, { el: this.dateSelect, height: 50 - },{ + }, { el: this.dateButton, height: 30 }] @@ -4447,270 +4413,6 @@ BI.SmallTextEditor = BI.inherit(BI.TextEditor, { } }); BI.shortcut("bi.small_text_editor", BI.SmallTextEditor);/** - * - * Created by GUY on 2016/3/28. - * @class BI.ExcelTableCell - * @extends BI.Widget - */ -BI.ExcelTableCell = BI.inherit(BI.Widget, { - - _defaultConfig: function () { - return BI.extend(BI.ExcelTableCell.superclass._defaultConfig.apply(this, arguments), { - baseCls: "bi-excel-table-cell", - text: "" - }); - }, - - _init: function () { - BI.ExcelTableCell.superclass._init.apply(this, arguments); - var self = this, o = this.options; - - BI.createWidget({ - type: "bi.label", - element: this, - textAlign: "left", - whiteSpace: "normal", - height: this.options.height, - text: this.options.text, - value: this.options.value - }) - } -}); -BI.shortcut('bi.excel_table_cell', BI.ExcelTableCell);/** - * - * Created by GUY on 2016/3/28. - * @class BI.ExcelTableHeaderCell - * @extends BI.Widget - */ -BI.ExcelTableHeaderCell = BI.inherit(BI.Widget, { - - _defaultConfig: function () { - return BI.extend(BI.ExcelTableHeaderCell.superclass._defaultConfig.apply(this, arguments), { - baseCls: "bi-excel-table-header-cell bi-background", - text: "" - }); - }, - - _init: function () { - BI.ExcelTableHeaderCell.superclass._init.apply(this, arguments); - var self = this, o = this.options; - - BI.createWidget({ - type: "bi.label", - element: this, - textAlign: BI.HorizontalAlign.Center, - whiteSpace: "normal", - height: this.options.height, - text: this.options.text, - value: this.options.value - }) - } -}); -BI.shortcut('bi.excel_table_header_cell', BI.ExcelTableHeaderCell);/** - * Excel表格 - * - * Created by GUY on 2016/3/28. - * @class BI.ExcelTable - * @extends BI.Widget - */ -BI.ExcelTable = BI.inherit(BI.Widget, { - - _defaultConfig: function () { - return BI.extend(BI.ExcelTable.superclass._defaultConfig.apply(this, arguments), { - baseCls: "bi-excel-table", - el: { - type: "bi.responsive_table" - }, - - isNeedResize: false, - isResizeAdapt: true, - - isNeedMerge: false,//是否需要合并单元格 - mergeCols: [], //合并的单元格列号 - mergeRule: function (row1, row2) { //合并规则, 默认相等时合并 - return BI.isEqual(row1, row2); - }, - - columnSize: [], - headerRowSize: 37, - footerRowSize: 37, - rowSize: 37, - - regionColumnSize: false, - - items: [] //二维数组 - }); - }, - - _init: function () { - BI.ExcelTable.superclass._init.apply(this, arguments); - var self = this, o = this.options; - - var mergeCols = []; - BI.each(o.mergeCols, function (i, col) { - mergeCols.push(col + 1); - }); - this.table = BI.createWidget(o.el, { - type: "bi.table_view", - element: this, - - isNeedFreeze: false, - - isNeedMerge: o.isNeedMerge, - mergeCols: mergeCols, - mergeRule: o.mergeRule, - - columnSize: [""].concat(o.columnSize), - headerRowSize: 18, - rowSize: o.rowSize, - - regionColumnSize: o.regionColumnSize || [82, ""] - }); - - if (BI.isNotEmptyArray(o.items)) { - this.populate(o.items); - } - BI.nextTick(function () { - self.setRegionColumnSize(o.regionColumnSize || [82, ""]); - }); - }, - - resize: function () { - this.table.resize(); - }, - - setColumnSize: function (columnSize) { - this.table.setColumnSize(columnSize); - }, - - getColumnSize: function () { - return this.table.getColumnSize(); - }, - - getCalculateColumnSize: function () { - return this.table.getCalculateColumnSize(); - }, - - setHeaderColumnSize: function (columnSize) { - this.table.setHeaderColumnSize(columnSize); - }, - - setRegionColumnSize: function (columnSize) { - this.table.setRegionColumnSize(columnSize); - }, - - getRegionColumnSize: function () { - return this.table.getRegionColumnSize(); - }, - - getCalculateRegionColumnSize: function () { - return this.table.getCalculateRegionColumnSize(); - }, - - getCalculateRegionRowSize: function () { - return this.table.getCalculateRegionRowSize(); - }, - - getClientRegionColumnSize: function () { - return this.table.getClientRegionColumnSize(); - }, - - getScrollRegionColumnSize: function () { - return this.table.getScrollRegionColumnSize(); - }, - - getScrollRegionRowSize: function () { - return this.table.getScrollRegionRowSize(); - }, - - hasVerticalScroll: function () { - return this.table.hasVerticalScroll(); - }, - - setVerticalScroll: function (scrollTop) { - this.table.setVerticalScroll(scrollTop); - }, - - setLeftHorizontalScroll: function (scrollLeft) { - this.table.setLeftHorizontalScroll(scrollLeft); - }, - - setRightHorizontalScroll: function (scrollLeft) { - this.table.setRightHorizontalScroll(scrollLeft); - }, - - getVerticalScroll: function () { - return this.table.getVerticalScroll(); - }, - - getLeftHorizontalScroll: function () { - return this.table.getLeftHorizontalScroll(); - }, - - getRightHorizontalScroll: function () { - return this.table.getRightHorizontalScroll(); - }, - - getColumns: function () { - return this.table.getColumns(); - }, - - resizeHeader: function () { - this.table.resize(); - this.table._resizeHeader && this.table._resizeHeader(); - }, - - attr: function (key,value) { - var self = this; - if (BI.isObject(key)) { - BI.each(key, function (k, v) { - self.attr(k, v); - }); - return; - } - BI.ExcelTable.superclass.attr.apply(this, arguments); - switch (key){ - case "mergeCols": - var mCols = []; - BI.each(value, function (i, col) { - mCols.push(col + 1); - }); - value=mCols; - break; - } - this.table.attr.apply(this.table, arguments); - }, - - populate: function (rows) { - var self = this; - var columnSize = this.getColumnSize(); - var items = []; - var header = [{ - type: "bi.excel_table_header_cell" - }]; - if (BI.isNotNull(rows)) { - BI.each(columnSize, function (i, size) { - header.push({ - type: "bi.excel_table_header_cell", - text: BI.int2Abc(i + 1) - }); - }); - BI.each(rows, function (i, row) { - items.push([{ - type: "bi.excel_table_header_cell", - text: (i + 1) - }].concat(row)); - }); - } - this.table.populate(items, [header]); - }, - - destroy: function () { - this.table.destroy(); - BI.ExcelTable.superclass.destroy.apply(this, arguments); - } -}); -BI.shortcut('bi.excel_table', BI.ExcelTable);/** * 文件管理控件组 * * Created by GUY on 2015/12/11. diff --git a/demo/config.js b/demo/config.js index efc365c63..499c001eb 100644 --- a/demo/config.js +++ b/demo/config.js @@ -1,6 +1,13 @@ Demo.CONFIG = Demo.CORE_CONFIG.concat(Demo.BASE_CONFIG).concat(Demo.CASE_CONFIG).concat(Demo.WIDGET_CONFIG).concat(Demo.COMPONENT_CONFIG).concat(Demo.ADDONS_CONFIG); Demo.CONSTANTS = { + SIMPLE_ITEMS: BI.map("柳州市城贸金属材料有限责任公司 柳州市建福房屋租赁有限公司 柳州市迅昌数码办公设备有限责任公司 柳州市河海贸易有限责任公司 柳州市花篮制衣厂 柳州市兴溪物资有限公司 柳州市针织总厂 柳州市衡管物资有限公司 柳州市琪成机电设备有限公司 柳州市松林工程机械修理厂".match(/[^\s]+/g), function (i, v) { + return { + text: v, + value: v, + title: v + } + }), ITEMS: BI.map("柳州市城贸金属材料有限责任公司 柳州市建福房屋租赁有限公司 柳州市迅昌数码办公设备有限责任公司 柳州市河海贸易有限责任公司 柳州市花篮制衣厂 柳州市兴溪物资有限公司 柳州市针织总厂 柳州市衡管物资有限公司 柳州市琪成机电设备有限公司 柳州市松林工程机械修理厂 柳州市积玉贸易有限公司 柳州市福运来贸易有限责任公司 柳州市钢义物资有限公司 柳州市洋力化工有限公司 柳州市悦盛贸易有限公司 柳州市雁城钢管物资有限公司 柳州市恒瑞钢材经营部 柳州市科拓电子有限公司 柳州市九方电子有限公司 柳州市桂龙汽车配件厂 柳州市制鞋工厂 柳州市炜力科贸有限公司 柳州市希翼贸易有限公司 柳州市兆金物资有限公司 柳州市和润电子科技有限责任公司 柳州市汇凯贸易有限公司 柳州市好机汇商贸有限公司 柳州市泛源商贸经营部 柳州市利汇达物资有限公司 广西全民药业有限责任公司 柳州超凡物资贸易有限责任公司 柳州市贵宏物资有限责任公司 柳州昊恒贸易有限责任公司 柳州市浦联物资有限公司 柳州市广通园林绿化工程有限责任公司 柳州市松发物资贸易有限责任公司 柳州市奥士达办公设备有限责任公司 柳州市海泰物资有限公司 柳州市金三环针织厂 柳州市钢贸物资有限公司 柳州市明阳纺织有限公司 柳州市世科科技发展有限公司 柳州市禄羊贸易有限公司 柳州市金兆阳商贸有限公司 柳州市汇昌物资经营部 柳州市林泰金属物资供应站 柳州市自来水管道材料设备公司 柳州市丹柳铝板有限公司 柳州市桂冶物资有限公司 柳州市宸业物资经营部 柳州市耀成贸易有限公司 柳州奥易自动化科技有限公司 柳州市萃丰科技有限责任公司 柳州市华储贸易有限责任公司 柳州市黄颜钢材有限责任公司 柳州市银盛物资有限责任公司 柳州市新仪化玻供应站 柳州市晶凯化工有限公司 广西柳州市柳江包装纸厂 柳州市志新物资有限责任公司 柳州市兆钢物资有限公司 柳州市友方科技发展有限责任公司 柳州市缝纫机台板家具总厂 柳州市晖海数码办公设备有限责任公司 柳州市富兰特服饰有限责任公司 柳州市柳北区富兴物资经营部 柳州市柳锌福利厂 柳州市海泉印刷有限责任公司 柳州市乾亨贸易有限公司 柳州市悦宁物资贸易有限公司 柳州市昊天贸易有限公司 广西惠字钢铁有限公司 柳州市名青物资有限公司 柳州市林郝物资有限公司 柳州市民政服装厂 柳州市多维劳保用品厂 柳州市轻工物资供应公司 柳州市程源物资有限责任公司 柳州市寿丰物资贸易有限责任公司 柳州市凯凡物资有限公司 柳州市利晖物资经营部 柳州市恒茂金属物资供应站 柳州市中储物资经营部 柳州市第二医疗器械厂 柳州市来鑫物资经营部 柳州市钢鑫物资贸易有限责任公司 柳州市双合袜业有限责任公司 柳州市茂松经贸有限责任公司 柳州市行行物资贸易有限公司 柳州市方一物资有限公司 柳州成异钢管销售有限公司 柳州广惠佳电脑有限公司 桂林市圣泽鑫物资有限公司柳州分公司 柳州市砼基建材贸易有限公司 柳州市海燕针织厂 上海浦光仪表厂柳州销售处 柳州市能电工贸有限责任公司 柳州市广贸物资有限公司 柳州市柳北区大昌电工灯饰经营部 柳州市金龙印务有限公司 柳州市奇缘婚典服务有限公司 柳州市盛博物资经营部 柳州市项元钢铁贸易有限公司 柳州市虞美人化妆品经营部 柳州市俊彦鞋厂 柳州市聚源特钢有限公司 柳州市迅龙科贸有限责任公司 柳州市恒飞电子有限责任公司 柳州市蓝正现代办公设备有限责任公司 柳州地区农业生产资料公司 柳州华菱钢管销售有限公司 柳州融通物资有限公司 柳州市可仁广告策划有限责任公司 柳州市鸟鑫物资有限责任公司 柳州市五丰钢材供应站 柳州市金江不锈钢有限公司 柳州市美日物资设备有限责任公司 柳州市鑫东物资贸易有限责任公司 柳州地区日用杂品公司 柳州市华纳物资贸易有限公司 柳州乾利金虹物资贸易有限责任公司 柳州市新迈计算机有限公司 柳州市富丽实业发展公司 柳州市石钢金属材料有限公司 柳州市力志传真机销售有限公司 广西宝森投资有限公司 柳州市嵘基商贸有限公司 柳州市景民商贸有限责任公司 柳州市银桥化玻有限责任公司 柳州市宏文糖烟店 柳州市科苑电脑网络有限公司 柳州市两面针旅游用品厂 柳州市立早室内装璜有限责任公司 柳州地化建材有限公司 柳州市涛达贸易有限公司 柳州市兰丰档案服务中心 柳州市惠贸物资有限责任公司 柳州市立文物资有限责任公司 柳州市致和商贸经营部 柳州市金色阳光信息咨询有限公司 柳州市赛利钢材经销部 柳州市日用化工厂 柳州市昆廷物资有限责任公司 柳州市邦盛贸易有限公司 柳州市济华贸易有限公司 柳州昕威橡塑化工经营部 柳州市联业贸易有限公司 柳州市兰钢贸易有限公司 柳州市子欣科技有限公司 柳州市狄龙机电设备有限公司 柳州市方真物资贸易有限公司 柳州市银鸥废旧回收中心 柳州市冠宝贸易有限公司 柳州市鑫盛德商务咨询有限责任公司 柳州市泰汇银通经贸有限公司 广西瀚维智测科技有限公司 柳州市钓鱼郎制衣有限责任公司 柳州溪水物资有限公司 柳州市融峰物资有限责任公司 广西新地科技有限责任公司 柳州市纺织装饰公司 柳州市粤翔冶金炉料有限公司 柳州市远腾贸易有限公司 柳州市东鸿城市改造有限公司 广西丛欣实业有限公司 柳州市服装厂 柳州市立安联合刀片有限公司 广西国扬投资有限责任公司 柳州市铭泰办公设备公司 柳州市桂钢物资供应站 柳州市昱升物资有限责任公司 柳州市鹰飞灿科贸有限公司 柳州市先导科贸有限公司 柳州市金秋建材物资经营部 柳州市童装厂 柳州市民泽物资有限公司 柳州市恒先物资贸易有限公司 柳州市银夏冷气工程有限责任公司 柳州粮食批发有限责任公司 柳州市金银华窗纱制造有限责任公司 柳州市三方贸易有限公司 柳州市丰涛商贸有限责任公司 柳州华智企业管理咨询有限责任公司 柳州市诚正建筑工程施工图审查有限公司 柳州市今科电讯设备营销中心 柳州市闽德电子有限公司 柳州市鑫虹针织厂 柳州市畅通通讯器材有限责任公司 柳州市正钢物资经营部 柳州市新柳饲料有限责任公司 柳州市黄村油库 柳州市天泰电力装饰工程有限公司 柳州市兆吉物资有限责任公司 柳州市八龙纸制品有限责任公司 柳州市巨佳电脑网络科技有限公司 ".match(/[^\s]+/g), function (i, v) { return { text: v, @@ -8,22 +15,1522 @@ Demo.CONSTANTS = { title: v } }), - TREEITEMS: [{"pId":"0","id":"0_0","text":"( 共25个 )","value":"","open":true},{"pId":"0_0","id":"0_0_0","text":"安徽省( 共1个 )","value":"安徽省","open":true},{"pId":"0_0_0","id":"0_0_0_0","text":"芜湖市","value":"芜湖市","open":true},{"pId":"0_0","id":"0_0_1","text":"北京市( 共6个 )","value":"北京市","open":true},{"pId":"0_0_1","id":"0_0_1_0","text":"北京市区","value":"北京市区","open":true},{"pId":"0_0_1","id":"0_0_1_1","text":"朝阳区","value":"朝阳区","open":true},{"pId":"0_0_1","id":"0_0_1_2","text":"东城区","value":"东城区","open":true},{"pId":"0_0_1","id":"0_0_1_3","text":"海淀区4内","value":"海淀区4内","open":true},{"pId":"0_0_1","id":"0_0_1_4","text":"海淀区4外","value":"海淀区4外","open":true},{"pId":"0_0_1","id":"0_0_1_5","text":"石景山区","value":"石景山区","open":true},{"pId":"0_0","id":"0_0_2","text":"福建省( 共2个 )","value":"福建省","open":true},{"pId":"0_0_2","id":"0_0_2_0","text":"莆田市","value":"莆田市","open":true},{"pId":"0_0_2","id":"0_0_2_1","text":"泉州市","value":"泉州市","open":true},{"pId":"0_0","id":"0_0_3","text":"甘肃省( 共1个 )","value":"甘肃省","open":true},{"pId":"0_0_3","id":"0_0_3_0","text":"兰州市","value":"兰州市","open":true},{"pId":"0_0","id":"0_0_4","text":"广东省( 共5个 )","value":"广东省","open":true},{"pId":"0_0_4","id":"0_0_4_0","text":"东莞市","value":"东莞市","open":true},{"pId":"0_0_4","id":"0_0_4_1","text":"广州市","value":"广州市","open":true},{"pId":"0_0_4","id":"0_0_4_2","text":"惠州市","value":"惠州市","open":true},{"pId":"0_0_4","id":"0_0_4_3","text":"深圳市","value":"深圳市","open":true},{"pId":"0_0_4","id":"0_0_4_4","text":"珠海市","value":"珠海市","open":true},{"pId":"0_0","id":"0_0_5","text":"广西壮族自治区( 共1个 )","value":"广西壮族自治区","open":true},{"pId":"0_0_5","id":"0_0_5_0","text":"南宁市","value":"南宁市","open":true},{"pId":"0_0","id":"0_0_6","text":"河北省( 共2个 )","value":"河北省","open":true},{"pId":"0_0_6","id":"0_0_6_0","text":"保定市","value":"保定市","open":true},{"pId":"0_0_6","id":"0_0_6_1","text":"邢台市","value":"邢台市","open":true},{"pId":"0_0","id":"0_0_7","text":"河南省( 共1个 )","value":"河南省","open":true},{"pId":"0_0_7","id":"0_0_7_0","text":"郑州市","value":"郑州市","open":true},{"pId":"0_0","id":"0_0_8","text":"黑龙江省( 共7个 )","value":"黑龙江省","open":true},{"pId":"0_0_8","id":"0_0_8_0","text":"大庆市","value":"大庆市","open":true},{"pId":"0_0_8","id":"0_0_8_1","text":"哈尔滨市","value":"哈尔滨市","open":true},{"pId":"0_0_8","id":"0_0_8_2","text":"鸡西市","value":"鸡西市","open":true},{"pId":"0_0_8","id":"0_0_8_3","text":"佳木斯市","value":"佳木斯市","open":true},{"pId":"0_0_8","id":"0_0_8_4","text":"牡丹江市","value":"牡丹江市","open":true},{"pId":"0_0_8","id":"0_0_8_5","text":"齐齐哈尔市","value":"齐齐哈尔市","open":true},{"pId":"0_0_8","id":"0_0_8_6","text":"双鸭山市","value":"双鸭山市","open":true},{"pId":"0_0","id":"0_0_9","text":"湖北省( 共1个 )","value":"湖北省","open":true},{"pId":"0_0_9","id":"0_0_9_0","text":"武汉市","value":"武汉市","open":true},{"pId":"0_0","id":"0_0_10","text":"湖南省( 共3个 )","value":"湖南省","open":true},{"pId":"0_0_10","id":"0_0_10_0","text":"常德市","value":"常德市","open":true},{"pId":"0_0_10","id":"0_0_10_1","text":"长沙市","value":"长沙市","open":true},{"pId":"0_0_10","id":"0_0_10_2","text":"邵阳市","value":"邵阳市","open":true},{"pId":"0_0","id":"0_0_11","text":"吉林省( 共4个 )","value":"吉林省","open":true},{"pId":"0_0_11","id":"0_0_11_0","text":"白山市","value":"白山市","open":true},{"pId":"0_0_11","id":"0_0_11_1","text":"长春市","value":"长春市","open":true},{"pId":"0_0_11","id":"0_0_11_2","text":"松原市","value":"松原市","open":true},{"pId":"0_0_11","id":"0_0_11_3","text":"通化市","value":"通化市","open":true},{"pId":"0_0","id":"0_0_12","text":"江苏省( 共8个 )","value":"江苏省","open":true},{"pId":"0_0_12","id":"0_0_12_0","text":"常州市","value":"常州市","open":true},{"pId":"0_0_12","id":"0_0_12_1","text":"南京市","value":"南京市","open":true},{"pId":"0_0_12","id":"0_0_12_2","text":"南通市","value":"南通市","open":true},{"pId":"0_0_12","id":"0_0_12_3","text":"苏州市","value":"苏州市","open":true},{"pId":"0_0_12","id":"0_0_12_4","text":"宿迁市","value":"宿迁市","open":true},{"pId":"0_0_12","id":"0_0_12_5","text":"泰州市","value":"泰州市","open":true},{"pId":"0_0_12","id":"0_0_12_6","text":"无锡市","value":"无锡市","open":true},{"pId":"0_0_12","id":"0_0_12_7","text":"盐城市","value":"盐城市","open":true},{"pId":"0_0","id":"0_0_13","text":"辽宁省( 共11个 )","value":"辽宁省","open":true},{"pId":"0_0_13","id":"0_0_13_0","text":"鞍山市","value":"鞍山市","open":true},{"pId":"0_0_13","id":"0_0_13_1","text":"本溪市","value":"本溪市","open":true},{"pId":"0_0_13","id":"0_0_13_2","text":"朝阳市","value":"朝阳市","open":true},{"pId":"0_0_13","id":"0_0_13_3","text":"大连市","value":"大连市","open":true},{"pId":"0_0_13","id":"0_0_13_4","text":"抚顺市","value":"抚顺市","open":true},{"pId":"0_0_13","id":"0_0_13_5","text":"葫芦岛市","value":"葫芦岛市","open":true},{"pId":"0_0_13","id":"0_0_13_6","text":"锦州市","value":"锦州市","open":true},{"pId":"0_0_13","id":"0_0_13_7","text":"辽阳市","value":"辽阳市","open":true},{"pId":"0_0_13","id":"0_0_13_8","text":"盘锦市","value":"盘锦市","open":true},{"pId":"0_0_13","id":"0_0_13_9","text":"沈阳市","value":"沈阳市","open":true},{"pId":"0_0_13","id":"0_0_13_10","text":"营口市","value":"营口市","open":true},{"pId":"0_0","id":"0_0_14","text":"内蒙古( 共1个 )","value":"内蒙古","open":true},{"pId":"0_0_14","id":"0_0_14_0","text":"鄂尔多斯市","value":"鄂尔多斯市","open":true},{"pId":"0_0","id":"0_0_15","text":"宁夏回族自治区( 共1个 )","value":"宁夏回族自治区","open":true},{"pId":"0_0_15","id":"0_0_15_0","text":"银川市","value":"银川市","open":true},{"pId":"0_0","id":"0_0_16","text":"山东省( 共7个 )","value":"山东省","open":true},{"pId":"0_0_16","id":"0_0_16_0","text":"济南市","value":"济南市","open":true},{"pId":"0_0_16","id":"0_0_16_1","text":"济宁市","value":"济宁市","open":true},{"pId":"0_0_16","id":"0_0_16_2","text":"聊城市","value":"聊城市","open":true},{"pId":"0_0_16","id":"0_0_16_3","text":"临沂市","value":"临沂市","open":true},{"pId":"0_0_16","id":"0_0_16_4","text":"青岛市","value":"青岛市","open":true},{"pId":"0_0_16","id":"0_0_16_5","text":"烟台市","value":"烟台市","open":true},{"pId":"0_0_16","id":"0_0_16_6","text":"枣庄市","value":"枣庄市","open":true},{"pId":"0_0","id":"0_0_17","text":"山西省( 共1个 )","value":"山西省","open":true},{"pId":"0_0_17","id":"0_0_17_0","text":"太原市","value":"太原市","open":true},{"pId":"0_0","id":"0_0_18","text":"陕西省( 共1个 )","value":"陕西省","open":true},{"pId":"0_0_18","id":"0_0_18_0","text":"西安市","value":"西安市","open":true},{"pId":"0_0","id":"0_0_19","text":"上海市( 共1个 )","value":"上海市","open":true},{"pId":"0_0_19","id":"0_0_19_0","text":"上海市区","value":"上海市区","open":true},{"pId":"0_0","id":"0_0_20","text":"四川省( 共1个 )","value":"四川省","open":true},{"pId":"0_0_20","id":"0_0_20_0","text":"成都市","value":"成都市","open":true},{"pId":"0_0","id":"0_0_21","text":"新疆维吾尔族自治区( 共2个 )","value":"新疆维吾尔族自治区","open":true},{"pId":"0_0_21","id":"0_0_21_0","text":"吐鲁番地区","value":"吐鲁番地区","open":true},{"pId":"0_0_21","id":"0_0_21_1","text":"乌鲁木齐","value":"乌鲁木齐","open":true},{"pId":"0_0","id":"0_0_22","text":"云南省( 共1个 )","value":"云南省","open":true},{"pId":"0_0_22","id":"0_0_22_0","text":"昆明市","value":"昆明市","open":true},{"pId":"0_0","id":"0_0_23","text":"浙江省( 共5个 )","value":"浙江省","open":true},{"pId":"0_0_23","id":"0_0_23_0","text":"杭州市","value":"杭州市","open":true},{"pId":"0_0_23","id":"0_0_23_1","text":"湖州市","value":"湖州市","open":true},{"pId":"0_0_23","id":"0_0_23_2","text":"嘉兴市","value":"嘉兴市","open":true},{"pId":"0_0_23","id":"0_0_23_3","text":"宁波市","value":"宁波市","open":true},{"pId":"0_0_23","id":"0_0_23_4","text":"绍兴市","value":"绍兴市","open":true},{"pId":"0_0","id":"0_0_24","text":"重庆市( 共1个 )","value":"重庆市","open":true},{"pId":"0_0_24","id":"0_0_24_0","text":"重庆市区","value":"重庆市区","open":true},{"pId":"0","id":"0_1","text":"中国( 共34个 )","value":"中国","open":true},{"pId":"0_1","id":"0_1_0","text":"安徽省( 共19个 )","value":"安徽省","open":true},{"pId":"0_1_0","id":"0_1_0_0","text":"安庆市","value":"安庆市","open":true},{"pId":"0_1_0","id":"0_1_0_1","text":"蚌埠市","value":"蚌埠市","open":true},{"pId":"0_1_0","id":"0_1_0_2","text":"亳州市","value":"亳州市","open":true},{"pId":"0_1_0","id":"0_1_0_3","text":"巢湖市","value":"巢湖市","open":true},{"pId":"0_1_0","id":"0_1_0_4","text":"池州市","value":"池州市","open":true},{"pId":"0_1_0","id":"0_1_0_5","text":"滁州市","value":"滁州市","open":true},{"pId":"0_1_0","id":"0_1_0_6","text":"阜阳市","value":"阜阳市","open":true},{"pId":"0_1_0","id":"0_1_0_7","text":"毫州市","value":"毫州市","open":true},{"pId":"0_1_0","id":"0_1_0_8","text":"合肥市","value":"合肥市","open":true},{"pId":"0_1_0","id":"0_1_0_9","text":"淮北市","value":"淮北市","open":true},{"pId":"0_1_0","id":"0_1_0_10","text":"淮南市","value":"淮南市","open":true},{"pId":"0_1_0","id":"0_1_0_11","text":"黄山市","value":"黄山市","open":true},{"pId":"0_1_0","id":"0_1_0_12","text":"六安市","value":"六安市","open":true},{"pId":"0_1_0","id":"0_1_0_13","text":"马鞍山市","value":"马鞍山市","open":true},{"pId":"0_1_0","id":"0_1_0_14","text":"濮阳市","value":"濮阳市","open":true},{"pId":"0_1_0","id":"0_1_0_15","text":"宿州市","value":"宿州市","open":true},{"pId":"0_1_0","id":"0_1_0_16","text":"铜陵市","value":"铜陵市","open":true},{"pId":"0_1_0","id":"0_1_0_17","text":"芜湖市","value":"芜湖市","open":true},{"pId":"0_1_0","id":"0_1_0_18","text":"宣城市","value":"宣城市","open":true},{"pId":"0_1","id":"0_1_1","text":"澳门特别行政区( 共1个 )","value":"澳门特别行政区","open":true},{"pId":"0_1_1","id":"0_1_1_0","text":"澳门","value":"澳门","open":true},{"pId":"0_1","id":"0_1_2","text":"北京市( 共17个 )","value":"北京市","open":true},{"pId":"0_1_2","id":"0_1_2_0","text":"北京市区","value":"北京市区","open":true},{"pId":"0_1_2","id":"0_1_2_1","text":"昌平区","value":"昌平区","open":true},{"pId":"0_1_2","id":"0_1_2_2","text":"朝阳区","value":"朝阳区","open":true},{"pId":"0_1_2","id":"0_1_2_3","text":"大兴区","value":"大兴区","open":true},{"pId":"0_1_2","id":"0_1_2_4","text":"东城区","value":"东城区","open":true},{"pId":"0_1_2","id":"0_1_2_5","text":"房山区","value":"房山区","open":true},{"pId":"0_1_2","id":"0_1_2_6","text":"丰台区","value":"丰台区","open":true},{"pId":"0_1_2","id":"0_1_2_7","text":"海淀区","value":"海淀区","open":true},{"pId":"0_1_2","id":"0_1_2_8","text":"海淀区4内","value":"海淀区4内","open":true},{"pId":"0_1_2","id":"0_1_2_9","text":"海淀区4外","value":"海淀区4外","open":true},{"pId":"0_1_2","id":"0_1_2_10","text":"门头沟区","value":"门头沟区","open":true},{"pId":"0_1_2","id":"0_1_2_11","text":"平谷区","value":"平谷区","open":true},{"pId":"0_1_2","id":"0_1_2_12","text":"石景山区","value":"石景山区","open":true},{"pId":"0_1_2","id":"0_1_2_13","text":"顺义区","value":"顺义区","open":true},{"pId":"0_1_2","id":"0_1_2_14","text":"通州区","value":"通州区","open":true},{"pId":"0_1_2","id":"0_1_2_15","text":"西城区","value":"西城区","open":true},{"pId":"0_1_2","id":"0_1_2_16","text":"西城区 ","value":"西城区 ","open":true},{"pId":"0_1","id":"0_1_3","text":"福建省( 共9个 )","value":"福建省","open":true},{"pId":"0_1_3","id":"0_1_3_0","text":"福州市","value":"福州市","open":true},{"pId":"0_1_3","id":"0_1_3_1","text":"龙岩市","value":"龙岩市","open":true},{"pId":"0_1_3","id":"0_1_3_2","text":"南平市","value":"南平市","open":true},{"pId":"0_1_3","id":"0_1_3_3","text":"宁德市","value":"宁德市","open":true},{"pId":"0_1_3","id":"0_1_3_4","text":"莆田市","value":"莆田市","open":true},{"pId":"0_1_3","id":"0_1_3_5","text":"泉州市","value":"泉州市","open":true},{"pId":"0_1_3","id":"0_1_3_6","text":"三明市","value":"三明市","open":true},{"pId":"0_1_3","id":"0_1_3_7","text":"厦门市","value":"厦门市","open":true},{"pId":"0_1_3","id":"0_1_3_8","text":"漳州市","value":"漳州市","open":true},{"pId":"0_1","id":"0_1_4","text":"甘肃省( 共12个 )","value":"甘肃省","open":true},{"pId":"0_1_4","id":"0_1_4_0","text":"白银市","value":"白银市","open":true},{"pId":"0_1_4","id":"0_1_4_1","text":"嘉峪关市","value":"嘉峪关市","open":true},{"pId":"0_1_4","id":"0_1_4_2","text":"金昌市","value":"金昌市","open":true},{"pId":"0_1_4","id":"0_1_4_3","text":"酒泉市","value":"酒泉市","open":true},{"pId":"0_1_4","id":"0_1_4_4","text":"兰州市","value":"兰州市","open":true},{"pId":"0_1_4","id":"0_1_4_5","text":"陇南市","value":"陇南市","open":true},{"pId":"0_1_4","id":"0_1_4_6","text":"平凉市","value":"平凉市","open":true},{"pId":"0_1_4","id":"0_1_4_7","text":"庆阳市","value":"庆阳市","open":true},{"pId":"0_1_4","id":"0_1_4_8","text":"天津市区","value":"天津市区","open":true},{"pId":"0_1_4","id":"0_1_4_9","text":"天水市","value":"天水市","open":true},{"pId":"0_1_4","id":"0_1_4_10","text":"武威市","value":"武威市","open":true},{"pId":"0_1_4","id":"0_1_4_11","text":"张掖市","value":"张掖市","open":true},{"pId":"0_1","id":"0_1_5","text":"广东省( 共21个 )","value":"广东省","open":true},{"pId":"0_1_5","id":"0_1_5_0","text":"潮州市","value":"潮州市","open":true},{"pId":"0_1_5","id":"0_1_5_1","text":"东莞市","value":"东莞市","open":true},{"pId":"0_1_5","id":"0_1_5_2","text":"佛山市","value":"佛山市","open":true},{"pId":"0_1_5","id":"0_1_5_3","text":"广州市","value":"广州市","open":true},{"pId":"0_1_5","id":"0_1_5_4","text":"河源市","value":"河源市","open":true},{"pId":"0_1_5","id":"0_1_5_5","text":"惠州市","value":"惠州市","open":true},{"pId":"0_1_5","id":"0_1_5_6","text":"江门市","value":"江门市","open":true},{"pId":"0_1_5","id":"0_1_5_7","text":"揭阳市","value":"揭阳市","open":true},{"pId":"0_1_5","id":"0_1_5_8","text":"茂名市","value":"茂名市","open":true},{"pId":"0_1_5","id":"0_1_5_9","text":"梅州市","value":"梅州市","open":true},{"pId":"0_1_5","id":"0_1_5_10","text":"清远市","value":"清远市","open":true},{"pId":"0_1_5","id":"0_1_5_11","text":"汕头市","value":"汕头市","open":true},{"pId":"0_1_5","id":"0_1_5_12","text":"汕尾市","value":"汕尾市","open":true},{"pId":"0_1_5","id":"0_1_5_13","text":"韶关市","value":"韶关市","open":true},{"pId":"0_1_5","id":"0_1_5_14","text":"深圳市","value":"深圳市","open":true},{"pId":"0_1_5","id":"0_1_5_15","text":"阳江市","value":"阳江市","open":true},{"pId":"0_1_5","id":"0_1_5_16","text":"云浮市","value":"云浮市","open":true},{"pId":"0_1_5","id":"0_1_5_17","text":"湛江市","value":"湛江市","open":true},{"pId":"0_1_5","id":"0_1_5_18","text":"肇庆市","value":"肇庆市","open":true},{"pId":"0_1_5","id":"0_1_5_19","text":"中山市","value":"中山市","open":true},{"pId":"0_1_5","id":"0_1_5_20","text":"珠海市","value":"珠海市","open":true},{"pId":"0_1","id":"0_1_6","text":"广西壮族自治区( 共14个 )","value":"广西壮族自治区","open":true},{"pId":"0_1_6","id":"0_1_6_0","text":"百色市","value":"百色市","open":true},{"pId":"0_1_6","id":"0_1_6_1","text":"北海市","value":"北海市","open":true},{"pId":"0_1_6","id":"0_1_6_2","text":"崇左市","value":"崇左市","open":true},{"pId":"0_1_6","id":"0_1_6_3","text":"防城港市","value":"防城港市","open":true},{"pId":"0_1_6","id":"0_1_6_4","text":"桂林市","value":"桂林市","open":true},{"pId":"0_1_6","id":"0_1_6_5","text":"贵港市","value":"贵港市","open":true},{"pId":"0_1_6","id":"0_1_6_6","text":"河池市","value":"河池市","open":true},{"pId":"0_1_6","id":"0_1_6_7","text":"贺州市","value":"贺州市","open":true},{"pId":"0_1_6","id":"0_1_6_8","text":"来宾市","value":"来宾市","open":true},{"pId":"0_1_6","id":"0_1_6_9","text":"柳州市","value":"柳州市","open":true},{"pId":"0_1_6","id":"0_1_6_10","text":"南宁市","value":"南宁市","open":true},{"pId":"0_1_6","id":"0_1_6_11","text":"钦州市","value":"钦州市","open":true},{"pId":"0_1_6","id":"0_1_6_12","text":"梧州市","value":"梧州市","open":true},{"pId":"0_1_6","id":"0_1_6_13","text":"玉林市","value":"玉林市","open":true},{"pId":"0_1","id":"0_1_7","text":"贵州省( 共9个 )","value":"贵州省","open":true},{"pId":"0_1_7","id":"0_1_7_0","text":"安顺市","value":"安顺市","open":true},{"pId":"0_1_7","id":"0_1_7_1","text":"毕节地区","value":"毕节地区","open":true},{"pId":"0_1_7","id":"0_1_7_2","text":"贵阳市","value":"贵阳市","open":true},{"pId":"0_1_7","id":"0_1_7_3","text":"六盘水市","value":"六盘水市","open":true},{"pId":"0_1_7","id":"0_1_7_4","text":"黔东南州","value":"黔东南州","open":true},{"pId":"0_1_7","id":"0_1_7_5","text":"黔南州","value":"黔南州","open":true},{"pId":"0_1_7","id":"0_1_7_6","text":"黔西南市","value":"黔西南市","open":true},{"pId":"0_1_7","id":"0_1_7_7","text":"铜仁地区","value":"铜仁地区","open":true},{"pId":"0_1_7","id":"0_1_7_8","text":"遵义市","value":"遵义市","open":true},{"pId":"0_1","id":"0_1_8","text":"海南省( 共2个 )","value":"海南省","open":true},{"pId":"0_1_8","id":"0_1_8_0","text":"海口市","value":"海口市","open":true},{"pId":"0_1_8","id":"0_1_8_1","text":"三亚市","value":"三亚市","open":true},{"pId":"0_1","id":"0_1_9","text":"河北省( 共12个 )","value":"河北省","open":true},{"pId":"0_1_9","id":"0_1_9_0","text":"保定市","value":"保定市","open":true},{"pId":"0_1_9","id":"0_1_9_1","text":"沧州市","value":"沧州市","open":true},{"pId":"0_1_9","id":"0_1_9_2","text":"承德市","value":"承德市","open":true},{"pId":"0_1_9","id":"0_1_9_3","text":"邯郸市","value":"邯郸市","open":true},{"pId":"0_1_9","id":"0_1_9_4","text":"衡水市","value":"衡水市","open":true},{"pId":"0_1_9","id":"0_1_9_5","text":"廊坊市","value":"廊坊市","open":true},{"pId":"0_1_9","id":"0_1_9_6","text":"秦皇岛市","value":"秦皇岛市","open":true},{"pId":"0_1_9","id":"0_1_9_7","text":"石家庄市","value":"石家庄市","open":true},{"pId":"0_1_9","id":"0_1_9_8","text":"唐山市","value":"唐山市","open":true},{"pId":"0_1_9","id":"0_1_9_9","text":"天津市区","value":"天津市区","open":true},{"pId":"0_1_9","id":"0_1_9_10","text":"邢台市","value":"邢台市","open":true},{"pId":"0_1_9","id":"0_1_9_11","text":"张家口市","value":"张家口市","open":true},{"pId":"0_1","id":"0_1_10","text":"河南省( 共19个 )","value":"河南省","open":true},{"pId":"0_1_10","id":"0_1_10_0","text":"安阳市","value":"安阳市","open":true},{"pId":"0_1_10","id":"0_1_10_1","text":"鹤壁市","value":"鹤壁市","open":true},{"pId":"0_1_10","id":"0_1_10_2","text":"济源市","value":"济源市","open":true},{"pId":"0_1_10","id":"0_1_10_3","text":"焦作市","value":"焦作市","open":true},{"pId":"0_1_10","id":"0_1_10_4","text":"开封市","value":"开封市","open":true},{"pId":"0_1_10","id":"0_1_10_5","text":"廊坊市","value":"廊坊市","open":true},{"pId":"0_1_10","id":"0_1_10_6","text":"洛阳市","value":"洛阳市","open":true},{"pId":"0_1_10","id":"0_1_10_7","text":"漯河市","value":"漯河市","open":true},{"pId":"0_1_10","id":"0_1_10_8","text":"南阳市","value":"南阳市","open":true},{"pId":"0_1_10","id":"0_1_10_9","text":"平顶山市","value":"平顶山市","open":true},{"pId":"0_1_10","id":"0_1_10_10","text":"濮阳市","value":"濮阳市","open":true},{"pId":"0_1_10","id":"0_1_10_11","text":"三门峡市","value":"三门峡市","open":true},{"pId":"0_1_10","id":"0_1_10_12","text":"商丘市","value":"商丘市","open":true},{"pId":"0_1_10","id":"0_1_10_13","text":"新乡市","value":"新乡市","open":true},{"pId":"0_1_10","id":"0_1_10_14","text":"信阳市","value":"信阳市","open":true},{"pId":"0_1_10","id":"0_1_10_15","text":"许昌市","value":"许昌市","open":true},{"pId":"0_1_10","id":"0_1_10_16","text":"郑州市","value":"郑州市","open":true},{"pId":"0_1_10","id":"0_1_10_17","text":"周口市","value":"周口市","open":true},{"pId":"0_1_10","id":"0_1_10_18","text":"驻马店市","value":"驻马店市","open":true},{"pId":"0_1","id":"0_1_11","text":"黑龙江省( 共13个 )","value":"黑龙江省","open":true},{"pId":"0_1_11","id":"0_1_11_0","text":"大庆市","value":"大庆市","open":true},{"pId":"0_1_11","id":"0_1_11_1","text":"大兴安岭地区","value":"大兴安岭地区","open":true},{"pId":"0_1_11","id":"0_1_11_2","text":"大兴安岭市","value":"大兴安岭市","open":true},{"pId":"0_1_11","id":"0_1_11_3","text":"哈尔滨市","value":"哈尔滨市","open":true},{"pId":"0_1_11","id":"0_1_11_4","text":"鹤港市","value":"鹤港市","open":true},{"pId":"0_1_11","id":"0_1_11_5","text":"黑河市","value":"黑河市","open":true},{"pId":"0_1_11","id":"0_1_11_6","text":"佳木斯市","value":"佳木斯市","open":true},{"pId":"0_1_11","id":"0_1_11_7","text":"牡丹江市","value":"牡丹江市","open":true},{"pId":"0_1_11","id":"0_1_11_8","text":"七台河市","value":"七台河市","open":true},{"pId":"0_1_11","id":"0_1_11_9","text":"齐齐哈尔市","value":"齐齐哈尔市","open":true},{"pId":"0_1_11","id":"0_1_11_10","text":"双鸭山市","value":"双鸭山市","open":true},{"pId":"0_1_11","id":"0_1_11_11","text":"绥化市","value":"绥化市","open":true},{"pId":"0_1_11","id":"0_1_11_12","text":"伊春市","value":"伊春市","open":true},{"pId":"0_1","id":"0_1_12","text":"湖北省( 共16个 )","value":"湖北省","open":true},{"pId":"0_1_12","id":"0_1_12_0","text":"鄂州市","value":"鄂州市","open":true},{"pId":"0_1_12","id":"0_1_12_1","text":"恩施土家族苗族自治州","value":"恩施土家族苗族自治州","open":true},{"pId":"0_1_12","id":"0_1_12_2","text":"黄冈市","value":"黄冈市","open":true},{"pId":"0_1_12","id":"0_1_12_3","text":"黄石市","value":"黄石市","open":true},{"pId":"0_1_12","id":"0_1_12_4","text":"荆门市","value":"荆门市","open":true},{"pId":"0_1_12","id":"0_1_12_5","text":"荆州市","value":"荆州市","open":true},{"pId":"0_1_12","id":"0_1_12_6","text":"神农架市","value":"神农架市","open":true},{"pId":"0_1_12","id":"0_1_12_7","text":"十堰市","value":"十堰市","open":true},{"pId":"0_1_12","id":"0_1_12_8","text":"随州市","value":"随州市","open":true},{"pId":"0_1_12","id":"0_1_12_9","text":"天门市","value":"天门市","open":true},{"pId":"0_1_12","id":"0_1_12_10","text":"武汉市","value":"武汉市","open":true},{"pId":"0_1_12","id":"0_1_12_11","text":"咸宁市","value":"咸宁市","open":true},{"pId":"0_1_12","id":"0_1_12_12","text":"襄樊市","value":"襄樊市","open":true},{"pId":"0_1_12","id":"0_1_12_13","text":"襄阳市","value":"襄阳市","open":true},{"pId":"0_1_12","id":"0_1_12_14","text":"孝感市","value":"孝感市","open":true},{"pId":"0_1_12","id":"0_1_12_15","text":"宜昌市","value":"宜昌市","open":true},{"pId":"0_1","id":"0_1_13","text":"湖南省( 共15个 )","value":"湖南省","open":true},{"pId":"0_1_13","id":"0_1_13_0","text":"常德市","value":"常德市","open":true},{"pId":"0_1_13","id":"0_1_13_1","text":"长沙市","value":"长沙市","open":true},{"pId":"0_1_13","id":"0_1_13_2","text":"郴州市","value":"郴州市","open":true},{"pId":"0_1_13","id":"0_1_13_3","text":"衡阳市","value":"衡阳市","open":true},{"pId":"0_1_13","id":"0_1_13_4","text":"怀化市","value":"怀化市","open":true},{"pId":"0_1_13","id":"0_1_13_5","text":"娄底市","value":"娄底市","open":true},{"pId":"0_1_13","id":"0_1_13_6","text":"邵阳市","value":"邵阳市","open":true},{"pId":"0_1_13","id":"0_1_13_7","text":"湘潭市","value":"湘潭市","open":true},{"pId":"0_1_13","id":"0_1_13_8","text":"湘西市","value":"湘西市","open":true},{"pId":"0_1_13","id":"0_1_13_9","text":"湘西土家族苗族自治州","value":"湘西土家族苗族自治州","open":true},{"pId":"0_1_13","id":"0_1_13_10","text":"益阳市","value":"益阳市","open":true},{"pId":"0_1_13","id":"0_1_13_11","text":"永州市","value":"永州市","open":true},{"pId":"0_1_13","id":"0_1_13_12","text":"岳阳市","value":"岳阳市","open":true},{"pId":"0_1_13","id":"0_1_13_13","text":"张家界市","value":"张家界市","open":true},{"pId":"0_1_13","id":"0_1_13_14","text":"株洲市","value":"株洲市","open":true},{"pId":"0_1","id":"0_1_14","text":"吉林省( 共10个 )","value":"吉林省","open":true},{"pId":"0_1_14","id":"0_1_14_0","text":"白城市","value":"白城市","open":true},{"pId":"0_1_14","id":"0_1_14_1","text":"白山市","value":"白山市","open":true},{"pId":"0_1_14","id":"0_1_14_2","text":"长春市","value":"长春市","open":true},{"pId":"0_1_14","id":"0_1_14_3","text":"大庆市","value":"大庆市","open":true},{"pId":"0_1_14","id":"0_1_14_4","text":"吉林市","value":"吉林市","open":true},{"pId":"0_1_14","id":"0_1_14_5","text":"辽源市","value":"辽源市","open":true},{"pId":"0_1_14","id":"0_1_14_6","text":"四平市","value":"四平市","open":true},{"pId":"0_1_14","id":"0_1_14_7","text":"松原市","value":"松原市","open":true},{"pId":"0_1_14","id":"0_1_14_8","text":"通化市","value":"通化市","open":true},{"pId":"0_1_14","id":"0_1_14_9","text":"延边朝鲜族自治州","value":"延边朝鲜族自治州","open":true},{"pId":"0_1","id":"0_1_15","text":"江苏省( 共13个 )","value":"江苏省","open":true},{"pId":"0_1_15","id":"0_1_15_0","text":"常州市","value":"常州市","open":true},{"pId":"0_1_15","id":"0_1_15_1","text":"淮安市","value":"淮安市","open":true},{"pId":"0_1_15","id":"0_1_15_2","text":"连云港市","value":"连云港市","open":true},{"pId":"0_1_15","id":"0_1_15_3","text":"南京市","value":"南京市","open":true},{"pId":"0_1_15","id":"0_1_15_4","text":"南通市","value":"南通市","open":true},{"pId":"0_1_15","id":"0_1_15_5","text":"苏州市","value":"苏州市","open":true},{"pId":"0_1_15","id":"0_1_15_6","text":"宿迁市","value":"宿迁市","open":true},{"pId":"0_1_15","id":"0_1_15_7","text":"泰州市","value":"泰州市","open":true},{"pId":"0_1_15","id":"0_1_15_8","text":"无锡市","value":"无锡市","open":true},{"pId":"0_1_15","id":"0_1_15_9","text":"徐州市","value":"徐州市","open":true},{"pId":"0_1_15","id":"0_1_15_10","text":"盐城市","value":"盐城市","open":true},{"pId":"0_1_15","id":"0_1_15_11","text":"扬州市","value":"扬州市","open":true},{"pId":"0_1_15","id":"0_1_15_12","text":"镇江市","value":"镇江市","open":true},{"pId":"0_1","id":"0_1_16","text":"江西省( 共10个 )","value":"江西省","open":true},{"pId":"0_1_16","id":"0_1_16_0","text":"抚州市","value":"抚州市","open":true},{"pId":"0_1_16","id":"0_1_16_1","text":"赣州市","value":"赣州市","open":true},{"pId":"0_1_16","id":"0_1_16_2","text":"景德镇市","value":"景德镇市","open":true},{"pId":"0_1_16","id":"0_1_16_3","text":"九江市","value":"九江市","open":true},{"pId":"0_1_16","id":"0_1_16_4","text":"南昌市","value":"南昌市","open":true},{"pId":"0_1_16","id":"0_1_16_5","text":"萍乡市","value":"萍乡市","open":true},{"pId":"0_1_16","id":"0_1_16_6","text":"上饶市","value":"上饶市","open":true},{"pId":"0_1_16","id":"0_1_16_7","text":"新余市","value":"新余市","open":true},{"pId":"0_1_16","id":"0_1_16_8","text":"宜春市","value":"宜春市","open":true},{"pId":"0_1_16","id":"0_1_16_9","text":"鹰潭市","value":"鹰潭市","open":true},{"pId":"0_1","id":"0_1_17","text":"辽宁省( 共14个 )","value":"辽宁省","open":true},{"pId":"0_1_17","id":"0_1_17_0","text":"鞍山市","value":"鞍山市","open":true},{"pId":"0_1_17","id":"0_1_17_1","text":"本溪市","value":"本溪市","open":true},{"pId":"0_1_17","id":"0_1_17_2","text":"朝阳市","value":"朝阳市","open":true},{"pId":"0_1_17","id":"0_1_17_3","text":"大连市","value":"大连市","open":true},{"pId":"0_1_17","id":"0_1_17_4","text":"丹东市","value":"丹东市","open":true},{"pId":"0_1_17","id":"0_1_17_5","text":"抚顺市","value":"抚顺市","open":true},{"pId":"0_1_17","id":"0_1_17_6","text":"阜新市","value":"阜新市","open":true},{"pId":"0_1_17","id":"0_1_17_7","text":"葫芦岛市","value":"葫芦岛市","open":true},{"pId":"0_1_17","id":"0_1_17_8","text":"锦州市","value":"锦州市","open":true},{"pId":"0_1_17","id":"0_1_17_9","text":"辽阳市","value":"辽阳市","open":true},{"pId":"0_1_17","id":"0_1_17_10","text":"盘锦市","value":"盘锦市","open":true},{"pId":"0_1_17","id":"0_1_17_11","text":"沈阳市","value":"沈阳市","open":true},{"pId":"0_1_17","id":"0_1_17_12","text":"铁岭市","value":"铁岭市","open":true},{"pId":"0_1_17","id":"0_1_17_13","text":"营口市","value":"营口市","open":true},{"pId":"0_1","id":"0_1_18","text":"内蒙古( 共10个 )","value":"内蒙古","open":true},{"pId":"0_1_18","id":"0_1_18_0","text":"包头市","value":"包头市","open":true},{"pId":"0_1_18","id":"0_1_18_1","text":"赤峰市","value":"赤峰市","open":true},{"pId":"0_1_18","id":"0_1_18_2","text":"鄂尔多斯市","value":"鄂尔多斯市","open":true},{"pId":"0_1_18","id":"0_1_18_3","text":"呼和浩特市","value":"呼和浩特市","open":true},{"pId":"0_1_18","id":"0_1_18_4","text":"呼伦贝尔市","value":"呼伦贝尔市","open":true},{"pId":"0_1_18","id":"0_1_18_5","text":"通辽市","value":"通辽市","open":true},{"pId":"0_1_18","id":"0_1_18_6","text":"乌海市","value":"乌海市","open":true},{"pId":"0_1_18","id":"0_1_18_7","text":"锡林郭勒市","value":"锡林郭勒市","open":true},{"pId":"0_1_18","id":"0_1_18_8","text":"兴安市","value":"兴安市","open":true},{"pId":"0_1_18","id":"0_1_18_9","text":"运城市","value":"运城市","open":true},{"pId":"0_1","id":"0_1_19","text":"宁夏回族自治区( 共5个 )","value":"宁夏回族自治区","open":true},{"pId":"0_1_19","id":"0_1_19_0","text":"固原市","value":"固原市","open":true},{"pId":"0_1_19","id":"0_1_19_1","text":"石嘴山市","value":"石嘴山市","open":true},{"pId":"0_1_19","id":"0_1_19_2","text":"吴忠市","value":"吴忠市","open":true},{"pId":"0_1_19","id":"0_1_19_3","text":"银川市","value":"银川市","open":true},{"pId":"0_1_19","id":"0_1_19_4","text":"中卫市","value":"中卫市","open":true},{"pId":"0_1","id":"0_1_20","text":"青海省( 共4个 )","value":"青海省","open":true},{"pId":"0_1_20","id":"0_1_20_0","text":"海东地区","value":"海东地区","open":true},{"pId":"0_1_20","id":"0_1_20_1","text":"海南藏族自治州","value":"海南藏族自治州","open":true},{"pId":"0_1_20","id":"0_1_20_2","text":"海西蒙古族藏族自治州","value":"海西蒙古族藏族自治州","open":true},{"pId":"0_1_20","id":"0_1_20_3","text":"西宁市","value":"西宁市","open":true},{"pId":"0_1","id":"0_1_21","text":"山东省( 共17个 )","value":"山东省","open":true},{"pId":"0_1_21","id":"0_1_21_0","text":"滨州市","value":"滨州市","open":true},{"pId":"0_1_21","id":"0_1_21_1","text":"德州市","value":"德州市","open":true},{"pId":"0_1_21","id":"0_1_21_2","text":"东营市","value":"东营市","open":true},{"pId":"0_1_21","id":"0_1_21_3","text":"菏泽市","value":"菏泽市","open":true},{"pId":"0_1_21","id":"0_1_21_4","text":"济南市","value":"济南市","open":true},{"pId":"0_1_21","id":"0_1_21_5","text":"济宁市","value":"济宁市","open":true},{"pId":"0_1_21","id":"0_1_21_6","text":"莱芜市","value":"莱芜市","open":true},{"pId":"0_1_21","id":"0_1_21_7","text":"聊城市","value":"聊城市","open":true},{"pId":"0_1_21","id":"0_1_21_8","text":"临沂市","value":"临沂市","open":true},{"pId":"0_1_21","id":"0_1_21_9","text":"青岛市","value":"青岛市","open":true},{"pId":"0_1_21","id":"0_1_21_10","text":"日照市","value":"日照市","open":true},{"pId":"0_1_21","id":"0_1_21_11","text":"泰安市","value":"泰安市","open":true},{"pId":"0_1_21","id":"0_1_21_12","text":"威海市","value":"威海市","open":true},{"pId":"0_1_21","id":"0_1_21_13","text":"潍坊市","value":"潍坊市","open":true},{"pId":"0_1_21","id":"0_1_21_14","text":"烟台市","value":"烟台市","open":true},{"pId":"0_1_21","id":"0_1_21_15","text":"枣庄市","value":"枣庄市","open":true},{"pId":"0_1_21","id":"0_1_21_16","text":"淄博市","value":"淄博市","open":true},{"pId":"0_1","id":"0_1_22","text":"山西省( 共12个 )","value":"山西省","open":true},{"pId":"0_1_22","id":"0_1_22_0","text":"长治市","value":"长治市","open":true},{"pId":"0_1_22","id":"0_1_22_1","text":"大同市","value":"大同市","open":true},{"pId":"0_1_22","id":"0_1_22_2","text":"晋城市","value":"晋城市","open":true},{"pId":"0_1_22","id":"0_1_22_3","text":"晋中市","value":"晋中市","open":true},{"pId":"0_1_22","id":"0_1_22_4","text":"临汾市","value":"临汾市","open":true},{"pId":"0_1_22","id":"0_1_22_5","text":"吕梁市","value":"吕梁市","open":true},{"pId":"0_1_22","id":"0_1_22_6","text":"青岛市","value":"青岛市","open":true},{"pId":"0_1_22","id":"0_1_22_7","text":"朔州市","value":"朔州市","open":true},{"pId":"0_1_22","id":"0_1_22_8","text":"太原市","value":"太原市","open":true},{"pId":"0_1_22","id":"0_1_22_9","text":"忻州市","value":"忻州市","open":true},{"pId":"0_1_22","id":"0_1_22_10","text":"阳泉市","value":"阳泉市","open":true},{"pId":"0_1_22","id":"0_1_22_11","text":"运城市","value":"运城市","open":true},{"pId":"0_1","id":"0_1_23","text":"陕西省( 共9个 )","value":"陕西省","open":true},{"pId":"0_1_23","id":"0_1_23_0","text":"安康市","value":"安康市","open":true},{"pId":"0_1_23","id":"0_1_23_1","text":"宝鸡市","value":"宝鸡市","open":true},{"pId":"0_1_23","id":"0_1_23_2","text":"汉中市","value":"汉中市","open":true},{"pId":"0_1_23","id":"0_1_23_3","text":"商洛市","value":"商洛市","open":true},{"pId":"0_1_23","id":"0_1_23_4","text":"渭南市","value":"渭南市","open":true},{"pId":"0_1_23","id":"0_1_23_5","text":"西安市","value":"西安市","open":true},{"pId":"0_1_23","id":"0_1_23_6","text":"咸阳市","value":"咸阳市","open":true},{"pId":"0_1_23","id":"0_1_23_7","text":"延安市","value":"延安市","open":true},{"pId":"0_1_23","id":"0_1_23_8","text":"榆林市","value":"榆林市","open":true},{"pId":"0_1","id":"0_1_24","text":"上海市( 共19个 )","value":"上海市","open":true},{"pId":"0_1_24","id":"0_1_24_0","text":"宝山区","value":"宝山区","open":true},{"pId":"0_1_24","id":"0_1_24_1","text":"长宁区","value":"长宁区","open":true},{"pId":"0_1_24","id":"0_1_24_2","text":"崇明县","value":"崇明县","open":true},{"pId":"0_1_24","id":"0_1_24_3","text":"奉贤区","value":"奉贤区","open":true},{"pId":"0_1_24","id":"0_1_24_4","text":"虹口区","value":"虹口区","open":true},{"pId":"0_1_24","id":"0_1_24_5","text":"黄浦区","value":"黄浦区","open":true},{"pId":"0_1_24","id":"0_1_24_6","text":"嘉定区","value":"嘉定区","open":true},{"pId":"0_1_24","id":"0_1_24_7","text":"金山区","value":"金山区","open":true},{"pId":"0_1_24","id":"0_1_24_8","text":"静安区","value":"静安区","open":true},{"pId":"0_1_24","id":"0_1_24_9","text":"昆明市","value":"昆明市","open":true},{"pId":"0_1_24","id":"0_1_24_10","text":"闵行区","value":"闵行区","open":true},{"pId":"0_1_24","id":"0_1_24_11","text":"普陀区","value":"普陀区","open":true},{"pId":"0_1_24","id":"0_1_24_12","text":"浦东新区","value":"浦东新区","open":true},{"pId":"0_1_24","id":"0_1_24_13","text":"青浦区","value":"青浦区","open":true},{"pId":"0_1_24","id":"0_1_24_14","text":"上海市区","value":"上海市区","open":true},{"pId":"0_1_24","id":"0_1_24_15","text":"松江区","value":"松江区","open":true},{"pId":"0_1_24","id":"0_1_24_16","text":"徐汇区","value":"徐汇区","open":true},{"pId":"0_1_24","id":"0_1_24_17","text":"杨浦区","value":"杨浦区","open":true},{"pId":"0_1_24","id":"0_1_24_18","text":"闸北区","value":"闸北区","open":true},{"pId":"0_1","id":"0_1_25","text":"四川省( 共21个 )","value":"四川省","open":true},{"pId":"0_1_25","id":"0_1_25_0","text":"阿坝藏族羌族自治州","value":"阿坝藏族羌族自治州","open":true},{"pId":"0_1_25","id":"0_1_25_1","text":"巴中市","value":"巴中市","open":true},{"pId":"0_1_25","id":"0_1_25_2","text":"成都市","value":"成都市","open":true},{"pId":"0_1_25","id":"0_1_25_3","text":"达州市","value":"达州市","open":true},{"pId":"0_1_25","id":"0_1_25_4","text":"德阳市","value":"德阳市","open":true},{"pId":"0_1_25","id":"0_1_25_5","text":"甘孜市","value":"甘孜市","open":true},{"pId":"0_1_25","id":"0_1_25_6","text":"广安市","value":"广安市","open":true},{"pId":"0_1_25","id":"0_1_25_7","text":"广元市","value":"广元市","open":true},{"pId":"0_1_25","id":"0_1_25_8","text":"乐山市","value":"乐山市","open":true},{"pId":"0_1_25","id":"0_1_25_9","text":"凉山市","value":"凉山市","open":true},{"pId":"0_1_25","id":"0_1_25_10","text":"泸州市","value":"泸州市","open":true},{"pId":"0_1_25","id":"0_1_25_11","text":"眉山市","value":"眉山市","open":true},{"pId":"0_1_25","id":"0_1_25_12","text":"绵阳市","value":"绵阳市","open":true},{"pId":"0_1_25","id":"0_1_25_13","text":"南充市","value":"南充市","open":true},{"pId":"0_1_25","id":"0_1_25_14","text":"内江市","value":"内江市","open":true},{"pId":"0_1_25","id":"0_1_25_15","text":"攀枝花市","value":"攀枝花市","open":true},{"pId":"0_1_25","id":"0_1_25_16","text":"遂宁市","value":"遂宁市","open":true},{"pId":"0_1_25","id":"0_1_25_17","text":"雅安市","value":"雅安市","open":true},{"pId":"0_1_25","id":"0_1_25_18","text":"宜宾市","value":"宜宾市","open":true},{"pId":"0_1_25","id":"0_1_25_19","text":"资阳市","value":"资阳市","open":true},{"pId":"0_1_25","id":"0_1_25_20","text":"自贡市","value":"自贡市","open":true},{"pId":"0_1","id":"0_1_26","text":"台湾( 共1个 )","value":"台湾","open":true},{"pId":"0_1_26","id":"0_1_26_0","text":"台北市","value":"台北市","open":true},{"pId":"0_1","id":"0_1_27","text":"天津市( 共1个 )","value":"天津市","open":true},{"pId":"0_1_27","id":"0_1_27_0","text":"天津市区","value":"天津市区","open":true},{"pId":"0_1","id":"0_1_28","text":"西藏自治区( 共2个 )","value":"西藏自治区","open":true},{"pId":"0_1_28","id":"0_1_28_0","text":"阿里市","value":"阿里市","open":true},{"pId":"0_1_28","id":"0_1_28_1","text":"日喀则市","value":"日喀则市","open":true},{"pId":"0_1","id":"0_1_29","text":"香港特别行政区( 共1个 )","value":"香港特别行政区","open":true},{"pId":"0_1_29","id":"0_1_29_0","text":"香港","value":"香港","open":true},{"pId":"0_1","id":"0_1_30","text":"新疆维吾尔族自治区( 共11个 )","value":"新疆维吾尔族自治区","open":true},{"pId":"0_1_30","id":"0_1_30_0","text":"巴音郭楞市","value":"巴音郭楞市","open":true},{"pId":"0_1_30","id":"0_1_30_1","text":"哈密市","value":"哈密市","open":true},{"pId":"0_1_30","id":"0_1_30_2","text":"和田市","value":"和田市","open":true},{"pId":"0_1_30","id":"0_1_30_3","text":"喀什地区","value":"喀什地区","open":true},{"pId":"0_1_30","id":"0_1_30_4","text":"克拉玛依市","value":"克拉玛依市","open":true},{"pId":"0_1_30","id":"0_1_30_5","text":"克孜勒苏柯州","value":"克孜勒苏柯州","open":true},{"pId":"0_1_30","id":"0_1_30_6","text":"石河子市","value":"石河子市","open":true},{"pId":"0_1_30","id":"0_1_30_7","text":"塔城市","value":"塔城市","open":true},{"pId":"0_1_30","id":"0_1_30_8","text":"吐鲁番地区","value":"吐鲁番地区","open":true},{"pId":"0_1_30","id":"0_1_30_9","text":"乌鲁木齐","value":"乌鲁木齐","open":true},{"pId":"0_1_30","id":"0_1_30_10","text":"伊犁市","value":"伊犁市","open":true},{"pId":"0_1","id":"0_1_31","text":"云南省( 共12个 )","value":"云南省","open":true},{"pId":"0_1_31","id":"0_1_31_0","text":"保山市","value":"保山市","open":true},{"pId":"0_1_31","id":"0_1_31_1","text":"楚雄彝族自治州","value":"楚雄彝族自治州","open":true},{"pId":"0_1_31","id":"0_1_31_2","text":"大理白族自治州","value":"大理白族自治州","open":true},{"pId":"0_1_31","id":"0_1_31_3","text":"红河哈尼族彝族自治州","value":"红河哈尼族彝族自治州","open":true},{"pId":"0_1_31","id":"0_1_31_4","text":"昆明市","value":"昆明市","open":true},{"pId":"0_1_31","id":"0_1_31_5","text":"丽江市","value":"丽江市","open":true},{"pId":"0_1_31","id":"0_1_31_6","text":"临沧市","value":"临沧市","open":true},{"pId":"0_1_31","id":"0_1_31_7","text":"曲靖市","value":"曲靖市","open":true},{"pId":"0_1_31","id":"0_1_31_8","text":"思茅市","value":"思茅市","open":true},{"pId":"0_1_31","id":"0_1_31_9","text":"文山市","value":"文山市","open":true},{"pId":"0_1_31","id":"0_1_31_10","text":"玉溪市","value":"玉溪市","open":true},{"pId":"0_1_31","id":"0_1_31_11","text":"昭通市","value":"昭通市","open":true},{"pId":"0_1","id":"0_1_32","text":"浙江省( 共12个 )","value":"浙江省","open":true},{"pId":"0_1_32","id":"0_1_32_0","text":"杭州市","value":"杭州市","open":true},{"pId":"0_1_32","id":"0_1_32_1","text":"湖州市","value":"湖州市","open":true},{"pId":"0_1_32","id":"0_1_32_2","text":"嘉兴市","value":"嘉兴市","open":true},{"pId":"0_1_32","id":"0_1_32_3","text":"金华市","value":"金华市","open":true},{"pId":"0_1_32","id":"0_1_32_4","text":"丽水市","value":"丽水市","open":true},{"pId":"0_1_32","id":"0_1_32_5","text":"宁波市","value":"宁波市","open":true},{"pId":"0_1_32","id":"0_1_32_6","text":"衢州市","value":"衢州市","open":true},{"pId":"0_1_32","id":"0_1_32_7","text":"绍兴市","value":"绍兴市","open":true},{"pId":"0_1_32","id":"0_1_32_8","text":"台州市","value":"台州市","open":true},{"pId":"0_1_32","id":"0_1_32_9","text":"温州市","value":"温州市","open":true},{"pId":"0_1_32","id":"0_1_32_10","text":"浙江省","value":"浙江省","open":true},{"pId":"0_1_32","id":"0_1_32_11","text":"舟山市","value":"舟山市","open":true},{"pId":"0_1","id":"0_1_33","text":"重庆市( 共1个 )","value":"重庆市","open":true},{"pId":"0_1_33","id":"0_1_33_0","text":"重庆市区","value":"重庆市区","open":true}], + TREEITEMS: [{"pId": "0", "id": "0_0", "text": "( 共25个 )", "value": "", "open": true}, { + "pId": "0_0", + "id": "0_0_0", + "text": "安徽省( 共1个 )", + "value": "安徽省", + "open": true + }, {"pId": "0_0_0", "id": "0_0_0_0", "text": "芜湖市", "value": "芜湖市", "open": true}, { + "pId": "0_0", + "id": "0_0_1", + "text": "北京市( 共6个 )", + "value": "北京市", + "open": true + }, {"pId": "0_0_1", "id": "0_0_1_0", "text": "北京市区", "value": "北京市区", "open": true}, { + "pId": "0_0_1", + "id": "0_0_1_1", + "text": "朝阳区", + "value": "朝阳区", + "open": true + }, {"pId": "0_0_1", "id": "0_0_1_2", "text": "东城区", "value": "东城区", "open": true}, { + "pId": "0_0_1", + "id": "0_0_1_3", + "text": "海淀区4内", + "value": "海淀区4内", + "open": true + }, {"pId": "0_0_1", "id": "0_0_1_4", "text": "海淀区4外", "value": "海淀区4外", "open": true}, { + "pId": "0_0_1", + "id": "0_0_1_5", + "text": "石景山区", + "value": "石景山区", + "open": true + }, {"pId": "0_0", "id": "0_0_2", "text": "福建省( 共2个 )", "value": "福建省", "open": true}, { + "pId": "0_0_2", + "id": "0_0_2_0", + "text": "莆田市", + "value": "莆田市", + "open": true + }, {"pId": "0_0_2", "id": "0_0_2_1", "text": "泉州市", "value": "泉州市", "open": true}, { + "pId": "0_0", + "id": "0_0_3", + "text": "甘肃省( 共1个 )", + "value": "甘肃省", + "open": true + }, {"pId": "0_0_3", "id": "0_0_3_0", "text": "兰州市", "value": "兰州市", "open": true}, { + "pId": "0_0", + "id": "0_0_4", + "text": "广东省( 共5个 )", + "value": "广东省", + "open": true + }, {"pId": "0_0_4", "id": "0_0_4_0", "text": "东莞市", "value": "东莞市", "open": true}, { + "pId": "0_0_4", + "id": "0_0_4_1", + "text": "广州市", + "value": "广州市", + "open": true + }, {"pId": "0_0_4", "id": "0_0_4_2", "text": "惠州市", "value": "惠州市", "open": true}, { + "pId": "0_0_4", + "id": "0_0_4_3", + "text": "深圳市", + "value": "深圳市", + "open": true + }, {"pId": "0_0_4", "id": "0_0_4_4", "text": "珠海市", "value": "珠海市", "open": true}, { + "pId": "0_0", + "id": "0_0_5", + "text": "广西壮族自治区( 共1个 )", + "value": "广西壮族自治区", + "open": true + }, {"pId": "0_0_5", "id": "0_0_5_0", "text": "南宁市", "value": "南宁市", "open": true}, { + "pId": "0_0", + "id": "0_0_6", + "text": "河北省( 共2个 )", + "value": "河北省", + "open": true + }, {"pId": "0_0_6", "id": "0_0_6_0", "text": "保定市", "value": "保定市", "open": true}, { + "pId": "0_0_6", + "id": "0_0_6_1", + "text": "邢台市", + "value": "邢台市", + "open": true + }, {"pId": "0_0", "id": "0_0_7", "text": "河南省( 共1个 )", "value": "河南省", "open": true}, { + "pId": "0_0_7", + "id": "0_0_7_0", + "text": "郑州市", + "value": "郑州市", + "open": true + }, {"pId": "0_0", "id": "0_0_8", "text": "黑龙江省( 共7个 )", "value": "黑龙江省", "open": true}, { + "pId": "0_0_8", + "id": "0_0_8_0", + "text": "大庆市", + "value": "大庆市", + "open": true + }, {"pId": "0_0_8", "id": "0_0_8_1", "text": "哈尔滨市", "value": "哈尔滨市", "open": true}, { + "pId": "0_0_8", + "id": "0_0_8_2", + "text": "鸡西市", + "value": "鸡西市", + "open": true + }, {"pId": "0_0_8", "id": "0_0_8_3", "text": "佳木斯市", "value": "佳木斯市", "open": true}, { + "pId": "0_0_8", + "id": "0_0_8_4", + "text": "牡丹江市", + "value": "牡丹江市", + "open": true + }, {"pId": "0_0_8", "id": "0_0_8_5", "text": "齐齐哈尔市", "value": "齐齐哈尔市", "open": true}, { + "pId": "0_0_8", + "id": "0_0_8_6", + "text": "双鸭山市", + "value": "双鸭山市", + "open": true + }, {"pId": "0_0", "id": "0_0_9", "text": "湖北省( 共1个 )", "value": "湖北省", "open": true}, { + "pId": "0_0_9", + "id": "0_0_9_0", + "text": "武汉市", + "value": "武汉市", + "open": true + }, {"pId": "0_0", "id": "0_0_10", "text": "湖南省( 共3个 )", "value": "湖南省", "open": true}, { + "pId": "0_0_10", + "id": "0_0_10_0", + "text": "常德市", + "value": "常德市", + "open": true + }, {"pId": "0_0_10", "id": "0_0_10_1", "text": "长沙市", "value": "长沙市", "open": true}, { + "pId": "0_0_10", + "id": "0_0_10_2", + "text": "邵阳市", + "value": "邵阳市", + "open": true + }, {"pId": "0_0", "id": "0_0_11", "text": "吉林省( 共4个 )", "value": "吉林省", "open": true}, { + "pId": "0_0_11", + "id": "0_0_11_0", + "text": "白山市", + "value": "白山市", + "open": true + }, {"pId": "0_0_11", "id": "0_0_11_1", "text": "长春市", "value": "长春市", "open": true}, { + "pId": "0_0_11", + "id": "0_0_11_2", + "text": "松原市", + "value": "松原市", + "open": true + }, {"pId": "0_0_11", "id": "0_0_11_3", "text": "通化市", "value": "通化市", "open": true}, { + "pId": "0_0", + "id": "0_0_12", + "text": "江苏省( 共8个 )", + "value": "江苏省", + "open": true + }, {"pId": "0_0_12", "id": "0_0_12_0", "text": "常州市", "value": "常州市", "open": true}, { + "pId": "0_0_12", + "id": "0_0_12_1", + "text": "南京市", + "value": "南京市", + "open": true + }, {"pId": "0_0_12", "id": "0_0_12_2", "text": "南通市", "value": "南通市", "open": true}, { + "pId": "0_0_12", + "id": "0_0_12_3", + "text": "苏州市", + "value": "苏州市", + "open": true + }, {"pId": "0_0_12", "id": "0_0_12_4", "text": "宿迁市", "value": "宿迁市", "open": true}, { + "pId": "0_0_12", + "id": "0_0_12_5", + "text": "泰州市", + "value": "泰州市", + "open": true + }, {"pId": "0_0_12", "id": "0_0_12_6", "text": "无锡市", "value": "无锡市", "open": true}, { + "pId": "0_0_12", + "id": "0_0_12_7", + "text": "盐城市", + "value": "盐城市", + "open": true + }, {"pId": "0_0", "id": "0_0_13", "text": "辽宁省( 共11个 )", "value": "辽宁省", "open": true}, { + "pId": "0_0_13", + "id": "0_0_13_0", + "text": "鞍山市", + "value": "鞍山市", + "open": true + }, {"pId": "0_0_13", "id": "0_0_13_1", "text": "本溪市", "value": "本溪市", "open": true}, { + "pId": "0_0_13", + "id": "0_0_13_2", + "text": "朝阳市", + "value": "朝阳市", + "open": true + }, {"pId": "0_0_13", "id": "0_0_13_3", "text": "大连市", "value": "大连市", "open": true}, { + "pId": "0_0_13", + "id": "0_0_13_4", + "text": "抚顺市", + "value": "抚顺市", + "open": true + }, {"pId": "0_0_13", "id": "0_0_13_5", "text": "葫芦岛市", "value": "葫芦岛市", "open": true}, { + "pId": "0_0_13", + "id": "0_0_13_6", + "text": "锦州市", + "value": "锦州市", + "open": true + }, {"pId": "0_0_13", "id": "0_0_13_7", "text": "辽阳市", "value": "辽阳市", "open": true}, { + "pId": "0_0_13", + "id": "0_0_13_8", + "text": "盘锦市", + "value": "盘锦市", + "open": true + }, {"pId": "0_0_13", "id": "0_0_13_9", "text": "沈阳市", "value": "沈阳市", "open": true}, { + "pId": "0_0_13", + "id": "0_0_13_10", + "text": "营口市", + "value": "营口市", + "open": true + }, {"pId": "0_0", "id": "0_0_14", "text": "内蒙古( 共1个 )", "value": "内蒙古", "open": true}, { + "pId": "0_0_14", + "id": "0_0_14_0", + "text": "鄂尔多斯市", + "value": "鄂尔多斯市", + "open": true + }, {"pId": "0_0", "id": "0_0_15", "text": "宁夏回族自治区( 共1个 )", "value": "宁夏回族自治区", "open": true}, { + "pId": "0_0_15", + "id": "0_0_15_0", + "text": "银川市", + "value": "银川市", + "open": true + }, {"pId": "0_0", "id": "0_0_16", "text": "山东省( 共7个 )", "value": "山东省", "open": true}, { + "pId": "0_0_16", + "id": "0_0_16_0", + "text": "济南市", + "value": "济南市", + "open": true + }, {"pId": "0_0_16", "id": "0_0_16_1", "text": "济宁市", "value": "济宁市", "open": true}, { + "pId": "0_0_16", + "id": "0_0_16_2", + "text": "聊城市", + "value": "聊城市", + "open": true + }, {"pId": "0_0_16", "id": "0_0_16_3", "text": "临沂市", "value": "临沂市", "open": true}, { + "pId": "0_0_16", + "id": "0_0_16_4", + "text": "青岛市", + "value": "青岛市", + "open": true + }, {"pId": "0_0_16", "id": "0_0_16_5", "text": "烟台市", "value": "烟台市", "open": true}, { + "pId": "0_0_16", + "id": "0_0_16_6", + "text": "枣庄市", + "value": "枣庄市", + "open": true + }, {"pId": "0_0", "id": "0_0_17", "text": "山西省( 共1个 )", "value": "山西省", "open": true}, { + "pId": "0_0_17", + "id": "0_0_17_0", + "text": "太原市", + "value": "太原市", + "open": true + }, {"pId": "0_0", "id": "0_0_18", "text": "陕西省( 共1个 )", "value": "陕西省", "open": true}, { + "pId": "0_0_18", + "id": "0_0_18_0", + "text": "西安市", + "value": "西安市", + "open": true + }, {"pId": "0_0", "id": "0_0_19", "text": "上海市( 共1个 )", "value": "上海市", "open": true}, { + "pId": "0_0_19", + "id": "0_0_19_0", + "text": "上海市区", + "value": "上海市区", + "open": true + }, {"pId": "0_0", "id": "0_0_20", "text": "四川省( 共1个 )", "value": "四川省", "open": true}, { + "pId": "0_0_20", + "id": "0_0_20_0", + "text": "成都市", + "value": "成都市", + "open": true + }, {"pId": "0_0", "id": "0_0_21", "text": "新疆维吾尔族自治区( 共2个 )", "value": "新疆维吾尔族自治区", "open": true}, { + "pId": "0_0_21", + "id": "0_0_21_0", + "text": "吐鲁番地区", + "value": "吐鲁番地区", + "open": true + }, {"pId": "0_0_21", "id": "0_0_21_1", "text": "乌鲁木齐", "value": "乌鲁木齐", "open": true}, { + "pId": "0_0", + "id": "0_0_22", + "text": "云南省( 共1个 )", + "value": "云南省", + "open": true + }, {"pId": "0_0_22", "id": "0_0_22_0", "text": "昆明市", "value": "昆明市", "open": true}, { + "pId": "0_0", + "id": "0_0_23", + "text": "浙江省( 共5个 )", + "value": "浙江省", + "open": true + }, {"pId": "0_0_23", "id": "0_0_23_0", "text": "杭州市", "value": "杭州市", "open": true}, { + "pId": "0_0_23", + "id": "0_0_23_1", + "text": "湖州市", + "value": "湖州市", + "open": true + }, {"pId": "0_0_23", "id": "0_0_23_2", "text": "嘉兴市", "value": "嘉兴市", "open": true}, { + "pId": "0_0_23", + "id": "0_0_23_3", + "text": "宁波市", + "value": "宁波市", + "open": true + }, {"pId": "0_0_23", "id": "0_0_23_4", "text": "绍兴市", "value": "绍兴市", "open": true}, { + "pId": "0_0", + "id": "0_0_24", + "text": "重庆市( 共1个 )", + "value": "重庆市", + "open": true + }, {"pId": "0_0_24", "id": "0_0_24_0", "text": "重庆市区", "value": "重庆市区", "open": true}, { + "pId": "0", + "id": "0_1", + "text": "中国( 共34个 )", + "value": "中国", + "open": true + }, {"pId": "0_1", "id": "0_1_0", "text": "安徽省( 共19个 )", "value": "安徽省", "open": true}, { + "pId": "0_1_0", + "id": "0_1_0_0", + "text": "安庆市", + "value": "安庆市", + "open": true + }, {"pId": "0_1_0", "id": "0_1_0_1", "text": "蚌埠市", "value": "蚌埠市", "open": true}, { + "pId": "0_1_0", + "id": "0_1_0_2", + "text": "亳州市", + "value": "亳州市", + "open": true + }, {"pId": "0_1_0", "id": "0_1_0_3", "text": "巢湖市", "value": "巢湖市", "open": true}, { + "pId": "0_1_0", + "id": "0_1_0_4", + "text": "池州市", + "value": "池州市", + "open": true + }, {"pId": "0_1_0", "id": "0_1_0_5", "text": "滁州市", "value": "滁州市", "open": true}, { + "pId": "0_1_0", + "id": "0_1_0_6", + "text": "阜阳市", + "value": "阜阳市", + "open": true + }, {"pId": "0_1_0", "id": "0_1_0_7", "text": "毫州市", "value": "毫州市", "open": true}, { + "pId": "0_1_0", + "id": "0_1_0_8", + "text": "合肥市", + "value": "合肥市", + "open": true + }, {"pId": "0_1_0", "id": "0_1_0_9", "text": "淮北市", "value": "淮北市", "open": true}, { + "pId": "0_1_0", + "id": "0_1_0_10", + "text": "淮南市", + "value": "淮南市", + "open": true + }, {"pId": "0_1_0", "id": "0_1_0_11", "text": "黄山市", "value": "黄山市", "open": true}, { + "pId": "0_1_0", + "id": "0_1_0_12", + "text": "六安市", + "value": "六安市", + "open": true + }, {"pId": "0_1_0", "id": "0_1_0_13", "text": "马鞍山市", "value": "马鞍山市", "open": true}, { + "pId": "0_1_0", + "id": "0_1_0_14", + "text": "濮阳市", + "value": "濮阳市", + "open": true + }, {"pId": "0_1_0", "id": "0_1_0_15", "text": "宿州市", "value": "宿州市", "open": true}, { + "pId": "0_1_0", + "id": "0_1_0_16", + "text": "铜陵市", + "value": "铜陵市", + "open": true + }, {"pId": "0_1_0", "id": "0_1_0_17", "text": "芜湖市", "value": "芜湖市", "open": true}, { + "pId": "0_1_0", + "id": "0_1_0_18", + "text": "宣城市", + "value": "宣城市", + "open": true + }, {"pId": "0_1", "id": "0_1_1", "text": "澳门特别行政区( 共1个 )", "value": "澳门特别行政区", "open": true}, { + "pId": "0_1_1", + "id": "0_1_1_0", + "text": "澳门", + "value": "澳门", + "open": true + }, {"pId": "0_1", "id": "0_1_2", "text": "北京市( 共17个 )", "value": "北京市", "open": true}, { + "pId": "0_1_2", + "id": "0_1_2_0", + "text": "北京市区", + "value": "北京市区", + "open": true + }, {"pId": "0_1_2", "id": "0_1_2_1", "text": "昌平区", "value": "昌平区", "open": true}, { + "pId": "0_1_2", + "id": "0_1_2_2", + "text": "朝阳区", + "value": "朝阳区", + "open": true + }, {"pId": "0_1_2", "id": "0_1_2_3", "text": "大兴区", "value": "大兴区", "open": true}, { + "pId": "0_1_2", + "id": "0_1_2_4", + "text": "东城区", + "value": "东城区", + "open": true + }, {"pId": "0_1_2", "id": "0_1_2_5", "text": "房山区", "value": "房山区", "open": true}, { + "pId": "0_1_2", + "id": "0_1_2_6", + "text": "丰台区", + "value": "丰台区", + "open": true + }, {"pId": "0_1_2", "id": "0_1_2_7", "text": "海淀区", "value": "海淀区", "open": true}, { + "pId": "0_1_2", + "id": "0_1_2_8", + "text": "海淀区4内", + "value": "海淀区4内", + "open": true + }, {"pId": "0_1_2", "id": "0_1_2_9", "text": "海淀区4外", "value": "海淀区4外", "open": true}, { + "pId": "0_1_2", + "id": "0_1_2_10", + "text": "门头沟区", + "value": "门头沟区", + "open": true + }, {"pId": "0_1_2", "id": "0_1_2_11", "text": "平谷区", "value": "平谷区", "open": true}, { + "pId": "0_1_2", + "id": "0_1_2_12", + "text": "石景山区", + "value": "石景山区", + "open": true + }, {"pId": "0_1_2", "id": "0_1_2_13", "text": "顺义区", "value": "顺义区", "open": true}, { + "pId": "0_1_2", + "id": "0_1_2_14", + "text": "通州区", + "value": "通州区", + "open": true + }, {"pId": "0_1_2", "id": "0_1_2_15", "text": "西城区", "value": "西城区", "open": true}, { + "pId": "0_1_2", + "id": "0_1_2_16", + "text": "西城区 ", + "value": "西城区 ", + "open": true + }, {"pId": "0_1", "id": "0_1_3", "text": "福建省( 共9个 )", "value": "福建省", "open": true}, { + "pId": "0_1_3", + "id": "0_1_3_0", + "text": "福州市", + "value": "福州市", + "open": true + }, {"pId": "0_1_3", "id": "0_1_3_1", "text": "龙岩市", "value": "龙岩市", "open": true}, { + "pId": "0_1_3", + "id": "0_1_3_2", + "text": "南平市", + "value": "南平市", + "open": true + }, {"pId": "0_1_3", "id": "0_1_3_3", "text": "宁德市", "value": "宁德市", "open": true}, { + "pId": "0_1_3", + "id": "0_1_3_4", + "text": "莆田市", + "value": "莆田市", + "open": true + }, {"pId": "0_1_3", "id": "0_1_3_5", "text": "泉州市", "value": "泉州市", "open": true}, { + "pId": "0_1_3", + "id": "0_1_3_6", + "text": "三明市", + "value": "三明市", + "open": true + }, {"pId": "0_1_3", "id": "0_1_3_7", "text": "厦门市", "value": "厦门市", "open": true}, { + "pId": "0_1_3", + "id": "0_1_3_8", + "text": "漳州市", + "value": "漳州市", + "open": true + }, {"pId": "0_1", "id": "0_1_4", "text": "甘肃省( 共12个 )", "value": "甘肃省", "open": true}, { + "pId": "0_1_4", + "id": "0_1_4_0", + "text": "白银市", + "value": "白银市", + "open": true + }, {"pId": "0_1_4", "id": "0_1_4_1", "text": "嘉峪关市", "value": "嘉峪关市", "open": true}, { + "pId": "0_1_4", + "id": "0_1_4_2", + "text": "金昌市", + "value": "金昌市", + "open": true + }, {"pId": "0_1_4", "id": "0_1_4_3", "text": "酒泉市", "value": "酒泉市", "open": true}, { + "pId": "0_1_4", + "id": "0_1_4_4", + "text": "兰州市", + "value": "兰州市", + "open": true + }, {"pId": "0_1_4", "id": "0_1_4_5", "text": "陇南市", "value": "陇南市", "open": true}, { + "pId": "0_1_4", + "id": "0_1_4_6", + "text": "平凉市", + "value": "平凉市", + "open": true + }, {"pId": "0_1_4", "id": "0_1_4_7", "text": "庆阳市", "value": "庆阳市", "open": true}, { + "pId": "0_1_4", + "id": "0_1_4_8", + "text": "天津市区", + "value": "天津市区", + "open": true + }, {"pId": "0_1_4", "id": "0_1_4_9", "text": "天水市", "value": "天水市", "open": true}, { + "pId": "0_1_4", + "id": "0_1_4_10", + "text": "武威市", + "value": "武威市", + "open": true + }, {"pId": "0_1_4", "id": "0_1_4_11", "text": "张掖市", "value": "张掖市", "open": true}, { + "pId": "0_1", + "id": "0_1_5", + "text": "广东省( 共21个 )", + "value": "广东省", + "open": true + }, {"pId": "0_1_5", "id": "0_1_5_0", "text": "潮州市", "value": "潮州市", "open": true}, { + "pId": "0_1_5", + "id": "0_1_5_1", + "text": "东莞市", + "value": "东莞市", + "open": true + }, {"pId": "0_1_5", "id": "0_1_5_2", "text": "佛山市", "value": "佛山市", "open": true}, { + "pId": "0_1_5", + "id": "0_1_5_3", + "text": "广州市", + "value": "广州市", + "open": true + }, {"pId": "0_1_5", "id": "0_1_5_4", "text": "河源市", "value": "河源市", "open": true}, { + "pId": "0_1_5", + "id": "0_1_5_5", + "text": "惠州市", + "value": "惠州市", + "open": true + }, {"pId": "0_1_5", "id": "0_1_5_6", "text": "江门市", "value": "江门市", "open": true}, { + "pId": "0_1_5", + "id": "0_1_5_7", + "text": "揭阳市", + "value": "揭阳市", + "open": true + }, {"pId": "0_1_5", "id": "0_1_5_8", "text": "茂名市", "value": "茂名市", "open": true}, { + "pId": "0_1_5", + "id": "0_1_5_9", + "text": "梅州市", + "value": "梅州市", + "open": true + }, {"pId": "0_1_5", "id": "0_1_5_10", "text": "清远市", "value": "清远市", "open": true}, { + "pId": "0_1_5", + "id": "0_1_5_11", + "text": "汕头市", + "value": "汕头市", + "open": true + }, {"pId": "0_1_5", "id": "0_1_5_12", "text": "汕尾市", "value": "汕尾市", "open": true}, { + "pId": "0_1_5", + "id": "0_1_5_13", + "text": "韶关市", + "value": "韶关市", + "open": true + }, {"pId": "0_1_5", "id": "0_1_5_14", "text": "深圳市", "value": "深圳市", "open": true}, { + "pId": "0_1_5", + "id": "0_1_5_15", + "text": "阳江市", + "value": "阳江市", + "open": true + }, {"pId": "0_1_5", "id": "0_1_5_16", "text": "云浮市", "value": "云浮市", "open": true}, { + "pId": "0_1_5", + "id": "0_1_5_17", + "text": "湛江市", + "value": "湛江市", + "open": true + }, {"pId": "0_1_5", "id": "0_1_5_18", "text": "肇庆市", "value": "肇庆市", "open": true}, { + "pId": "0_1_5", + "id": "0_1_5_19", + "text": "中山市", + "value": "中山市", + "open": true + }, {"pId": "0_1_5", "id": "0_1_5_20", "text": "珠海市", "value": "珠海市", "open": true}, { + "pId": "0_1", + "id": "0_1_6", + "text": "广西壮族自治区( 共14个 )", + "value": "广西壮族自治区", + "open": true + }, {"pId": "0_1_6", "id": "0_1_6_0", "text": "百色市", "value": "百色市", "open": true}, { + "pId": "0_1_6", + "id": "0_1_6_1", + "text": "北海市", + "value": "北海市", + "open": true + }, {"pId": "0_1_6", "id": "0_1_6_2", "text": "崇左市", "value": "崇左市", "open": true}, { + "pId": "0_1_6", + "id": "0_1_6_3", + "text": "防城港市", + "value": "防城港市", + "open": true + }, {"pId": "0_1_6", "id": "0_1_6_4", "text": "桂林市", "value": "桂林市", "open": true}, { + "pId": "0_1_6", + "id": "0_1_6_5", + "text": "贵港市", + "value": "贵港市", + "open": true + }, {"pId": "0_1_6", "id": "0_1_6_6", "text": "河池市", "value": "河池市", "open": true}, { + "pId": "0_1_6", + "id": "0_1_6_7", + "text": "贺州市", + "value": "贺州市", + "open": true + }, {"pId": "0_1_6", "id": "0_1_6_8", "text": "来宾市", "value": "来宾市", "open": true}, { + "pId": "0_1_6", + "id": "0_1_6_9", + "text": "柳州市", + "value": "柳州市", + "open": true + }, {"pId": "0_1_6", "id": "0_1_6_10", "text": "南宁市", "value": "南宁市", "open": true}, { + "pId": "0_1_6", + "id": "0_1_6_11", + "text": "钦州市", + "value": "钦州市", + "open": true + }, {"pId": "0_1_6", "id": "0_1_6_12", "text": "梧州市", "value": "梧州市", "open": true}, { + "pId": "0_1_6", + "id": "0_1_6_13", + "text": "玉林市", + "value": "玉林市", + "open": true + }, {"pId": "0_1", "id": "0_1_7", "text": "贵州省( 共9个 )", "value": "贵州省", "open": true}, { + "pId": "0_1_7", + "id": "0_1_7_0", + "text": "安顺市", + "value": "安顺市", + "open": true + }, {"pId": "0_1_7", "id": "0_1_7_1", "text": "毕节地区", "value": "毕节地区", "open": true}, { + "pId": "0_1_7", + "id": "0_1_7_2", + "text": "贵阳市", + "value": "贵阳市", + "open": true + }, {"pId": "0_1_7", "id": "0_1_7_3", "text": "六盘水市", "value": "六盘水市", "open": true}, { + "pId": "0_1_7", + "id": "0_1_7_4", + "text": "黔东南州", + "value": "黔东南州", + "open": true + }, {"pId": "0_1_7", "id": "0_1_7_5", "text": "黔南州", "value": "黔南州", "open": true}, { + "pId": "0_1_7", + "id": "0_1_7_6", + "text": "黔西南市", + "value": "黔西南市", + "open": true + }, {"pId": "0_1_7", "id": "0_1_7_7", "text": "铜仁地区", "value": "铜仁地区", "open": true}, { + "pId": "0_1_7", + "id": "0_1_7_8", + "text": "遵义市", + "value": "遵义市", + "open": true + }, {"pId": "0_1", "id": "0_1_8", "text": "海南省( 共2个 )", "value": "海南省", "open": true}, { + "pId": "0_1_8", + "id": "0_1_8_0", + "text": "海口市", + "value": "海口市", + "open": true + }, {"pId": "0_1_8", "id": "0_1_8_1", "text": "三亚市", "value": "三亚市", "open": true}, { + "pId": "0_1", + "id": "0_1_9", + "text": "河北省( 共12个 )", + "value": "河北省", + "open": true + }, {"pId": "0_1_9", "id": "0_1_9_0", "text": "保定市", "value": "保定市", "open": true}, { + "pId": "0_1_9", + "id": "0_1_9_1", + "text": "沧州市", + "value": "沧州市", + "open": true + }, {"pId": "0_1_9", "id": "0_1_9_2", "text": "承德市", "value": "承德市", "open": true}, { + "pId": "0_1_9", + "id": "0_1_9_3", + "text": "邯郸市", + "value": "邯郸市", + "open": true + }, {"pId": "0_1_9", "id": "0_1_9_4", "text": "衡水市", "value": "衡水市", "open": true}, { + "pId": "0_1_9", + "id": "0_1_9_5", + "text": "廊坊市", + "value": "廊坊市", + "open": true + }, {"pId": "0_1_9", "id": "0_1_9_6", "text": "秦皇岛市", "value": "秦皇岛市", "open": true}, { + "pId": "0_1_9", + "id": "0_1_9_7", + "text": "石家庄市", + "value": "石家庄市", + "open": true + }, {"pId": "0_1_9", "id": "0_1_9_8", "text": "唐山市", "value": "唐山市", "open": true}, { + "pId": "0_1_9", + "id": "0_1_9_9", + "text": "天津市区", + "value": "天津市区", + "open": true + }, {"pId": "0_1_9", "id": "0_1_9_10", "text": "邢台市", "value": "邢台市", "open": true}, { + "pId": "0_1_9", + "id": "0_1_9_11", + "text": "张家口市", + "value": "张家口市", + "open": true + }, {"pId": "0_1", "id": "0_1_10", "text": "河南省( 共19个 )", "value": "河南省", "open": true}, { + "pId": "0_1_10", + "id": "0_1_10_0", + "text": "安阳市", + "value": "安阳市", + "open": true + }, {"pId": "0_1_10", "id": "0_1_10_1", "text": "鹤壁市", "value": "鹤壁市", "open": true}, { + "pId": "0_1_10", + "id": "0_1_10_2", + "text": "济源市", + "value": "济源市", + "open": true + }, {"pId": "0_1_10", "id": "0_1_10_3", "text": "焦作市", "value": "焦作市", "open": true}, { + "pId": "0_1_10", + "id": "0_1_10_4", + "text": "开封市", + "value": "开封市", + "open": true + }, {"pId": "0_1_10", "id": "0_1_10_5", "text": "廊坊市", "value": "廊坊市", "open": true}, { + "pId": "0_1_10", + "id": "0_1_10_6", + "text": "洛阳市", + "value": "洛阳市", + "open": true + }, {"pId": "0_1_10", "id": "0_1_10_7", "text": "漯河市", "value": "漯河市", "open": true}, { + "pId": "0_1_10", + "id": "0_1_10_8", + "text": "南阳市", + "value": "南阳市", + "open": true + }, {"pId": "0_1_10", "id": "0_1_10_9", "text": "平顶山市", "value": "平顶山市", "open": true}, { + "pId": "0_1_10", + "id": "0_1_10_10", + "text": "濮阳市", + "value": "濮阳市", + "open": true + }, {"pId": "0_1_10", "id": "0_1_10_11", "text": "三门峡市", "value": "三门峡市", "open": true}, { + "pId": "0_1_10", + "id": "0_1_10_12", + "text": "商丘市", + "value": "商丘市", + "open": true + }, {"pId": "0_1_10", "id": "0_1_10_13", "text": "新乡市", "value": "新乡市", "open": true}, { + "pId": "0_1_10", + "id": "0_1_10_14", + "text": "信阳市", + "value": "信阳市", + "open": true + }, {"pId": "0_1_10", "id": "0_1_10_15", "text": "许昌市", "value": "许昌市", "open": true}, { + "pId": "0_1_10", + "id": "0_1_10_16", + "text": "郑州市", + "value": "郑州市", + "open": true + }, {"pId": "0_1_10", "id": "0_1_10_17", "text": "周口市", "value": "周口市", "open": true}, { + "pId": "0_1_10", + "id": "0_1_10_18", + "text": "驻马店市", + "value": "驻马店市", + "open": true + }, {"pId": "0_1", "id": "0_1_11", "text": "黑龙江省( 共13个 )", "value": "黑龙江省", "open": true}, { + "pId": "0_1_11", + "id": "0_1_11_0", + "text": "大庆市", + "value": "大庆市", + "open": true + }, {"pId": "0_1_11", "id": "0_1_11_1", "text": "大兴安岭地区", "value": "大兴安岭地区", "open": true}, { + "pId": "0_1_11", + "id": "0_1_11_2", + "text": "大兴安岭市", + "value": "大兴安岭市", + "open": true + }, {"pId": "0_1_11", "id": "0_1_11_3", "text": "哈尔滨市", "value": "哈尔滨市", "open": true}, { + "pId": "0_1_11", + "id": "0_1_11_4", + "text": "鹤港市", + "value": "鹤港市", + "open": true + }, {"pId": "0_1_11", "id": "0_1_11_5", "text": "黑河市", "value": "黑河市", "open": true}, { + "pId": "0_1_11", + "id": "0_1_11_6", + "text": "佳木斯市", + "value": "佳木斯市", + "open": true + }, {"pId": "0_1_11", "id": "0_1_11_7", "text": "牡丹江市", "value": "牡丹江市", "open": true}, { + "pId": "0_1_11", + "id": "0_1_11_8", + "text": "七台河市", + "value": "七台河市", + "open": true + }, {"pId": "0_1_11", "id": "0_1_11_9", "text": "齐齐哈尔市", "value": "齐齐哈尔市", "open": true}, { + "pId": "0_1_11", + "id": "0_1_11_10", + "text": "双鸭山市", + "value": "双鸭山市", + "open": true + }, {"pId": "0_1_11", "id": "0_1_11_11", "text": "绥化市", "value": "绥化市", "open": true}, { + "pId": "0_1_11", + "id": "0_1_11_12", + "text": "伊春市", + "value": "伊春市", + "open": true + }, {"pId": "0_1", "id": "0_1_12", "text": "湖北省( 共16个 )", "value": "湖北省", "open": true}, { + "pId": "0_1_12", + "id": "0_1_12_0", + "text": "鄂州市", + "value": "鄂州市", + "open": true + }, {"pId": "0_1_12", "id": "0_1_12_1", "text": "恩施土家族苗族自治州", "value": "恩施土家族苗族自治州", "open": true}, { + "pId": "0_1_12", + "id": "0_1_12_2", + "text": "黄冈市", + "value": "黄冈市", + "open": true + }, {"pId": "0_1_12", "id": "0_1_12_3", "text": "黄石市", "value": "黄石市", "open": true}, { + "pId": "0_1_12", + "id": "0_1_12_4", + "text": "荆门市", + "value": "荆门市", + "open": true + }, {"pId": "0_1_12", "id": "0_1_12_5", "text": "荆州市", "value": "荆州市", "open": true}, { + "pId": "0_1_12", + "id": "0_1_12_6", + "text": "神农架市", + "value": "神农架市", + "open": true + }, {"pId": "0_1_12", "id": "0_1_12_7", "text": "十堰市", "value": "十堰市", "open": true}, { + "pId": "0_1_12", + "id": "0_1_12_8", + "text": "随州市", + "value": "随州市", + "open": true + }, {"pId": "0_1_12", "id": "0_1_12_9", "text": "天门市", "value": "天门市", "open": true}, { + "pId": "0_1_12", + "id": "0_1_12_10", + "text": "武汉市", + "value": "武汉市", + "open": true + }, {"pId": "0_1_12", "id": "0_1_12_11", "text": "咸宁市", "value": "咸宁市", "open": true}, { + "pId": "0_1_12", + "id": "0_1_12_12", + "text": "襄樊市", + "value": "襄樊市", + "open": true + }, {"pId": "0_1_12", "id": "0_1_12_13", "text": "襄阳市", "value": "襄阳市", "open": true}, { + "pId": "0_1_12", + "id": "0_1_12_14", + "text": "孝感市", + "value": "孝感市", + "open": true + }, {"pId": "0_1_12", "id": "0_1_12_15", "text": "宜昌市", "value": "宜昌市", "open": true}, { + "pId": "0_1", + "id": "0_1_13", + "text": "湖南省( 共15个 )", + "value": "湖南省", + "open": true + }, {"pId": "0_1_13", "id": "0_1_13_0", "text": "常德市", "value": "常德市", "open": true}, { + "pId": "0_1_13", + "id": "0_1_13_1", + "text": "长沙市", + "value": "长沙市", + "open": true + }, {"pId": "0_1_13", "id": "0_1_13_2", "text": "郴州市", "value": "郴州市", "open": true}, { + "pId": "0_1_13", + "id": "0_1_13_3", + "text": "衡阳市", + "value": "衡阳市", + "open": true + }, {"pId": "0_1_13", "id": "0_1_13_4", "text": "怀化市", "value": "怀化市", "open": true}, { + "pId": "0_1_13", + "id": "0_1_13_5", + "text": "娄底市", + "value": "娄底市", + "open": true + }, {"pId": "0_1_13", "id": "0_1_13_6", "text": "邵阳市", "value": "邵阳市", "open": true}, { + "pId": "0_1_13", + "id": "0_1_13_7", + "text": "湘潭市", + "value": "湘潭市", + "open": true + }, {"pId": "0_1_13", "id": "0_1_13_8", "text": "湘西市", "value": "湘西市", "open": true}, { + "pId": "0_1_13", + "id": "0_1_13_9", + "text": "湘西土家族苗族自治州", + "value": "湘西土家族苗族自治州", + "open": true + }, {"pId": "0_1_13", "id": "0_1_13_10", "text": "益阳市", "value": "益阳市", "open": true}, { + "pId": "0_1_13", + "id": "0_1_13_11", + "text": "永州市", + "value": "永州市", + "open": true + }, {"pId": "0_1_13", "id": "0_1_13_12", "text": "岳阳市", "value": "岳阳市", "open": true}, { + "pId": "0_1_13", + "id": "0_1_13_13", + "text": "张家界市", + "value": "张家界市", + "open": true + }, {"pId": "0_1_13", "id": "0_1_13_14", "text": "株洲市", "value": "株洲市", "open": true}, { + "pId": "0_1", + "id": "0_1_14", + "text": "吉林省( 共10个 )", + "value": "吉林省", + "open": true + }, {"pId": "0_1_14", "id": "0_1_14_0", "text": "白城市", "value": "白城市", "open": true}, { + "pId": "0_1_14", + "id": "0_1_14_1", + "text": "白山市", + "value": "白山市", + "open": true + }, {"pId": "0_1_14", "id": "0_1_14_2", "text": "长春市", "value": "长春市", "open": true}, { + "pId": "0_1_14", + "id": "0_1_14_3", + "text": "大庆市", + "value": "大庆市", + "open": true + }, {"pId": "0_1_14", "id": "0_1_14_4", "text": "吉林市", "value": "吉林市", "open": true}, { + "pId": "0_1_14", + "id": "0_1_14_5", + "text": "辽源市", + "value": "辽源市", + "open": true + }, {"pId": "0_1_14", "id": "0_1_14_6", "text": "四平市", "value": "四平市", "open": true}, { + "pId": "0_1_14", + "id": "0_1_14_7", + "text": "松原市", + "value": "松原市", + "open": true + }, {"pId": "0_1_14", "id": "0_1_14_8", "text": "通化市", "value": "通化市", "open": true}, { + "pId": "0_1_14", + "id": "0_1_14_9", + "text": "延边朝鲜族自治州", + "value": "延边朝鲜族自治州", + "open": true + }, {"pId": "0_1", "id": "0_1_15", "text": "江苏省( 共13个 )", "value": "江苏省", "open": true}, { + "pId": "0_1_15", + "id": "0_1_15_0", + "text": "常州市", + "value": "常州市", + "open": true + }, {"pId": "0_1_15", "id": "0_1_15_1", "text": "淮安市", "value": "淮安市", "open": true}, { + "pId": "0_1_15", + "id": "0_1_15_2", + "text": "连云港市", + "value": "连云港市", + "open": true + }, {"pId": "0_1_15", "id": "0_1_15_3", "text": "南京市", "value": "南京市", "open": true}, { + "pId": "0_1_15", + "id": "0_1_15_4", + "text": "南通市", + "value": "南通市", + "open": true + }, {"pId": "0_1_15", "id": "0_1_15_5", "text": "苏州市", "value": "苏州市", "open": true}, { + "pId": "0_1_15", + "id": "0_1_15_6", + "text": "宿迁市", + "value": "宿迁市", + "open": true + }, {"pId": "0_1_15", "id": "0_1_15_7", "text": "泰州市", "value": "泰州市", "open": true}, { + "pId": "0_1_15", + "id": "0_1_15_8", + "text": "无锡市", + "value": "无锡市", + "open": true + }, {"pId": "0_1_15", "id": "0_1_15_9", "text": "徐州市", "value": "徐州市", "open": true}, { + "pId": "0_1_15", + "id": "0_1_15_10", + "text": "盐城市", + "value": "盐城市", + "open": true + }, {"pId": "0_1_15", "id": "0_1_15_11", "text": "扬州市", "value": "扬州市", "open": true}, { + "pId": "0_1_15", + "id": "0_1_15_12", + "text": "镇江市", + "value": "镇江市", + "open": true + }, {"pId": "0_1", "id": "0_1_16", "text": "江西省( 共10个 )", "value": "江西省", "open": true}, { + "pId": "0_1_16", + "id": "0_1_16_0", + "text": "抚州市", + "value": "抚州市", + "open": true + }, {"pId": "0_1_16", "id": "0_1_16_1", "text": "赣州市", "value": "赣州市", "open": true}, { + "pId": "0_1_16", + "id": "0_1_16_2", + "text": "景德镇市", + "value": "景德镇市", + "open": true + }, {"pId": "0_1_16", "id": "0_1_16_3", "text": "九江市", "value": "九江市", "open": true}, { + "pId": "0_1_16", + "id": "0_1_16_4", + "text": "南昌市", + "value": "南昌市", + "open": true + }, {"pId": "0_1_16", "id": "0_1_16_5", "text": "萍乡市", "value": "萍乡市", "open": true}, { + "pId": "0_1_16", + "id": "0_1_16_6", + "text": "上饶市", + "value": "上饶市", + "open": true + }, {"pId": "0_1_16", "id": "0_1_16_7", "text": "新余市", "value": "新余市", "open": true}, { + "pId": "0_1_16", + "id": "0_1_16_8", + "text": "宜春市", + "value": "宜春市", + "open": true + }, {"pId": "0_1_16", "id": "0_1_16_9", "text": "鹰潭市", "value": "鹰潭市", "open": true}, { + "pId": "0_1", + "id": "0_1_17", + "text": "辽宁省( 共14个 )", + "value": "辽宁省", + "open": true + }, {"pId": "0_1_17", "id": "0_1_17_0", "text": "鞍山市", "value": "鞍山市", "open": true}, { + "pId": "0_1_17", + "id": "0_1_17_1", + "text": "本溪市", + "value": "本溪市", + "open": true + }, {"pId": "0_1_17", "id": "0_1_17_2", "text": "朝阳市", "value": "朝阳市", "open": true}, { + "pId": "0_1_17", + "id": "0_1_17_3", + "text": "大连市", + "value": "大连市", + "open": true + }, {"pId": "0_1_17", "id": "0_1_17_4", "text": "丹东市", "value": "丹东市", "open": true}, { + "pId": "0_1_17", + "id": "0_1_17_5", + "text": "抚顺市", + "value": "抚顺市", + "open": true + }, {"pId": "0_1_17", "id": "0_1_17_6", "text": "阜新市", "value": "阜新市", "open": true}, { + "pId": "0_1_17", + "id": "0_1_17_7", + "text": "葫芦岛市", + "value": "葫芦岛市", + "open": true + }, {"pId": "0_1_17", "id": "0_1_17_8", "text": "锦州市", "value": "锦州市", "open": true}, { + "pId": "0_1_17", + "id": "0_1_17_9", + "text": "辽阳市", + "value": "辽阳市", + "open": true + }, {"pId": "0_1_17", "id": "0_1_17_10", "text": "盘锦市", "value": "盘锦市", "open": true}, { + "pId": "0_1_17", + "id": "0_1_17_11", + "text": "沈阳市", + "value": "沈阳市", + "open": true + }, {"pId": "0_1_17", "id": "0_1_17_12", "text": "铁岭市", "value": "铁岭市", "open": true}, { + "pId": "0_1_17", + "id": "0_1_17_13", + "text": "营口市", + "value": "营口市", + "open": true + }, {"pId": "0_1", "id": "0_1_18", "text": "内蒙古( 共10个 )", "value": "内蒙古", "open": true}, { + "pId": "0_1_18", + "id": "0_1_18_0", + "text": "包头市", + "value": "包头市", + "open": true + }, {"pId": "0_1_18", "id": "0_1_18_1", "text": "赤峰市", "value": "赤峰市", "open": true}, { + "pId": "0_1_18", + "id": "0_1_18_2", + "text": "鄂尔多斯市", + "value": "鄂尔多斯市", + "open": true + }, {"pId": "0_1_18", "id": "0_1_18_3", "text": "呼和浩特市", "value": "呼和浩特市", "open": true}, { + "pId": "0_1_18", + "id": "0_1_18_4", + "text": "呼伦贝尔市", + "value": "呼伦贝尔市", + "open": true + }, {"pId": "0_1_18", "id": "0_1_18_5", "text": "通辽市", "value": "通辽市", "open": true}, { + "pId": "0_1_18", + "id": "0_1_18_6", + "text": "乌海市", + "value": "乌海市", + "open": true + }, {"pId": "0_1_18", "id": "0_1_18_7", "text": "锡林郭勒市", "value": "锡林郭勒市", "open": true}, { + "pId": "0_1_18", + "id": "0_1_18_8", + "text": "兴安市", + "value": "兴安市", + "open": true + }, {"pId": "0_1_18", "id": "0_1_18_9", "text": "运城市", "value": "运城市", "open": true}, { + "pId": "0_1", + "id": "0_1_19", + "text": "宁夏回族自治区( 共5个 )", + "value": "宁夏回族自治区", + "open": true + }, {"pId": "0_1_19", "id": "0_1_19_0", "text": "固原市", "value": "固原市", "open": true}, { + "pId": "0_1_19", + "id": "0_1_19_1", + "text": "石嘴山市", + "value": "石嘴山市", + "open": true + }, {"pId": "0_1_19", "id": "0_1_19_2", "text": "吴忠市", "value": "吴忠市", "open": true}, { + "pId": "0_1_19", + "id": "0_1_19_3", + "text": "银川市", + "value": "银川市", + "open": true + }, {"pId": "0_1_19", "id": "0_1_19_4", "text": "中卫市", "value": "中卫市", "open": true}, { + "pId": "0_1", + "id": "0_1_20", + "text": "青海省( 共4个 )", + "value": "青海省", + "open": true + }, {"pId": "0_1_20", "id": "0_1_20_0", "text": "海东地区", "value": "海东地区", "open": true}, { + "pId": "0_1_20", + "id": "0_1_20_1", + "text": "海南藏族自治州", + "value": "海南藏族自治州", + "open": true + }, {"pId": "0_1_20", "id": "0_1_20_2", "text": "海西蒙古族藏族自治州", "value": "海西蒙古族藏族自治州", "open": true}, { + "pId": "0_1_20", + "id": "0_1_20_3", + "text": "西宁市", + "value": "西宁市", + "open": true + }, {"pId": "0_1", "id": "0_1_21", "text": "山东省( 共17个 )", "value": "山东省", "open": true}, { + "pId": "0_1_21", + "id": "0_1_21_0", + "text": "滨州市", + "value": "滨州市", + "open": true + }, {"pId": "0_1_21", "id": "0_1_21_1", "text": "德州市", "value": "德州市", "open": true}, { + "pId": "0_1_21", + "id": "0_1_21_2", + "text": "东营市", + "value": "东营市", + "open": true + }, {"pId": "0_1_21", "id": "0_1_21_3", "text": "菏泽市", "value": "菏泽市", "open": true}, { + "pId": "0_1_21", + "id": "0_1_21_4", + "text": "济南市", + "value": "济南市", + "open": true + }, {"pId": "0_1_21", "id": "0_1_21_5", "text": "济宁市", "value": "济宁市", "open": true}, { + "pId": "0_1_21", + "id": "0_1_21_6", + "text": "莱芜市", + "value": "莱芜市", + "open": true + }, {"pId": "0_1_21", "id": "0_1_21_7", "text": "聊城市", "value": "聊城市", "open": true}, { + "pId": "0_1_21", + "id": "0_1_21_8", + "text": "临沂市", + "value": "临沂市", + "open": true + }, {"pId": "0_1_21", "id": "0_1_21_9", "text": "青岛市", "value": "青岛市", "open": true}, { + "pId": "0_1_21", + "id": "0_1_21_10", + "text": "日照市", + "value": "日照市", + "open": true + }, {"pId": "0_1_21", "id": "0_1_21_11", "text": "泰安市", "value": "泰安市", "open": true}, { + "pId": "0_1_21", + "id": "0_1_21_12", + "text": "威海市", + "value": "威海市", + "open": true + }, {"pId": "0_1_21", "id": "0_1_21_13", "text": "潍坊市", "value": "潍坊市", "open": true}, { + "pId": "0_1_21", + "id": "0_1_21_14", + "text": "烟台市", + "value": "烟台市", + "open": true + }, {"pId": "0_1_21", "id": "0_1_21_15", "text": "枣庄市", "value": "枣庄市", "open": true}, { + "pId": "0_1_21", + "id": "0_1_21_16", + "text": "淄博市", + "value": "淄博市", + "open": true + }, {"pId": "0_1", "id": "0_1_22", "text": "山西省( 共12个 )", "value": "山西省", "open": true}, { + "pId": "0_1_22", + "id": "0_1_22_0", + "text": "长治市", + "value": "长治市", + "open": true + }, {"pId": "0_1_22", "id": "0_1_22_1", "text": "大同市", "value": "大同市", "open": true}, { + "pId": "0_1_22", + "id": "0_1_22_2", + "text": "晋城市", + "value": "晋城市", + "open": true + }, {"pId": "0_1_22", "id": "0_1_22_3", "text": "晋中市", "value": "晋中市", "open": true}, { + "pId": "0_1_22", + "id": "0_1_22_4", + "text": "临汾市", + "value": "临汾市", + "open": true + }, {"pId": "0_1_22", "id": "0_1_22_5", "text": "吕梁市", "value": "吕梁市", "open": true}, { + "pId": "0_1_22", + "id": "0_1_22_6", + "text": "青岛市", + "value": "青岛市", + "open": true + }, {"pId": "0_1_22", "id": "0_1_22_7", "text": "朔州市", "value": "朔州市", "open": true}, { + "pId": "0_1_22", + "id": "0_1_22_8", + "text": "太原市", + "value": "太原市", + "open": true + }, {"pId": "0_1_22", "id": "0_1_22_9", "text": "忻州市", "value": "忻州市", "open": true}, { + "pId": "0_1_22", + "id": "0_1_22_10", + "text": "阳泉市", + "value": "阳泉市", + "open": true + }, {"pId": "0_1_22", "id": "0_1_22_11", "text": "运城市", "value": "运城市", "open": true}, { + "pId": "0_1", + "id": "0_1_23", + "text": "陕西省( 共9个 )", + "value": "陕西省", + "open": true + }, {"pId": "0_1_23", "id": "0_1_23_0", "text": "安康市", "value": "安康市", "open": true}, { + "pId": "0_1_23", + "id": "0_1_23_1", + "text": "宝鸡市", + "value": "宝鸡市", + "open": true + }, {"pId": "0_1_23", "id": "0_1_23_2", "text": "汉中市", "value": "汉中市", "open": true}, { + "pId": "0_1_23", + "id": "0_1_23_3", + "text": "商洛市", + "value": "商洛市", + "open": true + }, {"pId": "0_1_23", "id": "0_1_23_4", "text": "渭南市", "value": "渭南市", "open": true}, { + "pId": "0_1_23", + "id": "0_1_23_5", + "text": "西安市", + "value": "西安市", + "open": true + }, {"pId": "0_1_23", "id": "0_1_23_6", "text": "咸阳市", "value": "咸阳市", "open": true}, { + "pId": "0_1_23", + "id": "0_1_23_7", + "text": "延安市", + "value": "延安市", + "open": true + }, {"pId": "0_1_23", "id": "0_1_23_8", "text": "榆林市", "value": "榆林市", "open": true}, { + "pId": "0_1", + "id": "0_1_24", + "text": "上海市( 共19个 )", + "value": "上海市", + "open": true + }, {"pId": "0_1_24", "id": "0_1_24_0", "text": "宝山区", "value": "宝山区", "open": true}, { + "pId": "0_1_24", + "id": "0_1_24_1", + "text": "长宁区", + "value": "长宁区", + "open": true + }, {"pId": "0_1_24", "id": "0_1_24_2", "text": "崇明县", "value": "崇明县", "open": true}, { + "pId": "0_1_24", + "id": "0_1_24_3", + "text": "奉贤区", + "value": "奉贤区", + "open": true + }, {"pId": "0_1_24", "id": "0_1_24_4", "text": "虹口区", "value": "虹口区", "open": true}, { + "pId": "0_1_24", + "id": "0_1_24_5", + "text": "黄浦区", + "value": "黄浦区", + "open": true + }, {"pId": "0_1_24", "id": "0_1_24_6", "text": "嘉定区", "value": "嘉定区", "open": true}, { + "pId": "0_1_24", + "id": "0_1_24_7", + "text": "金山区", + "value": "金山区", + "open": true + }, {"pId": "0_1_24", "id": "0_1_24_8", "text": "静安区", "value": "静安区", "open": true}, { + "pId": "0_1_24", + "id": "0_1_24_9", + "text": "昆明市", + "value": "昆明市", + "open": true + }, {"pId": "0_1_24", "id": "0_1_24_10", "text": "闵行区", "value": "闵行区", "open": true}, { + "pId": "0_1_24", + "id": "0_1_24_11", + "text": "普陀区", + "value": "普陀区", + "open": true + }, {"pId": "0_1_24", "id": "0_1_24_12", "text": "浦东新区", "value": "浦东新区", "open": true}, { + "pId": "0_1_24", + "id": "0_1_24_13", + "text": "青浦区", + "value": "青浦区", + "open": true + }, {"pId": "0_1_24", "id": "0_1_24_14", "text": "上海市区", "value": "上海市区", "open": true}, { + "pId": "0_1_24", + "id": "0_1_24_15", + "text": "松江区", + "value": "松江区", + "open": true + }, {"pId": "0_1_24", "id": "0_1_24_16", "text": "徐汇区", "value": "徐汇区", "open": true}, { + "pId": "0_1_24", + "id": "0_1_24_17", + "text": "杨浦区", + "value": "杨浦区", + "open": true + }, {"pId": "0_1_24", "id": "0_1_24_18", "text": "闸北区", "value": "闸北区", "open": true}, { + "pId": "0_1", + "id": "0_1_25", + "text": "四川省( 共21个 )", + "value": "四川省", + "open": true + }, {"pId": "0_1_25", "id": "0_1_25_0", "text": "阿坝藏族羌族自治州", "value": "阿坝藏族羌族自治州", "open": true}, { + "pId": "0_1_25", + "id": "0_1_25_1", + "text": "巴中市", + "value": "巴中市", + "open": true + }, {"pId": "0_1_25", "id": "0_1_25_2", "text": "成都市", "value": "成都市", "open": true}, { + "pId": "0_1_25", + "id": "0_1_25_3", + "text": "达州市", + "value": "达州市", + "open": true + }, {"pId": "0_1_25", "id": "0_1_25_4", "text": "德阳市", "value": "德阳市", "open": true}, { + "pId": "0_1_25", + "id": "0_1_25_5", + "text": "甘孜市", + "value": "甘孜市", + "open": true + }, {"pId": "0_1_25", "id": "0_1_25_6", "text": "广安市", "value": "广安市", "open": true}, { + "pId": "0_1_25", + "id": "0_1_25_7", + "text": "广元市", + "value": "广元市", + "open": true + }, {"pId": "0_1_25", "id": "0_1_25_8", "text": "乐山市", "value": "乐山市", "open": true}, { + "pId": "0_1_25", + "id": "0_1_25_9", + "text": "凉山市", + "value": "凉山市", + "open": true + }, {"pId": "0_1_25", "id": "0_1_25_10", "text": "泸州市", "value": "泸州市", "open": true}, { + "pId": "0_1_25", + "id": "0_1_25_11", + "text": "眉山市", + "value": "眉山市", + "open": true + }, {"pId": "0_1_25", "id": "0_1_25_12", "text": "绵阳市", "value": "绵阳市", "open": true}, { + "pId": "0_1_25", + "id": "0_1_25_13", + "text": "南充市", + "value": "南充市", + "open": true + }, {"pId": "0_1_25", "id": "0_1_25_14", "text": "内江市", "value": "内江市", "open": true}, { + "pId": "0_1_25", + "id": "0_1_25_15", + "text": "攀枝花市", + "value": "攀枝花市", + "open": true + }, {"pId": "0_1_25", "id": "0_1_25_16", "text": "遂宁市", "value": "遂宁市", "open": true}, { + "pId": "0_1_25", + "id": "0_1_25_17", + "text": "雅安市", + "value": "雅安市", + "open": true + }, {"pId": "0_1_25", "id": "0_1_25_18", "text": "宜宾市", "value": "宜宾市", "open": true}, { + "pId": "0_1_25", + "id": "0_1_25_19", + "text": "资阳市", + "value": "资阳市", + "open": true + }, {"pId": "0_1_25", "id": "0_1_25_20", "text": "自贡市", "value": "自贡市", "open": true}, { + "pId": "0_1", + "id": "0_1_26", + "text": "台湾( 共1个 )", + "value": "台湾", + "open": true + }, {"pId": "0_1_26", "id": "0_1_26_0", "text": "台北市", "value": "台北市", "open": true}, { + "pId": "0_1", + "id": "0_1_27", + "text": "天津市( 共1个 )", + "value": "天津市", + "open": true + }, {"pId": "0_1_27", "id": "0_1_27_0", "text": "天津市区", "value": "天津市区", "open": true}, { + "pId": "0_1", + "id": "0_1_28", + "text": "西藏自治区( 共2个 )", + "value": "西藏自治区", + "open": true + }, {"pId": "0_1_28", "id": "0_1_28_0", "text": "阿里市", "value": "阿里市", "open": true}, { + "pId": "0_1_28", + "id": "0_1_28_1", + "text": "日喀则市", + "value": "日喀则市", + "open": true + }, {"pId": "0_1", "id": "0_1_29", "text": "香港特别行政区( 共1个 )", "value": "香港特别行政区", "open": true}, { + "pId": "0_1_29", + "id": "0_1_29_0", + "text": "香港", + "value": "香港", + "open": true + }, { + "pId": "0_1", + "id": "0_1_30", + "text": "新疆维吾尔族自治区( 共11个 )", + "value": "新疆维吾尔族自治区", + "open": true + }, {"pId": "0_1_30", "id": "0_1_30_0", "text": "巴音郭楞市", "value": "巴音郭楞市", "open": true}, { + "pId": "0_1_30", + "id": "0_1_30_1", + "text": "哈密市", + "value": "哈密市", + "open": true + }, {"pId": "0_1_30", "id": "0_1_30_2", "text": "和田市", "value": "和田市", "open": true}, { + "pId": "0_1_30", + "id": "0_1_30_3", + "text": "喀什地区", + "value": "喀什地区", + "open": true + }, {"pId": "0_1_30", "id": "0_1_30_4", "text": "克拉玛依市", "value": "克拉玛依市", "open": true}, { + "pId": "0_1_30", + "id": "0_1_30_5", + "text": "克孜勒苏柯州", + "value": "克孜勒苏柯州", + "open": true + }, {"pId": "0_1_30", "id": "0_1_30_6", "text": "石河子市", "value": "石河子市", "open": true}, { + "pId": "0_1_30", + "id": "0_1_30_7", + "text": "塔城市", + "value": "塔城市", + "open": true + }, {"pId": "0_1_30", "id": "0_1_30_8", "text": "吐鲁番地区", "value": "吐鲁番地区", "open": true}, { + "pId": "0_1_30", + "id": "0_1_30_9", + "text": "乌鲁木齐", + "value": "乌鲁木齐", + "open": true + }, {"pId": "0_1_30", "id": "0_1_30_10", "text": "伊犁市", "value": "伊犁市", "open": true}, { + "pId": "0_1", + "id": "0_1_31", + "text": "云南省( 共12个 )", + "value": "云南省", + "open": true + }, {"pId": "0_1_31", "id": "0_1_31_0", "text": "保山市", "value": "保山市", "open": true}, { + "pId": "0_1_31", + "id": "0_1_31_1", + "text": "楚雄彝族自治州", + "value": "楚雄彝族自治州", + "open": true + }, {"pId": "0_1_31", "id": "0_1_31_2", "text": "大理白族自治州", "value": "大理白族自治州", "open": true}, { + "pId": "0_1_31", + "id": "0_1_31_3", + "text": "红河哈尼族彝族自治州", + "value": "红河哈尼族彝族自治州", + "open": true + }, {"pId": "0_1_31", "id": "0_1_31_4", "text": "昆明市", "value": "昆明市", "open": true}, { + "pId": "0_1_31", + "id": "0_1_31_5", + "text": "丽江市", + "value": "丽江市", + "open": true + }, {"pId": "0_1_31", "id": "0_1_31_6", "text": "临沧市", "value": "临沧市", "open": true}, { + "pId": "0_1_31", + "id": "0_1_31_7", + "text": "曲靖市", + "value": "曲靖市", + "open": true + }, {"pId": "0_1_31", "id": "0_1_31_8", "text": "思茅市", "value": "思茅市", "open": true}, { + "pId": "0_1_31", + "id": "0_1_31_9", + "text": "文山市", + "value": "文山市", + "open": true + }, {"pId": "0_1_31", "id": "0_1_31_10", "text": "玉溪市", "value": "玉溪市", "open": true}, { + "pId": "0_1_31", + "id": "0_1_31_11", + "text": "昭通市", + "value": "昭通市", + "open": true + }, {"pId": "0_1", "id": "0_1_32", "text": "浙江省( 共12个 )", "value": "浙江省", "open": true}, { + "pId": "0_1_32", + "id": "0_1_32_0", + "text": "杭州市", + "value": "杭州市", + "open": true + }, {"pId": "0_1_32", "id": "0_1_32_1", "text": "湖州市", "value": "湖州市", "open": true}, { + "pId": "0_1_32", + "id": "0_1_32_2", + "text": "嘉兴市", + "value": "嘉兴市", + "open": true + }, {"pId": "0_1_32", "id": "0_1_32_3", "text": "金华市", "value": "金华市", "open": true}, { + "pId": "0_1_32", + "id": "0_1_32_4", + "text": "丽水市", + "value": "丽水市", + "open": true + }, {"pId": "0_1_32", "id": "0_1_32_5", "text": "宁波市", "value": "宁波市", "open": true}, { + "pId": "0_1_32", + "id": "0_1_32_6", + "text": "衢州市", + "value": "衢州市", + "open": true + }, {"pId": "0_1_32", "id": "0_1_32_7", "text": "绍兴市", "value": "绍兴市", "open": true}, { + "pId": "0_1_32", + "id": "0_1_32_8", + "text": "台州市", + "value": "台州市", + "open": true + }, {"pId": "0_1_32", "id": "0_1_32_9", "text": "温州市", "value": "温州市", "open": true}, { + "pId": "0_1_32", + "id": "0_1_32_10", + "text": "浙江省", + "value": "浙江省", + "open": true + }, {"pId": "0_1_32", "id": "0_1_32_11", "text": "舟山市", "value": "舟山市", "open": true}, { + "pId": "0_1", + "id": "0_1_33", + "text": "重庆市( 共1个 )", + "value": "重庆市", + "open": true + }, {"pId": "0_1_33", "id": "0_1_33_0", "text": "重庆市区", "value": "重庆市区", "open": true}], - TREE:[{id: -1, pId: -2, value: "根目录", text: "根目录"}, - {id: 1, pId: -1, value: "第一级目录1", text: "第一级目录1"}, - {id: 11, pId: 1, value: "第二级文件1", text: "第二级文件1"}, - {id: 12, pId: 1, value: "第二级目录2", text: "第二级目录2"}, - {id: 121, pId: 12, value: "第三级目录1", text: "第三级目录1"}, - {id: 122, pId: 12, value: "第三级文件1", text: "第三级文件1"}, - {id: 1211, pId: 121, value: "第四级目录1", text: "第四级目录1"}, - {id: 12111, pId: 1211, value: "第五级文件1", text: "第五级文件1"}, - {id: 2, pId: -1, value: "第一级目录2", text: "第一级目录2"}, - {id: 21, pId: 2, value: "第二级目录3", text: "第二级目录3"}, - {id: 22, pId: 2, value: "第二级文件2", text: "第二级文件2"}, - {id: 211, pId: 21, value: "第三级目录2", text: "第三级目录2"}, - {id: 212, pId: 21, value: "第三级文件2", text: "第三级文件2"}, - {id: 2111, pId: 211, value: "第四级文件1", text: "第四级文件1"}], + TREE: [{id: -1, pId: -2, value: "根目录", text: "根目录"}, + {id: 1, pId: -1, value: "第一级目录1", text: "第一级目录1"}, + {id: 11, pId: 1, value: "第二级文件1", text: "第二级文件1"}, + {id: 12, pId: 1, value: "第二级目录2", text: "第二级目录2"}, + {id: 121, pId: 12, value: "第三级目录1", text: "第三级目录1"}, + {id: 122, pId: 12, value: "第三级文件1", text: "第三级文件1"}, + {id: 1211, pId: 121, value: "第四级目录1", text: "第四级目录1"}, + {id: 12111, pId: 1211, value: "第五级文件1", text: "第五级文件1"}, + {id: 2, pId: -1, value: "第一级目录2", text: "第一级目录2"}, + {id: 21, pId: 2, value: "第二级目录3", text: "第二级目录3"}, + {id: 22, pId: 2, value: "第二级文件2", text: "第二级文件2"}, + {id: 211, pId: 21, value: "第三级目录2", text: "第三级目录2"}, + {id: 212, pId: 21, value: "第三级文件2", text: "第三级文件2"}, + {id: 2111, pId: 211, value: "第四级文件1", text: "第四级文件1"}], LEVELTREE: [{ id: 1, text: "第一项", diff --git a/demo/js/base/demo.canvas.js b/demo/js/base/demo.canvas.js new file mode 100644 index 000000000..c9d27f74e --- /dev/null +++ b/demo/js/base/demo.canvas.js @@ -0,0 +1,48 @@ +Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + render: function () { + + var canvas = BI.createWidget({ + type: "bi.canvas", + width: 500, + height: 600 + }); + canvas.rect(0, 0, 80, 100, "#7dbd2f"); + + canvas.line(80, 0, 100, 100, 200, 100, 300, 0, { + strokeStyle: "red", + lineWidth: 2 + }); + + canvas.circle(150, 50, 20, "green"); + + //渐变矩形 + canvas.rect(0, 120, 80, 100, canvas.gradient(0, 120, 80, 220, "#FF0000", "#00FF00")); + + //空心图形 + canvas.hollow(100, 120, 100, 220, 200, 120, { + strokeStyle: "blue" + }); + + //实心图形 + canvas.solid(100, 240, 200, 240, 150, 280, 200, 320, 100, 320, { + strokeStyle: "yellow", + fillStyle: "pink" + }); + + canvas.stroke(); + + BI.createWidget({ + type: "bi.absolute", + element: this, + items: [{ + el: canvas, + left: 100, + top: 50 + }] + }) + } +}); +BI.shortcut("demo.canvas", Demo.Func); \ No newline at end of file diff --git a/demo/js/case/combo/demo.editor_icon_check_combo.js b/demo/js/case/combo/demo.editor_icon_check_combo.js new file mode 100644 index 000000000..515aa0691 --- /dev/null +++ b/demo/js/case/combo/demo.editor_icon_check_combo.js @@ -0,0 +1,33 @@ +/** + * Created by Dailer on 2017/7/11. + */ +Demo.TextValueCombo = BI.inherit(BI.Widget, { + props: { + baseCls: "" + }, + render: function () { + + return { + type: "bi.horizontal_auto", + items: [{ + type: "bi.editor_icon_check_combo", + watermark: "默认值", + width: 200, + height: 30, + items: [{ + //text: "MVC-1", + value: "1" + }, { + //text: "MVC-2", + value: "2" + }, { + //text: "MVC-3", + value: "3" + }] + }], + vgap: 20 + } + } +}) + +BI.shortcut("demo.editor_icon_check_combo", Demo.TextValueCombo); \ No newline at end of file diff --git a/demo/js/case/combo/demo.icon_combo.js b/demo/js/case/combo/demo.icon_combo.js index 90a4344c8..060f0da72 100644 --- a/demo/js/case/combo/demo.icon_combo.js +++ b/demo/js/case/combo/demo.icon_combo.js @@ -18,16 +18,16 @@ Demo.IconCombo = BI.inherit(BI.Widget, { ref:function(_ref){ self.refs=_ref; }, - // iconClass: "pull-down-ha-font", + iconClass: "search-font", items: [{ value: "第一项", - iconClass: "delete-font" + iconClass: "close-font" }, { value: "第二项", - iconClass: "rename-font" + iconClass: "search-font" }, { value: "第三项", - iconClass: "move-font" + iconClass: "copy-font" }] }], vgap: 20 diff --git a/demo/js/case/combo/demo.text_value_combo.js b/demo/js/case/combo/demo.text_value_combo.js index 4966600df..118c8a617 100644 --- a/demo/js/case/combo/demo.text_value_combo.js +++ b/demo/js/case/combo/demo.text_value_combo.js @@ -11,35 +11,7 @@ Demo.TextValueCombo = BI.inherit(BI.Widget, { type: "bi.horizontal_auto", items: [{ type: "bi.text_value_combo", - text: "天气热死了", - width: 300, - items: [{ - text: "MVC-1", - value: 1 - }, { - text: "MVC-2", - value: 2 - }, { - text: "MVC-3", - value: 3 - }] - },{ - type: "bi.text_value_check_combo", - text: "天气热死了", - width: 300, - items: [{ - text: "MVC-1", - value: 1 - }, { - text: "MVC-2", - value: 2 - }, { - text: "MVC-3", - value: 3 - }] - },{ - type: "bi.text_value_combo", - text: "天气热死了", + text: "默认值", width: 300, items: [{ text: "MVC-1", diff --git a/demo/js/case/combo/demo.text_value_down_list_combo.js b/demo/js/case/combo/demo.text_value_down_list_combo.js index dbdd63abf..f10ccdaf1 100644 --- a/demo/js/case/combo/demo.text_value_down_list_combo.js +++ b/demo/js/case/combo/demo.text_value_down_list_combo.js @@ -6,25 +6,12 @@ Demo.TextValueDownListCombo = BI.inherit(BI.Widget, { baseCls: "" }, - - beforeMount:function(){ - this.refs.setValue(2); - }, - render: function () { - var self = this; - return { type: "bi.horizontal_auto", items: [{ - type: "bi.label", - cls: "layout-bg2", - text: "分组+二级", - width: 300 - }, { type: "bi.text_value_down_list_combo", - text: "天气热死了", width: 300, ref: function (_ref) { self.refs = _ref; @@ -32,25 +19,29 @@ Demo.TextValueDownListCombo = BI.inherit(BI.Widget, { items: [ [{ el: { - text: "MVC-1", + text: "层级1", value: 1 }, children: [{ - text: "MVC-1-1", + text: "层级1-1", value: 11 }] }], [{ - text: "MVC-2", + text: "层级2", value: 2 }, { - text: "MVC-3", + text: "层级3", value: 3 }] ] }], vgap: 20 } + }, + + mounted: function () { + this.refs.setValue(2); } }) diff --git a/demo/js/case/combo/demo.text_vlaue_check_combo.js b/demo/js/case/combo/demo.text_vlaue_check_combo.js index bb0638da7..07435c0fd 100644 --- a/demo/js/case/combo/demo.text_vlaue_check_combo.js +++ b/demo/js/case/combo/demo.text_vlaue_check_combo.js @@ -11,7 +11,7 @@ Demo.TextValueCheckCombo = BI.inherit(BI.Widget, { type: "bi.horizontal_auto", items: [{ type: "bi.text_value_check_combo", - text: "天气热死了", + text: "默认值", width: 300, items: [{ text: "MVC-1", diff --git a/demo/js/case/demo.color_chooser_popup.js b/demo/js/case/demo.color_chooser_popup.js new file mode 100644 index 000000000..e45082ea4 --- /dev/null +++ b/demo/js/case/demo.color_chooser_popup.js @@ -0,0 +1,20 @@ +Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + render: function () { + return { + type: "bi.absolute", + items: [{ + el: { + type: "bi.color_chooser_popup", + cls: "bi-card" + }, + left: 100, + top: 250 + }] + } + } +}); +BI.shortcut("demo.color_chooser_popup", Demo.Func); \ No newline at end of file diff --git a/demo/js/case/demo.segment.js b/demo/js/case/demo.segment.js new file mode 100644 index 000000000..1789fcd92 --- /dev/null +++ b/demo/js/case/demo.segment.js @@ -0,0 +1,28 @@ +Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + render: function () { + BI.createWidget({ + type: "bi.vertical", + element: this, + vgap: 20, + hgap: 30, + items: [{ + type: "bi.segment", + items: [{ + text: "1", + value: 1 + }, { + text: "2", + value: 2 + }, { + text: "3", + value: 3 + }] + }] + }) + } +}); +BI.shortcut("demo.segment", Demo.Func); \ No newline at end of file diff --git a/demo/js/case/editor/demo.shelter_editor.js b/demo/js/case/editor/demo.shelter_editor.js index 74914201b..d13561c1a 100644 --- a/demo/js/case/editor/demo.shelter_editor.js +++ b/demo/js/case/editor/demo.shelter_editor.js @@ -6,35 +6,40 @@ Demo.ClearEditor = BI.inherit(BI.Widget, { baseCls: "" }, render: function () { - var editor; - return { - type: "bi.horizontal_auto", + var editor = BI.createWidget({ + type: "bi.shelter_editor", + cls: "bi-border", + validationChecker: function (v) { + return v != "a"; + }, + watermark: "可以设置标记的输入框", + text: "这是一个遮罩" + }) + BI.createWidget({ + type: "bi.vertical", + element: this, + hgap: 30, + vgap: 20, + bgap: 50, + items: [editor] + }) + BI.createWidget({ + type: "bi.absolute", + element: this, items: [{ - type: "bi.shelter_editor", - cls: "bi-border", - ref:function(_ref){ - editor=_ref; + el: { + type: "bi.button", + text: "focus", + height: 25, + handler: function () { + editor.focus(); + } }, - width: 300, - watermark: "这个是带标记的" - },{ - type:"bi.button", - text:"setValue", - width:300, - handler:function(){ - editor.setValue("凛冬将至"); - } - },{ - type:"bi.button", - text:"doHighLight", - width:300, - handler:function(){ - editor.doHighLight(); - console.log(editor.getState()); - } - }], - vgap: 20 - } + right: 10, + left: 10, + bottom: 10 + }] + }) } }) diff --git a/demo/js/case/editor/demo.sign_editor.js b/demo/js/case/editor/demo.sign_editor.js index 90f4f8448..981e0fccd 100644 --- a/demo/js/case/editor/demo.sign_editor.js +++ b/demo/js/case/editor/demo.sign_editor.js @@ -6,18 +6,23 @@ Demo.SignEditor = BI.inherit(BI.Widget, { baseCls: "" }, render: function () { - return { - type: "bi.horizontal_adapt", - items: [{ - type: "bi.sign_editor", - // cls:"layout-bg5", - value: "123", - text: "456", - width: 300 - }], - vgap: 20 - - } + var editor = BI.createWidget({ + type: "bi.sign_editor", + cls: "bi-border", + validationChecker: function (v) { + return v != "a"; + }, + watermark: "可以设置标记的输入框", + text: "这是一个标记,点击它即可进行输入" + }) + editor.setValue(2); + BI.createWidget({ + type: "bi.vertical", + element: this, + hgap: 30, + vgap: 20, + items: [editor] + }) } }) diff --git a/demo/js/case/editor/demo.simple_state_editor.js b/demo/js/case/editor/demo.simple_state_editor.js new file mode 100644 index 000000000..03945b334 --- /dev/null +++ b/demo/js/case/editor/demo.simple_state_editor.js @@ -0,0 +1,33 @@ +/** + * Created by Dailer on 2017/7/11. + */ +Demo.SimpleStateEditor = BI.inherit(BI.Widget, { + props: { + baseCls: "" + }, + render: function () { + var self = this; + return { + type: "bi.horizontal_adapt", + items: [{ + type: "bi.simple_state_editor", + ref: function () { + self.editor = this; + }, + cls: "bi-border", + width: 300 + }], + vgap: 20 + + } + }, + + mounted: function () { + var self = this; + setTimeout(function () { + self.editor.setState(["*", "*"]); + }, 1000) + } +}) + +BI.shortcut("demo.simple_state_editor", Demo.SimpleStateEditor); \ No newline at end of file diff --git a/demo/js/case/editor/demo.state_editor.js b/demo/js/case/editor/demo.state_editor.js index c4dbb83f3..8fd233931 100644 --- a/demo/js/case/editor/demo.state_editor.js +++ b/demo/js/case/editor/demo.state_editor.js @@ -6,17 +6,28 @@ Demo.StateEditor = BI.inherit(BI.Widget, { baseCls: "" }, render: function () { + var self = this; return { type: "bi.horizontal_adapt", items: [{ type: "bi.state_editor", - value: "123", - text: "456", + ref: function () { + self.editor = this; + }, + cls: "bi-border", width: 300 }], vgap: 20 } + }, + + + mounted: function () { + var self = this; + setTimeout(function () { + self.editor.setState(["*", "*"]); + }, 1000) } }) diff --git a/demo/js/case/item/demo.multi_select_item.js b/demo/js/case/item/demo.multi_select_item.js new file mode 100644 index 000000000..1458ba031 --- /dev/null +++ b/demo/js/case/item/demo.multi_select_item.js @@ -0,0 +1,22 @@ +Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + render: function () { + + return { + type: "bi.vertical", + items: [{ + type: "bi.label", + height: 30, + text: "复选item" + }, { + type: "bi.multi_select_item", + text: "复选项" + }], + hgap: 300 + } + } +}); +BI.shortcut("demo.multi_select_item", Demo.Func); \ No newline at end of file diff --git a/demo/js/case/item/demo.single_select_item.js b/demo/js/case/item/demo.single_select_item.js new file mode 100644 index 000000000..1e50dd139 --- /dev/null +++ b/demo/js/case/item/demo.single_select_item.js @@ -0,0 +1,25 @@ +/** + * Created by Dailer on 2017/7/25. + */ + +Demo.Items = BI.inherit(BI.Widget, { + + render: function () { + + return { + type: "bi.vertical", + items: [{ + type: "bi.label", + height: 30, + text: "单选item" + }, { + type: "bi.single_select_item", + text: "单选项" + }], + hgap: 300 + } + } +}); + + +BI.shortcut("demo.single_select_item", Demo.Items); \ No newline at end of file diff --git a/demo/js/case/item/demo.single_select_radio_item.js b/demo/js/case/item/demo.single_select_radio_item.js new file mode 100644 index 000000000..c805cc96d --- /dev/null +++ b/demo/js/case/item/demo.single_select_radio_item.js @@ -0,0 +1,25 @@ +/** + * Created by Dailer on 2017/7/25. + */ + +Demo.Items = BI.inherit(BI.Widget, { + + render: function () { + + return { + type: "bi.vertical", + items: [{ + type: "bi.label", + height: 30, + text: "单选item" + }, { + type: "bi.single_select_radio_item", + text: "单选项" + }], + hgap: 300 + } + } +}); + + +BI.shortcut("demo.single_select_radio_item", Demo.Items); \ No newline at end of file diff --git a/demo/js/case/list/demo.lazy_loader.js b/demo/js/case/list/demo.lazy_loader.js new file mode 100644 index 000000000..e7c3eb43a --- /dev/null +++ b/demo/js/case/list/demo.lazy_loader.js @@ -0,0 +1,23 @@ +Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + render: function () { + var self = this; + BI.createWidget({ + type: "bi.lazy_loader", + element: this, + el: { + layouts: [{ + type: "bi.left", + hgap: 5 + }] + }, + items: BI.createItems(BI.deepClone(Demo.CONSTANTS.ITEMS), { + type: "bi.button" + }) + }) + } +}); +BI.shortcut("demo.lazy_loader", Demo.Func); \ No newline at end of file diff --git a/demo/js/case/list/demo.select_list.js b/demo/js/case/list/demo.select_list.js new file mode 100644 index 000000000..89e87ab27 --- /dev/null +++ b/demo/js/case/list/demo.select_list.js @@ -0,0 +1,22 @@ +Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + render: function () { + var self = this; + BI.createWidget({ + type: "bi.select_list", + element: this, + el: { + el: { + chooseType: BI.Selection.Multi + } + }, + items: BI.createItems(BI.deepClone(Demo.CONSTANTS.SIMPLE_ITEMS), { + type: "bi.multi_select_item" + }) + }) + } +}); +BI.shortcut("demo.select_list", Demo.Func); \ No newline at end of file diff --git a/demo/js/case/pager/demo.all_count_pager.js b/demo/js/case/pager/demo.all_count_pager.js new file mode 100644 index 000000000..16f9a128d --- /dev/null +++ b/demo/js/case/pager/demo.all_count_pager.js @@ -0,0 +1,25 @@ +Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + render: function () { + BI.createWidget({ + type: "bi.vertical", + hgap: 200, + vgap: 50, + element: this, + items: [{ + type: "bi.label", + height: 30, + text: " (测试条件:总页数为3)" + }, { + type: "bi.all_count_pager", + pages: 3, + curr: 1, + count: 1000 + }] + }) + } +}); +BI.shortcut("demo.all_count_pager", Demo.Func); \ No newline at end of file diff --git a/demo/js/case/pager/demo.direction_pager.js b/demo/js/case/pager/demo.direction_pager.js new file mode 100644 index 000000000..e5b0e3ce5 --- /dev/null +++ b/demo/js/case/pager/demo.direction_pager.js @@ -0,0 +1,18 @@ +Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + render: function () { + BI.createWidget({ + type: "bi.vertical", + hgap: 200, + vgap: 50, + element: this, + items: [{ + type: "bi.direction_pager", + }] + }) + } +}); +BI.shortcut("demo.direction_pager", Demo.Func); \ No newline at end of file diff --git a/demo/js/case/pane/demo.list_pane.js b/demo/js/case/pane/demo.list_pane.js new file mode 100644 index 000000000..179aa11e5 --- /dev/null +++ b/demo/js/case/pane/demo.list_pane.js @@ -0,0 +1,34 @@ +Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + render: function () { + var self = this; + return { + type: "bi.list_pane", + ref: function () { + self.pane = this; + }, + itemsCreator: function (op, callback) { + setTimeout(function () { + callback(BI.createItems(BI.deepClone(Demo.CONSTANTS.ITEMS), { + type: "bi.multi_select_item", + height: 25 + })) + }, 2000) + }, + el: { + type: "bi.button_group", + layouts: [{ + type: "bi.vertical" + }] + } + } + }, + + mounted: function () { + this.pane.populate(); + } +}); +BI.shortcut("demo.list_pane", Demo.Func); \ No newline at end of file diff --git a/demo/js/case/pane/demo.multi_popup_view.js b/demo/js/case/pane/demo.multi_popup_view.js new file mode 100644 index 000000000..aac46f3a6 --- /dev/null +++ b/demo/js/case/pane/demo.multi_popup_view.js @@ -0,0 +1,39 @@ +Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + render: function () { + var self = this; + return { + type: "bi.absolute", + items: [{ + el: { + type: "bi.combo", + width: 200, + height: 30, + el: { + type: "bi.text_button", + text: "点击", + cls: "bi-border", + height: 30 + }, + popup: { + type: "bi.multi_popup_view", + el: { + type: "bi.button_group", + layouts: [{ + type: "bi.vertical" + }], + items: BI.createItems(BI.deepClone(Demo.CONSTANTS.ITEMS), { + type: "bi.multi_select_item", + height: 25 + }) + } + } + } + }] + } + } +}); +BI.shortcut("demo.multi_popup_view", Demo.Func); \ No newline at end of file diff --git a/demo/js/case/pane/demo.panel.js b/demo/js/case/pane/demo.panel.js new file mode 100644 index 000000000..627fd8bf9 --- /dev/null +++ b/demo/js/case/pane/demo.panel.js @@ -0,0 +1,28 @@ +Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + render: function () { + var self = this; + return { + type: "bi.panel", + title: "title", + titleButtons: [{ + type: "bi.button", + text: "操作" + }], + el: { + type: "bi.button_group", + layouts: [{ + type: "bi.vertical" + }], + items: BI.createItems(BI.deepClone(Demo.CONSTANTS.ITEMS), { + type: "bi.multi_select_item", + height: 25 + }) + } + } + } +}); +BI.shortcut("demo.panel", Demo.Func); \ No newline at end of file diff --git a/demo/js/case/pane/demo.popup_panel.js b/demo/js/case/pane/demo.popup_panel.js new file mode 100644 index 000000000..b1b5cc4f7 --- /dev/null +++ b/demo/js/case/pane/demo.popup_panel.js @@ -0,0 +1,39 @@ +Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + render: function () { + var self = this; + return { + type: "bi.absolute", + items: [{ + el: { + type: "bi.combo", + width: 200, + height: 30, + el: { + type: "bi.text_button", + text: "点击", + cls: "bi-border", + height: 30 + }, + popup: { + type: "bi.popup_panel", + el: { + type: "bi.button_group", + layouts: [{ + type: "bi.vertical" + }], + items: BI.createItems(BI.deepClone(Demo.CONSTANTS.ITEMS), { + type: "bi.multi_select_item", + height: 25 + }) + } + } + } + }] + } + } +}); +BI.shortcut("demo.popup_panel", Demo.Func); \ No newline at end of file diff --git a/demo/js/case/table/demo.adaptive_table.js b/demo/js/case/table/demo.adaptive_table.js new file mode 100644 index 000000000..3355fc6aa --- /dev/null +++ b/demo/js/case/table/demo.adaptive_table.js @@ -0,0 +1,160 @@ +Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + render: function () { + var items = [[{ + text: "第一行第一列" + }, { + text: "第一行第一列" + }, { + text: "第一行第一列" + }], [{ + text: "第一行第一列" + }, { + text: "第一行第一列" + }, { + text: "第一行第一列" + }], [{ + text: "第三行第一列" + }, { + text: "第三行第二列" + }, { + text: "第三行第三列" + }], [{ + text: "第四行第一列" + }, { + text: "第四行第二列" + }, { + text: "第四行第三列" + }], [{ + text: "第五行第一列" + }, { + text: "第五行第二列" + }, { + text: "第五行第三列" + }], [{ + text: "第六行第一列" + }, { + text: "第六行第二列" + }, { + text: "第六行第三列" + }], [{ + text: "第七行第一列" + }, { + text: "第七行第二列" + }, { + text: "第七行第三列" + }], [{ + text: "第八行第一列" + }, { + text: "第八行第二列" + }, { + text: "第八行第三列" + }], [{ + text: "第九行第一列" + }, { + text: "第九行第二列" + }, { + text: "第九行第三列" + }], [{ + text: "第十行第一列" + }, { + text: "第十行第二列" + }, { + text: "第十行第三列" + }], [{ + text: "第十一行第一列" + }, { + text: "第十一行第二列" + }, { + text: "第十一行第三列" + }], [{ + text: "第十二行第一列" + }, { + text: "第十二行第二列" + }, { + text: "第十二行第三列" + }], [{ + text: "第十三行第一列" + }, { + text: "第十三行第二列" + }, { + text: "第十三行第三列" + }], [{ + text: "第十四行第一列" + }, { + text: "第十四行第二列" + }, { + text: "第十四行第三列" + }], [{ + text: "第十五行第一列" + }, { + text: "第十五行第二列" + }, { + text: "第十五行第三列" + }], [{ + text: "第十六行第一列" + }, { + text: "第十六行第二列" + }, { + text: "第十六行第三列" + }], [{ + text: "第十七行第一列" + }, { + text: "第十七行第二列" + }, { + text: "第十七行第三列" + }], [{ + text: "第十八行第一列" + }, { + text: "第十八行第二列" + }, { + text: "第十八行第三列" + }]]; + + var header = [[{ + text: "表头1" + }, { + text: "表头2" + }, { + text: "表头3" + }]]; + + var table = BI.createWidget({ + type: "bi.adaptive_table", + el: { + type: "bi.resizable_table", + el: { + type: "bi.grid_table", + } + }, + width: 600, + height: 400, + minColumnSize: [100, 100, 100], + columnSize: [100, 100, 100], + header: header, + items: items + }); + BI.createWidget({ + type: "bi.absolute", + element: this, + items: [{ + el: { + type: "bi.grid", + columns: 1, + rows: 1, + items: [[{ + el: table + }]] + }, + left: 10, + right: 10, + top: 10, + bottom: 10 + }] + }) + } +}); +BI.shortcut("demo.adaptive_table", Demo.Func); \ No newline at end of file diff --git a/demo/js/case/table/demo.layer_tree_table.js b/demo/js/case/table/demo.layer_tree_table.js new file mode 100644 index 000000000..9621f9318 --- /dev/null +++ b/demo/js/case/table/demo.layer_tree_table.js @@ -0,0 +1,149 @@ +Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + render: function () { + var items = [{ + children: [{ + text: "节点1", + children: [{ + text: "子节点1", + children: [{ + text: "叶节点1", + values: [{text: 11}, {text: 12}, {text: 11}, {text: 12}, {text: 11}, {text: 12}, {text: 112}] + }, { + text: "叶节点2", + values: [{text: 21}, {text: 22}, {text: 21}, {text: 22}, {text: 21}, {text: 22}, {text: 122}] + }], + values: [{text: 101}, {text: 102}, {text: 101}, {text: 102}, {text: 101}, {text: 102}, {text: 1102}] + }, { + text: "子节点2", + children: [{ + text: "叶节点3", + values: [{text: 31}, {text: 32}, {text: 31}, {text: 32}, {text: 31}, {text: 32}, {text: 132}] + }, { + text: "叶节点4", + values: [{text: 41}, {text: 42}, {text: 41}, {text: 42}, {text: 41}, {text: 42}, {text: 142}] + }], + values: [{text: 201}, {text: 202}, {text: 201}, {text: 202}, {text: 201}, {text: 202}, {text: 1202}] + }, { + text: "子节点3", + children: [{ + text: "叶节点5", + values: [{text: 51}, {text: 52}, {text: 51}, {text: 52}, {text: 51}, {text: 52}, {text: 152}] + }], + values: [{text: 301}, {text: 302}, {text: 301}, {text: 302}, {text: 301}, {text: 302}, {text: 1302}] + }], + values: [{text: 1001}, {text: 1002}, {text: 1001}, {text: 1002}, {text: 1001}, {text: 1002}, {text: 11002}] + }, { + text: "节点2", + values: [{text: 2001}, {text: 2002}, {text: 2001}, {text: 2002}, {text: 2001}, {text: 2002}, {text: 12002}] + }], + values: [{text: 12001}, {text: 12002}, {text: 12001}, {text: 12002}, {text: 12001}, {text: 12002}, {text: 112002}] + }]; + + var header = [{ + text: "header1" + }, { + text: "header2" + }, { + text: "header3" + }, { + text: "金额", + tag: 1 + }, { + text: "金额", + tag: 2 + }, { + text: "金额", + tag: 3 + }, { + text: "金额", + tag: 4 + }, { + text: "金额", + tag: 5 + }, { + text: "金额", + tag: 6 + }, { + text: "金额", + tag: 7 + }]; + + var crossHeader = [{ + text: "cross1" + }, { + text: "cross2" + }]; + + var crossItems = [{ + children: [{ + text: "节点1", + children: [{ + text: "子节点1" + }, { + text: "子节点2" + }], + values: [0] + }, { + text: "节点2", + children: [{ + text: "子节点3" + }, { + text: "子节点4" + }], + values: [0] + }], + values: [0] + }]; + + var table = BI.createWidget({ + type: "bi.layer_tree_table", + el: { + type: "bi.adaptive_table", + el: { + type: "bi.resizable_table", + el: { + type: "bi.collection_table", + mergeRule: function (col1, col2) { + return BI.isEqual(col1, col2); + } + } + } + }, + width: 600, + height: 400, + isNeedFreeze: true, + isNeedMerge: true, + freezeCols: [0, 1, 2], + mergeCols: [0, 1, 2], + minColumnSize: [100, 100, 100, 100, 100, 100, 100, 100, 100, 100], + columnSize: [100, 100, 100, 100, 100, 100, 100, 100, 100, 100], + header: header, + items: items, + crossHeader: crossHeader, + crossItems: crossItems + }); + BI.createWidget({ + type: "bi.absolute", + element: this, + items: [{ + el: { + type: "bi.grid", + columns: 1, + rows: 1, + items: [[{ + el: table + }]] + }, + left: 10, + right: 10, + top: 10, + bottom: 10 + }] + }) + } +}); +BI.shortcut("demo.layer_tree_table", Demo.Func); \ No newline at end of file diff --git a/demo/js/case/table/demo.tree_table.js b/demo/js/case/table/demo.tree_table.js new file mode 100644 index 000000000..a7ff3390a --- /dev/null +++ b/demo/js/case/table/demo.tree_table.js @@ -0,0 +1,149 @@ +Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + render: function () { + var items = [{ + children: [{ + text: "节点1", + children: [{ + text: "子节点1", + children: [{ + text: "叶节点1", + values: [{text: 11}, {text: 12}, {text: 11}, {text: 12}, {text: 11}, {text: 12}, {text: 112}] + }, { + text: "叶节点2", + values: [{text: 21}, {text: 22}, {text: 21}, {text: 22}, {text: 21}, {text: 22}, {text: 122}] + }], + values: [{text: 101}, {text: 102}, {text: 101}, {text: 102}, {text: 101}, {text: 102}, {text: 1102}] + }, { + text: "子节点2", + children: [{ + text: "叶节点3", + values: [{text: 31}, {text: 32}, {text: 31}, {text: 32}, {text: 31}, {text: 32}, {text: 132}] + }, { + text: "叶节点4", + values: [{text: 41}, {text: 42}, {text: 41}, {text: 42}, {text: 41}, {text: 42}, {text: 142}] + }], + values: [{text: 201}, {text: 202}, {text: 201}, {text: 202}, {text: 201}, {text: 202}, {text: 1202}] + }, { + text: "子节点3", + children: [{ + text: "叶节点5", + values: [{text: 51}, {text: 52}, {text: 51}, {text: 52}, {text: 51}, {text: 52}, {text: 152}] + }], + values: [{text: 301}, {text: 302}, {text: 301}, {text: 302}, {text: 301}, {text: 302}, {text: 1302}] + }], + values: [{text: 1001}, {text: 1002}, {text: 1001}, {text: 1002}, {text: 1001}, {text: 1002}, {text: 11002}] + }, { + text: "节点2", + values: [{text: 2001}, {text: 2002}, {text: 2001}, {text: 2002}, {text: 2001}, {text: 2002}, {text: 12002}] + }], + values: [{text: 12001}, {text: 12002}, {text: 12001}, {text: 12002}, {text: 12001}, {text: 12002}, {text: 112002}] + }]; + + var header = [{ + text: "header1" + }, { + text: "header2" + }, { + text: "header3" + }, { + text: "金额", + tag: 1 + }, { + text: "金额", + tag: 2 + }, { + text: "金额", + tag: 3 + }, { + text: "金额", + tag: 4 + }, { + text: "金额", + tag: 5 + }, { + text: "金额", + tag: 6 + }, { + text: "金额", + tag: 7 + }]; + + var crossHeader = [{ + text: "cross1" + }, { + text: "cross2" + }]; + + var crossItems = [{ + children: [{ + text: "节点1", + children: [{ + text: "子节点1" + }, { + text: "子节点2" + }], + values: [0] + }, { + text: "节点2", + children: [{ + text: "子节点3" + }, { + text: "子节点4" + }], + values: [0] + }], + values: [0] + }]; + + var table = BI.createWidget({ + type: "bi.tree_table", + el: { + type: "bi.adaptive_table", + el: { + type: "bi.resizable_table", + el: { + type: "bi.collection_table", + mergeRule: function (col1, col2) { + return BI.isEqual(col1, col2); + } + } + } + }, + width: 600, + height: 400, + isNeedFreeze: true, + isNeedMerge: true, + freezeCols: [0, 1, 2], + mergeCols: [0, 1, 2], + minColumnSize: [100, 100, 100, 100, 100, 100, 100, 100, 100, 100], + columnSize: [100, 100, 100, 100, 100, 100, 100, 100, 100, 100], + header: header, + items: items, + crossHeader: crossHeader, + crossItems: crossItems + }); + BI.createWidget({ + type: "bi.absolute", + element: this, + items: [{ + el: { + type: "bi.grid", + columns: 1, + rows: 1, + items: [[{ + el: table + }]] + }, + left: 10, + right: 10, + top: 10, + bottom: 10 + }] + }) + } +}); +BI.shortcut("demo.tree_table", Demo.Func); \ No newline at end of file diff --git a/demo/js/case/triggers/demo.editor_trigger.js b/demo/js/case/triggers/demo.editor_trigger.js new file mode 100644 index 000000000..1eeedce35 --- /dev/null +++ b/demo/js/case/triggers/demo.editor_trigger.js @@ -0,0 +1,24 @@ +Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + render: function () { + BI.createWidget({ + type: "bi.vertical", + element: this, + items: [{ + type: "bi.label", + text: "输入框加图标的trigger" + }, { + type: "bi.editor_trigger", + watermark: "这是水印", + width: 200, + height: 30 + }], + hgap: 20, + vgap: 20 + }) + } +}); +BI.shortcut("demo.editor_trigger", Demo.Func); \ No newline at end of file diff --git a/demo/js/case/triggers/demo.icon_trigger.js b/demo/js/case/triggers/demo.icon_trigger.js new file mode 100644 index 000000000..99beac713 --- /dev/null +++ b/demo/js/case/triggers/demo.icon_trigger.js @@ -0,0 +1,24 @@ +Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + render: function () { + + BI.createWidget({ + type: "bi.vertical", + element: this, + items: [{ + type: "bi.label", + text: "只有一个图标的trigger" + }, { + type: "bi.icon_trigger", + width: 30, + height: 30 + }], + hgap: 20, + vgap: 20 + }) + } +}); +BI.shortcut("demo.icon_trigger", Demo.Func); \ No newline at end of file diff --git a/demo/js/case/triggers/demo.select_text_trigger.js b/demo/js/case/triggers/demo.select_text_trigger.js new file mode 100644 index 000000000..a9b3f08a4 --- /dev/null +++ b/demo/js/case/triggers/demo.select_text_trigger.js @@ -0,0 +1,25 @@ +Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + render: function () { + + BI.createWidget({ + type: "bi.vertical", + element: this, + items: [{ + type: "bi.label", + text: "可被选择的trigger" + }, { + type: "bi.select_text_trigger", + text: "这是一个简单的trigger", + width: 200, + height: 30 + }], + hgap: 20, + vgap: 20 + }) + } +}); +BI.shortcut("demo.select_text_trigger", Demo.Func); \ No newline at end of file diff --git a/demo/js/case/triggers/demo.text_trigger.js b/demo/js/case/triggers/demo.text_trigger.js new file mode 100644 index 000000000..ed8526619 --- /dev/null +++ b/demo/js/case/triggers/demo.text_trigger.js @@ -0,0 +1,25 @@ +Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + render: function () { + + BI.createWidget({ + type: "bi.vertical", + element: this, + items: [{ + type: "bi.label", + text: "文本加图标的trigger" + }, { + type: "bi.text_trigger", + text: "这是一个简单的trigger", + width: 200, + height: 30 + }], + hgap: 20, + vgap: 20 + }) + } +}); +BI.shortcut("demo.text_trigger", Demo.Func); \ No newline at end of file diff --git a/demo/js/config/case.js b/demo/js/config/case.js index 331c946a3..844a4985c 100644 --- a/demo/js/config/case.js +++ b/demo/js/config/case.js @@ -60,20 +60,20 @@ Demo.CASE_CONFIG = [{ value: "demo.lazy_loader" }, { pId: 302, - text: "bi.list_loader", - value: "demo.list_loader" + text: "bi.sort_list(排序)", + value: "demo.sort_list" }, { pId: 302, - text: "bi.sort_list", - value: "demo.sort_list" + text: "bi.list_loader(排序)", + value: "demo.list_loader" }, { pId: 3, id: 303, text: "面板" }, { pId: 303, - text: "bi.pane_list", - value: "demo.pane_list" + text: "bi.list_pane", + value: "demo.list_pane" }, { pId: 303, text: "bi.panel", @@ -134,6 +134,10 @@ Demo.CASE_CONFIG = [{ pId: 306, text: "bi.text_value_check_combo", value: "demo.text_value_check_combo" +}, { + pId: 306, + text: "bi.editor_icon_check_combo", + value: "demo.editor_icon_check_combo" }, { pId: 306, text: "bi.text_value_down_list_combo", diff --git a/demo/js/config/core.js b/demo/js/config/core.js index 6ef7c16a7..9de86d528 100644 --- a/demo/js/config/core.js +++ b/demo/js/config/core.js @@ -124,14 +124,18 @@ Demo.CORE_CONFIG = [{ pId: 10201, text: "bi.combo", value: "demo.combo" +}, { + pId: 10201, + text: "bi.combo(各种位置)", + value: "demo.combo2" }, { pId: 10201, text: "bi.expander", value: "demo.expander" }, { pId: 10201, - text: "bi.group_combo", - value: "demo.group_combo" + text: "bi.combo_group", + value: "demo.combo_group" }, { pId: 10201, text: "bi.loader", @@ -158,23 +162,23 @@ Demo.CORE_CONFIG = [{ text: "弹出层" }, { pId: 10202, - text: "bi.layer_float_box", - value: "demo.layer_float_box" + text: "bi.float_box", + value: "demo.float_box" }, { pId: 10202, - text: "bi.layer_popup", - value: "demo.layer_popup" + text: "bi.popup_view", + value: "demo.popup_view" }, { pId: 10202, text: "bi.searcher_view", value: "demo.searcher_view" }, { pId: 1, - text: "widget", + text: "Widget", value: "demo.widget" }, { pId: 1, - text: "single", + text: "Single", value: "demo.single" }, { pId: 1, @@ -186,6 +190,6 @@ Demo.CORE_CONFIG = [{ value: "demo.node_button" }, { pId: 1, - text: "pane", + text: "Pane", value: "demo.pane" }]; \ No newline at end of file diff --git a/demo/js/config/widget.js b/demo/js/config/widget.js index 8e5cd94f8..eb55d2137 100644 --- a/demo/js/config/widget.js +++ b/demo/js/config/widget.js @@ -80,8 +80,12 @@ Demo.WIDGET_CONFIG = [{ value: "demo.responsive_table" }, { pId: 404, - text: "bi.excel_table", - value: "demo.excel_table" + text: "bi.sequence_table", + value: "demo.sequence_table" +}, { + pId: 404, + text: "bi.page_table", + value: "demo.page_table" }, { pId: 4, id: 405, @@ -154,14 +158,6 @@ Demo.WIDGET_CONFIG = [{ pId: 412, text: "bi.quarter_combo", value: "demo.quarter" -}, { - pId: 412, - text: "bi.date_combo", - value: "demo.date" -}, { - pId: 412, - text: "bi.date_pane", - value: "demo.date_pane" }, { pId: 412, text: "bi.year_month_combo", @@ -172,11 +168,19 @@ Demo.WIDGET_CONFIG = [{ value: "demo.year_quarter_combo" }, { pId: 412, - text: "bi.custom_date_time", - value: "demo.custom_date_time" + text: "bi.date_pane", + value: "demo.date_pane" +}, { + pId: 412, + text: "bi.multidate_combo", + value: "demo.multidate_combo" +}, { + pId: 412, + text: "bi.date_time", + value: "demo.date_time" }, { pId: 412, - text: '时间间隔', + text: 'bi.time_interval', value: 'demo.time_interval' }, { pId: 4, @@ -218,14 +222,6 @@ Demo.WIDGET_CONFIG = [{ pId: 417, text: "bi.interactive_arrangement", value: "demo.interactive_arrangement" -}, { - pId: 4, - id: 418, - text: "提示对话框" -}, { - pId: 418, - text: "bi.dialog", - value: "demo.dialog" }, { pId: 4, id: 419, diff --git a/demo/js/core/abstract/combination/demo.combo2.js b/demo/js/core/abstract/combination/demo.combo2.js new file mode 100644 index 000000000..95a94b2cc --- /dev/null +++ b/demo/js/core/abstract/combination/demo.combo2.js @@ -0,0 +1,163 @@ +Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + _createEl: function () { + return { + type: "bi.button", + height: 25, + text: "点击" + } + }, + + oneCombo: function () { + return BI.createWidget({ + type: "bi.combo", + adjustLength: 5, + el: this._createEl(), + popup: { + el: { + type: "bi.layout", + height: 500 + }, + maxHeight: 400 + } + }); + }, + + twoCombo: function () { + return BI.createWidget({ + type: "bi.combo", + adjustXOffset: 25, + adjustYOffset: 5, + direction: "bottom,left", + el: this._createEl(), + popup: { + el: { + type: "bi.layout", + height: 1200 + } + } + }); + }, + + threeCombo: function () { + return BI.createWidget({ + type: "bi.combo", + adjustYOffset: 5, + el: this._createEl(), + isNeedAdjustHeight: false, + popup: { + el: { + type: "bi.layout", + height: 1200 + } + } + }); + }, + + fourCombo: function () { + return BI.createWidget({ + type: "bi.combo", + adjustXOffset: 25, + adjustYOffset: 5, + direction: "left", + el: this._createEl(), + isNeedAdjustHeight: true, + popup: { + el: { + type: "bi.layout", + height: 1200 + } + } + }) + }, + + fiveCombo: function () { + return BI.createWidget({ + type: "bi.combo", + adjustXOffset: 25, + adjustYOffset: 5, + direction: "left,top", + el: this._createEl(), + isNeedAdjustHeight: true, + popup: { + el: { + type: "bi.layout", + height: 1200 + }, + maxHeight: 2000 + } + }) + }, + + sixCombo: function () { + return BI.createWidget({ + type: "bi.combo", + adjustXOffset: 25, + adjustYOffset: 5, + direction: "top,left", + el: this._createEl(), + isNeedAdjustHeight: true, + popup: { + el: { + type: "bi.layout", + height: 1200 + } + } + }) + }, + + sevenCombo: function () { + return BI.createWidget({ + type: "bi.combo", + adjustXOffset: 25, + adjustYOffset: 5, + direction: "bottom", + isNeedAdjustWidth: false, + //isNeedAdjustHeight: false, + offsetStyle: "center", + el: this._createEl(), + popup: { + el: { + type: "bi.layout", + width: 200, + height: 1200 + } + } + }) + }, + + eightCombo: function () { + return BI.createWidget({ + type: "bi.combo", + adjustXOffset: 25, + adjustYOffset: 5, + direction: "right", + isNeedAdjustWidth: false, + //isNeedAdjustHeight: false, + offsetStyle: "middle", + el: this._createEl(), + popup: { + el: { + type: "bi.layout", + width: 200, + height: 200 + } + } + }) + }, + + render: function () { + return { + type: "bi.grid", + hgap: 10, + vgap: 5, + items: [[this.oneCombo(), this.twoCombo(), this.threeCombo()], + [this.fourCombo(), this.fiveCombo(), this.sixCombo()], + [this.sevenCombo(), this.eightCombo()]] + }; + } +}); +BI.shortcut("demo.combo2", Demo.Func); \ No newline at end of file diff --git a/demo/js/core/abstract/combination/demo.combo_group.js b/demo/js/core/abstract/combination/demo.combo_group.js new file mode 100644 index 000000000..a7e733e39 --- /dev/null +++ b/demo/js/core/abstract/combination/demo.combo_group.js @@ -0,0 +1,87 @@ +Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + child: [{ + type: "bi.combo_group", + el: { + type: "bi.icon_text_icon_item", + text: "2010年", + value: 2010, + height: 25, + iconCls: "close-ha-font" + }, + children: [{ + type: "bi.single_select_item", + height: 25, + text: "一月", + value: 11 + }, { + type: "bi.icon_text_icon_item", + height: 25, + text: "二月", + value: 12, + children: [{type: "bi.single_select_item", text: "一号", value: 101, height: 25}] + }] + }, { + text: "2011年", value: 2011 + }, { + text: "2012年", value: 2012, iconCls: "close-ha-font" + }, { + text: "2013年", value: 2013 + }, { + text: "2014年", value: 2014, iconCls: "close-ha-font" + }, { + text: "2015年", value: 2015, iconCls: "close-ha-font" + }], + + _createBottom: function () { + var childCombo = BI.createWidget({ + type: "bi.combo", + el: { + type: "bi.text_button", + cls: "button-combo", + height: 30 + }, + popup: { + el: { + type: "bi.button_tree", + items: BI.createItems(BI.deepClone(this.child), { + type: "bi.single_select_item", + height: 25, + handler: function (v) { + + } + }), + layouts: [{ + type: "bi.vertical" + }] + } + }, + width: 200 + }); + childCombo.setValue(BI.deepClone(this.child)[0].children[0].value); + + return BI.createWidget({ + type: "bi.left", + items: [childCombo], + hgap: 20, + vgap: 20 + }) + }, + + render: function () { + return { + type: "bi.grid", + columns: 1, + rows: 1, + items: [{ + column: 0, + row: 0, + el: this._createBottom() + }] + } + } +}); +BI.shortcut("demo.combo_group", Demo.Func); \ No newline at end of file diff --git a/demo/js/core/abstract/combination/demo.expander.js b/demo/js/core/abstract/combination/demo.expander.js new file mode 100644 index 000000000..672bb30d7 --- /dev/null +++ b/demo/js/core/abstract/combination/demo.expander.js @@ -0,0 +1,41 @@ +Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + render: function () { + return { + type: "bi.vertical", + hgap: 30, + vgap: 20, + items: [{ + type: "bi.expander", + el: { + type: "bi.icon_text_node", + cls: "pull-right-ha-font mvc-border", + height: 25, + text: "Expander" + }, + popup: { + cls: "mvc-border", + items: BI.createItems([{ + text: "项目1", + value: 1 + }, { + text: "项目2", + value: 2 + }, { + text: "项目3", + value: 3 + }, { + text: "项目4", + value: 4 + }], { + type: "bi.single_select_item", + height: 25 + }) + } + }] + } + } +}); +BI.shortcut("demo.expander", Demo.Func); \ No newline at end of file diff --git a/demo/js/core/abstract/combination/demo.loader.js b/demo/js/core/abstract/combination/demo.loader.js new file mode 100644 index 000000000..675f3a5ef --- /dev/null +++ b/demo/js/core/abstract/combination/demo.loader.js @@ -0,0 +1,27 @@ +Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + render: function () { + var self = this; + this.all = 0; + var items = BI.deepClone(Demo.CONSTANTS.ITEMS); + return { + type: "bi.loader", + itemsCreator: function (options, populate) { + setTimeout(function () { + populate(BI.map(items.slice((options.times - 1) * 10, options.times * 10), function (i, v) { + return BI.extend(v, { + type: "bi.single_select_item", + height: 25 + }) + })) + }, 1000); + }, + hasNext: function (options) { + return options.times * 10 < items.length; + } + } + } +}); +BI.shortcut("demo.loader", Demo.Func); \ No newline at end of file diff --git a/demo/js/core/abstract/combination/demo.navigation.js b/demo/js/core/abstract/combination/demo.navigation.js new file mode 100644 index 000000000..26b12be1a --- /dev/null +++ b/demo/js/core/abstract/combination/demo.navigation.js @@ -0,0 +1,35 @@ +Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + _createNav: function (v) { + return BI.createWidget({ + type: "bi.label", + cls: "layout-bg" + BI.random(1, 8), + text: "第" + v + "页" + }) + }, + + render: function () { + return { + type: "bi.navigation", + defaultShowIndex: 0, + tab: { + height: 30, + items: [{ + once: false, + text: "后退", + value: -1, + cls: "mvc-button layout-bg3" + }, { + once: false, + text: "前进", + value: 1, + cls: "mvc-button layout-bg4" + }] + }, + cardCreator: BI.bind(this._createNav, this) + } + } +}); +BI.shortcut("demo.navigation", Demo.Func); \ No newline at end of file diff --git a/demo/js/core/abstract/combination/demo.sercher.js b/demo/js/core/abstract/combination/demo.sercher.js index 18dba6773..fa5f68980 100644 --- a/demo/js/core/abstract/combination/demo.sercher.js +++ b/demo/js/core/abstract/combination/demo.sercher.js @@ -2,57 +2,83 @@ Demo.Func = BI.inherit(BI.Widget, { props: { baseCls: "demo-func" }, + + _createItems: function (items) { + return BI.createItems(items, { + type: "bi.multi_select_item", + height: 25, + handler: function (v) { + + } + }) + }, + render: function () { + var self = this; var items = [{ - type: "bi.label", - value: "张三" + text: "2010年", value: 2010, py: "2010n", title: "1111111111111111111111111111111111" + }, { + text: "2011年", value: 2011, py: "2011n", title: "1111111111111111111111111111111111" + }, { + text: "2012年", value: 2012, py: "2012n", title: "1111111111111111111111111111111111" + }, { + text: "2013年", value: 2013, py: "2013n", title: "1111111111111111111111111111111111" + }, { + text: "2014年", value: 2014, py: "2014n", title: "1111111111111111111111111111111111" + }, { + text: "2015年", value: 2015, py: "2015n", title: "1111111111111111111111111111111111" + }, { + text: "2016年", value: 2016, py: "2016n", title: "1111111111111111111111111111111111" }, { - type: "bi.label", - value: "李四" + text: "2017年", value: 2017, py: "2017n", title: "1111111111111111111111111111111111" }]; - var popup = BI.createWidget({ + + var adapter = BI.createWidget({ type: "bi.button_group", - cls: "bi-border", - items: items, + cls: "layout-bg1", + items: this._createItems(items), + chooseType: 1, + behaviors: {}, layouts: [{ type: "bi.vertical" }] }); - return { + BI.createWidget({ type: "bi.absolute", + element: this, + items: [{ + el: adapter, + top: 50, + left: 50, + width: 200, + height: 100 + }] + }); + BI.createWidget({ + type: "bi.absolute", + element: this, items: [{ el: { - type: "bi.searcher", - listeners: [{ - eventName: BI.Searcher.EVENT_STOP, - action: function () { - popup.populate(items) - } - }, { - eventName: BI.Searcher.EVENT_PAUSE, - action: function () { - popup.populate(items) - } - }], - adapter: { - getItems: function () { - return items - } - }, - popup: popup, - masker: false + type: "bi.absolute", + width: 200, + height: 30, + items: [{ + el: { + type: "bi.searcher", + adapter: adapter, + width: 200, + height: 30 + }, + left: 0, + right: 0, + top: 0, + bottom: 0 + }] }, - left: 0, - right: 0, - top: 0 - }, { - el: popup, - left: 0, - right: 0, - top: 50, - bottom: 0 + top: 100, + left: 300 }] - } + }) } }); BI.shortcut("demo.searcher", Demo.Func); \ No newline at end of file diff --git a/demo/js/core/abstract/combination/demo.switcher.js b/demo/js/core/abstract/combination/demo.switcher.js new file mode 100644 index 000000000..2781aa335 --- /dev/null +++ b/demo/js/core/abstract/combination/demo.switcher.js @@ -0,0 +1,59 @@ +Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + render: function () { + + var adapter = BI.createWidget({ + type: "bi.label", + cls: "layout-bg2", + text: "将在该处弹出switcher" + }); + BI.createWidget({ + type: "bi.absolute", + element: this, + items: [{ + el: adapter, + top: 50, + left: 20, + width: 200, + height: 300 + }] + }); + BI.createWidget({ + type: "bi.vertical", + element: this, + hgap: 30, + vgap: 20, + items: [{ + type: "bi.switcher", + el: { + type: "bi.button", + height: 25, + text: "Switcher" + }, + popup: { + cls: "mvc-border layout-bg5", + items: BI.createItems([{ + text: "项目1", + value: 1 + }, { + text: "项目2", + value: 2 + }, { + text: "项目3", + value: 3 + }, { + text: "项目4", + value: 4 + }], { + type: "bi.single_select_item", + height: 25 + }) + }, + adapter: adapter + }] + }) + } +}); +BI.shortcut("demo.switcher", Demo.Func); \ No newline at end of file diff --git a/demo/js/core/abstract/combination/demo.tab.js b/demo/js/core/abstract/combination/demo.tab.js new file mode 100644 index 000000000..100233696 --- /dev/null +++ b/demo/js/core/abstract/combination/demo.tab.js @@ -0,0 +1,69 @@ +Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + _createTabs: function (v) { + switch (v) { + case 1: + return BI.createWidget({ + type: "bi.label", + cls: "layout-bg1", + text: "面板1" + }) + case 2: + return BI.createWidget({ + type: "bi.label", + cls: "layout-bg2", + text: "面板2" + }) + } + }, + + render: function () { + this.tab = BI.createWidget({ + type: "bi.button_group", + height: 30, + items: [{ + text: "Tab1", + value: 1, + width: 50, + cls: "mvc-button layout-bg3" + }, { + text: "Tab2", + value: 2, + width: 50, + cls: "mvc-button layout-bg4" + }], + layouts: [{ + type: "bi.center_adapt", + items: [{ + el: { + type: "bi.horizontal", + width: 100 + } + }] + }] + }); + + var tab = BI.createWidget({ + direction: "custom", + type: "bi.tab", + element: this, + tab: this.tab, + cardCreator: BI.bind(this._createTabs, this) + }); + BI.createWidget({ + type: "bi.absolute", + element: this, + items: [{ + el: this.tab, + left: 200, + top: 200 + }] + }) + + tab.setSelect(2); + } +}); +BI.shortcut("demo.tab", Demo.Func); \ No newline at end of file diff --git a/demo/js/core/abstract/mvc.custom_tree.js b/demo/js/core/abstract/demo.custom_tree.js similarity index 100% rename from demo/js/core/abstract/mvc.custom_tree.js rename to demo/js/core/abstract/demo.custom_tree.js diff --git a/demo/js/widget/basewidget/demo.items.js b/demo/js/widget/basewidget/demo.items.js index 24ccea431..97e0f8087 100644 --- a/demo/js/widget/basewidget/demo.items.js +++ b/demo/js/widget/basewidget/demo.items.js @@ -15,6 +15,9 @@ Demo.Items = BI.inherit(BI.Widget, { }, { type: "bi.single_select_item", text: "单选项" + }, { + type: "bi.single_select_radio_item", + text: "单选项" }, { type: "bi.label", height: 30, diff --git a/demo/js/widget/date/demo.date.js b/demo/js/widget/date/demo.multidate_combo.js similarity index 92% rename from demo/js/widget/date/demo.date.js rename to demo/js/widget/date/demo.multidate_combo.js index 72d2ea823..640f8215a 100644 --- a/demo/js/widget/date/demo.date.js +++ b/demo/js/widget/date/demo.multidate_combo.js @@ -16,7 +16,7 @@ Demo.Date = BI.inherit(BI.Widget, { type: "bi.horizontal_auto", vgap: 10, items: [{ - type: "bi.date_combo", + type: "bi.multidate_combo", ref: function () { self.datecombo = this; }, @@ -44,4 +44,4 @@ Demo.Date = BI.inherit(BI.Widget, { } }) -BI.shortcut("demo.date", Demo.Date); \ No newline at end of file +BI.shortcut("demo.multidate_combo", Demo.Date); \ No newline at end of file diff --git a/demo/js/widget/datetime/demo.datetime.js b/demo/js/widget/datetime/demo.datetime.js index dd8182cc5..051529dbe 100644 --- a/demo/js/widget/datetime/demo.datetime.js +++ b/demo/js/widget/datetime/demo.datetime.js @@ -2,31 +2,27 @@ * Created by Urthur on 2017/7/18. */ Demo.CustomDateTime = BI.inherit(BI.Widget, { - props: { - }, + props: {}, render: function () { var self = this; return { type: "bi.absolute", items: [{ el: { - type: "bi.custom_date_time_combo", - ref: function (_ref) { - self.customDateTime = _ref; - var value, date, dateStr; - self.customDateTime.on(BI.CustomDateTimeCombo.EVENT_CONFIRM, function () { - value = this.getValue(); - date = new Date(value.year,value.month,value.day,value.hour,value.minute,value.second); - dateStr = date.print("%Y-%X-%d %H:%M:%S"); + type: "bi.date_time_combo", + listeners: [{ + eventName: BI.DateTimeCombo.EVENT_CONFIRM, + action: function () { + var value = this.getValue(); + var date = new Date(value.year, value.month, value.day, value.hour, value.minute, value.second); + var dateStr = date.print("%Y-%X-%d %H:%M:%S"); BI.Msg.alert("日期", dateStr); - }); - self.customDateTime.on(BI.CustomDateTimeCombo.EVENT_CANCEL, function () { - value = this.getValue(); - date = new Date(value.year,value.month,value.day,value.hour,value.minute,value.second); - dateStr = date.print("%Y-%X-%d %H:%M:%S"); - BI.Msg.alert("日期", dateStr); - }); - } + } + }, { + eventName: BI.DateTimeCombo.EVENT_CANCEL, + action: function () { + } + }] }, top: 200, left: 200 @@ -34,4 +30,4 @@ Demo.CustomDateTime = BI.inherit(BI.Widget, { }; } }); -BI.shortcut("demo.custom_date_time", Demo.CustomDateTime); \ No newline at end of file +BI.shortcut("demo.date_time", Demo.CustomDateTime); \ No newline at end of file diff --git a/demo/js/widget/dialog/demo.dialog.js b/demo/js/widget/dialog/demo.dialog.js deleted file mode 100644 index 2e0ec34b0..000000000 --- a/demo/js/widget/dialog/demo.dialog.js +++ /dev/null @@ -1,27 +0,0 @@ -Demo.DialogView = BI.inherit(BI.Widget, { - - render: function () { - var items = [{ - el: { - type: 'bi.button', - text: '弹出对话框', - level: 'common', - height: 30 - } - }]; - BI.each(items, function (i, item) { - item.el.handler = function () { - BI.Msg.alert('提示', "这是一段可以换行的文字,为了使它换行我要多写几个字,但是我又凑不够这么多的字,万般焦急下,只能随便写写"); - } - }); - - return { - type: "bi.left", - vgap: 200, - hgap: 20, - items: items - } - } -}); - -BI.shortcut("demo.dialog", Demo.DialogView); \ No newline at end of file diff --git a/demo/js/widget/downlist/demo.downlist.js b/demo/js/widget/downlist/demo.downlist.js index 41d22d3df..5b2829c23 100644 --- a/demo/js/widget/downlist/demo.downlist.js +++ b/demo/js/widget/downlist/demo.downlist.js @@ -17,7 +17,7 @@ Demo.Downlist = BI.inherit(BI.Widget, { render: function () { - self = this; + var self = this; return { type: "bi.horizontal_adapt", items: [{ @@ -25,7 +25,7 @@ Demo.Downlist = BI.inherit(BI.Widget, { ref: function (_ref) { self.downlist = _ref; }, - cls:"layout-bg3", + cls: "layout-bg3", height: 30, width: 100, items: [ @@ -68,11 +68,11 @@ Demo.Downlist = BI.inherit(BI.Widget, { }] }], [{ - text: "column 8", - value: 18, - cls: "dot-e-font", - selected: true - }, + text: "column 8", + value: 18, + cls: "dot-e-font", + selected: true + }, { text: "column 9", @@ -81,11 +81,11 @@ Demo.Downlist = BI.inherit(BI.Widget, { } ], [{ - text: "column 10", - value: 20, - cls: "dot-e-font", - selected: true - }, + text: "column 10", + value: 20, + cls: "dot-e-font", + selected: true + }, { text: "column 11", @@ -122,8 +122,8 @@ Demo.Downlist = BI.inherit(BI.Widget, { }, { type: "bi.label", text: "显示选择值", - width:500, - cls:"layout-bg4", + width: 500, + cls: "layout-bg4", ref: function (_ref) { self.label = _ref; } diff --git a/demo/js/widget/table/demo.excel_table.js b/demo/js/widget/table/demo.excel_table.js deleted file mode 100644 index 5e518d165..000000000 --- a/demo/js/widget/table/demo.excel_table.js +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Created by Dailer on 2017/7/12. - */ -Demo.ExcelTable = BI.inherit(BI.Widget, { - props: { - baseCls: "demo-exceltable" - }, - render: function () { - return { - type: "bi.horizontal_auto", - items: [{ - type: "bi.excel_table", - columnSize: [200,200,200,200,200], - items: [ - [{ - type: "bi.label", - cls: "layout-bg1", - text: "第一行第一列" - }, { - type: "bi.label", - cls: "layout-bg2", - text: "第一行第二列" - }], - [{ - type: "bi.label", - cls: "layout-bg3", - text: "第二行第一列" - }, { - type: "bi.label", - cls: "layout-bg4", - text: "第二行第二列" - }] - ] - }], - width:500 - } - } -}) - -BI.shortcut("demo.excel_table", Demo.ExcelTable); \ No newline at end of file diff --git a/demo/version.js b/demo/version.js index aeff07db8..b659c5009 100644 --- a/demo/version.js +++ b/demo/version.js @@ -13,6 +13,8 @@ BI.i18n = { "BI-Basic_Clears": "清空", "BI-Basic_Cancel": "取消", "BI-Basic_Time": "时间", + "BI-Basic_Total": "总", + "BI-Tiao_Data": "条数据", "BI-Basic_Simple_Sunday": "日", "BI-Basic_Simple_Monday": "一", "BI-Basic_Simple_Tuesday": "二", diff --git a/dist/bundle.css b/dist/bundle.css index 43ce31612..67ef24aa5 100644 --- a/dist/bundle.css +++ b/dist/bundle.css @@ -3172,19 +3172,19 @@ ul.ztree.zTreeDragUL { -moz-border-radius: 2px; border-radius: 2px; } -.bi-multidate-popup .bi-multidate-popup-label { +.bi-multidate-popup .multidate-popup-label { color: #3f8ce8; font-size: 14px; } -.bi-multidate-popup .bi-multidate-popup-item:active, -.bi-multidate-popup .bi-multidate-popup-item.active { +.bi-multidate-popup .multidate-popup-item:active, +.bi-multidate-popup .multidate-popup-item.active { background-color: #3f8ce8; color: #ffffff; -webkit-border-radius: 2px 2px 0 0; -moz-border-radius: 2px 2px 0 0; border-radius: 2px 2px 0 0; } -.bi-multidate-popup .bi-multidate-popup-button { +.bi-multidate-popup .multidate-popup-button { color: #3f8ce8; font-size: 14px; } diff --git a/dist/bundle.js b/dist/bundle.js index 8eb3f6a14..7cbfcbdfe 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -69421,6 +69421,7 @@ BI.ColorChooserPopup = BI.inherit(BI.Widget, { _defaultConfig: function () { return BI.extend(BI.ColorChooserPopup.superclass._defaultConfig.apply(this, arguments), { baseCls: "bi-color-chooser-popup", + width: 200, height: 145 }) }, @@ -80652,7 +80653,7 @@ BI.DateCombo = BI.inherit(BI.Widget, { _defaultConfig: function () { return BI.extend(BI.DateCombo.superclass._defaultConfig.apply(this, arguments), { baseCls: "bi-date-combo bi-border", - height: 30 + height: 25 }); }, _init: function () { @@ -81152,6 +81153,7 @@ BI.DateTimeCombo = BI.inherit(BI.Single, { _defaultConfig: function () { return BI.extend(BI.DateTimeCombo.superclass._defaultConfig.apply(this, arguments), { baseCls: 'bi-date-time-combo bi-border', + width: 200, height: 24 }); }, @@ -81267,50 +81269,6 @@ BI.DateTimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.DateTimeCombo.EVENT_CHANGE = "EVENT_CHANGE"; BI.DateTimeCombo.EVENT_BEFORE_POPUPVIEW = "BI.DateTimeCombo.EVENT_BEFORE_POPUPVIEW"; BI.shortcut('bi.date_time_combo', BI.DateTimeCombo); -/** - * Created by Urthur on 2017/7/14. - */ -BI.CustomDateTimeCombo = BI.inherit(BI.Widget, { - _defaultConfig: function () { - return BI.extend(BI.CustomDateTimeCombo.superclass._defaultConfig.apply(this, arguments), { - baseCls: "bi-custom-date-time-combo" - }) - }, - - _init: function () { - BI.CustomDateTimeCombo.superclass._init.apply(this, arguments); - var self = this; - this.DateTime = BI.createWidget({ - type: "bi.date_time_combo", - element: this - }); - this.DateTime.on(BI.DateTimeCombo.EVENT_CANCEL, function () { - self.fireEvent(BI.CustomDateTimeCombo.EVENT_CHANGE); - self.fireEvent(BI.CustomDateTimeCombo.EVENT_CANCEL); - }); - - this.DateTime.on(BI.DateTimeCombo.EVENT_CONFIRM, function () { - self.fireEvent(BI.CustomDateTimeCombo.EVENT_CHANGE); - self.fireEvent(BI.CustomDateTimeCombo.EVENT_CONFIRM); - }); - - this.DateTime.on(BI.DateTimeCombo.EVENT_CHANGE, function () { - self.fireEvent(BI.CustomDateTimeCombo.EVENT_CHANGE); - }); - }, - - getValue: function () { - return this.DateTime.getValue(); - }, - - setValue: function (v) { - this.DateTime.setValue(v); - } -}); -BI.CustomDateTimeCombo.EVENT_CHANGE = "EVENT_CHANGE"; -BI.CustomDateTimeCombo.EVENT_CANCEL = "EVENT_CANCEL"; -BI.CustomDateTimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; -BI.shortcut("bi.custom_date_time_combo", BI.CustomDateTimeCombo); /** * Created by Urthur on 2017/7/14. */ @@ -81328,7 +81286,7 @@ BI.DateTimePopup = BI.inherit(BI.Widget, { this.cancelButton = BI.createWidget({ type: 'bi.text_button', forceCenter: true, - cls: 'bi-multidate-popup-button bi-border-top bi-border-right', + cls: 'multidate-popup-button bi-border-top bi-border-right', shadow: true, text: BI.i18nText("BI-Basic_Cancel") }); @@ -81339,7 +81297,7 @@ BI.DateTimePopup = BI.inherit(BI.Widget, { this.okButton = BI.createWidget({ type: "bi.text_button", forceCenter: true, - cls: 'bi-multidate-popup-button bi-border-top', + cls: 'multidate-popup-button bi-border-top', shadow: true, text: BI.i18nText("BI-Basic_OK") }); @@ -81357,55 +81315,64 @@ BI.DateTimePopup = BI.inherit(BI.Widget, { }); this.dateSelect = BI.createWidget({ - type: "bi.horizontal", + type: "bi.vertical_adapt", cls: "bi-border-top", items: [{ type: "bi.label", text: BI.i18nText("BI-Basic_Time"), width: 45 - },{ + }, { type: "bi.date_time_select", max: 23, min: 0, width: 60, height: 30, + listeners: [{ + eventName: BI.DateTimeSelect.EVENT_CONFIRM, + action: function () { + self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE); + } + }], ref: function (_ref) { self.hour = _ref; - self.hour.on(BI.DateTimeSelect.EVENT_CONFIRM, function () { - self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE); - }); } - },{ + }, { type: "bi.label", text: ":", width: 15 - },{ + }, { type: "bi.date_time_select", max: 59, min: 0, width: 60, height: 30, + listeners: [{ + eventName: BI.DateTimeSelect.EVENT_CONFIRM, + action: function () { + self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE); + } + }], ref: function (_ref) { self.minute = _ref; - self.minute.on(BI.DateTimeSelect.EVENT_CONFIRM, function () { - self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE); - }); } - },{ + }, { type: "bi.label", text: ":", width: 15 - },{ + }, { type: "bi.date_time_select", max: 59, min: 0, width: 60, height: 30, + listeners: [{ + eventName: BI.DateTimeSelect.EVENT_CONFIRM, + action: function () { + self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE); + } + }], ref: function (_ref) { self.second = _ref; - self.second.on(BI.DateTimeSelect.EVENT_CONFIRM, function () { - self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE); - }); } }] }); @@ -81432,7 +81399,7 @@ BI.DateTimePopup = BI.inherit(BI.Widget, { }, { el: this.dateSelect, height: 50 - },{ + }, { el: this.dateButton, height: 30 }] @@ -82831,270 +82798,6 @@ BI.SmallTextEditor = BI.inherit(BI.TextEditor, { } }); BI.shortcut("bi.small_text_editor", BI.SmallTextEditor);/** - * - * Created by GUY on 2016/3/28. - * @class BI.ExcelTableCell - * @extends BI.Widget - */ -BI.ExcelTableCell = BI.inherit(BI.Widget, { - - _defaultConfig: function () { - return BI.extend(BI.ExcelTableCell.superclass._defaultConfig.apply(this, arguments), { - baseCls: "bi-excel-table-cell", - text: "" - }); - }, - - _init: function () { - BI.ExcelTableCell.superclass._init.apply(this, arguments); - var self = this, o = this.options; - - BI.createWidget({ - type: "bi.label", - element: this, - textAlign: "left", - whiteSpace: "normal", - height: this.options.height, - text: this.options.text, - value: this.options.value - }) - } -}); -BI.shortcut('bi.excel_table_cell', BI.ExcelTableCell);/** - * - * Created by GUY on 2016/3/28. - * @class BI.ExcelTableHeaderCell - * @extends BI.Widget - */ -BI.ExcelTableHeaderCell = BI.inherit(BI.Widget, { - - _defaultConfig: function () { - return BI.extend(BI.ExcelTableHeaderCell.superclass._defaultConfig.apply(this, arguments), { - baseCls: "bi-excel-table-header-cell bi-background", - text: "" - }); - }, - - _init: function () { - BI.ExcelTableHeaderCell.superclass._init.apply(this, arguments); - var self = this, o = this.options; - - BI.createWidget({ - type: "bi.label", - element: this, - textAlign: BI.HorizontalAlign.Center, - whiteSpace: "normal", - height: this.options.height, - text: this.options.text, - value: this.options.value - }) - } -}); -BI.shortcut('bi.excel_table_header_cell', BI.ExcelTableHeaderCell);/** - * Excel表格 - * - * Created by GUY on 2016/3/28. - * @class BI.ExcelTable - * @extends BI.Widget - */ -BI.ExcelTable = BI.inherit(BI.Widget, { - - _defaultConfig: function () { - return BI.extend(BI.ExcelTable.superclass._defaultConfig.apply(this, arguments), { - baseCls: "bi-excel-table", - el: { - type: "bi.responsive_table" - }, - - isNeedResize: false, - isResizeAdapt: true, - - isNeedMerge: false,//是否需要合并单元格 - mergeCols: [], //合并的单元格列号 - mergeRule: function (row1, row2) { //合并规则, 默认相等时合并 - return BI.isEqual(row1, row2); - }, - - columnSize: [], - headerRowSize: 37, - footerRowSize: 37, - rowSize: 37, - - regionColumnSize: false, - - items: [] //二维数组 - }); - }, - - _init: function () { - BI.ExcelTable.superclass._init.apply(this, arguments); - var self = this, o = this.options; - - var mergeCols = []; - BI.each(o.mergeCols, function (i, col) { - mergeCols.push(col + 1); - }); - this.table = BI.createWidget(o.el, { - type: "bi.table_view", - element: this, - - isNeedFreeze: false, - - isNeedMerge: o.isNeedMerge, - mergeCols: mergeCols, - mergeRule: o.mergeRule, - - columnSize: [""].concat(o.columnSize), - headerRowSize: 18, - rowSize: o.rowSize, - - regionColumnSize: o.regionColumnSize || [82, ""] - }); - - if (BI.isNotEmptyArray(o.items)) { - this.populate(o.items); - } - BI.nextTick(function () { - self.setRegionColumnSize(o.regionColumnSize || [82, ""]); - }); - }, - - resize: function () { - this.table.resize(); - }, - - setColumnSize: function (columnSize) { - this.table.setColumnSize(columnSize); - }, - - getColumnSize: function () { - return this.table.getColumnSize(); - }, - - getCalculateColumnSize: function () { - return this.table.getCalculateColumnSize(); - }, - - setHeaderColumnSize: function (columnSize) { - this.table.setHeaderColumnSize(columnSize); - }, - - setRegionColumnSize: function (columnSize) { - this.table.setRegionColumnSize(columnSize); - }, - - getRegionColumnSize: function () { - return this.table.getRegionColumnSize(); - }, - - getCalculateRegionColumnSize: function () { - return this.table.getCalculateRegionColumnSize(); - }, - - getCalculateRegionRowSize: function () { - return this.table.getCalculateRegionRowSize(); - }, - - getClientRegionColumnSize: function () { - return this.table.getClientRegionColumnSize(); - }, - - getScrollRegionColumnSize: function () { - return this.table.getScrollRegionColumnSize(); - }, - - getScrollRegionRowSize: function () { - return this.table.getScrollRegionRowSize(); - }, - - hasVerticalScroll: function () { - return this.table.hasVerticalScroll(); - }, - - setVerticalScroll: function (scrollTop) { - this.table.setVerticalScroll(scrollTop); - }, - - setLeftHorizontalScroll: function (scrollLeft) { - this.table.setLeftHorizontalScroll(scrollLeft); - }, - - setRightHorizontalScroll: function (scrollLeft) { - this.table.setRightHorizontalScroll(scrollLeft); - }, - - getVerticalScroll: function () { - return this.table.getVerticalScroll(); - }, - - getLeftHorizontalScroll: function () { - return this.table.getLeftHorizontalScroll(); - }, - - getRightHorizontalScroll: function () { - return this.table.getRightHorizontalScroll(); - }, - - getColumns: function () { - return this.table.getColumns(); - }, - - resizeHeader: function () { - this.table.resize(); - this.table._resizeHeader && this.table._resizeHeader(); - }, - - attr: function (key,value) { - var self = this; - if (BI.isObject(key)) { - BI.each(key, function (k, v) { - self.attr(k, v); - }); - return; - } - BI.ExcelTable.superclass.attr.apply(this, arguments); - switch (key){ - case "mergeCols": - var mCols = []; - BI.each(value, function (i, col) { - mCols.push(col + 1); - }); - value=mCols; - break; - } - this.table.attr.apply(this.table, arguments); - }, - - populate: function (rows) { - var self = this; - var columnSize = this.getColumnSize(); - var items = []; - var header = [{ - type: "bi.excel_table_header_cell" - }]; - if (BI.isNotNull(rows)) { - BI.each(columnSize, function (i, size) { - header.push({ - type: "bi.excel_table_header_cell", - text: BI.int2Abc(i + 1) - }); - }); - BI.each(rows, function (i, row) { - items.push([{ - type: "bi.excel_table_header_cell", - text: (i + 1) - }].concat(row)); - }); - } - this.table.populate(items, [header]); - }, - - destroy: function () { - this.table.destroy(); - BI.ExcelTable.superclass.destroy.apply(this, arguments); - } -}); -BI.shortcut('bi.excel_table', BI.ExcelTable);/** * 文件管理控件组 * * Created by GUY on 2015/12/11. diff --git a/dist/case.js b/dist/case.js index 2a7276186..c9d4c1e46 100644 --- a/dist/case.js +++ b/dist/case.js @@ -3748,6 +3748,7 @@ BI.ColorChooserPopup = BI.inherit(BI.Widget, { _defaultConfig: function () { return BI.extend(BI.ColorChooserPopup.superclass._defaultConfig.apply(this, arguments), { baseCls: "bi-color-chooser-popup", + width: 200, height: 145 }) }, diff --git a/dist/config.js b/dist/config.js index aeff07db8..b659c5009 100644 --- a/dist/config.js +++ b/dist/config.js @@ -13,6 +13,8 @@ BI.i18n = { "BI-Basic_Clears": "清空", "BI-Basic_Cancel": "取消", "BI-Basic_Time": "时间", + "BI-Basic_Total": "总", + "BI-Tiao_Data": "条数据", "BI-Basic_Simple_Sunday": "日", "BI-Basic_Simple_Monday": "一", "BI-Basic_Simple_Tuesday": "二", diff --git a/dist/demo.js b/dist/demo.js index 8b09f4fc5..c68e69674 100644 --- a/dist/demo.js +++ b/dist/demo.js @@ -397,7 +397,54 @@ BI.shortcut("demo.image_button", Demo.Button);Demo.Button = BI.inherit(BI.Widget } } }); -BI.shortcut("demo.text_button", Demo.Button);Demo.Label = BI.inherit(BI.Widget, { +BI.shortcut("demo.text_button", Demo.Button);Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + render: function () { + + var canvas = BI.createWidget({ + type: "bi.canvas", + width: 500, + height: 600 + }); + canvas.rect(0, 0, 80, 100, "#7dbd2f"); + + canvas.line(80, 0, 100, 100, 200, 100, 300, 0, { + strokeStyle: "red", + lineWidth: 2 + }); + + canvas.circle(150, 50, 20, "green"); + + //渐变矩形 + canvas.rect(0, 120, 80, 100, canvas.gradient(0, 120, 80, 220, "#FF0000", "#00FF00")); + + //空心图形 + canvas.hollow(100, 120, 100, 220, 200, 120, { + strokeStyle: "blue" + }); + + //实心图形 + canvas.solid(100, 240, 200, 240, 150, 280, 200, 320, 100, 320, { + strokeStyle: "yellow", + fillStyle: "pink" + }); + + canvas.stroke(); + + BI.createWidget({ + type: "bi.absolute", + element: this, + items: [{ + el: canvas, + left: 100, + top: 50 + }] + }) + } +}); +BI.shortcut("demo.canvas", Demo.Func);Demo.Label = BI.inherit(BI.Widget, { props: { baseCls: "demo-label" }, @@ -1791,6 +1838,38 @@ BI.shortcut("demo.tree_view", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { } }); BI.shortcut("demo.bubble_combo", Demo.Func);/** + * Created by Dailer on 2017/7/11. + */ +Demo.TextValueCombo = BI.inherit(BI.Widget, { + props: { + baseCls: "" + }, + render: function () { + + return { + type: "bi.horizontal_auto", + items: [{ + type: "bi.editor_icon_check_combo", + watermark: "默认值", + width: 200, + height: 30, + items: [{ + //text: "MVC-1", + value: "1" + }, { + //text: "MVC-2", + value: "2" + }, { + //text: "MVC-3", + value: "3" + }] + }], + vgap: 20 + } + } +}) + +BI.shortcut("demo.editor_icon_check_combo", Demo.TextValueCombo);/** * Created by Dailer on 2017/7/12. */ Demo.IconCombo = BI.inherit(BI.Widget, { @@ -1810,16 +1889,16 @@ Demo.IconCombo = BI.inherit(BI.Widget, { ref:function(_ref){ self.refs=_ref; }, - // iconClass: "pull-down-ha-font", + iconClass: "search-font", items: [{ value: "第一项", - iconClass: "delete-font" + iconClass: "close-font" }, { value: "第二项", - iconClass: "rename-font" + iconClass: "search-font" }, { value: "第三项", - iconClass: "move-font" + iconClass: "copy-font" }] }], vgap: 20 @@ -1884,35 +1963,7 @@ Demo.TextValueCombo = BI.inherit(BI.Widget, { type: "bi.horizontal_auto", items: [{ type: "bi.text_value_combo", - text: "天气热死了", - width: 300, - items: [{ - text: "MVC-1", - value: 1 - }, { - text: "MVC-2", - value: 2 - }, { - text: "MVC-3", - value: 3 - }] - },{ - type: "bi.text_value_check_combo", - text: "天气热死了", - width: 300, - items: [{ - text: "MVC-1", - value: 1 - }, { - text: "MVC-2", - value: 2 - }, { - text: "MVC-3", - value: 3 - }] - },{ - type: "bi.text_value_combo", - text: "天气热死了", + text: "默认值", width: 300, items: [{ text: "MVC-1", @@ -1938,25 +1989,12 @@ Demo.TextValueDownListCombo = BI.inherit(BI.Widget, { baseCls: "" }, - - beforeMount:function(){ - this.refs.setValue(2); - }, - render: function () { - var self = this; - return { type: "bi.horizontal_auto", items: [{ - type: "bi.label", - cls: "layout-bg2", - text: "分组+二级", - width: 300 - }, { type: "bi.text_value_down_list_combo", - text: "天气热死了", width: 300, ref: function (_ref) { self.refs = _ref; @@ -1964,25 +2002,29 @@ Demo.TextValueDownListCombo = BI.inherit(BI.Widget, { items: [ [{ el: { - text: "MVC-1", + text: "层级1", value: 1 }, children: [{ - text: "MVC-1-1", + text: "层级1-1", value: 11 }] }], [{ - text: "MVC-2", + text: "层级2", value: 2 }, { - text: "MVC-3", + text: "层级3", value: 3 }] ] }], vgap: 20 } + }, + + mounted: function () { + this.refs.setValue(2); } }) @@ -1999,7 +2041,7 @@ Demo.TextValueCheckCombo = BI.inherit(BI.Widget, { type: "bi.horizontal_auto", items: [{ type: "bi.text_value_check_combo", - text: "天气热死了", + text: "默认值", width: 300, items: [{ text: "MVC-1", @@ -2094,6 +2136,25 @@ BI.shortcut("demo.clipboard", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { baseCls: "demo-func" }, + render: function () { + return { + type: "bi.absolute", + items: [{ + el: { + type: "bi.color_chooser_popup", + cls: "bi-card" + }, + left: 100, + top: 250 + }] + } + } +}); +BI.shortcut("demo.color_chooser_popup", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + render: function () { return { type: "bi.absolute", @@ -2143,7 +2204,34 @@ BI.shortcut("demo.color_chooser", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { }) } }); -BI.shortcut("demo.complex_canvas", Demo.Func);/** +BI.shortcut("demo.complex_canvas", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + render: function () { + BI.createWidget({ + type: "bi.vertical", + element: this, + vgap: 20, + hgap: 30, + items: [{ + type: "bi.segment", + items: [{ + text: "1", + value: 1 + }, { + text: "2", + value: 2 + }, { + text: "3", + value: 3 + }] + }] + }) + } +}); +BI.shortcut("demo.segment", Demo.Func);/** * Created by Dailer on 2017/7/11. */ Demo.ClearEditor = BI.inherit(BI.Widget, { @@ -2172,35 +2260,40 @@ Demo.ClearEditor = BI.inherit(BI.Widget, { baseCls: "" }, render: function () { - var editor; - return { - type: "bi.horizontal_auto", + var editor = BI.createWidget({ + type: "bi.shelter_editor", + cls: "bi-border", + validationChecker: function (v) { + return v != "a"; + }, + watermark: "可以设置标记的输入框", + text: "这是一个遮罩" + }) + BI.createWidget({ + type: "bi.vertical", + element: this, + hgap: 30, + vgap: 20, + bgap: 50, + items: [editor] + }) + BI.createWidget({ + type: "bi.absolute", + element: this, items: [{ - type: "bi.shelter_editor", - cls: "bi-border", - ref:function(_ref){ - editor=_ref; + el: { + type: "bi.button", + text: "focus", + height: 25, + handler: function () { + editor.focus(); + } }, - width: 300, - watermark: "这个是带标记的" - },{ - type:"bi.button", - text:"setValue", - width:300, - handler:function(){ - editor.setValue("凛冬将至"); - } - },{ - type:"bi.button", - text:"doHighLight", - width:300, - handler:function(){ - editor.doHighLight(); - console.log(editor.getState()); - } - }], - vgap: 20 - } + right: 10, + left: 10, + bottom: 10 + }] + }) } }) @@ -2212,18 +2305,23 @@ Demo.SignEditor = BI.inherit(BI.Widget, { baseCls: "" }, render: function () { - return { - type: "bi.horizontal_adapt", - items: [{ - type: "bi.sign_editor", - // cls:"layout-bg5", - value: "123", - text: "456", - width: 300 - }], - vgap: 20 - - } + var editor = BI.createWidget({ + type: "bi.sign_editor", + cls: "bi-border", + validationChecker: function (v) { + return v != "a"; + }, + watermark: "可以设置标记的输入框", + text: "这是一个标记,点击它即可进行输入" + }) + editor.setValue(2); + BI.createWidget({ + type: "bi.vertical", + element: this, + hgap: 30, + vgap: 20, + items: [editor] + }) } }) @@ -2262,22 +2360,65 @@ Demo.SignInitialEditor = BI.inherit(BI.Widget, { BI.shortcut("demo.sign_initial_editor", Demo.SignInitialEditor);/** * Created by Dailer on 2017/7/11. */ +Demo.SimpleStateEditor = BI.inherit(BI.Widget, { + props: { + baseCls: "" + }, + render: function () { + var self = this; + return { + type: "bi.horizontal_adapt", + items: [{ + type: "bi.simple_state_editor", + ref: function () { + self.editor = this; + }, + cls: "bi-border", + width: 300 + }], + vgap: 20 + + } + }, + + mounted: function () { + var self = this; + setTimeout(function () { + self.editor.setState(["*", "*"]); + }, 1000) + } +}) + +BI.shortcut("demo.simple_state_editor", Demo.SimpleStateEditor);/** + * Created by Dailer on 2017/7/11. + */ Demo.StateEditor = BI.inherit(BI.Widget, { props: { baseCls: "" }, render: function () { + var self = this; return { type: "bi.horizontal_adapt", items: [{ type: "bi.state_editor", - value: "123", - text: "456", + ref: function () { + self.editor = this; + }, + cls: "bi-border", width: 300 }], vgap: 20 } + }, + + + mounted: function () { + var self = this; + setTimeout(function () { + self.editor.setState(["*", "*"]); + }, 1000) } }) @@ -2287,33 +2428,777 @@ BI.shortcut("demo.state_editor", Demo.StateEditor);Demo.Func = BI.inherit(BI.Wid }, render: function () { - var relation = BI.createWidget({ - type: "bi.branch_relation", - items: [ - { - id: -1, - value: "根目录", - type: "bi.text_button", - cls: "layout-bg2", - width: 180, - height: 100 - }, - { - id: 1, - pId: -1, - value: "第一级目录1", - type: "bi.text_button", - cls: "layout-bg2", - width: 180, - height: 100 - }, - { - id: 11, - pId: 1, - value: "第二级文件1", - type: "bi.text_button", - cls: "layout-bg2", - width: 180, + + return { + type: "bi.vertical", + items: [{ + type: "bi.label", + height: 30, + text: "复选item" + }, { + type: "bi.multi_select_item", + text: "复选项" + }], + hgap: 300 + } + } +}); +BI.shortcut("demo.multi_select_item", Demo.Func);/** + * Created by Dailer on 2017/7/25. + */ + +Demo.Items = BI.inherit(BI.Widget, { + + render: function () { + + return { + type: "bi.vertical", + items: [{ + type: "bi.label", + height: 30, + text: "单选item" + }, { + type: "bi.single_select_item", + text: "单选项" + }], + hgap: 300 + } + } +}); + + +BI.shortcut("demo.single_select_item", Demo.Items);/** + * Created by Dailer on 2017/7/25. + */ + +Demo.Items = BI.inherit(BI.Widget, { + + render: function () { + + return { + type: "bi.vertical", + items: [{ + type: "bi.label", + height: 30, + text: "单选item" + }, { + type: "bi.single_select_radio_item", + text: "单选项" + }], + hgap: 300 + } + } +}); + + +BI.shortcut("demo.single_select_radio_item", Demo.Items);Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + render: function () { + var self = this; + BI.createWidget({ + type: "bi.lazy_loader", + element: this, + el: { + layouts: [{ + type: "bi.left", + hgap: 5 + }] + }, + items: BI.createItems(BI.deepClone(Demo.CONSTANTS.ITEMS), { + type: "bi.button" + }) + }) + } +}); +BI.shortcut("demo.lazy_loader", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + render: function () { + var self = this; + BI.createWidget({ + type: "bi.select_list", + element: this, + el: { + el: { + chooseType: BI.Selection.Multi + } + }, + items: BI.createItems(BI.deepClone(Demo.CONSTANTS.SIMPLE_ITEMS), { + type: "bi.multi_select_item" + }) + }) + } +}); +BI.shortcut("demo.select_list", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + render: function () { + BI.createWidget({ + type: "bi.vertical", + hgap: 200, + vgap: 50, + element: this, + items: [{ + type: "bi.label", + height: 30, + text: " (测试条件:总页数为3)" + }, { + type: "bi.all_count_pager", + pages: 3, + curr: 1, + count: 1000 + }] + }) + } +}); +BI.shortcut("demo.all_count_pager", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + render: function () { + BI.createWidget({ + type: "bi.vertical", + hgap: 200, + vgap: 50, + element: this, + items: [{ + type: "bi.direction_pager", + }] + }) + } +}); +BI.shortcut("demo.direction_pager", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + render: function () { + var self = this; + return { + type: "bi.list_pane", + ref: function () { + self.pane = this; + }, + itemsCreator: function (op, callback) { + setTimeout(function () { + callback(BI.createItems(BI.deepClone(Demo.CONSTANTS.ITEMS), { + type: "bi.multi_select_item", + height: 25 + })) + }, 2000) + }, + el: { + type: "bi.button_group", + layouts: [{ + type: "bi.vertical" + }] + } + } + }, + + mounted: function () { + this.pane.populate(); + } +}); +BI.shortcut("demo.list_pane", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + render: function () { + var self = this; + return { + type: "bi.absolute", + items: [{ + el: { + type: "bi.combo", + width: 200, + height: 30, + el: { + type: "bi.text_button", + text: "点击", + cls: "bi-border", + height: 30 + }, + popup: { + type: "bi.multi_popup_view", + el: { + type: "bi.button_group", + layouts: [{ + type: "bi.vertical" + }], + items: BI.createItems(BI.deepClone(Demo.CONSTANTS.ITEMS), { + type: "bi.multi_select_item", + height: 25 + }) + } + } + } + }] + } + } +}); +BI.shortcut("demo.multi_popup_view", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + render: function () { + var self = this; + return { + type: "bi.panel", + title: "title", + titleButtons: [{ + type: "bi.button", + text: "操作" + }], + el: { + type: "bi.button_group", + layouts: [{ + type: "bi.vertical" + }], + items: BI.createItems(BI.deepClone(Demo.CONSTANTS.ITEMS), { + type: "bi.multi_select_item", + height: 25 + }) + } + } + } +}); +BI.shortcut("demo.panel", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + render: function () { + var self = this; + return { + type: "bi.absolute", + items: [{ + el: { + type: "bi.combo", + width: 200, + height: 30, + el: { + type: "bi.text_button", + text: "点击", + cls: "bi-border", + height: 30 + }, + popup: { + type: "bi.popup_panel", + el: { + type: "bi.button_group", + layouts: [{ + type: "bi.vertical" + }], + items: BI.createItems(BI.deepClone(Demo.CONSTANTS.ITEMS), { + type: "bi.multi_select_item", + height: 25 + }) + } + } + } + }] + } + } +}); +BI.shortcut("demo.popup_panel", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + render: function () { + var items = [[{ + text: "第一行第一列" + }, { + text: "第一行第一列" + }, { + text: "第一行第一列" + }], [{ + text: "第一行第一列" + }, { + text: "第一行第一列" + }, { + text: "第一行第一列" + }], [{ + text: "第三行第一列" + }, { + text: "第三行第二列" + }, { + text: "第三行第三列" + }], [{ + text: "第四行第一列" + }, { + text: "第四行第二列" + }, { + text: "第四行第三列" + }], [{ + text: "第五行第一列" + }, { + text: "第五行第二列" + }, { + text: "第五行第三列" + }], [{ + text: "第六行第一列" + }, { + text: "第六行第二列" + }, { + text: "第六行第三列" + }], [{ + text: "第七行第一列" + }, { + text: "第七行第二列" + }, { + text: "第七行第三列" + }], [{ + text: "第八行第一列" + }, { + text: "第八行第二列" + }, { + text: "第八行第三列" + }], [{ + text: "第九行第一列" + }, { + text: "第九行第二列" + }, { + text: "第九行第三列" + }], [{ + text: "第十行第一列" + }, { + text: "第十行第二列" + }, { + text: "第十行第三列" + }], [{ + text: "第十一行第一列" + }, { + text: "第十一行第二列" + }, { + text: "第十一行第三列" + }], [{ + text: "第十二行第一列" + }, { + text: "第十二行第二列" + }, { + text: "第十二行第三列" + }], [{ + text: "第十三行第一列" + }, { + text: "第十三行第二列" + }, { + text: "第十三行第三列" + }], [{ + text: "第十四行第一列" + }, { + text: "第十四行第二列" + }, { + text: "第十四行第三列" + }], [{ + text: "第十五行第一列" + }, { + text: "第十五行第二列" + }, { + text: "第十五行第三列" + }], [{ + text: "第十六行第一列" + }, { + text: "第十六行第二列" + }, { + text: "第十六行第三列" + }], [{ + text: "第十七行第一列" + }, { + text: "第十七行第二列" + }, { + text: "第十七行第三列" + }], [{ + text: "第十八行第一列" + }, { + text: "第十八行第二列" + }, { + text: "第十八行第三列" + }]]; + + var header = [[{ + text: "表头1" + }, { + text: "表头2" + }, { + text: "表头3" + }]]; + + var table = BI.createWidget({ + type: "bi.adaptive_table", + el: { + type: "bi.resizable_table", + el: { + type: "bi.grid_table", + } + }, + width: 600, + height: 400, + minColumnSize: [100, 100, 100], + columnSize: [100, 100, 100], + header: header, + items: items + }); + BI.createWidget({ + type: "bi.absolute", + element: this, + items: [{ + el: { + type: "bi.grid", + columns: 1, + rows: 1, + items: [[{ + el: table + }]] + }, + left: 10, + right: 10, + top: 10, + bottom: 10 + }] + }) + } +}); +BI.shortcut("demo.adaptive_table", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + render: function () { + var items = [{ + children: [{ + text: "节点1", + children: [{ + text: "子节点1", + children: [{ + text: "叶节点1", + values: [{text: 11}, {text: 12}, {text: 11}, {text: 12}, {text: 11}, {text: 12}, {text: 112}] + }, { + text: "叶节点2", + values: [{text: 21}, {text: 22}, {text: 21}, {text: 22}, {text: 21}, {text: 22}, {text: 122}] + }], + values: [{text: 101}, {text: 102}, {text: 101}, {text: 102}, {text: 101}, {text: 102}, {text: 1102}] + }, { + text: "子节点2", + children: [{ + text: "叶节点3", + values: [{text: 31}, {text: 32}, {text: 31}, {text: 32}, {text: 31}, {text: 32}, {text: 132}] + }, { + text: "叶节点4", + values: [{text: 41}, {text: 42}, {text: 41}, {text: 42}, {text: 41}, {text: 42}, {text: 142}] + }], + values: [{text: 201}, {text: 202}, {text: 201}, {text: 202}, {text: 201}, {text: 202}, {text: 1202}] + }, { + text: "子节点3", + children: [{ + text: "叶节点5", + values: [{text: 51}, {text: 52}, {text: 51}, {text: 52}, {text: 51}, {text: 52}, {text: 152}] + }], + values: [{text: 301}, {text: 302}, {text: 301}, {text: 302}, {text: 301}, {text: 302}, {text: 1302}] + }], + values: [{text: 1001}, {text: 1002}, {text: 1001}, {text: 1002}, {text: 1001}, {text: 1002}, {text: 11002}] + }, { + text: "节点2", + values: [{text: 2001}, {text: 2002}, {text: 2001}, {text: 2002}, {text: 2001}, {text: 2002}, {text: 12002}] + }], + values: [{text: 12001}, {text: 12002}, {text: 12001}, {text: 12002}, {text: 12001}, {text: 12002}, {text: 112002}] + }]; + + var header = [{ + text: "header1" + }, { + text: "header2" + }, { + text: "header3" + }, { + text: "金额", + tag: 1 + }, { + text: "金额", + tag: 2 + }, { + text: "金额", + tag: 3 + }, { + text: "金额", + tag: 4 + }, { + text: "金额", + tag: 5 + }, { + text: "金额", + tag: 6 + }, { + text: "金额", + tag: 7 + }]; + + var crossHeader = [{ + text: "cross1" + }, { + text: "cross2" + }]; + + var crossItems = [{ + children: [{ + text: "节点1", + children: [{ + text: "子节点1" + }, { + text: "子节点2" + }], + values: [0] + }, { + text: "节点2", + children: [{ + text: "子节点3" + }, { + text: "子节点4" + }], + values: [0] + }], + values: [0] + }]; + + var table = BI.createWidget({ + type: "bi.layer_tree_table", + el: { + type: "bi.adaptive_table", + el: { + type: "bi.resizable_table", + el: { + type: "bi.collection_table", + mergeRule: function (col1, col2) { + return BI.isEqual(col1, col2); + } + } + } + }, + width: 600, + height: 400, + isNeedFreeze: true, + isNeedMerge: true, + freezeCols: [0, 1, 2], + mergeCols: [0, 1, 2], + minColumnSize: [100, 100, 100, 100, 100, 100, 100, 100, 100, 100], + columnSize: [100, 100, 100, 100, 100, 100, 100, 100, 100, 100], + header: header, + items: items, + crossHeader: crossHeader, + crossItems: crossItems + }); + BI.createWidget({ + type: "bi.absolute", + element: this, + items: [{ + el: { + type: "bi.grid", + columns: 1, + rows: 1, + items: [[{ + el: table + }]] + }, + left: 10, + right: 10, + top: 10, + bottom: 10 + }] + }) + } +}); +BI.shortcut("demo.layer_tree_table", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + render: function () { + var items = [{ + children: [{ + text: "节点1", + children: [{ + text: "子节点1", + children: [{ + text: "叶节点1", + values: [{text: 11}, {text: 12}, {text: 11}, {text: 12}, {text: 11}, {text: 12}, {text: 112}] + }, { + text: "叶节点2", + values: [{text: 21}, {text: 22}, {text: 21}, {text: 22}, {text: 21}, {text: 22}, {text: 122}] + }], + values: [{text: 101}, {text: 102}, {text: 101}, {text: 102}, {text: 101}, {text: 102}, {text: 1102}] + }, { + text: "子节点2", + children: [{ + text: "叶节点3", + values: [{text: 31}, {text: 32}, {text: 31}, {text: 32}, {text: 31}, {text: 32}, {text: 132}] + }, { + text: "叶节点4", + values: [{text: 41}, {text: 42}, {text: 41}, {text: 42}, {text: 41}, {text: 42}, {text: 142}] + }], + values: [{text: 201}, {text: 202}, {text: 201}, {text: 202}, {text: 201}, {text: 202}, {text: 1202}] + }, { + text: "子节点3", + children: [{ + text: "叶节点5", + values: [{text: 51}, {text: 52}, {text: 51}, {text: 52}, {text: 51}, {text: 52}, {text: 152}] + }], + values: [{text: 301}, {text: 302}, {text: 301}, {text: 302}, {text: 301}, {text: 302}, {text: 1302}] + }], + values: [{text: 1001}, {text: 1002}, {text: 1001}, {text: 1002}, {text: 1001}, {text: 1002}, {text: 11002}] + }, { + text: "节点2", + values: [{text: 2001}, {text: 2002}, {text: 2001}, {text: 2002}, {text: 2001}, {text: 2002}, {text: 12002}] + }], + values: [{text: 12001}, {text: 12002}, {text: 12001}, {text: 12002}, {text: 12001}, {text: 12002}, {text: 112002}] + }]; + + var header = [{ + text: "header1" + }, { + text: "header2" + }, { + text: "header3" + }, { + text: "金额", + tag: 1 + }, { + text: "金额", + tag: 2 + }, { + text: "金额", + tag: 3 + }, { + text: "金额", + tag: 4 + }, { + text: "金额", + tag: 5 + }, { + text: "金额", + tag: 6 + }, { + text: "金额", + tag: 7 + }]; + + var crossHeader = [{ + text: "cross1" + }, { + text: "cross2" + }]; + + var crossItems = [{ + children: [{ + text: "节点1", + children: [{ + text: "子节点1" + }, { + text: "子节点2" + }], + values: [0] + }, { + text: "节点2", + children: [{ + text: "子节点3" + }, { + text: "子节点4" + }], + values: [0] + }], + values: [0] + }]; + + var table = BI.createWidget({ + type: "bi.tree_table", + el: { + type: "bi.adaptive_table", + el: { + type: "bi.resizable_table", + el: { + type: "bi.collection_table", + mergeRule: function (col1, col2) { + return BI.isEqual(col1, col2); + } + } + } + }, + width: 600, + height: 400, + isNeedFreeze: true, + isNeedMerge: true, + freezeCols: [0, 1, 2], + mergeCols: [0, 1, 2], + minColumnSize: [100, 100, 100, 100, 100, 100, 100, 100, 100, 100], + columnSize: [100, 100, 100, 100, 100, 100, 100, 100, 100, 100], + header: header, + items: items, + crossHeader: crossHeader, + crossItems: crossItems + }); + BI.createWidget({ + type: "bi.absolute", + element: this, + items: [{ + el: { + type: "bi.grid", + columns: 1, + rows: 1, + items: [[{ + el: table + }]] + }, + left: 10, + right: 10, + top: 10, + bottom: 10 + }] + }) + } +}); +BI.shortcut("demo.tree_table", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + render: function () { + var relation = BI.createWidget({ + type: "bi.branch_relation", + items: [ + { + id: -1, + value: "根目录", + type: "bi.text_button", + cls: "layout-bg2", + width: 180, + height: 100 + }, + { + id: 1, + pId: -1, + value: "第一级目录1", + type: "bi.text_button", + cls: "layout-bg2", + width: 180, + height: 100 + }, + { + id: 11, + pId: 1, + value: "第二级文件1", + type: "bi.text_button", + cls: "layout-bg2", + width: 180, height: 100 }, { @@ -2963,20 +3848,114 @@ BI.shortcut("demo.level_tree", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { } } }, { - height: 30, - el: { - type: "bi.button", - height: 30, - text: "getValue", - handler: function () { - BI.Msg.alert("", JSON.stringify(tree.getValue())); - } - } - }] + height: 30, + el: { + type: "bi.button", + height: 30, + text: "getValue", + handler: function () { + BI.Msg.alert("", JSON.stringify(tree.getValue())); + } + } + }] + }) + } +}); +BI.shortcut("demo.simple_tree", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + render: function () { + BI.createWidget({ + type: "bi.vertical", + element: this, + items: [{ + type: "bi.label", + text: "输入框加图标的trigger" + }, { + type: "bi.editor_trigger", + watermark: "这是水印", + width: 200, + height: 30 + }], + hgap: 20, + vgap: 20 + }) + } +}); +BI.shortcut("demo.editor_trigger", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + render: function () { + + BI.createWidget({ + type: "bi.vertical", + element: this, + items: [{ + type: "bi.label", + text: "只有一个图标的trigger" + }, { + type: "bi.icon_trigger", + width: 30, + height: 30 + }], + hgap: 20, + vgap: 20 + }) + } +}); +BI.shortcut("demo.icon_trigger", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + render: function () { + + BI.createWidget({ + type: "bi.vertical", + element: this, + items: [{ + type: "bi.label", + text: "可被选择的trigger" + }, { + type: "bi.select_text_trigger", + text: "这是一个简单的trigger", + width: 200, + height: 30 + }], + hgap: 20, + vgap: 20 + }) + } +}); +BI.shortcut("demo.select_text_trigger", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + render: function () { + + BI.createWidget({ + type: "bi.vertical", + element: this, + items: [{ + type: "bi.label", + text: "文本加图标的trigger" + }, { + type: "bi.text_trigger", + text: "这是一个简单的trigger", + width: 200, + height: 30 + }], + hgap: 20, + vgap: 20 }) } }); -BI.shortcut("demo.simple_tree", Demo.Func);Demo.Center = BI.inherit(BI.Widget, { +BI.shortcut("demo.text_trigger", Demo.Func);Demo.Center = BI.inherit(BI.Widget, { props: { baseCls: "demo-center" }, @@ -3563,20 +4542,20 @@ BI.shortcut("demo.value_chooser_pane", Demo.ValueChooserPane);Demo.ADDONS_CONFIG value: "demo.lazy_loader" }, { pId: 302, - text: "bi.list_loader", - value: "demo.list_loader" + text: "bi.sort_list(排序)", + value: "demo.sort_list" }, { pId: 302, - text: "bi.sort_list", - value: "demo.sort_list" + text: "bi.list_loader(排序)", + value: "demo.list_loader" }, { pId: 3, id: 303, text: "面板" }, { pId: 303, - text: "bi.pane_list", - value: "demo.pane_list" + text: "bi.list_pane", + value: "demo.list_pane" }, { pId: 303, text: "bi.panel", @@ -3637,6 +4616,10 @@ BI.shortcut("demo.value_chooser_pane", Demo.ValueChooserPane);Demo.ADDONS_CONFIG pId: 306, text: "bi.text_value_check_combo", value: "demo.text_value_check_combo" +}, { + pId: 306, + text: "bi.editor_icon_check_combo", + value: "demo.editor_icon_check_combo" }, { pId: 306, text: "bi.text_value_down_list_combo", @@ -3869,14 +4852,18 @@ Demo.COMPONENT_CONFIG = [{ pId: 10201, text: "bi.combo", value: "demo.combo" +}, { + pId: 10201, + text: "bi.combo(各种位置)", + value: "demo.combo2" }, { pId: 10201, text: "bi.expander", value: "demo.expander" }, { pId: 10201, - text: "bi.group_combo", - value: "demo.group_combo" + text: "bi.combo_group", + value: "demo.combo_group" }, { pId: 10201, text: "bi.loader", @@ -3903,23 +4890,23 @@ Demo.COMPONENT_CONFIG = [{ text: "弹出层" }, { pId: 10202, - text: "bi.layer_float_box", - value: "demo.layer_float_box" + text: "bi.float_box", + value: "demo.float_box" }, { pId: 10202, - text: "bi.layer_popup", - value: "demo.layer_popup" + text: "bi.popup_view", + value: "demo.popup_view" }, { pId: 10202, text: "bi.searcher_view", value: "demo.searcher_view" }, { pId: 1, - text: "widget", + text: "Widget", value: "demo.widget" }, { pId: 1, - text: "single", + text: "Single", value: "demo.single" }, { pId: 1, @@ -3931,7 +4918,7 @@ Demo.COMPONENT_CONFIG = [{ value: "demo.node_button" }, { pId: 1, - text: "pane", + text: "Pane", value: "demo.pane" }];Demo.WIDGET_CONFIG = [{ id: 4, @@ -4015,8 +5002,12 @@ Demo.COMPONENT_CONFIG = [{ value: "demo.responsive_table" }, { pId: 404, - text: "bi.excel_table", - value: "demo.excel_table" + text: "bi.sequence_table", + value: "demo.sequence_table" +}, { + pId: 404, + text: "bi.page_table", + value: "demo.page_table" }, { pId: 4, id: 405, @@ -4089,14 +5080,6 @@ Demo.COMPONENT_CONFIG = [{ pId: 412, text: "bi.quarter_combo", value: "demo.quarter" -}, { - pId: 412, - text: "bi.date_combo", - value: "demo.date" -}, { - pId: 412, - text: "bi.date_pane", - value: "demo.date_pane" }, { pId: 412, text: "bi.year_month_combo", @@ -4107,11 +5090,19 @@ Demo.COMPONENT_CONFIG = [{ value: "demo.year_quarter_combo" }, { pId: 412, - text: "bi.custom_date_time", - value: "demo.custom_date_time" + text: "bi.date_pane", + value: "demo.date_pane" +}, { + pId: 412, + text: "bi.multidate_combo", + value: "demo.multidate_combo" +}, { + pId: 412, + text: "bi.date_time", + value: "demo.date_time" }, { pId: 412, - text: '时间间隔', + text: 'bi.time_interval', value: 'demo.time_interval' }, { pId: 4, @@ -4153,14 +5144,6 @@ Demo.COMPONENT_CONFIG = [{ pId: 417, text: "bi.interactive_arrangement", value: "demo.interactive_arrangement" -}, { - pId: 4, - id: 418, - text: "提示对话框" -}, { - pId: 418, - text: "bi.dialog", - value: "demo.dialog" }, { pId: 4, id: 419, @@ -4173,6 +5156,92 @@ Demo.COMPONENT_CONFIG = [{ props: { baseCls: "demo-func" }, + + child: [{ + type: "bi.combo_group", + el: { + type: "bi.icon_text_icon_item", + text: "2010年", + value: 2010, + height: 25, + iconCls: "close-ha-font" + }, + children: [{ + type: "bi.single_select_item", + height: 25, + text: "一月", + value: 11 + }, { + type: "bi.icon_text_icon_item", + height: 25, + text: "二月", + value: 12, + children: [{type: "bi.single_select_item", text: "一号", value: 101, height: 25}] + }] + }, { + text: "2011年", value: 2011 + }, { + text: "2012年", value: 2012, iconCls: "close-ha-font" + }, { + text: "2013年", value: 2013 + }, { + text: "2014年", value: 2014, iconCls: "close-ha-font" + }, { + text: "2015年", value: 2015, iconCls: "close-ha-font" + }], + + _createBottom: function () { + var childCombo = BI.createWidget({ + type: "bi.combo", + el: { + type: "bi.text_button", + cls: "button-combo", + height: 30 + }, + popup: { + el: { + type: "bi.button_tree", + items: BI.createItems(BI.deepClone(this.child), { + type: "bi.single_select_item", + height: 25, + handler: function (v) { + + } + }), + layouts: [{ + type: "bi.vertical" + }] + } + }, + width: 200 + }); + childCombo.setValue(BI.deepClone(this.child)[0].children[0].value); + + return BI.createWidget({ + type: "bi.left", + items: [childCombo], + hgap: 20, + vgap: 20 + }) + }, + + render: function () { + return { + type: "bi.grid", + columns: 1, + rows: 1, + items: [{ + column: 0, + row: 0, + el: this._createBottom() + }] + } + } +}); +BI.shortcut("demo.combo_group", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, years: [{ text: "2010年", value: 2010, iconCls: "close-ha-font" }, { @@ -4598,127 +5667,541 @@ Demo.COMPONENT_CONFIG = [{ var yearCombo = BI.createWidget({ type: "bi.combo", - el: { - type: "bi.button", - text: "自定义控件", - height: 30 - }, + el: { + type: "bi.button", + text: "自定义控件", + height: 30 + }, + popup: { + el: { + type: "bi.navigation", + direction: "bottom", + logic: { + dynamic: true + }, + tab: { + height: 30, + items: [{ + once: false, + text: "后退", + value: -1, + cls: "mvc-button layout-bg3" + }, { + once: false, + text: "前进", + value: 1, + cls: "mvc-button layout-bg4" + }] + }, + cardCreator: function (v) { + return BI.createWidget({ + type: "bi.text_button", + whiteSpace: "normal", + text: new Date().getFullYear() + v + }) + } + } + }, + width: 200 + }); + + return BI.createWidget({ + type: "bi.left", + items: [combo, childCombo, monthCombo, yearCombo], + hgap: 20, + vgap: 20 + }) + }, + + render: function () { + return { + type: "bi.grid", + columns: 1, + rows: 2, + items: [{ + column: 0, + row: 0, + el: this._createTop() + }, { + column: 0, + row: 1, + el: this._createBottom() + }] + } + } +}); +BI.shortcut("demo.combo", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + _createEl: function () { + return { + type: "bi.button", + height: 25, + text: "点击" + } + }, + + oneCombo: function () { + return BI.createWidget({ + type: "bi.combo", + adjustLength: 5, + el: this._createEl(), + popup: { + el: { + type: "bi.layout", + height: 500 + }, + maxHeight: 400 + } + }); + }, + + twoCombo: function () { + return BI.createWidget({ + type: "bi.combo", + adjustXOffset: 25, + adjustYOffset: 5, + direction: "bottom,left", + el: this._createEl(), + popup: { + el: { + type: "bi.layout", + height: 1200 + } + } + }); + }, + + threeCombo: function () { + return BI.createWidget({ + type: "bi.combo", + adjustYOffset: 5, + el: this._createEl(), + isNeedAdjustHeight: false, + popup: { + el: { + type: "bi.layout", + height: 1200 + } + } + }); + }, + + fourCombo: function () { + return BI.createWidget({ + type: "bi.combo", + adjustXOffset: 25, + adjustYOffset: 5, + direction: "left", + el: this._createEl(), + isNeedAdjustHeight: true, + popup: { + el: { + type: "bi.layout", + height: 1200 + } + } + }) + }, + + fiveCombo: function () { + return BI.createWidget({ + type: "bi.combo", + adjustXOffset: 25, + adjustYOffset: 5, + direction: "left,top", + el: this._createEl(), + isNeedAdjustHeight: true, + popup: { + el: { + type: "bi.layout", + height: 1200 + }, + maxHeight: 2000 + } + }) + }, + + sixCombo: function () { + return BI.createWidget({ + type: "bi.combo", + adjustXOffset: 25, + adjustYOffset: 5, + direction: "top,left", + el: this._createEl(), + isNeedAdjustHeight: true, + popup: { + el: { + type: "bi.layout", + height: 1200 + } + } + }) + }, + + sevenCombo: function () { + return BI.createWidget({ + type: "bi.combo", + adjustXOffset: 25, + adjustYOffset: 5, + direction: "bottom", + isNeedAdjustWidth: false, + //isNeedAdjustHeight: false, + offsetStyle: "center", + el: this._createEl(), popup: { el: { - type: "bi.navigation", - direction: "bottom", - logic: { - dynamic: true - }, - tab: { - height: 30, - items: [{ - once: false, - text: "后退", - value: -1, - cls: "mvc-button layout-bg3" - }, { - once: false, - text: "前进", - value: 1, - cls: "mvc-button layout-bg4" - }] - }, - cardCreator: function (v) { - return BI.createWidget({ - type: "bi.text_button", - whiteSpace: "normal", - text: new Date().getFullYear() + v - }) - } + type: "bi.layout", + width: 200, + height: 1200 } - }, - width: 200 - }); + } + }) + }, + eightCombo: function () { return BI.createWidget({ - type: "bi.left", - items: [combo, childCombo, monthCombo, yearCombo], - hgap: 20, - vgap: 20 + type: "bi.combo", + adjustXOffset: 25, + adjustYOffset: 5, + direction: "right", + isNeedAdjustWidth: false, + //isNeedAdjustHeight: false, + offsetStyle: "middle", + el: this._createEl(), + popup: { + el: { + type: "bi.layout", + width: 200, + height: 200 + } + } }) }, render: function () { return { type: "bi.grid", - columns: 1, - rows: 2, + hgap: 10, + vgap: 5, + items: [[this.oneCombo(), this.twoCombo(), this.threeCombo()], + [this.fourCombo(), this.fiveCombo(), this.sixCombo()], + [this.sevenCombo(), this.eightCombo()]] + }; + } +}); +BI.shortcut("demo.combo2", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + render: function () { + return { + type: "bi.vertical", + hgap: 30, + vgap: 20, items: [{ - column: 0, - row: 0, - el: this._createTop() - }, { - column: 0, - row: 1, - el: this._createBottom() + type: "bi.expander", + el: { + type: "bi.icon_text_node", + cls: "pull-right-ha-font mvc-border", + height: 25, + text: "Expander" + }, + popup: { + cls: "mvc-border", + items: BI.createItems([{ + text: "项目1", + value: 1 + }, { + text: "项目2", + value: 2 + }, { + text: "项目3", + value: 3 + }, { + text: "项目4", + value: 4 + }], { + type: "bi.single_select_item", + height: 25 + }) + } }] } } }); -BI.shortcut("demo.combo", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { +BI.shortcut("demo.expander", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { props: { baseCls: "demo-func" }, render: function () { - var items = [{ + var self = this; + this.all = 0; + var items = BI.deepClone(Demo.CONSTANTS.ITEMS); + return { + type: "bi.loader", + itemsCreator: function (options, populate) { + setTimeout(function () { + populate(BI.map(items.slice((options.times - 1) * 10, options.times * 10), function (i, v) { + return BI.extend(v, { + type: "bi.single_select_item", + height: 25 + }) + })) + }, 1000); + }, + hasNext: function (options) { + return options.times * 10 < items.length; + } + } + } +}); +BI.shortcut("demo.loader", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + _createNav: function (v) { + return BI.createWidget({ type: "bi.label", - value: "张三" + cls: "layout-bg" + BI.random(1, 8), + text: "第" + v + "页" + }) + }, + + render: function () { + return { + type: "bi.navigation", + defaultShowIndex: 0, + tab: { + height: 30, + items: [{ + once: false, + text: "后退", + value: -1, + cls: "mvc-button layout-bg3" + }, { + once: false, + text: "前进", + value: 1, + cls: "mvc-button layout-bg4" + }] + }, + cardCreator: BI.bind(this._createNav, this) + } + } +}); +BI.shortcut("demo.navigation", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + _createItems: function (items) { + return BI.createItems(items, { + type: "bi.multi_select_item", + height: 25, + handler: function (v) { + + } + }) + }, + + render: function () { + var self = this; + var items = [{ + text: "2010年", value: 2010, py: "2010n", title: "1111111111111111111111111111111111" }, { - type: "bi.label", - value: "李四" + text: "2011年", value: 2011, py: "2011n", title: "1111111111111111111111111111111111" + }, { + text: "2012年", value: 2012, py: "2012n", title: "1111111111111111111111111111111111" + }, { + text: "2013年", value: 2013, py: "2013n", title: "1111111111111111111111111111111111" + }, { + text: "2014年", value: 2014, py: "2014n", title: "1111111111111111111111111111111111" + }, { + text: "2015年", value: 2015, py: "2015n", title: "1111111111111111111111111111111111" + }, { + text: "2016年", value: 2016, py: "2016n", title: "1111111111111111111111111111111111" + }, { + text: "2017年", value: 2017, py: "2017n", title: "1111111111111111111111111111111111" }]; - var popup = BI.createWidget({ + + var adapter = BI.createWidget({ type: "bi.button_group", - cls: "bi-border", - items: items, + cls: "layout-bg1", + items: this._createItems(items), + chooseType: 1, + behaviors: {}, layouts: [{ type: "bi.vertical" }] }); - return { + BI.createWidget({ type: "bi.absolute", + element: this, + items: [{ + el: adapter, + top: 50, + left: 50, + width: 200, + height: 100 + }] + }); + BI.createWidget({ + type: "bi.absolute", + element: this, items: [{ el: { - type: "bi.searcher", - listeners: [{ - eventName: BI.Searcher.EVENT_STOP, - action: function () { - popup.populate(items) - } - }, { - eventName: BI.Searcher.EVENT_PAUSE, - action: function () { - popup.populate(items) - } - }], - adapter: { - getItems: function () { - return items - } - }, - popup: popup, - masker: false + type: "bi.absolute", + width: 200, + height: 30, + items: [{ + el: { + type: "bi.searcher", + adapter: adapter, + width: 200, + height: 30 + }, + left: 0, + right: 0, + top: 0, + bottom: 0 + }] }, - left: 0, - right: 0, - top: 0 - }, { - el: popup, - left: 0, - right: 0, + top: 100, + left: 300 + }] + }) + } +}); +BI.shortcut("demo.searcher", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + render: function () { + + var adapter = BI.createWidget({ + type: "bi.label", + cls: "layout-bg2", + text: "将在该处弹出switcher" + }); + BI.createWidget({ + type: "bi.absolute", + element: this, + items: [{ + el: adapter, top: 50, - bottom: 0 + left: 20, + width: 200, + height: 300 + }] + }); + BI.createWidget({ + type: "bi.vertical", + element: this, + hgap: 30, + vgap: 20, + items: [{ + type: "bi.switcher", + el: { + type: "bi.button", + height: 25, + text: "Switcher" + }, + popup: { + cls: "mvc-border layout-bg5", + items: BI.createItems([{ + text: "项目1", + value: 1 + }, { + text: "项目2", + value: 2 + }, { + text: "项目3", + value: 3 + }, { + text: "项目4", + value: 4 + }], { + type: "bi.single_select_item", + height: 25 + }) + }, + adapter: adapter }] + }) + } +}); +BI.shortcut("demo.switcher", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + _createTabs: function (v) { + switch (v) { + case 1: + return BI.createWidget({ + type: "bi.label", + cls: "layout-bg1", + text: "面板1" + }) + case 2: + return BI.createWidget({ + type: "bi.label", + cls: "layout-bg2", + text: "面板2" + }) } + }, + + render: function () { + this.tab = BI.createWidget({ + type: "bi.button_group", + height: 30, + items: [{ + text: "Tab1", + value: 1, + width: 50, + cls: "mvc-button layout-bg3" + }, { + text: "Tab2", + value: 2, + width: 50, + cls: "mvc-button layout-bg4" + }], + layouts: [{ + type: "bi.center_adapt", + items: [{ + el: { + type: "bi.horizontal", + width: 100 + } + }] + }] + }); + + var tab = BI.createWidget({ + direction: "custom", + type: "bi.tab", + element: this, + tab: this.tab, + cardCreator: BI.bind(this._createTabs, this) + }); + BI.createWidget({ + type: "bi.absolute", + element: this, + items: [{ + el: this.tab, + left: 200, + top: 200 + }] + }) + + tab.setSelect(2); } }); -BI.shortcut("demo.searcher", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { +BI.shortcut("demo.tab", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { props: { baseCls: "demo-func" }, @@ -4848,176 +6331,6 @@ BI.shortcut("demo.collection_view", Demo.Func);Demo.Func = BI.inherit(BI.Widget, props: { baseCls: "demo-func" }, - render: function () { - var items = []; - var rowCount = 10000, columnCount = 100; - for (var i = 0; i < rowCount; i++) { - items[i] = []; - for (var j = 0; j < columnCount; j++) { - items[i][j] = { - type: "bi.label", - text: i + "-" + j - } - } - } - var grid = BI.createWidget({ - type: "bi.grid_view", - width: 400, - height: 300, - estimatedRowSize: 30, - estimatedColumnSize: 100, - items: items, - scrollTop: 100, - rowHeightGetter: function () { - return 30; - }, - columnWidthGetter: function () { - return 100; - } - }); - BI.createWidget({ - type: "bi.absolute", - element: this, - items: [{ - el: { - type: "bi.grid", - columns: 1, - rows: 1, - items: [{ - column: 0, - row: 0, - el: grid - }] - }, - left: 10, - right: 10, - top: 10, - bottom: 10 - }] - }) - } -}); -BI.shortcut("demo.grid_view", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { - props: { - baseCls: "demo-func" - }, - render: function () { - return { - type: "bi.list_view", - el: { - type: "bi.left" - }, - items: BI.map(Demo.CONSTANTS.ITEMS, function (i, item) { - return BI.extend({}, item, { - type: "bi.label", - width: 200, - height: 200, - text: (i + 1) + "." + item.text, - }); - }) - } - } -}); -BI.shortcut("demo.list_view", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { - props: { - baseCls: "demo-func" - }, - - _createItems: function () { - var items = BI.makeArray(100, { - type: "demo.virtual_group_item" - }); - items[0].value = BI.UUID(); - return items; - }, - - render: function () { - var self = this; - return { - type: "bi.vertical", - vgap: 20, - items: [{ - type: "bi.virtual_group", - width: 500, - height: 300, - ref: function () { - self.buttonMap = this; - }, - chooseType: BI.ButtonGroup.CHOOSE_TYPE_MULTI, - layouts: [{ - type: "bi.vertical" - }, { - type: "bi.center_adapt", - }], - items: this._createItems() - }, { - type: "bi.button", - text: "点击刷新", - handler: function () { - var items = self._createItems(); - items.pop(); - self.buttonMap.populate(items); - } - }] - - } - } -}); -BI.shortcut("demo.virtual_group", Demo.Func); - -Demo.Item = BI.inherit(BI.Widget, { - props: { - baseCls: "demo-item", - height: 30 - }, - - render: function () { - var self = this; - return { - type: "bi.label", - ref: function () { - self.label = this; - }, - height: this.options.height, - text: "这是一个测试项" + BI.UUID() - } - }, - - update: function (item) { - this.label.setText(item.value); - console.log("更新了一项"); - return true; - }, - - created: function () { - console.log("创建了一项"); - }, - - destroyed: function () { - console.log("删除了一项"); - } -}); -BI.shortcut("demo.virtual_group_item", Demo.Item);Demo.Func = BI.inherit(BI.Widget, { - props: { - baseCls: "demo-func" - }, - render: function () { - return { - type: "bi.virtual_list", - items: BI.map(Demo.CONSTANTS.ITEMS, function (i, item) { - return BI.extend({}, item, { - type: "bi.label", - height: 30, - text: (i + 1) + "." + item.text, - }); - }) - } - } -}); -BI.shortcut("demo.virtual_list", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { - props: { - baseCls: "demo-func" - }, _createDefaultTree: function () { var TREEITEMS = [{id: -1, pId: -2, value: "根目录", open: true, type: "bi.plus_group_node", height: 25}, @@ -5255,10 +6568,180 @@ BI.shortcut("demo.virtual_list", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { ] } }] - }) + }) + } +}); +BI.shortcut("demo.custom_tree", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + render: function () { + var items = []; + var rowCount = 10000, columnCount = 100; + for (var i = 0; i < rowCount; i++) { + items[i] = []; + for (var j = 0; j < columnCount; j++) { + items[i][j] = { + type: "bi.label", + text: i + "-" + j + } + } + } + var grid = BI.createWidget({ + type: "bi.grid_view", + width: 400, + height: 300, + estimatedRowSize: 30, + estimatedColumnSize: 100, + items: items, + scrollTop: 100, + rowHeightGetter: function () { + return 30; + }, + columnWidthGetter: function () { + return 100; + } + }); + BI.createWidget({ + type: "bi.absolute", + element: this, + items: [{ + el: { + type: "bi.grid", + columns: 1, + rows: 1, + items: [{ + column: 0, + row: 0, + el: grid + }] + }, + left: 10, + right: 10, + top: 10, + bottom: 10 + }] + }) + } +}); +BI.shortcut("demo.grid_view", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + render: function () { + return { + type: "bi.list_view", + el: { + type: "bi.left" + }, + items: BI.map(Demo.CONSTANTS.ITEMS, function (i, item) { + return BI.extend({}, item, { + type: "bi.label", + width: 200, + height: 200, + text: (i + 1) + "." + item.text, + }); + }) + } + } +}); +BI.shortcut("demo.list_view", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + + _createItems: function () { + var items = BI.makeArray(100, { + type: "demo.virtual_group_item" + }); + items[0].value = BI.UUID(); + return items; + }, + + render: function () { + var self = this; + return { + type: "bi.vertical", + vgap: 20, + items: [{ + type: "bi.virtual_group", + width: 500, + height: 300, + ref: function () { + self.buttonMap = this; + }, + chooseType: BI.ButtonGroup.CHOOSE_TYPE_MULTI, + layouts: [{ + type: "bi.vertical" + }, { + type: "bi.center_adapt", + }], + items: this._createItems() + }, { + type: "bi.button", + text: "点击刷新", + handler: function () { + var items = self._createItems(); + items.pop(); + self.buttonMap.populate(items); + } + }] + + } + } +}); +BI.shortcut("demo.virtual_group", Demo.Func); + +Demo.Item = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-item", + height: 30 + }, + + render: function () { + var self = this; + return { + type: "bi.label", + ref: function () { + self.label = this; + }, + height: this.options.height, + text: "这是一个测试项" + BI.UUID() + } + }, + + update: function (item) { + this.label.setText(item.value); + console.log("更新了一项"); + return true; + }, + + created: function () { + console.log("创建了一项"); + }, + + destroyed: function () { + console.log("删除了一项"); + } +}); +BI.shortcut("demo.virtual_group_item", Demo.Item);Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + render: function () { + return { + type: "bi.virtual_list", + items: BI.map(Demo.CONSTANTS.ITEMS, function (i, item) { + return BI.extend({}, item, { + type: "bi.label", + height: 30, + text: (i + 1) + "." + item.text, + }); + }) + } } }); -BI.shortcut("demo.custom_tree", Demo.Func);Demo.AbsoluteLayout = BI.inherit(BI.Widget, { +BI.shortcut("demo.virtual_list", Demo.Func);Demo.AbsoluteLayout = BI.inherit(BI.Widget, { props: { baseCls: "demo-absolute" }, @@ -7438,6 +8921,9 @@ Demo.Items = BI.inherit(BI.Widget, { }, { type: "bi.single_select_item", text: "单选项" + }, { + type: "bi.single_select_radio_item", + text: "单选项" }, { type: "bi.label", height: 30, @@ -7721,53 +9207,7 @@ Demo.Tips = BI.inherit(BI.Widget, { } } }); -BI.shortcut("demo.tips", Demo.Tips);/** - * Created by Dailer on 2017/7/11. - */ -Demo.Date = BI.inherit(BI.Widget, { - props: { - baseCls: "demo-date" - }, - - _init: function () { - Demo.Date.superclass._init.apply(this, arguments); - }, - - render: function () { - var self = this; - return { - type: "bi.horizontal_auto", - vgap: 10, - items: [{ - type: "bi.date_combo", - ref: function () { - self.datecombo = this; - }, - width: 300 - }, { - type: "bi.button", - text: "getVlaue", - width: 300, - handler: function () { - BI.Msg.alert("date", JSON.stringify(self.datecombo.getValue())); - } - }, { - type: "bi.button", - text: "setVlaue '2017-12-31'", - width: 300, - handler: function () { - self.datecombo.setValue({ - year: 2017, - month: 11, - day: 31 - }) - } - }] - } - } -}) - -BI.shortcut("demo.date", Demo.Date);Demo.DatePane = BI.inherit(BI.Widget, { +BI.shortcut("demo.tips", Demo.Tips);Demo.DatePane = BI.inherit(BI.Widget, { props: { baseCls: "demo-datepane" }, @@ -7822,34 +9262,76 @@ BI.shortcut("demo.date", Demo.Date);Demo.DatePane = BI.inherit(BI.Widget, { }) BI.shortcut("demo.date_pane", Demo.DatePane);/** - * Created by Urthur on 2017/7/18. + * Created by Dailer on 2017/7/11. */ -Demo.CustomDateTime = BI.inherit(BI.Widget, { +Demo.Date = BI.inherit(BI.Widget, { props: { + baseCls: "demo-date" + }, + + _init: function () { + Demo.Date.superclass._init.apply(this, arguments); }, + + render: function () { + var self = this; + return { + type: "bi.horizontal_auto", + vgap: 10, + items: [{ + type: "bi.multidate_combo", + ref: function () { + self.datecombo = this; + }, + width: 300 + }, { + type: "bi.button", + text: "getVlaue", + width: 300, + handler: function () { + BI.Msg.alert("date", JSON.stringify(self.datecombo.getValue())); + } + }, { + type: "bi.button", + text: "setVlaue '2017-12-31'", + width: 300, + handler: function () { + self.datecombo.setValue({ + year: 2017, + month: 11, + day: 31 + }) + } + }] + } + } +}) + +BI.shortcut("demo.multidate_combo", Demo.Date);/** + * Created by Urthur on 2017/7/18. + */ +Demo.CustomDateTime = BI.inherit(BI.Widget, { + props: {}, render: function () { var self = this; return { type: "bi.absolute", items: [{ el: { - type: "bi.custom_date_time_combo", - ref: function (_ref) { - self.customDateTime = _ref; - var value, date, dateStr; - self.customDateTime.on(BI.CustomDateTimeCombo.EVENT_CONFIRM, function () { - value = this.getValue(); - date = new Date(value.year,value.month,value.day,value.hour,value.minute,value.second); - dateStr = date.print("%Y-%X-%d %H:%M:%S"); - BI.Msg.alert("日期", dateStr); - }); - self.customDateTime.on(BI.CustomDateTimeCombo.EVENT_CANCEL, function () { - value = this.getValue(); - date = new Date(value.year,value.month,value.day,value.hour,value.minute,value.second); - dateStr = date.print("%Y-%X-%d %H:%M:%S"); + type: "bi.date_time_combo", + listeners: [{ + eventName: BI.DateTimeCombo.EVENT_CONFIRM, + action: function () { + var value = this.getValue(); + var date = new Date(value.year, value.month, value.day, value.hour, value.minute, value.second); + var dateStr = date.print("%Y-%X-%d %H:%M:%S"); BI.Msg.alert("日期", dateStr); - }); - } + } + }, { + eventName: BI.DateTimeCombo.EVENT_CANCEL, + action: function () { + } + }] }, top: 200, left: 200 @@ -7857,33 +9339,7 @@ Demo.CustomDateTime = BI.inherit(BI.Widget, { }; } }); -BI.shortcut("demo.custom_date_time", Demo.CustomDateTime);Demo.DialogView = BI.inherit(BI.Widget, { - - render: function () { - var items = [{ - el: { - type: 'bi.button', - text: '弹出对话框', - level: 'common', - height: 30 - } - }]; - BI.each(items, function (i, item) { - item.el.handler = function () { - BI.Msg.alert('提示', "这是一段可以换行的文字,为了使它换行我要多写几个字,但是我又凑不够这么多的字,万般焦急下,只能随便写写"); - } - }); - - return { - type: "bi.left", - vgap: 200, - hgap: 20, - items: items - } - } -}); - -BI.shortcut("demo.dialog", Demo.DialogView);Demo.Downlist = BI.inherit(BI.Widget, { +BI.shortcut("demo.date_time", Demo.CustomDateTime);Demo.Downlist = BI.inherit(BI.Widget, { props: { baseCls: "demo-downlist" }, @@ -7902,7 +9358,7 @@ BI.shortcut("demo.dialog", Demo.DialogView);Demo.Downlist = BI.inherit(BI.Widget render: function () { - self = this; + var self = this; return { type: "bi.horizontal_adapt", items: [{ @@ -7910,7 +9366,7 @@ BI.shortcut("demo.dialog", Demo.DialogView);Demo.Downlist = BI.inherit(BI.Widget ref: function (_ref) { self.downlist = _ref; }, - cls:"layout-bg3", + cls: "layout-bg3", height: 30, width: 100, items: [ @@ -7953,11 +9409,11 @@ BI.shortcut("demo.dialog", Demo.DialogView);Demo.Downlist = BI.inherit(BI.Widget }] }], [{ - text: "column 8", - value: 18, - cls: "dot-e-font", - selected: true - }, + text: "column 8", + value: 18, + cls: "dot-e-font", + selected: true + }, { text: "column 9", @@ -7966,11 +9422,11 @@ BI.shortcut("demo.dialog", Demo.DialogView);Demo.Downlist = BI.inherit(BI.Widget } ], [{ - text: "column 10", - value: 20, - cls: "dot-e-font", - selected: true - }, + text: "column 10", + value: 20, + cls: "dot-e-font", + selected: true + }, { text: "column 11", @@ -8007,8 +9463,8 @@ BI.shortcut("demo.dialog", Demo.DialogView);Demo.Downlist = BI.inherit(BI.Widget }, { type: "bi.label", text: "显示选择值", - width:500, - cls:"layout-bg4", + width: 500, + cls: "layout-bg4", ref: function (_ref) { self.label = _ref; } @@ -8892,46 +10348,7 @@ Demo.SingleTreeCombo = BI.inherit(BI.Widget, { } }) -BI.shortcut("demo.single_tree_combo", Demo.SingleTreeCombo);/** - * Created by Dailer on 2017/7/12. - */ -Demo.ExcelTable = BI.inherit(BI.Widget, { - props: { - baseCls: "demo-exceltable" - }, - render: function () { - return { - type: "bi.horizontal_auto", - items: [{ - type: "bi.excel_table", - columnSize: [200,200,200,200,200], - items: [ - [{ - type: "bi.label", - cls: "layout-bg1", - text: "第一行第一列" - }, { - type: "bi.label", - cls: "layout-bg2", - text: "第一行第二列" - }], - [{ - type: "bi.label", - cls: "layout-bg3", - text: "第二行第一列" - }, { - type: "bi.label", - cls: "layout-bg4", - text: "第二行第二列" - }] - ] - }], - width:500 - } - } -}) - -BI.shortcut("demo.excel_table", Demo.ExcelTable);Demo.Func = BI.inherit(BI.Widget, { +BI.shortcut("demo.single_tree_combo", Demo.SingleTreeCombo);Demo.Func = BI.inherit(BI.Widget, { props: { baseCls: "demo-func" }, @@ -10081,6 +11498,13 @@ Demo.YearQuarterCombo = BI.inherit(BI.Widget, { BI.shortcut("demo.year_quarter_combo", Demo.YearQuarterCombo);Demo.CONFIG = Demo.CORE_CONFIG.concat(Demo.BASE_CONFIG).concat(Demo.CASE_CONFIG).concat(Demo.WIDGET_CONFIG).concat(Demo.COMPONENT_CONFIG).concat(Demo.ADDONS_CONFIG); Demo.CONSTANTS = { + SIMPLE_ITEMS: BI.map("柳州市城贸金属材料有限责任公司 柳州市建福房屋租赁有限公司 柳州市迅昌数码办公设备有限责任公司 柳州市河海贸易有限责任公司 柳州市花篮制衣厂 柳州市兴溪物资有限公司 柳州市针织总厂 柳州市衡管物资有限公司 柳州市琪成机电设备有限公司 柳州市松林工程机械修理厂".match(/[^\s]+/g), function (i, v) { + return { + text: v, + value: v, + title: v + } + }), ITEMS: BI.map("柳州市城贸金属材料有限责任公司 柳州市建福房屋租赁有限公司 柳州市迅昌数码办公设备有限责任公司 柳州市河海贸易有限责任公司 柳州市花篮制衣厂 柳州市兴溪物资有限公司 柳州市针织总厂 柳州市衡管物资有限公司 柳州市琪成机电设备有限公司 柳州市松林工程机械修理厂 柳州市积玉贸易有限公司 柳州市福运来贸易有限责任公司 柳州市钢义物资有限公司 柳州市洋力化工有限公司 柳州市悦盛贸易有限公司 柳州市雁城钢管物资有限公司 柳州市恒瑞钢材经营部 柳州市科拓电子有限公司 柳州市九方电子有限公司 柳州市桂龙汽车配件厂 柳州市制鞋工厂 柳州市炜力科贸有限公司 柳州市希翼贸易有限公司 柳州市兆金物资有限公司 柳州市和润电子科技有限责任公司 柳州市汇凯贸易有限公司 柳州市好机汇商贸有限公司 柳州市泛源商贸经营部 柳州市利汇达物资有限公司 广西全民药业有限责任公司 柳州超凡物资贸易有限责任公司 柳州市贵宏物资有限责任公司 柳州昊恒贸易有限责任公司 柳州市浦联物资有限公司 柳州市广通园林绿化工程有限责任公司 柳州市松发物资贸易有限责任公司 柳州市奥士达办公设备有限责任公司 柳州市海泰物资有限公司 柳州市金三环针织厂 柳州市钢贸物资有限公司 柳州市明阳纺织有限公司 柳州市世科科技发展有限公司 柳州市禄羊贸易有限公司 柳州市金兆阳商贸有限公司 柳州市汇昌物资经营部 柳州市林泰金属物资供应站 柳州市自来水管道材料设备公司 柳州市丹柳铝板有限公司 柳州市桂冶物资有限公司 柳州市宸业物资经营部 柳州市耀成贸易有限公司 柳州奥易自动化科技有限公司 柳州市萃丰科技有限责任公司 柳州市华储贸易有限责任公司 柳州市黄颜钢材有限责任公司 柳州市银盛物资有限责任公司 柳州市新仪化玻供应站 柳州市晶凯化工有限公司 广西柳州市柳江包装纸厂 柳州市志新物资有限责任公司 柳州市兆钢物资有限公司 柳州市友方科技发展有限责任公司 柳州市缝纫机台板家具总厂 柳州市晖海数码办公设备有限责任公司 柳州市富兰特服饰有限责任公司 柳州市柳北区富兴物资经营部 柳州市柳锌福利厂 柳州市海泉印刷有限责任公司 柳州市乾亨贸易有限公司 柳州市悦宁物资贸易有限公司 柳州市昊天贸易有限公司 广西惠字钢铁有限公司 柳州市名青物资有限公司 柳州市林郝物资有限公司 柳州市民政服装厂 柳州市多维劳保用品厂 柳州市轻工物资供应公司 柳州市程源物资有限责任公司 柳州市寿丰物资贸易有限责任公司 柳州市凯凡物资有限公司 柳州市利晖物资经营部 柳州市恒茂金属物资供应站 柳州市中储物资经营部 柳州市第二医疗器械厂 柳州市来鑫物资经营部 柳州市钢鑫物资贸易有限责任公司 柳州市双合袜业有限责任公司 柳州市茂松经贸有限责任公司 柳州市行行物资贸易有限公司 柳州市方一物资有限公司 柳州成异钢管销售有限公司 柳州广惠佳电脑有限公司 桂林市圣泽鑫物资有限公司柳州分公司 柳州市砼基建材贸易有限公司 柳州市海燕针织厂 上海浦光仪表厂柳州销售处 柳州市能电工贸有限责任公司 柳州市广贸物资有限公司 柳州市柳北区大昌电工灯饰经营部 柳州市金龙印务有限公司 柳州市奇缘婚典服务有限公司 柳州市盛博物资经营部 柳州市项元钢铁贸易有限公司 柳州市虞美人化妆品经营部 柳州市俊彦鞋厂 柳州市聚源特钢有限公司 柳州市迅龙科贸有限责任公司 柳州市恒飞电子有限责任公司 柳州市蓝正现代办公设备有限责任公司 柳州地区农业生产资料公司 柳州华菱钢管销售有限公司 柳州融通物资有限公司 柳州市可仁广告策划有限责任公司 柳州市鸟鑫物资有限责任公司 柳州市五丰钢材供应站 柳州市金江不锈钢有限公司 柳州市美日物资设备有限责任公司 柳州市鑫东物资贸易有限责任公司 柳州地区日用杂品公司 柳州市华纳物资贸易有限公司 柳州乾利金虹物资贸易有限责任公司 柳州市新迈计算机有限公司 柳州市富丽实业发展公司 柳州市石钢金属材料有限公司 柳州市力志传真机销售有限公司 广西宝森投资有限公司 柳州市嵘基商贸有限公司 柳州市景民商贸有限责任公司 柳州市银桥化玻有限责任公司 柳州市宏文糖烟店 柳州市科苑电脑网络有限公司 柳州市两面针旅游用品厂 柳州市立早室内装璜有限责任公司 柳州地化建材有限公司 柳州市涛达贸易有限公司 柳州市兰丰档案服务中心 柳州市惠贸物资有限责任公司 柳州市立文物资有限责任公司 柳州市致和商贸经营部 柳州市金色阳光信息咨询有限公司 柳州市赛利钢材经销部 柳州市日用化工厂 柳州市昆廷物资有限责任公司 柳州市邦盛贸易有限公司 柳州市济华贸易有限公司 柳州昕威橡塑化工经营部 柳州市联业贸易有限公司 柳州市兰钢贸易有限公司 柳州市子欣科技有限公司 柳州市狄龙机电设备有限公司 柳州市方真物资贸易有限公司 柳州市银鸥废旧回收中心 柳州市冠宝贸易有限公司 柳州市鑫盛德商务咨询有限责任公司 柳州市泰汇银通经贸有限公司 广西瀚维智测科技有限公司 柳州市钓鱼郎制衣有限责任公司 柳州溪水物资有限公司 柳州市融峰物资有限责任公司 广西新地科技有限责任公司 柳州市纺织装饰公司 柳州市粤翔冶金炉料有限公司 柳州市远腾贸易有限公司 柳州市东鸿城市改造有限公司 广西丛欣实业有限公司 柳州市服装厂 柳州市立安联合刀片有限公司 广西国扬投资有限责任公司 柳州市铭泰办公设备公司 柳州市桂钢物资供应站 柳州市昱升物资有限责任公司 柳州市鹰飞灿科贸有限公司 柳州市先导科贸有限公司 柳州市金秋建材物资经营部 柳州市童装厂 柳州市民泽物资有限公司 柳州市恒先物资贸易有限公司 柳州市银夏冷气工程有限责任公司 柳州粮食批发有限责任公司 柳州市金银华窗纱制造有限责任公司 柳州市三方贸易有限公司 柳州市丰涛商贸有限责任公司 柳州华智企业管理咨询有限责任公司 柳州市诚正建筑工程施工图审查有限公司 柳州市今科电讯设备营销中心 柳州市闽德电子有限公司 柳州市鑫虹针织厂 柳州市畅通通讯器材有限责任公司 柳州市正钢物资经营部 柳州市新柳饲料有限责任公司 柳州市黄村油库 柳州市天泰电力装饰工程有限公司 柳州市兆吉物资有限责任公司 柳州市八龙纸制品有限责任公司 柳州市巨佳电脑网络科技有限公司 ".match(/[^\s]+/g), function (i, v) { return { text: v, @@ -10088,22 +11512,1522 @@ Demo.CONSTANTS = { title: v } }), - TREEITEMS: [{"pId":"0","id":"0_0","text":"( 共25个 )","value":"","open":true},{"pId":"0_0","id":"0_0_0","text":"安徽省( 共1个 )","value":"安徽省","open":true},{"pId":"0_0_0","id":"0_0_0_0","text":"芜湖市","value":"芜湖市","open":true},{"pId":"0_0","id":"0_0_1","text":"北京市( 共6个 )","value":"北京市","open":true},{"pId":"0_0_1","id":"0_0_1_0","text":"北京市区","value":"北京市区","open":true},{"pId":"0_0_1","id":"0_0_1_1","text":"朝阳区","value":"朝阳区","open":true},{"pId":"0_0_1","id":"0_0_1_2","text":"东城区","value":"东城区","open":true},{"pId":"0_0_1","id":"0_0_1_3","text":"海淀区4内","value":"海淀区4内","open":true},{"pId":"0_0_1","id":"0_0_1_4","text":"海淀区4外","value":"海淀区4外","open":true},{"pId":"0_0_1","id":"0_0_1_5","text":"石景山区","value":"石景山区","open":true},{"pId":"0_0","id":"0_0_2","text":"福建省( 共2个 )","value":"福建省","open":true},{"pId":"0_0_2","id":"0_0_2_0","text":"莆田市","value":"莆田市","open":true},{"pId":"0_0_2","id":"0_0_2_1","text":"泉州市","value":"泉州市","open":true},{"pId":"0_0","id":"0_0_3","text":"甘肃省( 共1个 )","value":"甘肃省","open":true},{"pId":"0_0_3","id":"0_0_3_0","text":"兰州市","value":"兰州市","open":true},{"pId":"0_0","id":"0_0_4","text":"广东省( 共5个 )","value":"广东省","open":true},{"pId":"0_0_4","id":"0_0_4_0","text":"东莞市","value":"东莞市","open":true},{"pId":"0_0_4","id":"0_0_4_1","text":"广州市","value":"广州市","open":true},{"pId":"0_0_4","id":"0_0_4_2","text":"惠州市","value":"惠州市","open":true},{"pId":"0_0_4","id":"0_0_4_3","text":"深圳市","value":"深圳市","open":true},{"pId":"0_0_4","id":"0_0_4_4","text":"珠海市","value":"珠海市","open":true},{"pId":"0_0","id":"0_0_5","text":"广西壮族自治区( 共1个 )","value":"广西壮族自治区","open":true},{"pId":"0_0_5","id":"0_0_5_0","text":"南宁市","value":"南宁市","open":true},{"pId":"0_0","id":"0_0_6","text":"河北省( 共2个 )","value":"河北省","open":true},{"pId":"0_0_6","id":"0_0_6_0","text":"保定市","value":"保定市","open":true},{"pId":"0_0_6","id":"0_0_6_1","text":"邢台市","value":"邢台市","open":true},{"pId":"0_0","id":"0_0_7","text":"河南省( 共1个 )","value":"河南省","open":true},{"pId":"0_0_7","id":"0_0_7_0","text":"郑州市","value":"郑州市","open":true},{"pId":"0_0","id":"0_0_8","text":"黑龙江省( 共7个 )","value":"黑龙江省","open":true},{"pId":"0_0_8","id":"0_0_8_0","text":"大庆市","value":"大庆市","open":true},{"pId":"0_0_8","id":"0_0_8_1","text":"哈尔滨市","value":"哈尔滨市","open":true},{"pId":"0_0_8","id":"0_0_8_2","text":"鸡西市","value":"鸡西市","open":true},{"pId":"0_0_8","id":"0_0_8_3","text":"佳木斯市","value":"佳木斯市","open":true},{"pId":"0_0_8","id":"0_0_8_4","text":"牡丹江市","value":"牡丹江市","open":true},{"pId":"0_0_8","id":"0_0_8_5","text":"齐齐哈尔市","value":"齐齐哈尔市","open":true},{"pId":"0_0_8","id":"0_0_8_6","text":"双鸭山市","value":"双鸭山市","open":true},{"pId":"0_0","id":"0_0_9","text":"湖北省( 共1个 )","value":"湖北省","open":true},{"pId":"0_0_9","id":"0_0_9_0","text":"武汉市","value":"武汉市","open":true},{"pId":"0_0","id":"0_0_10","text":"湖南省( 共3个 )","value":"湖南省","open":true},{"pId":"0_0_10","id":"0_0_10_0","text":"常德市","value":"常德市","open":true},{"pId":"0_0_10","id":"0_0_10_1","text":"长沙市","value":"长沙市","open":true},{"pId":"0_0_10","id":"0_0_10_2","text":"邵阳市","value":"邵阳市","open":true},{"pId":"0_0","id":"0_0_11","text":"吉林省( 共4个 )","value":"吉林省","open":true},{"pId":"0_0_11","id":"0_0_11_0","text":"白山市","value":"白山市","open":true},{"pId":"0_0_11","id":"0_0_11_1","text":"长春市","value":"长春市","open":true},{"pId":"0_0_11","id":"0_0_11_2","text":"松原市","value":"松原市","open":true},{"pId":"0_0_11","id":"0_0_11_3","text":"通化市","value":"通化市","open":true},{"pId":"0_0","id":"0_0_12","text":"江苏省( 共8个 )","value":"江苏省","open":true},{"pId":"0_0_12","id":"0_0_12_0","text":"常州市","value":"常州市","open":true},{"pId":"0_0_12","id":"0_0_12_1","text":"南京市","value":"南京市","open":true},{"pId":"0_0_12","id":"0_0_12_2","text":"南通市","value":"南通市","open":true},{"pId":"0_0_12","id":"0_0_12_3","text":"苏州市","value":"苏州市","open":true},{"pId":"0_0_12","id":"0_0_12_4","text":"宿迁市","value":"宿迁市","open":true},{"pId":"0_0_12","id":"0_0_12_5","text":"泰州市","value":"泰州市","open":true},{"pId":"0_0_12","id":"0_0_12_6","text":"无锡市","value":"无锡市","open":true},{"pId":"0_0_12","id":"0_0_12_7","text":"盐城市","value":"盐城市","open":true},{"pId":"0_0","id":"0_0_13","text":"辽宁省( 共11个 )","value":"辽宁省","open":true},{"pId":"0_0_13","id":"0_0_13_0","text":"鞍山市","value":"鞍山市","open":true},{"pId":"0_0_13","id":"0_0_13_1","text":"本溪市","value":"本溪市","open":true},{"pId":"0_0_13","id":"0_0_13_2","text":"朝阳市","value":"朝阳市","open":true},{"pId":"0_0_13","id":"0_0_13_3","text":"大连市","value":"大连市","open":true},{"pId":"0_0_13","id":"0_0_13_4","text":"抚顺市","value":"抚顺市","open":true},{"pId":"0_0_13","id":"0_0_13_5","text":"葫芦岛市","value":"葫芦岛市","open":true},{"pId":"0_0_13","id":"0_0_13_6","text":"锦州市","value":"锦州市","open":true},{"pId":"0_0_13","id":"0_0_13_7","text":"辽阳市","value":"辽阳市","open":true},{"pId":"0_0_13","id":"0_0_13_8","text":"盘锦市","value":"盘锦市","open":true},{"pId":"0_0_13","id":"0_0_13_9","text":"沈阳市","value":"沈阳市","open":true},{"pId":"0_0_13","id":"0_0_13_10","text":"营口市","value":"营口市","open":true},{"pId":"0_0","id":"0_0_14","text":"内蒙古( 共1个 )","value":"内蒙古","open":true},{"pId":"0_0_14","id":"0_0_14_0","text":"鄂尔多斯市","value":"鄂尔多斯市","open":true},{"pId":"0_0","id":"0_0_15","text":"宁夏回族自治区( 共1个 )","value":"宁夏回族自治区","open":true},{"pId":"0_0_15","id":"0_0_15_0","text":"银川市","value":"银川市","open":true},{"pId":"0_0","id":"0_0_16","text":"山东省( 共7个 )","value":"山东省","open":true},{"pId":"0_0_16","id":"0_0_16_0","text":"济南市","value":"济南市","open":true},{"pId":"0_0_16","id":"0_0_16_1","text":"济宁市","value":"济宁市","open":true},{"pId":"0_0_16","id":"0_0_16_2","text":"聊城市","value":"聊城市","open":true},{"pId":"0_0_16","id":"0_0_16_3","text":"临沂市","value":"临沂市","open":true},{"pId":"0_0_16","id":"0_0_16_4","text":"青岛市","value":"青岛市","open":true},{"pId":"0_0_16","id":"0_0_16_5","text":"烟台市","value":"烟台市","open":true},{"pId":"0_0_16","id":"0_0_16_6","text":"枣庄市","value":"枣庄市","open":true},{"pId":"0_0","id":"0_0_17","text":"山西省( 共1个 )","value":"山西省","open":true},{"pId":"0_0_17","id":"0_0_17_0","text":"太原市","value":"太原市","open":true},{"pId":"0_0","id":"0_0_18","text":"陕西省( 共1个 )","value":"陕西省","open":true},{"pId":"0_0_18","id":"0_0_18_0","text":"西安市","value":"西安市","open":true},{"pId":"0_0","id":"0_0_19","text":"上海市( 共1个 )","value":"上海市","open":true},{"pId":"0_0_19","id":"0_0_19_0","text":"上海市区","value":"上海市区","open":true},{"pId":"0_0","id":"0_0_20","text":"四川省( 共1个 )","value":"四川省","open":true},{"pId":"0_0_20","id":"0_0_20_0","text":"成都市","value":"成都市","open":true},{"pId":"0_0","id":"0_0_21","text":"新疆维吾尔族自治区( 共2个 )","value":"新疆维吾尔族自治区","open":true},{"pId":"0_0_21","id":"0_0_21_0","text":"吐鲁番地区","value":"吐鲁番地区","open":true},{"pId":"0_0_21","id":"0_0_21_1","text":"乌鲁木齐","value":"乌鲁木齐","open":true},{"pId":"0_0","id":"0_0_22","text":"云南省( 共1个 )","value":"云南省","open":true},{"pId":"0_0_22","id":"0_0_22_0","text":"昆明市","value":"昆明市","open":true},{"pId":"0_0","id":"0_0_23","text":"浙江省( 共5个 )","value":"浙江省","open":true},{"pId":"0_0_23","id":"0_0_23_0","text":"杭州市","value":"杭州市","open":true},{"pId":"0_0_23","id":"0_0_23_1","text":"湖州市","value":"湖州市","open":true},{"pId":"0_0_23","id":"0_0_23_2","text":"嘉兴市","value":"嘉兴市","open":true},{"pId":"0_0_23","id":"0_0_23_3","text":"宁波市","value":"宁波市","open":true},{"pId":"0_0_23","id":"0_0_23_4","text":"绍兴市","value":"绍兴市","open":true},{"pId":"0_0","id":"0_0_24","text":"重庆市( 共1个 )","value":"重庆市","open":true},{"pId":"0_0_24","id":"0_0_24_0","text":"重庆市区","value":"重庆市区","open":true},{"pId":"0","id":"0_1","text":"中国( 共34个 )","value":"中国","open":true},{"pId":"0_1","id":"0_1_0","text":"安徽省( 共19个 )","value":"安徽省","open":true},{"pId":"0_1_0","id":"0_1_0_0","text":"安庆市","value":"安庆市","open":true},{"pId":"0_1_0","id":"0_1_0_1","text":"蚌埠市","value":"蚌埠市","open":true},{"pId":"0_1_0","id":"0_1_0_2","text":"亳州市","value":"亳州市","open":true},{"pId":"0_1_0","id":"0_1_0_3","text":"巢湖市","value":"巢湖市","open":true},{"pId":"0_1_0","id":"0_1_0_4","text":"池州市","value":"池州市","open":true},{"pId":"0_1_0","id":"0_1_0_5","text":"滁州市","value":"滁州市","open":true},{"pId":"0_1_0","id":"0_1_0_6","text":"阜阳市","value":"阜阳市","open":true},{"pId":"0_1_0","id":"0_1_0_7","text":"毫州市","value":"毫州市","open":true},{"pId":"0_1_0","id":"0_1_0_8","text":"合肥市","value":"合肥市","open":true},{"pId":"0_1_0","id":"0_1_0_9","text":"淮北市","value":"淮北市","open":true},{"pId":"0_1_0","id":"0_1_0_10","text":"淮南市","value":"淮南市","open":true},{"pId":"0_1_0","id":"0_1_0_11","text":"黄山市","value":"黄山市","open":true},{"pId":"0_1_0","id":"0_1_0_12","text":"六安市","value":"六安市","open":true},{"pId":"0_1_0","id":"0_1_0_13","text":"马鞍山市","value":"马鞍山市","open":true},{"pId":"0_1_0","id":"0_1_0_14","text":"濮阳市","value":"濮阳市","open":true},{"pId":"0_1_0","id":"0_1_0_15","text":"宿州市","value":"宿州市","open":true},{"pId":"0_1_0","id":"0_1_0_16","text":"铜陵市","value":"铜陵市","open":true},{"pId":"0_1_0","id":"0_1_0_17","text":"芜湖市","value":"芜湖市","open":true},{"pId":"0_1_0","id":"0_1_0_18","text":"宣城市","value":"宣城市","open":true},{"pId":"0_1","id":"0_1_1","text":"澳门特别行政区( 共1个 )","value":"澳门特别行政区","open":true},{"pId":"0_1_1","id":"0_1_1_0","text":"澳门","value":"澳门","open":true},{"pId":"0_1","id":"0_1_2","text":"北京市( 共17个 )","value":"北京市","open":true},{"pId":"0_1_2","id":"0_1_2_0","text":"北京市区","value":"北京市区","open":true},{"pId":"0_1_2","id":"0_1_2_1","text":"昌平区","value":"昌平区","open":true},{"pId":"0_1_2","id":"0_1_2_2","text":"朝阳区","value":"朝阳区","open":true},{"pId":"0_1_2","id":"0_1_2_3","text":"大兴区","value":"大兴区","open":true},{"pId":"0_1_2","id":"0_1_2_4","text":"东城区","value":"东城区","open":true},{"pId":"0_1_2","id":"0_1_2_5","text":"房山区","value":"房山区","open":true},{"pId":"0_1_2","id":"0_1_2_6","text":"丰台区","value":"丰台区","open":true},{"pId":"0_1_2","id":"0_1_2_7","text":"海淀区","value":"海淀区","open":true},{"pId":"0_1_2","id":"0_1_2_8","text":"海淀区4内","value":"海淀区4内","open":true},{"pId":"0_1_2","id":"0_1_2_9","text":"海淀区4外","value":"海淀区4外","open":true},{"pId":"0_1_2","id":"0_1_2_10","text":"门头沟区","value":"门头沟区","open":true},{"pId":"0_1_2","id":"0_1_2_11","text":"平谷区","value":"平谷区","open":true},{"pId":"0_1_2","id":"0_1_2_12","text":"石景山区","value":"石景山区","open":true},{"pId":"0_1_2","id":"0_1_2_13","text":"顺义区","value":"顺义区","open":true},{"pId":"0_1_2","id":"0_1_2_14","text":"通州区","value":"通州区","open":true},{"pId":"0_1_2","id":"0_1_2_15","text":"西城区","value":"西城区","open":true},{"pId":"0_1_2","id":"0_1_2_16","text":"西城区 ","value":"西城区 ","open":true},{"pId":"0_1","id":"0_1_3","text":"福建省( 共9个 )","value":"福建省","open":true},{"pId":"0_1_3","id":"0_1_3_0","text":"福州市","value":"福州市","open":true},{"pId":"0_1_3","id":"0_1_3_1","text":"龙岩市","value":"龙岩市","open":true},{"pId":"0_1_3","id":"0_1_3_2","text":"南平市","value":"南平市","open":true},{"pId":"0_1_3","id":"0_1_3_3","text":"宁德市","value":"宁德市","open":true},{"pId":"0_1_3","id":"0_1_3_4","text":"莆田市","value":"莆田市","open":true},{"pId":"0_1_3","id":"0_1_3_5","text":"泉州市","value":"泉州市","open":true},{"pId":"0_1_3","id":"0_1_3_6","text":"三明市","value":"三明市","open":true},{"pId":"0_1_3","id":"0_1_3_7","text":"厦门市","value":"厦门市","open":true},{"pId":"0_1_3","id":"0_1_3_8","text":"漳州市","value":"漳州市","open":true},{"pId":"0_1","id":"0_1_4","text":"甘肃省( 共12个 )","value":"甘肃省","open":true},{"pId":"0_1_4","id":"0_1_4_0","text":"白银市","value":"白银市","open":true},{"pId":"0_1_4","id":"0_1_4_1","text":"嘉峪关市","value":"嘉峪关市","open":true},{"pId":"0_1_4","id":"0_1_4_2","text":"金昌市","value":"金昌市","open":true},{"pId":"0_1_4","id":"0_1_4_3","text":"酒泉市","value":"酒泉市","open":true},{"pId":"0_1_4","id":"0_1_4_4","text":"兰州市","value":"兰州市","open":true},{"pId":"0_1_4","id":"0_1_4_5","text":"陇南市","value":"陇南市","open":true},{"pId":"0_1_4","id":"0_1_4_6","text":"平凉市","value":"平凉市","open":true},{"pId":"0_1_4","id":"0_1_4_7","text":"庆阳市","value":"庆阳市","open":true},{"pId":"0_1_4","id":"0_1_4_8","text":"天津市区","value":"天津市区","open":true},{"pId":"0_1_4","id":"0_1_4_9","text":"天水市","value":"天水市","open":true},{"pId":"0_1_4","id":"0_1_4_10","text":"武威市","value":"武威市","open":true},{"pId":"0_1_4","id":"0_1_4_11","text":"张掖市","value":"张掖市","open":true},{"pId":"0_1","id":"0_1_5","text":"广东省( 共21个 )","value":"广东省","open":true},{"pId":"0_1_5","id":"0_1_5_0","text":"潮州市","value":"潮州市","open":true},{"pId":"0_1_5","id":"0_1_5_1","text":"东莞市","value":"东莞市","open":true},{"pId":"0_1_5","id":"0_1_5_2","text":"佛山市","value":"佛山市","open":true},{"pId":"0_1_5","id":"0_1_5_3","text":"广州市","value":"广州市","open":true},{"pId":"0_1_5","id":"0_1_5_4","text":"河源市","value":"河源市","open":true},{"pId":"0_1_5","id":"0_1_5_5","text":"惠州市","value":"惠州市","open":true},{"pId":"0_1_5","id":"0_1_5_6","text":"江门市","value":"江门市","open":true},{"pId":"0_1_5","id":"0_1_5_7","text":"揭阳市","value":"揭阳市","open":true},{"pId":"0_1_5","id":"0_1_5_8","text":"茂名市","value":"茂名市","open":true},{"pId":"0_1_5","id":"0_1_5_9","text":"梅州市","value":"梅州市","open":true},{"pId":"0_1_5","id":"0_1_5_10","text":"清远市","value":"清远市","open":true},{"pId":"0_1_5","id":"0_1_5_11","text":"汕头市","value":"汕头市","open":true},{"pId":"0_1_5","id":"0_1_5_12","text":"汕尾市","value":"汕尾市","open":true},{"pId":"0_1_5","id":"0_1_5_13","text":"韶关市","value":"韶关市","open":true},{"pId":"0_1_5","id":"0_1_5_14","text":"深圳市","value":"深圳市","open":true},{"pId":"0_1_5","id":"0_1_5_15","text":"阳江市","value":"阳江市","open":true},{"pId":"0_1_5","id":"0_1_5_16","text":"云浮市","value":"云浮市","open":true},{"pId":"0_1_5","id":"0_1_5_17","text":"湛江市","value":"湛江市","open":true},{"pId":"0_1_5","id":"0_1_5_18","text":"肇庆市","value":"肇庆市","open":true},{"pId":"0_1_5","id":"0_1_5_19","text":"中山市","value":"中山市","open":true},{"pId":"0_1_5","id":"0_1_5_20","text":"珠海市","value":"珠海市","open":true},{"pId":"0_1","id":"0_1_6","text":"广西壮族自治区( 共14个 )","value":"广西壮族自治区","open":true},{"pId":"0_1_6","id":"0_1_6_0","text":"百色市","value":"百色市","open":true},{"pId":"0_1_6","id":"0_1_6_1","text":"北海市","value":"北海市","open":true},{"pId":"0_1_6","id":"0_1_6_2","text":"崇左市","value":"崇左市","open":true},{"pId":"0_1_6","id":"0_1_6_3","text":"防城港市","value":"防城港市","open":true},{"pId":"0_1_6","id":"0_1_6_4","text":"桂林市","value":"桂林市","open":true},{"pId":"0_1_6","id":"0_1_6_5","text":"贵港市","value":"贵港市","open":true},{"pId":"0_1_6","id":"0_1_6_6","text":"河池市","value":"河池市","open":true},{"pId":"0_1_6","id":"0_1_6_7","text":"贺州市","value":"贺州市","open":true},{"pId":"0_1_6","id":"0_1_6_8","text":"来宾市","value":"来宾市","open":true},{"pId":"0_1_6","id":"0_1_6_9","text":"柳州市","value":"柳州市","open":true},{"pId":"0_1_6","id":"0_1_6_10","text":"南宁市","value":"南宁市","open":true},{"pId":"0_1_6","id":"0_1_6_11","text":"钦州市","value":"钦州市","open":true},{"pId":"0_1_6","id":"0_1_6_12","text":"梧州市","value":"梧州市","open":true},{"pId":"0_1_6","id":"0_1_6_13","text":"玉林市","value":"玉林市","open":true},{"pId":"0_1","id":"0_1_7","text":"贵州省( 共9个 )","value":"贵州省","open":true},{"pId":"0_1_7","id":"0_1_7_0","text":"安顺市","value":"安顺市","open":true},{"pId":"0_1_7","id":"0_1_7_1","text":"毕节地区","value":"毕节地区","open":true},{"pId":"0_1_7","id":"0_1_7_2","text":"贵阳市","value":"贵阳市","open":true},{"pId":"0_1_7","id":"0_1_7_3","text":"六盘水市","value":"六盘水市","open":true},{"pId":"0_1_7","id":"0_1_7_4","text":"黔东南州","value":"黔东南州","open":true},{"pId":"0_1_7","id":"0_1_7_5","text":"黔南州","value":"黔南州","open":true},{"pId":"0_1_7","id":"0_1_7_6","text":"黔西南市","value":"黔西南市","open":true},{"pId":"0_1_7","id":"0_1_7_7","text":"铜仁地区","value":"铜仁地区","open":true},{"pId":"0_1_7","id":"0_1_7_8","text":"遵义市","value":"遵义市","open":true},{"pId":"0_1","id":"0_1_8","text":"海南省( 共2个 )","value":"海南省","open":true},{"pId":"0_1_8","id":"0_1_8_0","text":"海口市","value":"海口市","open":true},{"pId":"0_1_8","id":"0_1_8_1","text":"三亚市","value":"三亚市","open":true},{"pId":"0_1","id":"0_1_9","text":"河北省( 共12个 )","value":"河北省","open":true},{"pId":"0_1_9","id":"0_1_9_0","text":"保定市","value":"保定市","open":true},{"pId":"0_1_9","id":"0_1_9_1","text":"沧州市","value":"沧州市","open":true},{"pId":"0_1_9","id":"0_1_9_2","text":"承德市","value":"承德市","open":true},{"pId":"0_1_9","id":"0_1_9_3","text":"邯郸市","value":"邯郸市","open":true},{"pId":"0_1_9","id":"0_1_9_4","text":"衡水市","value":"衡水市","open":true},{"pId":"0_1_9","id":"0_1_9_5","text":"廊坊市","value":"廊坊市","open":true},{"pId":"0_1_9","id":"0_1_9_6","text":"秦皇岛市","value":"秦皇岛市","open":true},{"pId":"0_1_9","id":"0_1_9_7","text":"石家庄市","value":"石家庄市","open":true},{"pId":"0_1_9","id":"0_1_9_8","text":"唐山市","value":"唐山市","open":true},{"pId":"0_1_9","id":"0_1_9_9","text":"天津市区","value":"天津市区","open":true},{"pId":"0_1_9","id":"0_1_9_10","text":"邢台市","value":"邢台市","open":true},{"pId":"0_1_9","id":"0_1_9_11","text":"张家口市","value":"张家口市","open":true},{"pId":"0_1","id":"0_1_10","text":"河南省( 共19个 )","value":"河南省","open":true},{"pId":"0_1_10","id":"0_1_10_0","text":"安阳市","value":"安阳市","open":true},{"pId":"0_1_10","id":"0_1_10_1","text":"鹤壁市","value":"鹤壁市","open":true},{"pId":"0_1_10","id":"0_1_10_2","text":"济源市","value":"济源市","open":true},{"pId":"0_1_10","id":"0_1_10_3","text":"焦作市","value":"焦作市","open":true},{"pId":"0_1_10","id":"0_1_10_4","text":"开封市","value":"开封市","open":true},{"pId":"0_1_10","id":"0_1_10_5","text":"廊坊市","value":"廊坊市","open":true},{"pId":"0_1_10","id":"0_1_10_6","text":"洛阳市","value":"洛阳市","open":true},{"pId":"0_1_10","id":"0_1_10_7","text":"漯河市","value":"漯河市","open":true},{"pId":"0_1_10","id":"0_1_10_8","text":"南阳市","value":"南阳市","open":true},{"pId":"0_1_10","id":"0_1_10_9","text":"平顶山市","value":"平顶山市","open":true},{"pId":"0_1_10","id":"0_1_10_10","text":"濮阳市","value":"濮阳市","open":true},{"pId":"0_1_10","id":"0_1_10_11","text":"三门峡市","value":"三门峡市","open":true},{"pId":"0_1_10","id":"0_1_10_12","text":"商丘市","value":"商丘市","open":true},{"pId":"0_1_10","id":"0_1_10_13","text":"新乡市","value":"新乡市","open":true},{"pId":"0_1_10","id":"0_1_10_14","text":"信阳市","value":"信阳市","open":true},{"pId":"0_1_10","id":"0_1_10_15","text":"许昌市","value":"许昌市","open":true},{"pId":"0_1_10","id":"0_1_10_16","text":"郑州市","value":"郑州市","open":true},{"pId":"0_1_10","id":"0_1_10_17","text":"周口市","value":"周口市","open":true},{"pId":"0_1_10","id":"0_1_10_18","text":"驻马店市","value":"驻马店市","open":true},{"pId":"0_1","id":"0_1_11","text":"黑龙江省( 共13个 )","value":"黑龙江省","open":true},{"pId":"0_1_11","id":"0_1_11_0","text":"大庆市","value":"大庆市","open":true},{"pId":"0_1_11","id":"0_1_11_1","text":"大兴安岭地区","value":"大兴安岭地区","open":true},{"pId":"0_1_11","id":"0_1_11_2","text":"大兴安岭市","value":"大兴安岭市","open":true},{"pId":"0_1_11","id":"0_1_11_3","text":"哈尔滨市","value":"哈尔滨市","open":true},{"pId":"0_1_11","id":"0_1_11_4","text":"鹤港市","value":"鹤港市","open":true},{"pId":"0_1_11","id":"0_1_11_5","text":"黑河市","value":"黑河市","open":true},{"pId":"0_1_11","id":"0_1_11_6","text":"佳木斯市","value":"佳木斯市","open":true},{"pId":"0_1_11","id":"0_1_11_7","text":"牡丹江市","value":"牡丹江市","open":true},{"pId":"0_1_11","id":"0_1_11_8","text":"七台河市","value":"七台河市","open":true},{"pId":"0_1_11","id":"0_1_11_9","text":"齐齐哈尔市","value":"齐齐哈尔市","open":true},{"pId":"0_1_11","id":"0_1_11_10","text":"双鸭山市","value":"双鸭山市","open":true},{"pId":"0_1_11","id":"0_1_11_11","text":"绥化市","value":"绥化市","open":true},{"pId":"0_1_11","id":"0_1_11_12","text":"伊春市","value":"伊春市","open":true},{"pId":"0_1","id":"0_1_12","text":"湖北省( 共16个 )","value":"湖北省","open":true},{"pId":"0_1_12","id":"0_1_12_0","text":"鄂州市","value":"鄂州市","open":true},{"pId":"0_1_12","id":"0_1_12_1","text":"恩施土家族苗族自治州","value":"恩施土家族苗族自治州","open":true},{"pId":"0_1_12","id":"0_1_12_2","text":"黄冈市","value":"黄冈市","open":true},{"pId":"0_1_12","id":"0_1_12_3","text":"黄石市","value":"黄石市","open":true},{"pId":"0_1_12","id":"0_1_12_4","text":"荆门市","value":"荆门市","open":true},{"pId":"0_1_12","id":"0_1_12_5","text":"荆州市","value":"荆州市","open":true},{"pId":"0_1_12","id":"0_1_12_6","text":"神农架市","value":"神农架市","open":true},{"pId":"0_1_12","id":"0_1_12_7","text":"十堰市","value":"十堰市","open":true},{"pId":"0_1_12","id":"0_1_12_8","text":"随州市","value":"随州市","open":true},{"pId":"0_1_12","id":"0_1_12_9","text":"天门市","value":"天门市","open":true},{"pId":"0_1_12","id":"0_1_12_10","text":"武汉市","value":"武汉市","open":true},{"pId":"0_1_12","id":"0_1_12_11","text":"咸宁市","value":"咸宁市","open":true},{"pId":"0_1_12","id":"0_1_12_12","text":"襄樊市","value":"襄樊市","open":true},{"pId":"0_1_12","id":"0_1_12_13","text":"襄阳市","value":"襄阳市","open":true},{"pId":"0_1_12","id":"0_1_12_14","text":"孝感市","value":"孝感市","open":true},{"pId":"0_1_12","id":"0_1_12_15","text":"宜昌市","value":"宜昌市","open":true},{"pId":"0_1","id":"0_1_13","text":"湖南省( 共15个 )","value":"湖南省","open":true},{"pId":"0_1_13","id":"0_1_13_0","text":"常德市","value":"常德市","open":true},{"pId":"0_1_13","id":"0_1_13_1","text":"长沙市","value":"长沙市","open":true},{"pId":"0_1_13","id":"0_1_13_2","text":"郴州市","value":"郴州市","open":true},{"pId":"0_1_13","id":"0_1_13_3","text":"衡阳市","value":"衡阳市","open":true},{"pId":"0_1_13","id":"0_1_13_4","text":"怀化市","value":"怀化市","open":true},{"pId":"0_1_13","id":"0_1_13_5","text":"娄底市","value":"娄底市","open":true},{"pId":"0_1_13","id":"0_1_13_6","text":"邵阳市","value":"邵阳市","open":true},{"pId":"0_1_13","id":"0_1_13_7","text":"湘潭市","value":"湘潭市","open":true},{"pId":"0_1_13","id":"0_1_13_8","text":"湘西市","value":"湘西市","open":true},{"pId":"0_1_13","id":"0_1_13_9","text":"湘西土家族苗族自治州","value":"湘西土家族苗族自治州","open":true},{"pId":"0_1_13","id":"0_1_13_10","text":"益阳市","value":"益阳市","open":true},{"pId":"0_1_13","id":"0_1_13_11","text":"永州市","value":"永州市","open":true},{"pId":"0_1_13","id":"0_1_13_12","text":"岳阳市","value":"岳阳市","open":true},{"pId":"0_1_13","id":"0_1_13_13","text":"张家界市","value":"张家界市","open":true},{"pId":"0_1_13","id":"0_1_13_14","text":"株洲市","value":"株洲市","open":true},{"pId":"0_1","id":"0_1_14","text":"吉林省( 共10个 )","value":"吉林省","open":true},{"pId":"0_1_14","id":"0_1_14_0","text":"白城市","value":"白城市","open":true},{"pId":"0_1_14","id":"0_1_14_1","text":"白山市","value":"白山市","open":true},{"pId":"0_1_14","id":"0_1_14_2","text":"长春市","value":"长春市","open":true},{"pId":"0_1_14","id":"0_1_14_3","text":"大庆市","value":"大庆市","open":true},{"pId":"0_1_14","id":"0_1_14_4","text":"吉林市","value":"吉林市","open":true},{"pId":"0_1_14","id":"0_1_14_5","text":"辽源市","value":"辽源市","open":true},{"pId":"0_1_14","id":"0_1_14_6","text":"四平市","value":"四平市","open":true},{"pId":"0_1_14","id":"0_1_14_7","text":"松原市","value":"松原市","open":true},{"pId":"0_1_14","id":"0_1_14_8","text":"通化市","value":"通化市","open":true},{"pId":"0_1_14","id":"0_1_14_9","text":"延边朝鲜族自治州","value":"延边朝鲜族自治州","open":true},{"pId":"0_1","id":"0_1_15","text":"江苏省( 共13个 )","value":"江苏省","open":true},{"pId":"0_1_15","id":"0_1_15_0","text":"常州市","value":"常州市","open":true},{"pId":"0_1_15","id":"0_1_15_1","text":"淮安市","value":"淮安市","open":true},{"pId":"0_1_15","id":"0_1_15_2","text":"连云港市","value":"连云港市","open":true},{"pId":"0_1_15","id":"0_1_15_3","text":"南京市","value":"南京市","open":true},{"pId":"0_1_15","id":"0_1_15_4","text":"南通市","value":"南通市","open":true},{"pId":"0_1_15","id":"0_1_15_5","text":"苏州市","value":"苏州市","open":true},{"pId":"0_1_15","id":"0_1_15_6","text":"宿迁市","value":"宿迁市","open":true},{"pId":"0_1_15","id":"0_1_15_7","text":"泰州市","value":"泰州市","open":true},{"pId":"0_1_15","id":"0_1_15_8","text":"无锡市","value":"无锡市","open":true},{"pId":"0_1_15","id":"0_1_15_9","text":"徐州市","value":"徐州市","open":true},{"pId":"0_1_15","id":"0_1_15_10","text":"盐城市","value":"盐城市","open":true},{"pId":"0_1_15","id":"0_1_15_11","text":"扬州市","value":"扬州市","open":true},{"pId":"0_1_15","id":"0_1_15_12","text":"镇江市","value":"镇江市","open":true},{"pId":"0_1","id":"0_1_16","text":"江西省( 共10个 )","value":"江西省","open":true},{"pId":"0_1_16","id":"0_1_16_0","text":"抚州市","value":"抚州市","open":true},{"pId":"0_1_16","id":"0_1_16_1","text":"赣州市","value":"赣州市","open":true},{"pId":"0_1_16","id":"0_1_16_2","text":"景德镇市","value":"景德镇市","open":true},{"pId":"0_1_16","id":"0_1_16_3","text":"九江市","value":"九江市","open":true},{"pId":"0_1_16","id":"0_1_16_4","text":"南昌市","value":"南昌市","open":true},{"pId":"0_1_16","id":"0_1_16_5","text":"萍乡市","value":"萍乡市","open":true},{"pId":"0_1_16","id":"0_1_16_6","text":"上饶市","value":"上饶市","open":true},{"pId":"0_1_16","id":"0_1_16_7","text":"新余市","value":"新余市","open":true},{"pId":"0_1_16","id":"0_1_16_8","text":"宜春市","value":"宜春市","open":true},{"pId":"0_1_16","id":"0_1_16_9","text":"鹰潭市","value":"鹰潭市","open":true},{"pId":"0_1","id":"0_1_17","text":"辽宁省( 共14个 )","value":"辽宁省","open":true},{"pId":"0_1_17","id":"0_1_17_0","text":"鞍山市","value":"鞍山市","open":true},{"pId":"0_1_17","id":"0_1_17_1","text":"本溪市","value":"本溪市","open":true},{"pId":"0_1_17","id":"0_1_17_2","text":"朝阳市","value":"朝阳市","open":true},{"pId":"0_1_17","id":"0_1_17_3","text":"大连市","value":"大连市","open":true},{"pId":"0_1_17","id":"0_1_17_4","text":"丹东市","value":"丹东市","open":true},{"pId":"0_1_17","id":"0_1_17_5","text":"抚顺市","value":"抚顺市","open":true},{"pId":"0_1_17","id":"0_1_17_6","text":"阜新市","value":"阜新市","open":true},{"pId":"0_1_17","id":"0_1_17_7","text":"葫芦岛市","value":"葫芦岛市","open":true},{"pId":"0_1_17","id":"0_1_17_8","text":"锦州市","value":"锦州市","open":true},{"pId":"0_1_17","id":"0_1_17_9","text":"辽阳市","value":"辽阳市","open":true},{"pId":"0_1_17","id":"0_1_17_10","text":"盘锦市","value":"盘锦市","open":true},{"pId":"0_1_17","id":"0_1_17_11","text":"沈阳市","value":"沈阳市","open":true},{"pId":"0_1_17","id":"0_1_17_12","text":"铁岭市","value":"铁岭市","open":true},{"pId":"0_1_17","id":"0_1_17_13","text":"营口市","value":"营口市","open":true},{"pId":"0_1","id":"0_1_18","text":"内蒙古( 共10个 )","value":"内蒙古","open":true},{"pId":"0_1_18","id":"0_1_18_0","text":"包头市","value":"包头市","open":true},{"pId":"0_1_18","id":"0_1_18_1","text":"赤峰市","value":"赤峰市","open":true},{"pId":"0_1_18","id":"0_1_18_2","text":"鄂尔多斯市","value":"鄂尔多斯市","open":true},{"pId":"0_1_18","id":"0_1_18_3","text":"呼和浩特市","value":"呼和浩特市","open":true},{"pId":"0_1_18","id":"0_1_18_4","text":"呼伦贝尔市","value":"呼伦贝尔市","open":true},{"pId":"0_1_18","id":"0_1_18_5","text":"通辽市","value":"通辽市","open":true},{"pId":"0_1_18","id":"0_1_18_6","text":"乌海市","value":"乌海市","open":true},{"pId":"0_1_18","id":"0_1_18_7","text":"锡林郭勒市","value":"锡林郭勒市","open":true},{"pId":"0_1_18","id":"0_1_18_8","text":"兴安市","value":"兴安市","open":true},{"pId":"0_1_18","id":"0_1_18_9","text":"运城市","value":"运城市","open":true},{"pId":"0_1","id":"0_1_19","text":"宁夏回族自治区( 共5个 )","value":"宁夏回族自治区","open":true},{"pId":"0_1_19","id":"0_1_19_0","text":"固原市","value":"固原市","open":true},{"pId":"0_1_19","id":"0_1_19_1","text":"石嘴山市","value":"石嘴山市","open":true},{"pId":"0_1_19","id":"0_1_19_2","text":"吴忠市","value":"吴忠市","open":true},{"pId":"0_1_19","id":"0_1_19_3","text":"银川市","value":"银川市","open":true},{"pId":"0_1_19","id":"0_1_19_4","text":"中卫市","value":"中卫市","open":true},{"pId":"0_1","id":"0_1_20","text":"青海省( 共4个 )","value":"青海省","open":true},{"pId":"0_1_20","id":"0_1_20_0","text":"海东地区","value":"海东地区","open":true},{"pId":"0_1_20","id":"0_1_20_1","text":"海南藏族自治州","value":"海南藏族自治州","open":true},{"pId":"0_1_20","id":"0_1_20_2","text":"海西蒙古族藏族自治州","value":"海西蒙古族藏族自治州","open":true},{"pId":"0_1_20","id":"0_1_20_3","text":"西宁市","value":"西宁市","open":true},{"pId":"0_1","id":"0_1_21","text":"山东省( 共17个 )","value":"山东省","open":true},{"pId":"0_1_21","id":"0_1_21_0","text":"滨州市","value":"滨州市","open":true},{"pId":"0_1_21","id":"0_1_21_1","text":"德州市","value":"德州市","open":true},{"pId":"0_1_21","id":"0_1_21_2","text":"东营市","value":"东营市","open":true},{"pId":"0_1_21","id":"0_1_21_3","text":"菏泽市","value":"菏泽市","open":true},{"pId":"0_1_21","id":"0_1_21_4","text":"济南市","value":"济南市","open":true},{"pId":"0_1_21","id":"0_1_21_5","text":"济宁市","value":"济宁市","open":true},{"pId":"0_1_21","id":"0_1_21_6","text":"莱芜市","value":"莱芜市","open":true},{"pId":"0_1_21","id":"0_1_21_7","text":"聊城市","value":"聊城市","open":true},{"pId":"0_1_21","id":"0_1_21_8","text":"临沂市","value":"临沂市","open":true},{"pId":"0_1_21","id":"0_1_21_9","text":"青岛市","value":"青岛市","open":true},{"pId":"0_1_21","id":"0_1_21_10","text":"日照市","value":"日照市","open":true},{"pId":"0_1_21","id":"0_1_21_11","text":"泰安市","value":"泰安市","open":true},{"pId":"0_1_21","id":"0_1_21_12","text":"威海市","value":"威海市","open":true},{"pId":"0_1_21","id":"0_1_21_13","text":"潍坊市","value":"潍坊市","open":true},{"pId":"0_1_21","id":"0_1_21_14","text":"烟台市","value":"烟台市","open":true},{"pId":"0_1_21","id":"0_1_21_15","text":"枣庄市","value":"枣庄市","open":true},{"pId":"0_1_21","id":"0_1_21_16","text":"淄博市","value":"淄博市","open":true},{"pId":"0_1","id":"0_1_22","text":"山西省( 共12个 )","value":"山西省","open":true},{"pId":"0_1_22","id":"0_1_22_0","text":"长治市","value":"长治市","open":true},{"pId":"0_1_22","id":"0_1_22_1","text":"大同市","value":"大同市","open":true},{"pId":"0_1_22","id":"0_1_22_2","text":"晋城市","value":"晋城市","open":true},{"pId":"0_1_22","id":"0_1_22_3","text":"晋中市","value":"晋中市","open":true},{"pId":"0_1_22","id":"0_1_22_4","text":"临汾市","value":"临汾市","open":true},{"pId":"0_1_22","id":"0_1_22_5","text":"吕梁市","value":"吕梁市","open":true},{"pId":"0_1_22","id":"0_1_22_6","text":"青岛市","value":"青岛市","open":true},{"pId":"0_1_22","id":"0_1_22_7","text":"朔州市","value":"朔州市","open":true},{"pId":"0_1_22","id":"0_1_22_8","text":"太原市","value":"太原市","open":true},{"pId":"0_1_22","id":"0_1_22_9","text":"忻州市","value":"忻州市","open":true},{"pId":"0_1_22","id":"0_1_22_10","text":"阳泉市","value":"阳泉市","open":true},{"pId":"0_1_22","id":"0_1_22_11","text":"运城市","value":"运城市","open":true},{"pId":"0_1","id":"0_1_23","text":"陕西省( 共9个 )","value":"陕西省","open":true},{"pId":"0_1_23","id":"0_1_23_0","text":"安康市","value":"安康市","open":true},{"pId":"0_1_23","id":"0_1_23_1","text":"宝鸡市","value":"宝鸡市","open":true},{"pId":"0_1_23","id":"0_1_23_2","text":"汉中市","value":"汉中市","open":true},{"pId":"0_1_23","id":"0_1_23_3","text":"商洛市","value":"商洛市","open":true},{"pId":"0_1_23","id":"0_1_23_4","text":"渭南市","value":"渭南市","open":true},{"pId":"0_1_23","id":"0_1_23_5","text":"西安市","value":"西安市","open":true},{"pId":"0_1_23","id":"0_1_23_6","text":"咸阳市","value":"咸阳市","open":true},{"pId":"0_1_23","id":"0_1_23_7","text":"延安市","value":"延安市","open":true},{"pId":"0_1_23","id":"0_1_23_8","text":"榆林市","value":"榆林市","open":true},{"pId":"0_1","id":"0_1_24","text":"上海市( 共19个 )","value":"上海市","open":true},{"pId":"0_1_24","id":"0_1_24_0","text":"宝山区","value":"宝山区","open":true},{"pId":"0_1_24","id":"0_1_24_1","text":"长宁区","value":"长宁区","open":true},{"pId":"0_1_24","id":"0_1_24_2","text":"崇明县","value":"崇明县","open":true},{"pId":"0_1_24","id":"0_1_24_3","text":"奉贤区","value":"奉贤区","open":true},{"pId":"0_1_24","id":"0_1_24_4","text":"虹口区","value":"虹口区","open":true},{"pId":"0_1_24","id":"0_1_24_5","text":"黄浦区","value":"黄浦区","open":true},{"pId":"0_1_24","id":"0_1_24_6","text":"嘉定区","value":"嘉定区","open":true},{"pId":"0_1_24","id":"0_1_24_7","text":"金山区","value":"金山区","open":true},{"pId":"0_1_24","id":"0_1_24_8","text":"静安区","value":"静安区","open":true},{"pId":"0_1_24","id":"0_1_24_9","text":"昆明市","value":"昆明市","open":true},{"pId":"0_1_24","id":"0_1_24_10","text":"闵行区","value":"闵行区","open":true},{"pId":"0_1_24","id":"0_1_24_11","text":"普陀区","value":"普陀区","open":true},{"pId":"0_1_24","id":"0_1_24_12","text":"浦东新区","value":"浦东新区","open":true},{"pId":"0_1_24","id":"0_1_24_13","text":"青浦区","value":"青浦区","open":true},{"pId":"0_1_24","id":"0_1_24_14","text":"上海市区","value":"上海市区","open":true},{"pId":"0_1_24","id":"0_1_24_15","text":"松江区","value":"松江区","open":true},{"pId":"0_1_24","id":"0_1_24_16","text":"徐汇区","value":"徐汇区","open":true},{"pId":"0_1_24","id":"0_1_24_17","text":"杨浦区","value":"杨浦区","open":true},{"pId":"0_1_24","id":"0_1_24_18","text":"闸北区","value":"闸北区","open":true},{"pId":"0_1","id":"0_1_25","text":"四川省( 共21个 )","value":"四川省","open":true},{"pId":"0_1_25","id":"0_1_25_0","text":"阿坝藏族羌族自治州","value":"阿坝藏族羌族自治州","open":true},{"pId":"0_1_25","id":"0_1_25_1","text":"巴中市","value":"巴中市","open":true},{"pId":"0_1_25","id":"0_1_25_2","text":"成都市","value":"成都市","open":true},{"pId":"0_1_25","id":"0_1_25_3","text":"达州市","value":"达州市","open":true},{"pId":"0_1_25","id":"0_1_25_4","text":"德阳市","value":"德阳市","open":true},{"pId":"0_1_25","id":"0_1_25_5","text":"甘孜市","value":"甘孜市","open":true},{"pId":"0_1_25","id":"0_1_25_6","text":"广安市","value":"广安市","open":true},{"pId":"0_1_25","id":"0_1_25_7","text":"广元市","value":"广元市","open":true},{"pId":"0_1_25","id":"0_1_25_8","text":"乐山市","value":"乐山市","open":true},{"pId":"0_1_25","id":"0_1_25_9","text":"凉山市","value":"凉山市","open":true},{"pId":"0_1_25","id":"0_1_25_10","text":"泸州市","value":"泸州市","open":true},{"pId":"0_1_25","id":"0_1_25_11","text":"眉山市","value":"眉山市","open":true},{"pId":"0_1_25","id":"0_1_25_12","text":"绵阳市","value":"绵阳市","open":true},{"pId":"0_1_25","id":"0_1_25_13","text":"南充市","value":"南充市","open":true},{"pId":"0_1_25","id":"0_1_25_14","text":"内江市","value":"内江市","open":true},{"pId":"0_1_25","id":"0_1_25_15","text":"攀枝花市","value":"攀枝花市","open":true},{"pId":"0_1_25","id":"0_1_25_16","text":"遂宁市","value":"遂宁市","open":true},{"pId":"0_1_25","id":"0_1_25_17","text":"雅安市","value":"雅安市","open":true},{"pId":"0_1_25","id":"0_1_25_18","text":"宜宾市","value":"宜宾市","open":true},{"pId":"0_1_25","id":"0_1_25_19","text":"资阳市","value":"资阳市","open":true},{"pId":"0_1_25","id":"0_1_25_20","text":"自贡市","value":"自贡市","open":true},{"pId":"0_1","id":"0_1_26","text":"台湾( 共1个 )","value":"台湾","open":true},{"pId":"0_1_26","id":"0_1_26_0","text":"台北市","value":"台北市","open":true},{"pId":"0_1","id":"0_1_27","text":"天津市( 共1个 )","value":"天津市","open":true},{"pId":"0_1_27","id":"0_1_27_0","text":"天津市区","value":"天津市区","open":true},{"pId":"0_1","id":"0_1_28","text":"西藏自治区( 共2个 )","value":"西藏自治区","open":true},{"pId":"0_1_28","id":"0_1_28_0","text":"阿里市","value":"阿里市","open":true},{"pId":"0_1_28","id":"0_1_28_1","text":"日喀则市","value":"日喀则市","open":true},{"pId":"0_1","id":"0_1_29","text":"香港特别行政区( 共1个 )","value":"香港特别行政区","open":true},{"pId":"0_1_29","id":"0_1_29_0","text":"香港","value":"香港","open":true},{"pId":"0_1","id":"0_1_30","text":"新疆维吾尔族自治区( 共11个 )","value":"新疆维吾尔族自治区","open":true},{"pId":"0_1_30","id":"0_1_30_0","text":"巴音郭楞市","value":"巴音郭楞市","open":true},{"pId":"0_1_30","id":"0_1_30_1","text":"哈密市","value":"哈密市","open":true},{"pId":"0_1_30","id":"0_1_30_2","text":"和田市","value":"和田市","open":true},{"pId":"0_1_30","id":"0_1_30_3","text":"喀什地区","value":"喀什地区","open":true},{"pId":"0_1_30","id":"0_1_30_4","text":"克拉玛依市","value":"克拉玛依市","open":true},{"pId":"0_1_30","id":"0_1_30_5","text":"克孜勒苏柯州","value":"克孜勒苏柯州","open":true},{"pId":"0_1_30","id":"0_1_30_6","text":"石河子市","value":"石河子市","open":true},{"pId":"0_1_30","id":"0_1_30_7","text":"塔城市","value":"塔城市","open":true},{"pId":"0_1_30","id":"0_1_30_8","text":"吐鲁番地区","value":"吐鲁番地区","open":true},{"pId":"0_1_30","id":"0_1_30_9","text":"乌鲁木齐","value":"乌鲁木齐","open":true},{"pId":"0_1_30","id":"0_1_30_10","text":"伊犁市","value":"伊犁市","open":true},{"pId":"0_1","id":"0_1_31","text":"云南省( 共12个 )","value":"云南省","open":true},{"pId":"0_1_31","id":"0_1_31_0","text":"保山市","value":"保山市","open":true},{"pId":"0_1_31","id":"0_1_31_1","text":"楚雄彝族自治州","value":"楚雄彝族自治州","open":true},{"pId":"0_1_31","id":"0_1_31_2","text":"大理白族自治州","value":"大理白族自治州","open":true},{"pId":"0_1_31","id":"0_1_31_3","text":"红河哈尼族彝族自治州","value":"红河哈尼族彝族自治州","open":true},{"pId":"0_1_31","id":"0_1_31_4","text":"昆明市","value":"昆明市","open":true},{"pId":"0_1_31","id":"0_1_31_5","text":"丽江市","value":"丽江市","open":true},{"pId":"0_1_31","id":"0_1_31_6","text":"临沧市","value":"临沧市","open":true},{"pId":"0_1_31","id":"0_1_31_7","text":"曲靖市","value":"曲靖市","open":true},{"pId":"0_1_31","id":"0_1_31_8","text":"思茅市","value":"思茅市","open":true},{"pId":"0_1_31","id":"0_1_31_9","text":"文山市","value":"文山市","open":true},{"pId":"0_1_31","id":"0_1_31_10","text":"玉溪市","value":"玉溪市","open":true},{"pId":"0_1_31","id":"0_1_31_11","text":"昭通市","value":"昭通市","open":true},{"pId":"0_1","id":"0_1_32","text":"浙江省( 共12个 )","value":"浙江省","open":true},{"pId":"0_1_32","id":"0_1_32_0","text":"杭州市","value":"杭州市","open":true},{"pId":"0_1_32","id":"0_1_32_1","text":"湖州市","value":"湖州市","open":true},{"pId":"0_1_32","id":"0_1_32_2","text":"嘉兴市","value":"嘉兴市","open":true},{"pId":"0_1_32","id":"0_1_32_3","text":"金华市","value":"金华市","open":true},{"pId":"0_1_32","id":"0_1_32_4","text":"丽水市","value":"丽水市","open":true},{"pId":"0_1_32","id":"0_1_32_5","text":"宁波市","value":"宁波市","open":true},{"pId":"0_1_32","id":"0_1_32_6","text":"衢州市","value":"衢州市","open":true},{"pId":"0_1_32","id":"0_1_32_7","text":"绍兴市","value":"绍兴市","open":true},{"pId":"0_1_32","id":"0_1_32_8","text":"台州市","value":"台州市","open":true},{"pId":"0_1_32","id":"0_1_32_9","text":"温州市","value":"温州市","open":true},{"pId":"0_1_32","id":"0_1_32_10","text":"浙江省","value":"浙江省","open":true},{"pId":"0_1_32","id":"0_1_32_11","text":"舟山市","value":"舟山市","open":true},{"pId":"0_1","id":"0_1_33","text":"重庆市( 共1个 )","value":"重庆市","open":true},{"pId":"0_1_33","id":"0_1_33_0","text":"重庆市区","value":"重庆市区","open":true}], - - TREE:[{id: -1, pId: -2, value: "根目录", text: "根目录"}, - {id: 1, pId: -1, value: "第一级目录1", text: "第一级目录1"}, - {id: 11, pId: 1, value: "第二级文件1", text: "第二级文件1"}, - {id: 12, pId: 1, value: "第二级目录2", text: "第二级目录2"}, - {id: 121, pId: 12, value: "第三级目录1", text: "第三级目录1"}, - {id: 122, pId: 12, value: "第三级文件1", text: "第三级文件1"}, - {id: 1211, pId: 121, value: "第四级目录1", text: "第四级目录1"}, - {id: 12111, pId: 1211, value: "第五级文件1", text: "第五级文件1"}, - {id: 2, pId: -1, value: "第一级目录2", text: "第一级目录2"}, - {id: 21, pId: 2, value: "第二级目录3", text: "第二级目录3"}, - {id: 22, pId: 2, value: "第二级文件2", text: "第二级文件2"}, - {id: 211, pId: 21, value: "第三级目录2", text: "第三级目录2"}, - {id: 212, pId: 21, value: "第三级文件2", text: "第三级文件2"}, - {id: 2111, pId: 211, value: "第四级文件1", text: "第四级文件1"}], + TREEITEMS: [{"pId": "0", "id": "0_0", "text": "( 共25个 )", "value": "", "open": true}, { + "pId": "0_0", + "id": "0_0_0", + "text": "安徽省( 共1个 )", + "value": "安徽省", + "open": true + }, {"pId": "0_0_0", "id": "0_0_0_0", "text": "芜湖市", "value": "芜湖市", "open": true}, { + "pId": "0_0", + "id": "0_0_1", + "text": "北京市( 共6个 )", + "value": "北京市", + "open": true + }, {"pId": "0_0_1", "id": "0_0_1_0", "text": "北京市区", "value": "北京市区", "open": true}, { + "pId": "0_0_1", + "id": "0_0_1_1", + "text": "朝阳区", + "value": "朝阳区", + "open": true + }, {"pId": "0_0_1", "id": "0_0_1_2", "text": "东城区", "value": "东城区", "open": true}, { + "pId": "0_0_1", + "id": "0_0_1_3", + "text": "海淀区4内", + "value": "海淀区4内", + "open": true + }, {"pId": "0_0_1", "id": "0_0_1_4", "text": "海淀区4外", "value": "海淀区4外", "open": true}, { + "pId": "0_0_1", + "id": "0_0_1_5", + "text": "石景山区", + "value": "石景山区", + "open": true + }, {"pId": "0_0", "id": "0_0_2", "text": "福建省( 共2个 )", "value": "福建省", "open": true}, { + "pId": "0_0_2", + "id": "0_0_2_0", + "text": "莆田市", + "value": "莆田市", + "open": true + }, {"pId": "0_0_2", "id": "0_0_2_1", "text": "泉州市", "value": "泉州市", "open": true}, { + "pId": "0_0", + "id": "0_0_3", + "text": "甘肃省( 共1个 )", + "value": "甘肃省", + "open": true + }, {"pId": "0_0_3", "id": "0_0_3_0", "text": "兰州市", "value": "兰州市", "open": true}, { + "pId": "0_0", + "id": "0_0_4", + "text": "广东省( 共5个 )", + "value": "广东省", + "open": true + }, {"pId": "0_0_4", "id": "0_0_4_0", "text": "东莞市", "value": "东莞市", "open": true}, { + "pId": "0_0_4", + "id": "0_0_4_1", + "text": "广州市", + "value": "广州市", + "open": true + }, {"pId": "0_0_4", "id": "0_0_4_2", "text": "惠州市", "value": "惠州市", "open": true}, { + "pId": "0_0_4", + "id": "0_0_4_3", + "text": "深圳市", + "value": "深圳市", + "open": true + }, {"pId": "0_0_4", "id": "0_0_4_4", "text": "珠海市", "value": "珠海市", "open": true}, { + "pId": "0_0", + "id": "0_0_5", + "text": "广西壮族自治区( 共1个 )", + "value": "广西壮族自治区", + "open": true + }, {"pId": "0_0_5", "id": "0_0_5_0", "text": "南宁市", "value": "南宁市", "open": true}, { + "pId": "0_0", + "id": "0_0_6", + "text": "河北省( 共2个 )", + "value": "河北省", + "open": true + }, {"pId": "0_0_6", "id": "0_0_6_0", "text": "保定市", "value": "保定市", "open": true}, { + "pId": "0_0_6", + "id": "0_0_6_1", + "text": "邢台市", + "value": "邢台市", + "open": true + }, {"pId": "0_0", "id": "0_0_7", "text": "河南省( 共1个 )", "value": "河南省", "open": true}, { + "pId": "0_0_7", + "id": "0_0_7_0", + "text": "郑州市", + "value": "郑州市", + "open": true + }, {"pId": "0_0", "id": "0_0_8", "text": "黑龙江省( 共7个 )", "value": "黑龙江省", "open": true}, { + "pId": "0_0_8", + "id": "0_0_8_0", + "text": "大庆市", + "value": "大庆市", + "open": true + }, {"pId": "0_0_8", "id": "0_0_8_1", "text": "哈尔滨市", "value": "哈尔滨市", "open": true}, { + "pId": "0_0_8", + "id": "0_0_8_2", + "text": "鸡西市", + "value": "鸡西市", + "open": true + }, {"pId": "0_0_8", "id": "0_0_8_3", "text": "佳木斯市", "value": "佳木斯市", "open": true}, { + "pId": "0_0_8", + "id": "0_0_8_4", + "text": "牡丹江市", + "value": "牡丹江市", + "open": true + }, {"pId": "0_0_8", "id": "0_0_8_5", "text": "齐齐哈尔市", "value": "齐齐哈尔市", "open": true}, { + "pId": "0_0_8", + "id": "0_0_8_6", + "text": "双鸭山市", + "value": "双鸭山市", + "open": true + }, {"pId": "0_0", "id": "0_0_9", "text": "湖北省( 共1个 )", "value": "湖北省", "open": true}, { + "pId": "0_0_9", + "id": "0_0_9_0", + "text": "武汉市", + "value": "武汉市", + "open": true + }, {"pId": "0_0", "id": "0_0_10", "text": "湖南省( 共3个 )", "value": "湖南省", "open": true}, { + "pId": "0_0_10", + "id": "0_0_10_0", + "text": "常德市", + "value": "常德市", + "open": true + }, {"pId": "0_0_10", "id": "0_0_10_1", "text": "长沙市", "value": "长沙市", "open": true}, { + "pId": "0_0_10", + "id": "0_0_10_2", + "text": "邵阳市", + "value": "邵阳市", + "open": true + }, {"pId": "0_0", "id": "0_0_11", "text": "吉林省( 共4个 )", "value": "吉林省", "open": true}, { + "pId": "0_0_11", + "id": "0_0_11_0", + "text": "白山市", + "value": "白山市", + "open": true + }, {"pId": "0_0_11", "id": "0_0_11_1", "text": "长春市", "value": "长春市", "open": true}, { + "pId": "0_0_11", + "id": "0_0_11_2", + "text": "松原市", + "value": "松原市", + "open": true + }, {"pId": "0_0_11", "id": "0_0_11_3", "text": "通化市", "value": "通化市", "open": true}, { + "pId": "0_0", + "id": "0_0_12", + "text": "江苏省( 共8个 )", + "value": "江苏省", + "open": true + }, {"pId": "0_0_12", "id": "0_0_12_0", "text": "常州市", "value": "常州市", "open": true}, { + "pId": "0_0_12", + "id": "0_0_12_1", + "text": "南京市", + "value": "南京市", + "open": true + }, {"pId": "0_0_12", "id": "0_0_12_2", "text": "南通市", "value": "南通市", "open": true}, { + "pId": "0_0_12", + "id": "0_0_12_3", + "text": "苏州市", + "value": "苏州市", + "open": true + }, {"pId": "0_0_12", "id": "0_0_12_4", "text": "宿迁市", "value": "宿迁市", "open": true}, { + "pId": "0_0_12", + "id": "0_0_12_5", + "text": "泰州市", + "value": "泰州市", + "open": true + }, {"pId": "0_0_12", "id": "0_0_12_6", "text": "无锡市", "value": "无锡市", "open": true}, { + "pId": "0_0_12", + "id": "0_0_12_7", + "text": "盐城市", + "value": "盐城市", + "open": true + }, {"pId": "0_0", "id": "0_0_13", "text": "辽宁省( 共11个 )", "value": "辽宁省", "open": true}, { + "pId": "0_0_13", + "id": "0_0_13_0", + "text": "鞍山市", + "value": "鞍山市", + "open": true + }, {"pId": "0_0_13", "id": "0_0_13_1", "text": "本溪市", "value": "本溪市", "open": true}, { + "pId": "0_0_13", + "id": "0_0_13_2", + "text": "朝阳市", + "value": "朝阳市", + "open": true + }, {"pId": "0_0_13", "id": "0_0_13_3", "text": "大连市", "value": "大连市", "open": true}, { + "pId": "0_0_13", + "id": "0_0_13_4", + "text": "抚顺市", + "value": "抚顺市", + "open": true + }, {"pId": "0_0_13", "id": "0_0_13_5", "text": "葫芦岛市", "value": "葫芦岛市", "open": true}, { + "pId": "0_0_13", + "id": "0_0_13_6", + "text": "锦州市", + "value": "锦州市", + "open": true + }, {"pId": "0_0_13", "id": "0_0_13_7", "text": "辽阳市", "value": "辽阳市", "open": true}, { + "pId": "0_0_13", + "id": "0_0_13_8", + "text": "盘锦市", + "value": "盘锦市", + "open": true + }, {"pId": "0_0_13", "id": "0_0_13_9", "text": "沈阳市", "value": "沈阳市", "open": true}, { + "pId": "0_0_13", + "id": "0_0_13_10", + "text": "营口市", + "value": "营口市", + "open": true + }, {"pId": "0_0", "id": "0_0_14", "text": "内蒙古( 共1个 )", "value": "内蒙古", "open": true}, { + "pId": "0_0_14", + "id": "0_0_14_0", + "text": "鄂尔多斯市", + "value": "鄂尔多斯市", + "open": true + }, {"pId": "0_0", "id": "0_0_15", "text": "宁夏回族自治区( 共1个 )", "value": "宁夏回族自治区", "open": true}, { + "pId": "0_0_15", + "id": "0_0_15_0", + "text": "银川市", + "value": "银川市", + "open": true + }, {"pId": "0_0", "id": "0_0_16", "text": "山东省( 共7个 )", "value": "山东省", "open": true}, { + "pId": "0_0_16", + "id": "0_0_16_0", + "text": "济南市", + "value": "济南市", + "open": true + }, {"pId": "0_0_16", "id": "0_0_16_1", "text": "济宁市", "value": "济宁市", "open": true}, { + "pId": "0_0_16", + "id": "0_0_16_2", + "text": "聊城市", + "value": "聊城市", + "open": true + }, {"pId": "0_0_16", "id": "0_0_16_3", "text": "临沂市", "value": "临沂市", "open": true}, { + "pId": "0_0_16", + "id": "0_0_16_4", + "text": "青岛市", + "value": "青岛市", + "open": true + }, {"pId": "0_0_16", "id": "0_0_16_5", "text": "烟台市", "value": "烟台市", "open": true}, { + "pId": "0_0_16", + "id": "0_0_16_6", + "text": "枣庄市", + "value": "枣庄市", + "open": true + }, {"pId": "0_0", "id": "0_0_17", "text": "山西省( 共1个 )", "value": "山西省", "open": true}, { + "pId": "0_0_17", + "id": "0_0_17_0", + "text": "太原市", + "value": "太原市", + "open": true + }, {"pId": "0_0", "id": "0_0_18", "text": "陕西省( 共1个 )", "value": "陕西省", "open": true}, { + "pId": "0_0_18", + "id": "0_0_18_0", + "text": "西安市", + "value": "西安市", + "open": true + }, {"pId": "0_0", "id": "0_0_19", "text": "上海市( 共1个 )", "value": "上海市", "open": true}, { + "pId": "0_0_19", + "id": "0_0_19_0", + "text": "上海市区", + "value": "上海市区", + "open": true + }, {"pId": "0_0", "id": "0_0_20", "text": "四川省( 共1个 )", "value": "四川省", "open": true}, { + "pId": "0_0_20", + "id": "0_0_20_0", + "text": "成都市", + "value": "成都市", + "open": true + }, {"pId": "0_0", "id": "0_0_21", "text": "新疆维吾尔族自治区( 共2个 )", "value": "新疆维吾尔族自治区", "open": true}, { + "pId": "0_0_21", + "id": "0_0_21_0", + "text": "吐鲁番地区", + "value": "吐鲁番地区", + "open": true + }, {"pId": "0_0_21", "id": "0_0_21_1", "text": "乌鲁木齐", "value": "乌鲁木齐", "open": true}, { + "pId": "0_0", + "id": "0_0_22", + "text": "云南省( 共1个 )", + "value": "云南省", + "open": true + }, {"pId": "0_0_22", "id": "0_0_22_0", "text": "昆明市", "value": "昆明市", "open": true}, { + "pId": "0_0", + "id": "0_0_23", + "text": "浙江省( 共5个 )", + "value": "浙江省", + "open": true + }, {"pId": "0_0_23", "id": "0_0_23_0", "text": "杭州市", "value": "杭州市", "open": true}, { + "pId": "0_0_23", + "id": "0_0_23_1", + "text": "湖州市", + "value": "湖州市", + "open": true + }, {"pId": "0_0_23", "id": "0_0_23_2", "text": "嘉兴市", "value": "嘉兴市", "open": true}, { + "pId": "0_0_23", + "id": "0_0_23_3", + "text": "宁波市", + "value": "宁波市", + "open": true + }, {"pId": "0_0_23", "id": "0_0_23_4", "text": "绍兴市", "value": "绍兴市", "open": true}, { + "pId": "0_0", + "id": "0_0_24", + "text": "重庆市( 共1个 )", + "value": "重庆市", + "open": true + }, {"pId": "0_0_24", "id": "0_0_24_0", "text": "重庆市区", "value": "重庆市区", "open": true}, { + "pId": "0", + "id": "0_1", + "text": "中国( 共34个 )", + "value": "中国", + "open": true + }, {"pId": "0_1", "id": "0_1_0", "text": "安徽省( 共19个 )", "value": "安徽省", "open": true}, { + "pId": "0_1_0", + "id": "0_1_0_0", + "text": "安庆市", + "value": "安庆市", + "open": true + }, {"pId": "0_1_0", "id": "0_1_0_1", "text": "蚌埠市", "value": "蚌埠市", "open": true}, { + "pId": "0_1_0", + "id": "0_1_0_2", + "text": "亳州市", + "value": "亳州市", + "open": true + }, {"pId": "0_1_0", "id": "0_1_0_3", "text": "巢湖市", "value": "巢湖市", "open": true}, { + "pId": "0_1_0", + "id": "0_1_0_4", + "text": "池州市", + "value": "池州市", + "open": true + }, {"pId": "0_1_0", "id": "0_1_0_5", "text": "滁州市", "value": "滁州市", "open": true}, { + "pId": "0_1_0", + "id": "0_1_0_6", + "text": "阜阳市", + "value": "阜阳市", + "open": true + }, {"pId": "0_1_0", "id": "0_1_0_7", "text": "毫州市", "value": "毫州市", "open": true}, { + "pId": "0_1_0", + "id": "0_1_0_8", + "text": "合肥市", + "value": "合肥市", + "open": true + }, {"pId": "0_1_0", "id": "0_1_0_9", "text": "淮北市", "value": "淮北市", "open": true}, { + "pId": "0_1_0", + "id": "0_1_0_10", + "text": "淮南市", + "value": "淮南市", + "open": true + }, {"pId": "0_1_0", "id": "0_1_0_11", "text": "黄山市", "value": "黄山市", "open": true}, { + "pId": "0_1_0", + "id": "0_1_0_12", + "text": "六安市", + "value": "六安市", + "open": true + }, {"pId": "0_1_0", "id": "0_1_0_13", "text": "马鞍山市", "value": "马鞍山市", "open": true}, { + "pId": "0_1_0", + "id": "0_1_0_14", + "text": "濮阳市", + "value": "濮阳市", + "open": true + }, {"pId": "0_1_0", "id": "0_1_0_15", "text": "宿州市", "value": "宿州市", "open": true}, { + "pId": "0_1_0", + "id": "0_1_0_16", + "text": "铜陵市", + "value": "铜陵市", + "open": true + }, {"pId": "0_1_0", "id": "0_1_0_17", "text": "芜湖市", "value": "芜湖市", "open": true}, { + "pId": "0_1_0", + "id": "0_1_0_18", + "text": "宣城市", + "value": "宣城市", + "open": true + }, {"pId": "0_1", "id": "0_1_1", "text": "澳门特别行政区( 共1个 )", "value": "澳门特别行政区", "open": true}, { + "pId": "0_1_1", + "id": "0_1_1_0", + "text": "澳门", + "value": "澳门", + "open": true + }, {"pId": "0_1", "id": "0_1_2", "text": "北京市( 共17个 )", "value": "北京市", "open": true}, { + "pId": "0_1_2", + "id": "0_1_2_0", + "text": "北京市区", + "value": "北京市区", + "open": true + }, {"pId": "0_1_2", "id": "0_1_2_1", "text": "昌平区", "value": "昌平区", "open": true}, { + "pId": "0_1_2", + "id": "0_1_2_2", + "text": "朝阳区", + "value": "朝阳区", + "open": true + }, {"pId": "0_1_2", "id": "0_1_2_3", "text": "大兴区", "value": "大兴区", "open": true}, { + "pId": "0_1_2", + "id": "0_1_2_4", + "text": "东城区", + "value": "东城区", + "open": true + }, {"pId": "0_1_2", "id": "0_1_2_5", "text": "房山区", "value": "房山区", "open": true}, { + "pId": "0_1_2", + "id": "0_1_2_6", + "text": "丰台区", + "value": "丰台区", + "open": true + }, {"pId": "0_1_2", "id": "0_1_2_7", "text": "海淀区", "value": "海淀区", "open": true}, { + "pId": "0_1_2", + "id": "0_1_2_8", + "text": "海淀区4内", + "value": "海淀区4内", + "open": true + }, {"pId": "0_1_2", "id": "0_1_2_9", "text": "海淀区4外", "value": "海淀区4外", "open": true}, { + "pId": "0_1_2", + "id": "0_1_2_10", + "text": "门头沟区", + "value": "门头沟区", + "open": true + }, {"pId": "0_1_2", "id": "0_1_2_11", "text": "平谷区", "value": "平谷区", "open": true}, { + "pId": "0_1_2", + "id": "0_1_2_12", + "text": "石景山区", + "value": "石景山区", + "open": true + }, {"pId": "0_1_2", "id": "0_1_2_13", "text": "顺义区", "value": "顺义区", "open": true}, { + "pId": "0_1_2", + "id": "0_1_2_14", + "text": "通州区", + "value": "通州区", + "open": true + }, {"pId": "0_1_2", "id": "0_1_2_15", "text": "西城区", "value": "西城区", "open": true}, { + "pId": "0_1_2", + "id": "0_1_2_16", + "text": "西城区 ", + "value": "西城区 ", + "open": true + }, {"pId": "0_1", "id": "0_1_3", "text": "福建省( 共9个 )", "value": "福建省", "open": true}, { + "pId": "0_1_3", + "id": "0_1_3_0", + "text": "福州市", + "value": "福州市", + "open": true + }, {"pId": "0_1_3", "id": "0_1_3_1", "text": "龙岩市", "value": "龙岩市", "open": true}, { + "pId": "0_1_3", + "id": "0_1_3_2", + "text": "南平市", + "value": "南平市", + "open": true + }, {"pId": "0_1_3", "id": "0_1_3_3", "text": "宁德市", "value": "宁德市", "open": true}, { + "pId": "0_1_3", + "id": "0_1_3_4", + "text": "莆田市", + "value": "莆田市", + "open": true + }, {"pId": "0_1_3", "id": "0_1_3_5", "text": "泉州市", "value": "泉州市", "open": true}, { + "pId": "0_1_3", + "id": "0_1_3_6", + "text": "三明市", + "value": "三明市", + "open": true + }, {"pId": "0_1_3", "id": "0_1_3_7", "text": "厦门市", "value": "厦门市", "open": true}, { + "pId": "0_1_3", + "id": "0_1_3_8", + "text": "漳州市", + "value": "漳州市", + "open": true + }, {"pId": "0_1", "id": "0_1_4", "text": "甘肃省( 共12个 )", "value": "甘肃省", "open": true}, { + "pId": "0_1_4", + "id": "0_1_4_0", + "text": "白银市", + "value": "白银市", + "open": true + }, {"pId": "0_1_4", "id": "0_1_4_1", "text": "嘉峪关市", "value": "嘉峪关市", "open": true}, { + "pId": "0_1_4", + "id": "0_1_4_2", + "text": "金昌市", + "value": "金昌市", + "open": true + }, {"pId": "0_1_4", "id": "0_1_4_3", "text": "酒泉市", "value": "酒泉市", "open": true}, { + "pId": "0_1_4", + "id": "0_1_4_4", + "text": "兰州市", + "value": "兰州市", + "open": true + }, {"pId": "0_1_4", "id": "0_1_4_5", "text": "陇南市", "value": "陇南市", "open": true}, { + "pId": "0_1_4", + "id": "0_1_4_6", + "text": "平凉市", + "value": "平凉市", + "open": true + }, {"pId": "0_1_4", "id": "0_1_4_7", "text": "庆阳市", "value": "庆阳市", "open": true}, { + "pId": "0_1_4", + "id": "0_1_4_8", + "text": "天津市区", + "value": "天津市区", + "open": true + }, {"pId": "0_1_4", "id": "0_1_4_9", "text": "天水市", "value": "天水市", "open": true}, { + "pId": "0_1_4", + "id": "0_1_4_10", + "text": "武威市", + "value": "武威市", + "open": true + }, {"pId": "0_1_4", "id": "0_1_4_11", "text": "张掖市", "value": "张掖市", "open": true}, { + "pId": "0_1", + "id": "0_1_5", + "text": "广东省( 共21个 )", + "value": "广东省", + "open": true + }, {"pId": "0_1_5", "id": "0_1_5_0", "text": "潮州市", "value": "潮州市", "open": true}, { + "pId": "0_1_5", + "id": "0_1_5_1", + "text": "东莞市", + "value": "东莞市", + "open": true + }, {"pId": "0_1_5", "id": "0_1_5_2", "text": "佛山市", "value": "佛山市", "open": true}, { + "pId": "0_1_5", + "id": "0_1_5_3", + "text": "广州市", + "value": "广州市", + "open": true + }, {"pId": "0_1_5", "id": "0_1_5_4", "text": "河源市", "value": "河源市", "open": true}, { + "pId": "0_1_5", + "id": "0_1_5_5", + "text": "惠州市", + "value": "惠州市", + "open": true + }, {"pId": "0_1_5", "id": "0_1_5_6", "text": "江门市", "value": "江门市", "open": true}, { + "pId": "0_1_5", + "id": "0_1_5_7", + "text": "揭阳市", + "value": "揭阳市", + "open": true + }, {"pId": "0_1_5", "id": "0_1_5_8", "text": "茂名市", "value": "茂名市", "open": true}, { + "pId": "0_1_5", + "id": "0_1_5_9", + "text": "梅州市", + "value": "梅州市", + "open": true + }, {"pId": "0_1_5", "id": "0_1_5_10", "text": "清远市", "value": "清远市", "open": true}, { + "pId": "0_1_5", + "id": "0_1_5_11", + "text": "汕头市", + "value": "汕头市", + "open": true + }, {"pId": "0_1_5", "id": "0_1_5_12", "text": "汕尾市", "value": "汕尾市", "open": true}, { + "pId": "0_1_5", + "id": "0_1_5_13", + "text": "韶关市", + "value": "韶关市", + "open": true + }, {"pId": "0_1_5", "id": "0_1_5_14", "text": "深圳市", "value": "深圳市", "open": true}, { + "pId": "0_1_5", + "id": "0_1_5_15", + "text": "阳江市", + "value": "阳江市", + "open": true + }, {"pId": "0_1_5", "id": "0_1_5_16", "text": "云浮市", "value": "云浮市", "open": true}, { + "pId": "0_1_5", + "id": "0_1_5_17", + "text": "湛江市", + "value": "湛江市", + "open": true + }, {"pId": "0_1_5", "id": "0_1_5_18", "text": "肇庆市", "value": "肇庆市", "open": true}, { + "pId": "0_1_5", + "id": "0_1_5_19", + "text": "中山市", + "value": "中山市", + "open": true + }, {"pId": "0_1_5", "id": "0_1_5_20", "text": "珠海市", "value": "珠海市", "open": true}, { + "pId": "0_1", + "id": "0_1_6", + "text": "广西壮族自治区( 共14个 )", + "value": "广西壮族自治区", + "open": true + }, {"pId": "0_1_6", "id": "0_1_6_0", "text": "百色市", "value": "百色市", "open": true}, { + "pId": "0_1_6", + "id": "0_1_6_1", + "text": "北海市", + "value": "北海市", + "open": true + }, {"pId": "0_1_6", "id": "0_1_6_2", "text": "崇左市", "value": "崇左市", "open": true}, { + "pId": "0_1_6", + "id": "0_1_6_3", + "text": "防城港市", + "value": "防城港市", + "open": true + }, {"pId": "0_1_6", "id": "0_1_6_4", "text": "桂林市", "value": "桂林市", "open": true}, { + "pId": "0_1_6", + "id": "0_1_6_5", + "text": "贵港市", + "value": "贵港市", + "open": true + }, {"pId": "0_1_6", "id": "0_1_6_6", "text": "河池市", "value": "河池市", "open": true}, { + "pId": "0_1_6", + "id": "0_1_6_7", + "text": "贺州市", + "value": "贺州市", + "open": true + }, {"pId": "0_1_6", "id": "0_1_6_8", "text": "来宾市", "value": "来宾市", "open": true}, { + "pId": "0_1_6", + "id": "0_1_6_9", + "text": "柳州市", + "value": "柳州市", + "open": true + }, {"pId": "0_1_6", "id": "0_1_6_10", "text": "南宁市", "value": "南宁市", "open": true}, { + "pId": "0_1_6", + "id": "0_1_6_11", + "text": "钦州市", + "value": "钦州市", + "open": true + }, {"pId": "0_1_6", "id": "0_1_6_12", "text": "梧州市", "value": "梧州市", "open": true}, { + "pId": "0_1_6", + "id": "0_1_6_13", + "text": "玉林市", + "value": "玉林市", + "open": true + }, {"pId": "0_1", "id": "0_1_7", "text": "贵州省( 共9个 )", "value": "贵州省", "open": true}, { + "pId": "0_1_7", + "id": "0_1_7_0", + "text": "安顺市", + "value": "安顺市", + "open": true + }, {"pId": "0_1_7", "id": "0_1_7_1", "text": "毕节地区", "value": "毕节地区", "open": true}, { + "pId": "0_1_7", + "id": "0_1_7_2", + "text": "贵阳市", + "value": "贵阳市", + "open": true + }, {"pId": "0_1_7", "id": "0_1_7_3", "text": "六盘水市", "value": "六盘水市", "open": true}, { + "pId": "0_1_7", + "id": "0_1_7_4", + "text": "黔东南州", + "value": "黔东南州", + "open": true + }, {"pId": "0_1_7", "id": "0_1_7_5", "text": "黔南州", "value": "黔南州", "open": true}, { + "pId": "0_1_7", + "id": "0_1_7_6", + "text": "黔西南市", + "value": "黔西南市", + "open": true + }, {"pId": "0_1_7", "id": "0_1_7_7", "text": "铜仁地区", "value": "铜仁地区", "open": true}, { + "pId": "0_1_7", + "id": "0_1_7_8", + "text": "遵义市", + "value": "遵义市", + "open": true + }, {"pId": "0_1", "id": "0_1_8", "text": "海南省( 共2个 )", "value": "海南省", "open": true}, { + "pId": "0_1_8", + "id": "0_1_8_0", + "text": "海口市", + "value": "海口市", + "open": true + }, {"pId": "0_1_8", "id": "0_1_8_1", "text": "三亚市", "value": "三亚市", "open": true}, { + "pId": "0_1", + "id": "0_1_9", + "text": "河北省( 共12个 )", + "value": "河北省", + "open": true + }, {"pId": "0_1_9", "id": "0_1_9_0", "text": "保定市", "value": "保定市", "open": true}, { + "pId": "0_1_9", + "id": "0_1_9_1", + "text": "沧州市", + "value": "沧州市", + "open": true + }, {"pId": "0_1_9", "id": "0_1_9_2", "text": "承德市", "value": "承德市", "open": true}, { + "pId": "0_1_9", + "id": "0_1_9_3", + "text": "邯郸市", + "value": "邯郸市", + "open": true + }, {"pId": "0_1_9", "id": "0_1_9_4", "text": "衡水市", "value": "衡水市", "open": true}, { + "pId": "0_1_9", + "id": "0_1_9_5", + "text": "廊坊市", + "value": "廊坊市", + "open": true + }, {"pId": "0_1_9", "id": "0_1_9_6", "text": "秦皇岛市", "value": "秦皇岛市", "open": true}, { + "pId": "0_1_9", + "id": "0_1_9_7", + "text": "石家庄市", + "value": "石家庄市", + "open": true + }, {"pId": "0_1_9", "id": "0_1_9_8", "text": "唐山市", "value": "唐山市", "open": true}, { + "pId": "0_1_9", + "id": "0_1_9_9", + "text": "天津市区", + "value": "天津市区", + "open": true + }, {"pId": "0_1_9", "id": "0_1_9_10", "text": "邢台市", "value": "邢台市", "open": true}, { + "pId": "0_1_9", + "id": "0_1_9_11", + "text": "张家口市", + "value": "张家口市", + "open": true + }, {"pId": "0_1", "id": "0_1_10", "text": "河南省( 共19个 )", "value": "河南省", "open": true}, { + "pId": "0_1_10", + "id": "0_1_10_0", + "text": "安阳市", + "value": "安阳市", + "open": true + }, {"pId": "0_1_10", "id": "0_1_10_1", "text": "鹤壁市", "value": "鹤壁市", "open": true}, { + "pId": "0_1_10", + "id": "0_1_10_2", + "text": "济源市", + "value": "济源市", + "open": true + }, {"pId": "0_1_10", "id": "0_1_10_3", "text": "焦作市", "value": "焦作市", "open": true}, { + "pId": "0_1_10", + "id": "0_1_10_4", + "text": "开封市", + "value": "开封市", + "open": true + }, {"pId": "0_1_10", "id": "0_1_10_5", "text": "廊坊市", "value": "廊坊市", "open": true}, { + "pId": "0_1_10", + "id": "0_1_10_6", + "text": "洛阳市", + "value": "洛阳市", + "open": true + }, {"pId": "0_1_10", "id": "0_1_10_7", "text": "漯河市", "value": "漯河市", "open": true}, { + "pId": "0_1_10", + "id": "0_1_10_8", + "text": "南阳市", + "value": "南阳市", + "open": true + }, {"pId": "0_1_10", "id": "0_1_10_9", "text": "平顶山市", "value": "平顶山市", "open": true}, { + "pId": "0_1_10", + "id": "0_1_10_10", + "text": "濮阳市", + "value": "濮阳市", + "open": true + }, {"pId": "0_1_10", "id": "0_1_10_11", "text": "三门峡市", "value": "三门峡市", "open": true}, { + "pId": "0_1_10", + "id": "0_1_10_12", + "text": "商丘市", + "value": "商丘市", + "open": true + }, {"pId": "0_1_10", "id": "0_1_10_13", "text": "新乡市", "value": "新乡市", "open": true}, { + "pId": "0_1_10", + "id": "0_1_10_14", + "text": "信阳市", + "value": "信阳市", + "open": true + }, {"pId": "0_1_10", "id": "0_1_10_15", "text": "许昌市", "value": "许昌市", "open": true}, { + "pId": "0_1_10", + "id": "0_1_10_16", + "text": "郑州市", + "value": "郑州市", + "open": true + }, {"pId": "0_1_10", "id": "0_1_10_17", "text": "周口市", "value": "周口市", "open": true}, { + "pId": "0_1_10", + "id": "0_1_10_18", + "text": "驻马店市", + "value": "驻马店市", + "open": true + }, {"pId": "0_1", "id": "0_1_11", "text": "黑龙江省( 共13个 )", "value": "黑龙江省", "open": true}, { + "pId": "0_1_11", + "id": "0_1_11_0", + "text": "大庆市", + "value": "大庆市", + "open": true + }, {"pId": "0_1_11", "id": "0_1_11_1", "text": "大兴安岭地区", "value": "大兴安岭地区", "open": true}, { + "pId": "0_1_11", + "id": "0_1_11_2", + "text": "大兴安岭市", + "value": "大兴安岭市", + "open": true + }, {"pId": "0_1_11", "id": "0_1_11_3", "text": "哈尔滨市", "value": "哈尔滨市", "open": true}, { + "pId": "0_1_11", + "id": "0_1_11_4", + "text": "鹤港市", + "value": "鹤港市", + "open": true + }, {"pId": "0_1_11", "id": "0_1_11_5", "text": "黑河市", "value": "黑河市", "open": true}, { + "pId": "0_1_11", + "id": "0_1_11_6", + "text": "佳木斯市", + "value": "佳木斯市", + "open": true + }, {"pId": "0_1_11", "id": "0_1_11_7", "text": "牡丹江市", "value": "牡丹江市", "open": true}, { + "pId": "0_1_11", + "id": "0_1_11_8", + "text": "七台河市", + "value": "七台河市", + "open": true + }, {"pId": "0_1_11", "id": "0_1_11_9", "text": "齐齐哈尔市", "value": "齐齐哈尔市", "open": true}, { + "pId": "0_1_11", + "id": "0_1_11_10", + "text": "双鸭山市", + "value": "双鸭山市", + "open": true + }, {"pId": "0_1_11", "id": "0_1_11_11", "text": "绥化市", "value": "绥化市", "open": true}, { + "pId": "0_1_11", + "id": "0_1_11_12", + "text": "伊春市", + "value": "伊春市", + "open": true + }, {"pId": "0_1", "id": "0_1_12", "text": "湖北省( 共16个 )", "value": "湖北省", "open": true}, { + "pId": "0_1_12", + "id": "0_1_12_0", + "text": "鄂州市", + "value": "鄂州市", + "open": true + }, {"pId": "0_1_12", "id": "0_1_12_1", "text": "恩施土家族苗族自治州", "value": "恩施土家族苗族自治州", "open": true}, { + "pId": "0_1_12", + "id": "0_1_12_2", + "text": "黄冈市", + "value": "黄冈市", + "open": true + }, {"pId": "0_1_12", "id": "0_1_12_3", "text": "黄石市", "value": "黄石市", "open": true}, { + "pId": "0_1_12", + "id": "0_1_12_4", + "text": "荆门市", + "value": "荆门市", + "open": true + }, {"pId": "0_1_12", "id": "0_1_12_5", "text": "荆州市", "value": "荆州市", "open": true}, { + "pId": "0_1_12", + "id": "0_1_12_6", + "text": "神农架市", + "value": "神农架市", + "open": true + }, {"pId": "0_1_12", "id": "0_1_12_7", "text": "十堰市", "value": "十堰市", "open": true}, { + "pId": "0_1_12", + "id": "0_1_12_8", + "text": "随州市", + "value": "随州市", + "open": true + }, {"pId": "0_1_12", "id": "0_1_12_9", "text": "天门市", "value": "天门市", "open": true}, { + "pId": "0_1_12", + "id": "0_1_12_10", + "text": "武汉市", + "value": "武汉市", + "open": true + }, {"pId": "0_1_12", "id": "0_1_12_11", "text": "咸宁市", "value": "咸宁市", "open": true}, { + "pId": "0_1_12", + "id": "0_1_12_12", + "text": "襄樊市", + "value": "襄樊市", + "open": true + }, {"pId": "0_1_12", "id": "0_1_12_13", "text": "襄阳市", "value": "襄阳市", "open": true}, { + "pId": "0_1_12", + "id": "0_1_12_14", + "text": "孝感市", + "value": "孝感市", + "open": true + }, {"pId": "0_1_12", "id": "0_1_12_15", "text": "宜昌市", "value": "宜昌市", "open": true}, { + "pId": "0_1", + "id": "0_1_13", + "text": "湖南省( 共15个 )", + "value": "湖南省", + "open": true + }, {"pId": "0_1_13", "id": "0_1_13_0", "text": "常德市", "value": "常德市", "open": true}, { + "pId": "0_1_13", + "id": "0_1_13_1", + "text": "长沙市", + "value": "长沙市", + "open": true + }, {"pId": "0_1_13", "id": "0_1_13_2", "text": "郴州市", "value": "郴州市", "open": true}, { + "pId": "0_1_13", + "id": "0_1_13_3", + "text": "衡阳市", + "value": "衡阳市", + "open": true + }, {"pId": "0_1_13", "id": "0_1_13_4", "text": "怀化市", "value": "怀化市", "open": true}, { + "pId": "0_1_13", + "id": "0_1_13_5", + "text": "娄底市", + "value": "娄底市", + "open": true + }, {"pId": "0_1_13", "id": "0_1_13_6", "text": "邵阳市", "value": "邵阳市", "open": true}, { + "pId": "0_1_13", + "id": "0_1_13_7", + "text": "湘潭市", + "value": "湘潭市", + "open": true + }, {"pId": "0_1_13", "id": "0_1_13_8", "text": "湘西市", "value": "湘西市", "open": true}, { + "pId": "0_1_13", + "id": "0_1_13_9", + "text": "湘西土家族苗族自治州", + "value": "湘西土家族苗族自治州", + "open": true + }, {"pId": "0_1_13", "id": "0_1_13_10", "text": "益阳市", "value": "益阳市", "open": true}, { + "pId": "0_1_13", + "id": "0_1_13_11", + "text": "永州市", + "value": "永州市", + "open": true + }, {"pId": "0_1_13", "id": "0_1_13_12", "text": "岳阳市", "value": "岳阳市", "open": true}, { + "pId": "0_1_13", + "id": "0_1_13_13", + "text": "张家界市", + "value": "张家界市", + "open": true + }, {"pId": "0_1_13", "id": "0_1_13_14", "text": "株洲市", "value": "株洲市", "open": true}, { + "pId": "0_1", + "id": "0_1_14", + "text": "吉林省( 共10个 )", + "value": "吉林省", + "open": true + }, {"pId": "0_1_14", "id": "0_1_14_0", "text": "白城市", "value": "白城市", "open": true}, { + "pId": "0_1_14", + "id": "0_1_14_1", + "text": "白山市", + "value": "白山市", + "open": true + }, {"pId": "0_1_14", "id": "0_1_14_2", "text": "长春市", "value": "长春市", "open": true}, { + "pId": "0_1_14", + "id": "0_1_14_3", + "text": "大庆市", + "value": "大庆市", + "open": true + }, {"pId": "0_1_14", "id": "0_1_14_4", "text": "吉林市", "value": "吉林市", "open": true}, { + "pId": "0_1_14", + "id": "0_1_14_5", + "text": "辽源市", + "value": "辽源市", + "open": true + }, {"pId": "0_1_14", "id": "0_1_14_6", "text": "四平市", "value": "四平市", "open": true}, { + "pId": "0_1_14", + "id": "0_1_14_7", + "text": "松原市", + "value": "松原市", + "open": true + }, {"pId": "0_1_14", "id": "0_1_14_8", "text": "通化市", "value": "通化市", "open": true}, { + "pId": "0_1_14", + "id": "0_1_14_9", + "text": "延边朝鲜族自治州", + "value": "延边朝鲜族自治州", + "open": true + }, {"pId": "0_1", "id": "0_1_15", "text": "江苏省( 共13个 )", "value": "江苏省", "open": true}, { + "pId": "0_1_15", + "id": "0_1_15_0", + "text": "常州市", + "value": "常州市", + "open": true + }, {"pId": "0_1_15", "id": "0_1_15_1", "text": "淮安市", "value": "淮安市", "open": true}, { + "pId": "0_1_15", + "id": "0_1_15_2", + "text": "连云港市", + "value": "连云港市", + "open": true + }, {"pId": "0_1_15", "id": "0_1_15_3", "text": "南京市", "value": "南京市", "open": true}, { + "pId": "0_1_15", + "id": "0_1_15_4", + "text": "南通市", + "value": "南通市", + "open": true + }, {"pId": "0_1_15", "id": "0_1_15_5", "text": "苏州市", "value": "苏州市", "open": true}, { + "pId": "0_1_15", + "id": "0_1_15_6", + "text": "宿迁市", + "value": "宿迁市", + "open": true + }, {"pId": "0_1_15", "id": "0_1_15_7", "text": "泰州市", "value": "泰州市", "open": true}, { + "pId": "0_1_15", + "id": "0_1_15_8", + "text": "无锡市", + "value": "无锡市", + "open": true + }, {"pId": "0_1_15", "id": "0_1_15_9", "text": "徐州市", "value": "徐州市", "open": true}, { + "pId": "0_1_15", + "id": "0_1_15_10", + "text": "盐城市", + "value": "盐城市", + "open": true + }, {"pId": "0_1_15", "id": "0_1_15_11", "text": "扬州市", "value": "扬州市", "open": true}, { + "pId": "0_1_15", + "id": "0_1_15_12", + "text": "镇江市", + "value": "镇江市", + "open": true + }, {"pId": "0_1", "id": "0_1_16", "text": "江西省( 共10个 )", "value": "江西省", "open": true}, { + "pId": "0_1_16", + "id": "0_1_16_0", + "text": "抚州市", + "value": "抚州市", + "open": true + }, {"pId": "0_1_16", "id": "0_1_16_1", "text": "赣州市", "value": "赣州市", "open": true}, { + "pId": "0_1_16", + "id": "0_1_16_2", + "text": "景德镇市", + "value": "景德镇市", + "open": true + }, {"pId": "0_1_16", "id": "0_1_16_3", "text": "九江市", "value": "九江市", "open": true}, { + "pId": "0_1_16", + "id": "0_1_16_4", + "text": "南昌市", + "value": "南昌市", + "open": true + }, {"pId": "0_1_16", "id": "0_1_16_5", "text": "萍乡市", "value": "萍乡市", "open": true}, { + "pId": "0_1_16", + "id": "0_1_16_6", + "text": "上饶市", + "value": "上饶市", + "open": true + }, {"pId": "0_1_16", "id": "0_1_16_7", "text": "新余市", "value": "新余市", "open": true}, { + "pId": "0_1_16", + "id": "0_1_16_8", + "text": "宜春市", + "value": "宜春市", + "open": true + }, {"pId": "0_1_16", "id": "0_1_16_9", "text": "鹰潭市", "value": "鹰潭市", "open": true}, { + "pId": "0_1", + "id": "0_1_17", + "text": "辽宁省( 共14个 )", + "value": "辽宁省", + "open": true + }, {"pId": "0_1_17", "id": "0_1_17_0", "text": "鞍山市", "value": "鞍山市", "open": true}, { + "pId": "0_1_17", + "id": "0_1_17_1", + "text": "本溪市", + "value": "本溪市", + "open": true + }, {"pId": "0_1_17", "id": "0_1_17_2", "text": "朝阳市", "value": "朝阳市", "open": true}, { + "pId": "0_1_17", + "id": "0_1_17_3", + "text": "大连市", + "value": "大连市", + "open": true + }, {"pId": "0_1_17", "id": "0_1_17_4", "text": "丹东市", "value": "丹东市", "open": true}, { + "pId": "0_1_17", + "id": "0_1_17_5", + "text": "抚顺市", + "value": "抚顺市", + "open": true + }, {"pId": "0_1_17", "id": "0_1_17_6", "text": "阜新市", "value": "阜新市", "open": true}, { + "pId": "0_1_17", + "id": "0_1_17_7", + "text": "葫芦岛市", + "value": "葫芦岛市", + "open": true + }, {"pId": "0_1_17", "id": "0_1_17_8", "text": "锦州市", "value": "锦州市", "open": true}, { + "pId": "0_1_17", + "id": "0_1_17_9", + "text": "辽阳市", + "value": "辽阳市", + "open": true + }, {"pId": "0_1_17", "id": "0_1_17_10", "text": "盘锦市", "value": "盘锦市", "open": true}, { + "pId": "0_1_17", + "id": "0_1_17_11", + "text": "沈阳市", + "value": "沈阳市", + "open": true + }, {"pId": "0_1_17", "id": "0_1_17_12", "text": "铁岭市", "value": "铁岭市", "open": true}, { + "pId": "0_1_17", + "id": "0_1_17_13", + "text": "营口市", + "value": "营口市", + "open": true + }, {"pId": "0_1", "id": "0_1_18", "text": "内蒙古( 共10个 )", "value": "内蒙古", "open": true}, { + "pId": "0_1_18", + "id": "0_1_18_0", + "text": "包头市", + "value": "包头市", + "open": true + }, {"pId": "0_1_18", "id": "0_1_18_1", "text": "赤峰市", "value": "赤峰市", "open": true}, { + "pId": "0_1_18", + "id": "0_1_18_2", + "text": "鄂尔多斯市", + "value": "鄂尔多斯市", + "open": true + }, {"pId": "0_1_18", "id": "0_1_18_3", "text": "呼和浩特市", "value": "呼和浩特市", "open": true}, { + "pId": "0_1_18", + "id": "0_1_18_4", + "text": "呼伦贝尔市", + "value": "呼伦贝尔市", + "open": true + }, {"pId": "0_1_18", "id": "0_1_18_5", "text": "通辽市", "value": "通辽市", "open": true}, { + "pId": "0_1_18", + "id": "0_1_18_6", + "text": "乌海市", + "value": "乌海市", + "open": true + }, {"pId": "0_1_18", "id": "0_1_18_7", "text": "锡林郭勒市", "value": "锡林郭勒市", "open": true}, { + "pId": "0_1_18", + "id": "0_1_18_8", + "text": "兴安市", + "value": "兴安市", + "open": true + }, {"pId": "0_1_18", "id": "0_1_18_9", "text": "运城市", "value": "运城市", "open": true}, { + "pId": "0_1", + "id": "0_1_19", + "text": "宁夏回族自治区( 共5个 )", + "value": "宁夏回族自治区", + "open": true + }, {"pId": "0_1_19", "id": "0_1_19_0", "text": "固原市", "value": "固原市", "open": true}, { + "pId": "0_1_19", + "id": "0_1_19_1", + "text": "石嘴山市", + "value": "石嘴山市", + "open": true + }, {"pId": "0_1_19", "id": "0_1_19_2", "text": "吴忠市", "value": "吴忠市", "open": true}, { + "pId": "0_1_19", + "id": "0_1_19_3", + "text": "银川市", + "value": "银川市", + "open": true + }, {"pId": "0_1_19", "id": "0_1_19_4", "text": "中卫市", "value": "中卫市", "open": true}, { + "pId": "0_1", + "id": "0_1_20", + "text": "青海省( 共4个 )", + "value": "青海省", + "open": true + }, {"pId": "0_1_20", "id": "0_1_20_0", "text": "海东地区", "value": "海东地区", "open": true}, { + "pId": "0_1_20", + "id": "0_1_20_1", + "text": "海南藏族自治州", + "value": "海南藏族自治州", + "open": true + }, {"pId": "0_1_20", "id": "0_1_20_2", "text": "海西蒙古族藏族自治州", "value": "海西蒙古族藏族自治州", "open": true}, { + "pId": "0_1_20", + "id": "0_1_20_3", + "text": "西宁市", + "value": "西宁市", + "open": true + }, {"pId": "0_1", "id": "0_1_21", "text": "山东省( 共17个 )", "value": "山东省", "open": true}, { + "pId": "0_1_21", + "id": "0_1_21_0", + "text": "滨州市", + "value": "滨州市", + "open": true + }, {"pId": "0_1_21", "id": "0_1_21_1", "text": "德州市", "value": "德州市", "open": true}, { + "pId": "0_1_21", + "id": "0_1_21_2", + "text": "东营市", + "value": "东营市", + "open": true + }, {"pId": "0_1_21", "id": "0_1_21_3", "text": "菏泽市", "value": "菏泽市", "open": true}, { + "pId": "0_1_21", + "id": "0_1_21_4", + "text": "济南市", + "value": "济南市", + "open": true + }, {"pId": "0_1_21", "id": "0_1_21_5", "text": "济宁市", "value": "济宁市", "open": true}, { + "pId": "0_1_21", + "id": "0_1_21_6", + "text": "莱芜市", + "value": "莱芜市", + "open": true + }, {"pId": "0_1_21", "id": "0_1_21_7", "text": "聊城市", "value": "聊城市", "open": true}, { + "pId": "0_1_21", + "id": "0_1_21_8", + "text": "临沂市", + "value": "临沂市", + "open": true + }, {"pId": "0_1_21", "id": "0_1_21_9", "text": "青岛市", "value": "青岛市", "open": true}, { + "pId": "0_1_21", + "id": "0_1_21_10", + "text": "日照市", + "value": "日照市", + "open": true + }, {"pId": "0_1_21", "id": "0_1_21_11", "text": "泰安市", "value": "泰安市", "open": true}, { + "pId": "0_1_21", + "id": "0_1_21_12", + "text": "威海市", + "value": "威海市", + "open": true + }, {"pId": "0_1_21", "id": "0_1_21_13", "text": "潍坊市", "value": "潍坊市", "open": true}, { + "pId": "0_1_21", + "id": "0_1_21_14", + "text": "烟台市", + "value": "烟台市", + "open": true + }, {"pId": "0_1_21", "id": "0_1_21_15", "text": "枣庄市", "value": "枣庄市", "open": true}, { + "pId": "0_1_21", + "id": "0_1_21_16", + "text": "淄博市", + "value": "淄博市", + "open": true + }, {"pId": "0_1", "id": "0_1_22", "text": "山西省( 共12个 )", "value": "山西省", "open": true}, { + "pId": "0_1_22", + "id": "0_1_22_0", + "text": "长治市", + "value": "长治市", + "open": true + }, {"pId": "0_1_22", "id": "0_1_22_1", "text": "大同市", "value": "大同市", "open": true}, { + "pId": "0_1_22", + "id": "0_1_22_2", + "text": "晋城市", + "value": "晋城市", + "open": true + }, {"pId": "0_1_22", "id": "0_1_22_3", "text": "晋中市", "value": "晋中市", "open": true}, { + "pId": "0_1_22", + "id": "0_1_22_4", + "text": "临汾市", + "value": "临汾市", + "open": true + }, {"pId": "0_1_22", "id": "0_1_22_5", "text": "吕梁市", "value": "吕梁市", "open": true}, { + "pId": "0_1_22", + "id": "0_1_22_6", + "text": "青岛市", + "value": "青岛市", + "open": true + }, {"pId": "0_1_22", "id": "0_1_22_7", "text": "朔州市", "value": "朔州市", "open": true}, { + "pId": "0_1_22", + "id": "0_1_22_8", + "text": "太原市", + "value": "太原市", + "open": true + }, {"pId": "0_1_22", "id": "0_1_22_9", "text": "忻州市", "value": "忻州市", "open": true}, { + "pId": "0_1_22", + "id": "0_1_22_10", + "text": "阳泉市", + "value": "阳泉市", + "open": true + }, {"pId": "0_1_22", "id": "0_1_22_11", "text": "运城市", "value": "运城市", "open": true}, { + "pId": "0_1", + "id": "0_1_23", + "text": "陕西省( 共9个 )", + "value": "陕西省", + "open": true + }, {"pId": "0_1_23", "id": "0_1_23_0", "text": "安康市", "value": "安康市", "open": true}, { + "pId": "0_1_23", + "id": "0_1_23_1", + "text": "宝鸡市", + "value": "宝鸡市", + "open": true + }, {"pId": "0_1_23", "id": "0_1_23_2", "text": "汉中市", "value": "汉中市", "open": true}, { + "pId": "0_1_23", + "id": "0_1_23_3", + "text": "商洛市", + "value": "商洛市", + "open": true + }, {"pId": "0_1_23", "id": "0_1_23_4", "text": "渭南市", "value": "渭南市", "open": true}, { + "pId": "0_1_23", + "id": "0_1_23_5", + "text": "西安市", + "value": "西安市", + "open": true + }, {"pId": "0_1_23", "id": "0_1_23_6", "text": "咸阳市", "value": "咸阳市", "open": true}, { + "pId": "0_1_23", + "id": "0_1_23_7", + "text": "延安市", + "value": "延安市", + "open": true + }, {"pId": "0_1_23", "id": "0_1_23_8", "text": "榆林市", "value": "榆林市", "open": true}, { + "pId": "0_1", + "id": "0_1_24", + "text": "上海市( 共19个 )", + "value": "上海市", + "open": true + }, {"pId": "0_1_24", "id": "0_1_24_0", "text": "宝山区", "value": "宝山区", "open": true}, { + "pId": "0_1_24", + "id": "0_1_24_1", + "text": "长宁区", + "value": "长宁区", + "open": true + }, {"pId": "0_1_24", "id": "0_1_24_2", "text": "崇明县", "value": "崇明县", "open": true}, { + "pId": "0_1_24", + "id": "0_1_24_3", + "text": "奉贤区", + "value": "奉贤区", + "open": true + }, {"pId": "0_1_24", "id": "0_1_24_4", "text": "虹口区", "value": "虹口区", "open": true}, { + "pId": "0_1_24", + "id": "0_1_24_5", + "text": "黄浦区", + "value": "黄浦区", + "open": true + }, {"pId": "0_1_24", "id": "0_1_24_6", "text": "嘉定区", "value": "嘉定区", "open": true}, { + "pId": "0_1_24", + "id": "0_1_24_7", + "text": "金山区", + "value": "金山区", + "open": true + }, {"pId": "0_1_24", "id": "0_1_24_8", "text": "静安区", "value": "静安区", "open": true}, { + "pId": "0_1_24", + "id": "0_1_24_9", + "text": "昆明市", + "value": "昆明市", + "open": true + }, {"pId": "0_1_24", "id": "0_1_24_10", "text": "闵行区", "value": "闵行区", "open": true}, { + "pId": "0_1_24", + "id": "0_1_24_11", + "text": "普陀区", + "value": "普陀区", + "open": true + }, {"pId": "0_1_24", "id": "0_1_24_12", "text": "浦东新区", "value": "浦东新区", "open": true}, { + "pId": "0_1_24", + "id": "0_1_24_13", + "text": "青浦区", + "value": "青浦区", + "open": true + }, {"pId": "0_1_24", "id": "0_1_24_14", "text": "上海市区", "value": "上海市区", "open": true}, { + "pId": "0_1_24", + "id": "0_1_24_15", + "text": "松江区", + "value": "松江区", + "open": true + }, {"pId": "0_1_24", "id": "0_1_24_16", "text": "徐汇区", "value": "徐汇区", "open": true}, { + "pId": "0_1_24", + "id": "0_1_24_17", + "text": "杨浦区", + "value": "杨浦区", + "open": true + }, {"pId": "0_1_24", "id": "0_1_24_18", "text": "闸北区", "value": "闸北区", "open": true}, { + "pId": "0_1", + "id": "0_1_25", + "text": "四川省( 共21个 )", + "value": "四川省", + "open": true + }, {"pId": "0_1_25", "id": "0_1_25_0", "text": "阿坝藏族羌族自治州", "value": "阿坝藏族羌族自治州", "open": true}, { + "pId": "0_1_25", + "id": "0_1_25_1", + "text": "巴中市", + "value": "巴中市", + "open": true + }, {"pId": "0_1_25", "id": "0_1_25_2", "text": "成都市", "value": "成都市", "open": true}, { + "pId": "0_1_25", + "id": "0_1_25_3", + "text": "达州市", + "value": "达州市", + "open": true + }, {"pId": "0_1_25", "id": "0_1_25_4", "text": "德阳市", "value": "德阳市", "open": true}, { + "pId": "0_1_25", + "id": "0_1_25_5", + "text": "甘孜市", + "value": "甘孜市", + "open": true + }, {"pId": "0_1_25", "id": "0_1_25_6", "text": "广安市", "value": "广安市", "open": true}, { + "pId": "0_1_25", + "id": "0_1_25_7", + "text": "广元市", + "value": "广元市", + "open": true + }, {"pId": "0_1_25", "id": "0_1_25_8", "text": "乐山市", "value": "乐山市", "open": true}, { + "pId": "0_1_25", + "id": "0_1_25_9", + "text": "凉山市", + "value": "凉山市", + "open": true + }, {"pId": "0_1_25", "id": "0_1_25_10", "text": "泸州市", "value": "泸州市", "open": true}, { + "pId": "0_1_25", + "id": "0_1_25_11", + "text": "眉山市", + "value": "眉山市", + "open": true + }, {"pId": "0_1_25", "id": "0_1_25_12", "text": "绵阳市", "value": "绵阳市", "open": true}, { + "pId": "0_1_25", + "id": "0_1_25_13", + "text": "南充市", + "value": "南充市", + "open": true + }, {"pId": "0_1_25", "id": "0_1_25_14", "text": "内江市", "value": "内江市", "open": true}, { + "pId": "0_1_25", + "id": "0_1_25_15", + "text": "攀枝花市", + "value": "攀枝花市", + "open": true + }, {"pId": "0_1_25", "id": "0_1_25_16", "text": "遂宁市", "value": "遂宁市", "open": true}, { + "pId": "0_1_25", + "id": "0_1_25_17", + "text": "雅安市", + "value": "雅安市", + "open": true + }, {"pId": "0_1_25", "id": "0_1_25_18", "text": "宜宾市", "value": "宜宾市", "open": true}, { + "pId": "0_1_25", + "id": "0_1_25_19", + "text": "资阳市", + "value": "资阳市", + "open": true + }, {"pId": "0_1_25", "id": "0_1_25_20", "text": "自贡市", "value": "自贡市", "open": true}, { + "pId": "0_1", + "id": "0_1_26", + "text": "台湾( 共1个 )", + "value": "台湾", + "open": true + }, {"pId": "0_1_26", "id": "0_1_26_0", "text": "台北市", "value": "台北市", "open": true}, { + "pId": "0_1", + "id": "0_1_27", + "text": "天津市( 共1个 )", + "value": "天津市", + "open": true + }, {"pId": "0_1_27", "id": "0_1_27_0", "text": "天津市区", "value": "天津市区", "open": true}, { + "pId": "0_1", + "id": "0_1_28", + "text": "西藏自治区( 共2个 )", + "value": "西藏自治区", + "open": true + }, {"pId": "0_1_28", "id": "0_1_28_0", "text": "阿里市", "value": "阿里市", "open": true}, { + "pId": "0_1_28", + "id": "0_1_28_1", + "text": "日喀则市", + "value": "日喀则市", + "open": true + }, {"pId": "0_1", "id": "0_1_29", "text": "香港特别行政区( 共1个 )", "value": "香港特别行政区", "open": true}, { + "pId": "0_1_29", + "id": "0_1_29_0", + "text": "香港", + "value": "香港", + "open": true + }, { + "pId": "0_1", + "id": "0_1_30", + "text": "新疆维吾尔族自治区( 共11个 )", + "value": "新疆维吾尔族自治区", + "open": true + }, {"pId": "0_1_30", "id": "0_1_30_0", "text": "巴音郭楞市", "value": "巴音郭楞市", "open": true}, { + "pId": "0_1_30", + "id": "0_1_30_1", + "text": "哈密市", + "value": "哈密市", + "open": true + }, {"pId": "0_1_30", "id": "0_1_30_2", "text": "和田市", "value": "和田市", "open": true}, { + "pId": "0_1_30", + "id": "0_1_30_3", + "text": "喀什地区", + "value": "喀什地区", + "open": true + }, {"pId": "0_1_30", "id": "0_1_30_4", "text": "克拉玛依市", "value": "克拉玛依市", "open": true}, { + "pId": "0_1_30", + "id": "0_1_30_5", + "text": "克孜勒苏柯州", + "value": "克孜勒苏柯州", + "open": true + }, {"pId": "0_1_30", "id": "0_1_30_6", "text": "石河子市", "value": "石河子市", "open": true}, { + "pId": "0_1_30", + "id": "0_1_30_7", + "text": "塔城市", + "value": "塔城市", + "open": true + }, {"pId": "0_1_30", "id": "0_1_30_8", "text": "吐鲁番地区", "value": "吐鲁番地区", "open": true}, { + "pId": "0_1_30", + "id": "0_1_30_9", + "text": "乌鲁木齐", + "value": "乌鲁木齐", + "open": true + }, {"pId": "0_1_30", "id": "0_1_30_10", "text": "伊犁市", "value": "伊犁市", "open": true}, { + "pId": "0_1", + "id": "0_1_31", + "text": "云南省( 共12个 )", + "value": "云南省", + "open": true + }, {"pId": "0_1_31", "id": "0_1_31_0", "text": "保山市", "value": "保山市", "open": true}, { + "pId": "0_1_31", + "id": "0_1_31_1", + "text": "楚雄彝族自治州", + "value": "楚雄彝族自治州", + "open": true + }, {"pId": "0_1_31", "id": "0_1_31_2", "text": "大理白族自治州", "value": "大理白族自治州", "open": true}, { + "pId": "0_1_31", + "id": "0_1_31_3", + "text": "红河哈尼族彝族自治州", + "value": "红河哈尼族彝族自治州", + "open": true + }, {"pId": "0_1_31", "id": "0_1_31_4", "text": "昆明市", "value": "昆明市", "open": true}, { + "pId": "0_1_31", + "id": "0_1_31_5", + "text": "丽江市", + "value": "丽江市", + "open": true + }, {"pId": "0_1_31", "id": "0_1_31_6", "text": "临沧市", "value": "临沧市", "open": true}, { + "pId": "0_1_31", + "id": "0_1_31_7", + "text": "曲靖市", + "value": "曲靖市", + "open": true + }, {"pId": "0_1_31", "id": "0_1_31_8", "text": "思茅市", "value": "思茅市", "open": true}, { + "pId": "0_1_31", + "id": "0_1_31_9", + "text": "文山市", + "value": "文山市", + "open": true + }, {"pId": "0_1_31", "id": "0_1_31_10", "text": "玉溪市", "value": "玉溪市", "open": true}, { + "pId": "0_1_31", + "id": "0_1_31_11", + "text": "昭通市", + "value": "昭通市", + "open": true + }, {"pId": "0_1", "id": "0_1_32", "text": "浙江省( 共12个 )", "value": "浙江省", "open": true}, { + "pId": "0_1_32", + "id": "0_1_32_0", + "text": "杭州市", + "value": "杭州市", + "open": true + }, {"pId": "0_1_32", "id": "0_1_32_1", "text": "湖州市", "value": "湖州市", "open": true}, { + "pId": "0_1_32", + "id": "0_1_32_2", + "text": "嘉兴市", + "value": "嘉兴市", + "open": true + }, {"pId": "0_1_32", "id": "0_1_32_3", "text": "金华市", "value": "金华市", "open": true}, { + "pId": "0_1_32", + "id": "0_1_32_4", + "text": "丽水市", + "value": "丽水市", + "open": true + }, {"pId": "0_1_32", "id": "0_1_32_5", "text": "宁波市", "value": "宁波市", "open": true}, { + "pId": "0_1_32", + "id": "0_1_32_6", + "text": "衢州市", + "value": "衢州市", + "open": true + }, {"pId": "0_1_32", "id": "0_1_32_7", "text": "绍兴市", "value": "绍兴市", "open": true}, { + "pId": "0_1_32", + "id": "0_1_32_8", + "text": "台州市", + "value": "台州市", + "open": true + }, {"pId": "0_1_32", "id": "0_1_32_9", "text": "温州市", "value": "温州市", "open": true}, { + "pId": "0_1_32", + "id": "0_1_32_10", + "text": "浙江省", + "value": "浙江省", + "open": true + }, {"pId": "0_1_32", "id": "0_1_32_11", "text": "舟山市", "value": "舟山市", "open": true}, { + "pId": "0_1", + "id": "0_1_33", + "text": "重庆市( 共1个 )", + "value": "重庆市", + "open": true + }, {"pId": "0_1_33", "id": "0_1_33_0", "text": "重庆市区", "value": "重庆市区", "open": true}], + + TREE: [{id: -1, pId: -2, value: "根目录", text: "根目录"}, + {id: 1, pId: -1, value: "第一级目录1", text: "第一级目录1"}, + {id: 11, pId: 1, value: "第二级文件1", text: "第二级文件1"}, + {id: 12, pId: 1, value: "第二级目录2", text: "第二级目录2"}, + {id: 121, pId: 12, value: "第三级目录1", text: "第三级目录1"}, + {id: 122, pId: 12, value: "第三级文件1", text: "第三级文件1"}, + {id: 1211, pId: 121, value: "第四级目录1", text: "第四级目录1"}, + {id: 12111, pId: 1211, value: "第五级文件1", text: "第五级文件1"}, + {id: 2, pId: -1, value: "第一级目录2", text: "第一级目录2"}, + {id: 21, pId: 2, value: "第二级目录3", text: "第二级目录3"}, + {id: 22, pId: 2, value: "第二级文件2", text: "第二级文件2"}, + {id: 211, pId: 21, value: "第三级目录2", text: "第三级目录2"}, + {id: 212, pId: 21, value: "第三级文件2", text: "第三级文件2"}, + {id: 2111, pId: 211, value: "第四级文件1", text: "第四级文件1"}], LEVELTREE: [{ id: 1, text: "第一项", diff --git a/dist/widget.css b/dist/widget.css index 8c1f117a0..fbd6b229f 100644 --- a/dist/widget.css +++ b/dist/widget.css @@ -85,19 +85,19 @@ -moz-border-radius: 2px; border-radius: 2px; } -.bi-multidate-popup .bi-multidate-popup-label { +.bi-multidate-popup .multidate-popup-label { color: #3f8ce8; font-size: 14px; } -.bi-multidate-popup .bi-multidate-popup-item:active, -.bi-multidate-popup .bi-multidate-popup-item.active { +.bi-multidate-popup .multidate-popup-item:active, +.bi-multidate-popup .multidate-popup-item.active { background-color: #3f8ce8; color: #ffffff; -webkit-border-radius: 2px 2px 0 0; -moz-border-radius: 2px 2px 0 0; border-radius: 2px 2px 0 0; } -.bi-multidate-popup .bi-multidate-popup-button { +.bi-multidate-popup .multidate-popup-button { color: #3f8ce8; font-size: 14px; } diff --git a/dist/widget.js b/dist/widget.js index 5664880b9..1609f5480 100644 --- a/dist/widget.js +++ b/dist/widget.js @@ -2268,7 +2268,7 @@ BI.DateCombo = BI.inherit(BI.Widget, { _defaultConfig: function () { return BI.extend(BI.DateCombo.superclass._defaultConfig.apply(this, arguments), { baseCls: "bi-date-combo bi-border", - height: 30 + height: 25 }); }, _init: function () { @@ -2768,6 +2768,7 @@ BI.DateTimeCombo = BI.inherit(BI.Single, { _defaultConfig: function () { return BI.extend(BI.DateTimeCombo.superclass._defaultConfig.apply(this, arguments), { baseCls: 'bi-date-time-combo bi-border', + width: 200, height: 24 }); }, @@ -2883,50 +2884,6 @@ BI.DateTimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.DateTimeCombo.EVENT_CHANGE = "EVENT_CHANGE"; BI.DateTimeCombo.EVENT_BEFORE_POPUPVIEW = "BI.DateTimeCombo.EVENT_BEFORE_POPUPVIEW"; BI.shortcut('bi.date_time_combo', BI.DateTimeCombo); -/** - * Created by Urthur on 2017/7/14. - */ -BI.CustomDateTimeCombo = BI.inherit(BI.Widget, { - _defaultConfig: function () { - return BI.extend(BI.CustomDateTimeCombo.superclass._defaultConfig.apply(this, arguments), { - baseCls: "bi-custom-date-time-combo" - }) - }, - - _init: function () { - BI.CustomDateTimeCombo.superclass._init.apply(this, arguments); - var self = this; - this.DateTime = BI.createWidget({ - type: "bi.date_time_combo", - element: this - }); - this.DateTime.on(BI.DateTimeCombo.EVENT_CANCEL, function () { - self.fireEvent(BI.CustomDateTimeCombo.EVENT_CHANGE); - self.fireEvent(BI.CustomDateTimeCombo.EVENT_CANCEL); - }); - - this.DateTime.on(BI.DateTimeCombo.EVENT_CONFIRM, function () { - self.fireEvent(BI.CustomDateTimeCombo.EVENT_CHANGE); - self.fireEvent(BI.CustomDateTimeCombo.EVENT_CONFIRM); - }); - - this.DateTime.on(BI.DateTimeCombo.EVENT_CHANGE, function () { - self.fireEvent(BI.CustomDateTimeCombo.EVENT_CHANGE); - }); - }, - - getValue: function () { - return this.DateTime.getValue(); - }, - - setValue: function (v) { - this.DateTime.setValue(v); - } -}); -BI.CustomDateTimeCombo.EVENT_CHANGE = "EVENT_CHANGE"; -BI.CustomDateTimeCombo.EVENT_CANCEL = "EVENT_CANCEL"; -BI.CustomDateTimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; -BI.shortcut("bi.custom_date_time_combo", BI.CustomDateTimeCombo); /** * Created by Urthur on 2017/7/14. */ @@ -2944,7 +2901,7 @@ BI.DateTimePopup = BI.inherit(BI.Widget, { this.cancelButton = BI.createWidget({ type: 'bi.text_button', forceCenter: true, - cls: 'bi-multidate-popup-button bi-border-top bi-border-right', + cls: 'multidate-popup-button bi-border-top bi-border-right', shadow: true, text: BI.i18nText("BI-Basic_Cancel") }); @@ -2955,7 +2912,7 @@ BI.DateTimePopup = BI.inherit(BI.Widget, { this.okButton = BI.createWidget({ type: "bi.text_button", forceCenter: true, - cls: 'bi-multidate-popup-button bi-border-top', + cls: 'multidate-popup-button bi-border-top', shadow: true, text: BI.i18nText("BI-Basic_OK") }); @@ -2973,55 +2930,64 @@ BI.DateTimePopup = BI.inherit(BI.Widget, { }); this.dateSelect = BI.createWidget({ - type: "bi.horizontal", + type: "bi.vertical_adapt", cls: "bi-border-top", items: [{ type: "bi.label", text: BI.i18nText("BI-Basic_Time"), width: 45 - },{ + }, { type: "bi.date_time_select", max: 23, min: 0, width: 60, height: 30, + listeners: [{ + eventName: BI.DateTimeSelect.EVENT_CONFIRM, + action: function () { + self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE); + } + }], ref: function (_ref) { self.hour = _ref; - self.hour.on(BI.DateTimeSelect.EVENT_CONFIRM, function () { - self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE); - }); } - },{ + }, { type: "bi.label", text: ":", width: 15 - },{ + }, { type: "bi.date_time_select", max: 59, min: 0, width: 60, height: 30, + listeners: [{ + eventName: BI.DateTimeSelect.EVENT_CONFIRM, + action: function () { + self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE); + } + }], ref: function (_ref) { self.minute = _ref; - self.minute.on(BI.DateTimeSelect.EVENT_CONFIRM, function () { - self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE); - }); } - },{ + }, { type: "bi.label", text: ":", width: 15 - },{ + }, { type: "bi.date_time_select", max: 59, min: 0, width: 60, height: 30, + listeners: [{ + eventName: BI.DateTimeSelect.EVENT_CONFIRM, + action: function () { + self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE); + } + }], ref: function (_ref) { self.second = _ref; - self.second.on(BI.DateTimeSelect.EVENT_CONFIRM, function () { - self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE); - }); } }] }); @@ -3048,7 +3014,7 @@ BI.DateTimePopup = BI.inherit(BI.Widget, { }, { el: this.dateSelect, height: 50 - },{ + }, { el: this.dateButton, height: 30 }] @@ -4447,270 +4413,6 @@ BI.SmallTextEditor = BI.inherit(BI.TextEditor, { } }); BI.shortcut("bi.small_text_editor", BI.SmallTextEditor);/** - * - * Created by GUY on 2016/3/28. - * @class BI.ExcelTableCell - * @extends BI.Widget - */ -BI.ExcelTableCell = BI.inherit(BI.Widget, { - - _defaultConfig: function () { - return BI.extend(BI.ExcelTableCell.superclass._defaultConfig.apply(this, arguments), { - baseCls: "bi-excel-table-cell", - text: "" - }); - }, - - _init: function () { - BI.ExcelTableCell.superclass._init.apply(this, arguments); - var self = this, o = this.options; - - BI.createWidget({ - type: "bi.label", - element: this, - textAlign: "left", - whiteSpace: "normal", - height: this.options.height, - text: this.options.text, - value: this.options.value - }) - } -}); -BI.shortcut('bi.excel_table_cell', BI.ExcelTableCell);/** - * - * Created by GUY on 2016/3/28. - * @class BI.ExcelTableHeaderCell - * @extends BI.Widget - */ -BI.ExcelTableHeaderCell = BI.inherit(BI.Widget, { - - _defaultConfig: function () { - return BI.extend(BI.ExcelTableHeaderCell.superclass._defaultConfig.apply(this, arguments), { - baseCls: "bi-excel-table-header-cell bi-background", - text: "" - }); - }, - - _init: function () { - BI.ExcelTableHeaderCell.superclass._init.apply(this, arguments); - var self = this, o = this.options; - - BI.createWidget({ - type: "bi.label", - element: this, - textAlign: BI.HorizontalAlign.Center, - whiteSpace: "normal", - height: this.options.height, - text: this.options.text, - value: this.options.value - }) - } -}); -BI.shortcut('bi.excel_table_header_cell', BI.ExcelTableHeaderCell);/** - * Excel表格 - * - * Created by GUY on 2016/3/28. - * @class BI.ExcelTable - * @extends BI.Widget - */ -BI.ExcelTable = BI.inherit(BI.Widget, { - - _defaultConfig: function () { - return BI.extend(BI.ExcelTable.superclass._defaultConfig.apply(this, arguments), { - baseCls: "bi-excel-table", - el: { - type: "bi.responsive_table" - }, - - isNeedResize: false, - isResizeAdapt: true, - - isNeedMerge: false,//是否需要合并单元格 - mergeCols: [], //合并的单元格列号 - mergeRule: function (row1, row2) { //合并规则, 默认相等时合并 - return BI.isEqual(row1, row2); - }, - - columnSize: [], - headerRowSize: 37, - footerRowSize: 37, - rowSize: 37, - - regionColumnSize: false, - - items: [] //二维数组 - }); - }, - - _init: function () { - BI.ExcelTable.superclass._init.apply(this, arguments); - var self = this, o = this.options; - - var mergeCols = []; - BI.each(o.mergeCols, function (i, col) { - mergeCols.push(col + 1); - }); - this.table = BI.createWidget(o.el, { - type: "bi.table_view", - element: this, - - isNeedFreeze: false, - - isNeedMerge: o.isNeedMerge, - mergeCols: mergeCols, - mergeRule: o.mergeRule, - - columnSize: [""].concat(o.columnSize), - headerRowSize: 18, - rowSize: o.rowSize, - - regionColumnSize: o.regionColumnSize || [82, ""] - }); - - if (BI.isNotEmptyArray(o.items)) { - this.populate(o.items); - } - BI.nextTick(function () { - self.setRegionColumnSize(o.regionColumnSize || [82, ""]); - }); - }, - - resize: function () { - this.table.resize(); - }, - - setColumnSize: function (columnSize) { - this.table.setColumnSize(columnSize); - }, - - getColumnSize: function () { - return this.table.getColumnSize(); - }, - - getCalculateColumnSize: function () { - return this.table.getCalculateColumnSize(); - }, - - setHeaderColumnSize: function (columnSize) { - this.table.setHeaderColumnSize(columnSize); - }, - - setRegionColumnSize: function (columnSize) { - this.table.setRegionColumnSize(columnSize); - }, - - getRegionColumnSize: function () { - return this.table.getRegionColumnSize(); - }, - - getCalculateRegionColumnSize: function () { - return this.table.getCalculateRegionColumnSize(); - }, - - getCalculateRegionRowSize: function () { - return this.table.getCalculateRegionRowSize(); - }, - - getClientRegionColumnSize: function () { - return this.table.getClientRegionColumnSize(); - }, - - getScrollRegionColumnSize: function () { - return this.table.getScrollRegionColumnSize(); - }, - - getScrollRegionRowSize: function () { - return this.table.getScrollRegionRowSize(); - }, - - hasVerticalScroll: function () { - return this.table.hasVerticalScroll(); - }, - - setVerticalScroll: function (scrollTop) { - this.table.setVerticalScroll(scrollTop); - }, - - setLeftHorizontalScroll: function (scrollLeft) { - this.table.setLeftHorizontalScroll(scrollLeft); - }, - - setRightHorizontalScroll: function (scrollLeft) { - this.table.setRightHorizontalScroll(scrollLeft); - }, - - getVerticalScroll: function () { - return this.table.getVerticalScroll(); - }, - - getLeftHorizontalScroll: function () { - return this.table.getLeftHorizontalScroll(); - }, - - getRightHorizontalScroll: function () { - return this.table.getRightHorizontalScroll(); - }, - - getColumns: function () { - return this.table.getColumns(); - }, - - resizeHeader: function () { - this.table.resize(); - this.table._resizeHeader && this.table._resizeHeader(); - }, - - attr: function (key,value) { - var self = this; - if (BI.isObject(key)) { - BI.each(key, function (k, v) { - self.attr(k, v); - }); - return; - } - BI.ExcelTable.superclass.attr.apply(this, arguments); - switch (key){ - case "mergeCols": - var mCols = []; - BI.each(value, function (i, col) { - mCols.push(col + 1); - }); - value=mCols; - break; - } - this.table.attr.apply(this.table, arguments); - }, - - populate: function (rows) { - var self = this; - var columnSize = this.getColumnSize(); - var items = []; - var header = [{ - type: "bi.excel_table_header_cell" - }]; - if (BI.isNotNull(rows)) { - BI.each(columnSize, function (i, size) { - header.push({ - type: "bi.excel_table_header_cell", - text: BI.int2Abc(i + 1) - }); - }); - BI.each(rows, function (i, row) { - items.push([{ - type: "bi.excel_table_header_cell", - text: (i + 1) - }].concat(row)); - }); - } - this.table.populate(items, [header]); - }, - - destroy: function () { - this.table.destroy(); - BI.ExcelTable.superclass.destroy.apply(this, arguments); - } -}); -BI.shortcut('bi.excel_table', BI.ExcelTable);/** * 文件管理控件组 * * Created by GUY on 2015/12/11. diff --git a/src/case/colorchooser/colorchooser.popup.js b/src/case/colorchooser/colorchooser.popup.js index b369bd38b..3f3e6504a 100644 --- a/src/case/colorchooser/colorchooser.popup.js +++ b/src/case/colorchooser/colorchooser.popup.js @@ -10,6 +10,7 @@ BI.ColorChooserPopup = BI.inherit(BI.Widget, { _defaultConfig: function () { return BI.extend(BI.ColorChooserPopup.superclass._defaultConfig.apply(this, arguments), { baseCls: "bi-color-chooser-popup", + width: 200, height: 145 }) }, diff --git a/src/css/widget/multidate/multidate.popup.css b/src/css/widget/multidate/multidate.popup.css index 9c9dd72e5..ac4793ed0 100644 --- a/src/css/widget/multidate/multidate.popup.css +++ b/src/css/widget/multidate/multidate.popup.css @@ -1,16 +1,16 @@ -.bi-multidate-popup .bi-multidate-popup-label { +.bi-multidate-popup .multidate-popup-label { color: #3f8ce8; font-size: 14px; } -.bi-multidate-popup .bi-multidate-popup-item:active, -.bi-multidate-popup .bi-multidate-popup-item.active { +.bi-multidate-popup .multidate-popup-item:active, +.bi-multidate-popup .multidate-popup-item.active { background-color: #3f8ce8; color: #ffffff; -webkit-border-radius: 2px 2px 0 0; -moz-border-radius: 2px 2px 0 0; border-radius: 2px 2px 0 0; } -.bi-multidate-popup .bi-multidate-popup-button { +.bi-multidate-popup .multidate-popup-button { color: #3f8ce8; font-size: 14px; } diff --git a/src/less/base/single/editor/editor.less b/src/less/base/single/editor/editor.less index f4231a2de..18d6279b2 100644 --- a/src/less/base/single/editor/editor.less +++ b/src/less/base/single/editor/editor.less @@ -1,5 +1,4 @@ @import "../../../bibase"; .bi-editor{ - font-size: @font-size-12; } \ No newline at end of file diff --git a/src/less/base/single/editor/editor.shelter.less b/src/less/base/single/editor/editor.shelter.less index 5d373893c..3d909ad50 100644 --- a/src/less/base/single/editor/editor.shelter.less +++ b/src/less/base/single/editor/editor.shelter.less @@ -1,7 +1,4 @@ @import "../../../bibase"; -.bi-shelter-editor{ - .shelter-editor-text{ - font-size: @font-size-12; - } +.bi-shelter-editor { } \ No newline at end of file diff --git a/src/less/base/single/editor/editor.sign.less b/src/less/base/single/editor/editor.sign.less index 76e56d453..3d3964ab9 100644 --- a/src/less/base/single/editor/editor.sign.less +++ b/src/less/base/single/editor/editor.sign.less @@ -1,7 +1,4 @@ @import "../../../bibase"; -.bi-sign-editor{ - .sign-editor-text{ - font-size: @font-size-12; - } +.bi-sign-editor { } \ No newline at end of file diff --git a/src/less/widget/multidate/multidate.popup.less b/src/less/widget/multidate/multidate.popup.less index aa4b4758a..60d8ad227 100644 --- a/src/less/widget/multidate/multidate.popup.less +++ b/src/less/widget/multidate/multidate.popup.less @@ -2,13 +2,13 @@ .bi-multidate-popup{ - & .bi-multidate-popup-label { + & .multidate-popup-label { color:@color-bi-text-highlight; font-size:@font-size-14; } - & .bi-multidate-popup-tab { + & .multidate-popup-tab { } - & .bi-multidate-popup-item{ + & .multidate-popup-item{ &:active,&.active{ background-color: @color-bi-text-highlight; color: @color-bi-background-default; @@ -16,7 +16,7 @@ } } - & .bi-multidate-popup-button{ + & .multidate-popup-button{ color:@color-bi-text-highlight; font-size:@font-size-14; } diff --git a/src/widget/date/combo.date.js b/src/widget/date/combo.date.js index 615c29871..f14a8fcfa 100644 --- a/src/widget/date/combo.date.js +++ b/src/widget/date/combo.date.js @@ -9,7 +9,7 @@ BI.DateCombo = BI.inherit(BI.Widget, { _defaultConfig: function () { return BI.extend(BI.DateCombo.superclass._defaultConfig.apply(this, arguments), { baseCls: "bi-date-combo bi-border", - height: 30 + height: 25 }); }, _init: function () { diff --git a/src/widget/datetime/datetime.combo.js b/src/widget/datetime/datetime.combo.js index 1162ff854..9a9db3ae1 100644 --- a/src/widget/datetime/datetime.combo.js +++ b/src/widget/datetime/datetime.combo.js @@ -13,6 +13,7 @@ BI.DateTimeCombo = BI.inherit(BI.Single, { _defaultConfig: function () { return BI.extend(BI.DateTimeCombo.superclass._defaultConfig.apply(this, arguments), { baseCls: 'bi-date-time-combo bi-border', + width: 200, height: 24 }); }, diff --git a/src/widget/datetime/datetime.js b/src/widget/datetime/datetime.js deleted file mode 100644 index 2c2d5a403..000000000 --- a/src/widget/datetime/datetime.js +++ /dev/null @@ -1,44 +0,0 @@ -/** - * Created by Urthur on 2017/7/14. - */ -BI.CustomDateTimeCombo = BI.inherit(BI.Widget, { - _defaultConfig: function () { - return BI.extend(BI.CustomDateTimeCombo.superclass._defaultConfig.apply(this, arguments), { - baseCls: "bi-custom-date-time-combo" - }) - }, - - _init: function () { - BI.CustomDateTimeCombo.superclass._init.apply(this, arguments); - var self = this; - this.DateTime = BI.createWidget({ - type: "bi.date_time_combo", - element: this - }); - this.DateTime.on(BI.DateTimeCombo.EVENT_CANCEL, function () { - self.fireEvent(BI.CustomDateTimeCombo.EVENT_CHANGE); - self.fireEvent(BI.CustomDateTimeCombo.EVENT_CANCEL); - }); - - this.DateTime.on(BI.DateTimeCombo.EVENT_CONFIRM, function () { - self.fireEvent(BI.CustomDateTimeCombo.EVENT_CHANGE); - self.fireEvent(BI.CustomDateTimeCombo.EVENT_CONFIRM); - }); - - this.DateTime.on(BI.DateTimeCombo.EVENT_CHANGE, function () { - self.fireEvent(BI.CustomDateTimeCombo.EVENT_CHANGE); - }); - }, - - getValue: function () { - return this.DateTime.getValue(); - }, - - setValue: function (v) { - this.DateTime.setValue(v); - } -}); -BI.CustomDateTimeCombo.EVENT_CHANGE = "EVENT_CHANGE"; -BI.CustomDateTimeCombo.EVENT_CANCEL = "EVENT_CANCEL"; -BI.CustomDateTimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; -BI.shortcut("bi.custom_date_time_combo", BI.CustomDateTimeCombo); diff --git a/src/widget/datetime/datetime.popup.js b/src/widget/datetime/datetime.popup.js index 4e47b5589..b6241721c 100644 --- a/src/widget/datetime/datetime.popup.js +++ b/src/widget/datetime/datetime.popup.js @@ -15,7 +15,7 @@ BI.DateTimePopup = BI.inherit(BI.Widget, { this.cancelButton = BI.createWidget({ type: 'bi.text_button', forceCenter: true, - cls: 'bi-multidate-popup-button bi-border-top bi-border-right', + cls: 'multidate-popup-button bi-border-top bi-border-right', shadow: true, text: BI.i18nText("BI-Basic_Cancel") }); @@ -26,7 +26,7 @@ BI.DateTimePopup = BI.inherit(BI.Widget, { this.okButton = BI.createWidget({ type: "bi.text_button", forceCenter: true, - cls: 'bi-multidate-popup-button bi-border-top', + cls: 'multidate-popup-button bi-border-top', shadow: true, text: BI.i18nText("BI-Basic_OK") }); @@ -44,55 +44,64 @@ BI.DateTimePopup = BI.inherit(BI.Widget, { }); this.dateSelect = BI.createWidget({ - type: "bi.horizontal", + type: "bi.vertical_adapt", cls: "bi-border-top", items: [{ type: "bi.label", text: BI.i18nText("BI-Basic_Time"), width: 45 - },{ + }, { type: "bi.date_time_select", max: 23, min: 0, width: 60, height: 30, + listeners: [{ + eventName: BI.DateTimeSelect.EVENT_CONFIRM, + action: function () { + self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE); + } + }], ref: function (_ref) { self.hour = _ref; - self.hour.on(BI.DateTimeSelect.EVENT_CONFIRM, function () { - self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE); - }); } - },{ + }, { type: "bi.label", text: ":", width: 15 - },{ + }, { type: "bi.date_time_select", max: 59, min: 0, width: 60, height: 30, + listeners: [{ + eventName: BI.DateTimeSelect.EVENT_CONFIRM, + action: function () { + self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE); + } + }], ref: function (_ref) { self.minute = _ref; - self.minute.on(BI.DateTimeSelect.EVENT_CONFIRM, function () { - self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE); - }); } - },{ + }, { type: "bi.label", text: ":", width: 15 - },{ + }, { type: "bi.date_time_select", max: 59, min: 0, width: 60, height: 30, + listeners: [{ + eventName: BI.DateTimeSelect.EVENT_CONFIRM, + action: function () { + self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE); + } + }], ref: function (_ref) { self.second = _ref; - self.second.on(BI.DateTimeSelect.EVENT_CONFIRM, function () { - self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE); - }); } }] }); @@ -119,7 +128,7 @@ BI.DateTimePopup = BI.inherit(BI.Widget, { }, { el: this.dateSelect, height: 50 - },{ + }, { el: this.dateButton, height: 30 }] diff --git a/src/widget/exceltable/exceltable.cell.js b/src/widget/exceltable/exceltable.cell.js deleted file mode 100644 index 419ec5e7c..000000000 --- a/src/widget/exceltable/exceltable.cell.js +++ /dev/null @@ -1,31 +0,0 @@ -/** - * - * Created by GUY on 2016/3/28. - * @class BI.ExcelTableCell - * @extends BI.Widget - */ -BI.ExcelTableCell = BI.inherit(BI.Widget, { - - _defaultConfig: function () { - return BI.extend(BI.ExcelTableCell.superclass._defaultConfig.apply(this, arguments), { - baseCls: "bi-excel-table-cell", - text: "" - }); - }, - - _init: function () { - BI.ExcelTableCell.superclass._init.apply(this, arguments); - var self = this, o = this.options; - - BI.createWidget({ - type: "bi.label", - element: this, - textAlign: "left", - whiteSpace: "normal", - height: this.options.height, - text: this.options.text, - value: this.options.value - }) - } -}); -BI.shortcut('bi.excel_table_cell', BI.ExcelTableCell); \ No newline at end of file diff --git a/src/widget/exceltable/exceltable.header.cell.js b/src/widget/exceltable/exceltable.header.cell.js deleted file mode 100644 index b5d318210..000000000 --- a/src/widget/exceltable/exceltable.header.cell.js +++ /dev/null @@ -1,31 +0,0 @@ -/** - * - * Created by GUY on 2016/3/28. - * @class BI.ExcelTableHeaderCell - * @extends BI.Widget - */ -BI.ExcelTableHeaderCell = BI.inherit(BI.Widget, { - - _defaultConfig: function () { - return BI.extend(BI.ExcelTableHeaderCell.superclass._defaultConfig.apply(this, arguments), { - baseCls: "bi-excel-table-header-cell bi-background", - text: "" - }); - }, - - _init: function () { - BI.ExcelTableHeaderCell.superclass._init.apply(this, arguments); - var self = this, o = this.options; - - BI.createWidget({ - type: "bi.label", - element: this, - textAlign: BI.HorizontalAlign.Center, - whiteSpace: "normal", - height: this.options.height, - text: this.options.text, - value: this.options.value - }) - } -}); -BI.shortcut('bi.excel_table_header_cell', BI.ExcelTableHeaderCell); \ No newline at end of file diff --git a/src/widget/exceltable/exceltable.js b/src/widget/exceltable/exceltable.js deleted file mode 100644 index 91d034a31..000000000 --- a/src/widget/exceltable/exceltable.js +++ /dev/null @@ -1,205 +0,0 @@ -/** - * Excel表格 - * - * Created by GUY on 2016/3/28. - * @class BI.ExcelTable - * @extends BI.Widget - */ -BI.ExcelTable = BI.inherit(BI.Widget, { - - _defaultConfig: function () { - return BI.extend(BI.ExcelTable.superclass._defaultConfig.apply(this, arguments), { - baseCls: "bi-excel-table", - el: { - type: "bi.responsive_table" - }, - - isNeedResize: false, - isResizeAdapt: true, - - isNeedMerge: false,//是否需要合并单元格 - mergeCols: [], //合并的单元格列号 - mergeRule: function (row1, row2) { //合并规则, 默认相等时合并 - return BI.isEqual(row1, row2); - }, - - columnSize: [], - headerRowSize: 37, - footerRowSize: 37, - rowSize: 37, - - regionColumnSize: false, - - items: [] //二维数组 - }); - }, - - _init: function () { - BI.ExcelTable.superclass._init.apply(this, arguments); - var self = this, o = this.options; - - var mergeCols = []; - BI.each(o.mergeCols, function (i, col) { - mergeCols.push(col + 1); - }); - this.table = BI.createWidget(o.el, { - type: "bi.table_view", - element: this, - - isNeedFreeze: false, - - isNeedMerge: o.isNeedMerge, - mergeCols: mergeCols, - mergeRule: o.mergeRule, - - columnSize: [""].concat(o.columnSize), - headerRowSize: 18, - rowSize: o.rowSize, - - regionColumnSize: o.regionColumnSize || [82, ""] - }); - - if (BI.isNotEmptyArray(o.items)) { - this.populate(o.items); - } - BI.nextTick(function () { - self.setRegionColumnSize(o.regionColumnSize || [82, ""]); - }); - }, - - resize: function () { - this.table.resize(); - }, - - setColumnSize: function (columnSize) { - this.table.setColumnSize(columnSize); - }, - - getColumnSize: function () { - return this.table.getColumnSize(); - }, - - getCalculateColumnSize: function () { - return this.table.getCalculateColumnSize(); - }, - - setHeaderColumnSize: function (columnSize) { - this.table.setHeaderColumnSize(columnSize); - }, - - setRegionColumnSize: function (columnSize) { - this.table.setRegionColumnSize(columnSize); - }, - - getRegionColumnSize: function () { - return this.table.getRegionColumnSize(); - }, - - getCalculateRegionColumnSize: function () { - return this.table.getCalculateRegionColumnSize(); - }, - - getCalculateRegionRowSize: function () { - return this.table.getCalculateRegionRowSize(); - }, - - getClientRegionColumnSize: function () { - return this.table.getClientRegionColumnSize(); - }, - - getScrollRegionColumnSize: function () { - return this.table.getScrollRegionColumnSize(); - }, - - getScrollRegionRowSize: function () { - return this.table.getScrollRegionRowSize(); - }, - - hasVerticalScroll: function () { - return this.table.hasVerticalScroll(); - }, - - setVerticalScroll: function (scrollTop) { - this.table.setVerticalScroll(scrollTop); - }, - - setLeftHorizontalScroll: function (scrollLeft) { - this.table.setLeftHorizontalScroll(scrollLeft); - }, - - setRightHorizontalScroll: function (scrollLeft) { - this.table.setRightHorizontalScroll(scrollLeft); - }, - - getVerticalScroll: function () { - return this.table.getVerticalScroll(); - }, - - getLeftHorizontalScroll: function () { - return this.table.getLeftHorizontalScroll(); - }, - - getRightHorizontalScroll: function () { - return this.table.getRightHorizontalScroll(); - }, - - getColumns: function () { - return this.table.getColumns(); - }, - - resizeHeader: function () { - this.table.resize(); - this.table._resizeHeader && this.table._resizeHeader(); - }, - - attr: function (key,value) { - var self = this; - if (BI.isObject(key)) { - BI.each(key, function (k, v) { - self.attr(k, v); - }); - return; - } - BI.ExcelTable.superclass.attr.apply(this, arguments); - switch (key){ - case "mergeCols": - var mCols = []; - BI.each(value, function (i, col) { - mCols.push(col + 1); - }); - value=mCols; - break; - } - this.table.attr.apply(this.table, arguments); - }, - - populate: function (rows) { - var self = this; - var columnSize = this.getColumnSize(); - var items = []; - var header = [{ - type: "bi.excel_table_header_cell" - }]; - if (BI.isNotNull(rows)) { - BI.each(columnSize, function (i, size) { - header.push({ - type: "bi.excel_table_header_cell", - text: BI.int2Abc(i + 1) - }); - }); - BI.each(rows, function (i, row) { - items.push([{ - type: "bi.excel_table_header_cell", - text: (i + 1) - }].concat(row)); - }); - } - this.table.populate(items, [header]); - }, - - destroy: function () { - this.table.destroy(); - BI.ExcelTable.superclass.destroy.apply(this, arguments); - } -}); -BI.shortcut('bi.excel_table', BI.ExcelTable); \ No newline at end of file