From a479a4ef6872c38b53203c911fa24ff0796d0c84 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Fri, 1 Sep 2017 09:33:35 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E9=94=9A=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uidoc/detailed/date/custom_date_time.md | 22 +++------------------- uidoc/detailed/date/date_combo.md | 2 -- uidoc/detailed/date/year_month_combo.md | 4 ++-- uidoc/detailed/date/year_quarter_combo.md | 4 ++-- 4 files changed, 7 insertions(+), 25 deletions(-) diff --git a/uidoc/detailed/date/custom_date_time.md b/uidoc/detailed/date/custom_date_time.md index dd4044dcd1..8630f7895e 100644 --- a/uidoc/detailed/date/custom_date_time.md +++ b/uidoc/detailed/date/custom_date_time.md @@ -1,30 +1,15 @@ # custom_date_time -## 带方向的路径选择 +## 日期选择下拉框(可以选择时分秒) {% method %} -[source](https://jsfiddle.net/fineui/04h6gsps/) +[source](https://jsfiddle.net/fineui/2d9dcxov/) {% common %} ```javascript BI.createWidget({ - type: "bi.direction_path_chooser", + type: "bi.custom_date_time_combo", element: "#wrapper", - items: [[{ - "region": "合同信息", - "text": "客户ID", - "value": "defa1f7ba8b2684a客户ID" - }, { - "region": "客户信息", - "text": "主键", - "value": "1f4711c201ef1842", - "direction": -1 - }, { - "region": "合同的回款信息", - "text": "合同ID", - "value": "e351e9f1d8147947合同ID", - "direction": -1 - }]] }); ``` @@ -34,5 +19,4 @@ BI.createWidget({ | 参数 | 说明 | 类型 | 可选值 | 默认值 | :------ |:------------- | :-----| :----|:----| -| items |二维数组,每个元素代表一条路径,相较于[path_chooser](path_chooser.md)多一个属性direction来指定方向 | array| | | --- --- diff --git a/uidoc/detailed/date/date_combo.md b/uidoc/detailed/date/date_combo.md index eafe8069c9..8ec2eef541 100644 --- a/uidoc/detailed/date/date_combo.md +++ b/uidoc/detailed/date/date_combo.md @@ -20,6 +20,4 @@ BI.createWidget({ | 参数 | 说明 | 类型 | 可选值 | 默认值 | :------ |:------------- | :-----| :----|:----| -| yearBehaviors |自定义年份选择的行为(详见[button_group](../../base/abstract/button_group.md)) | object| | | -| monthBehaviors |自定义年份选择的行为(详见[button_group](../../base/abstract/button_group.md)) | object| | | --- --- \ No newline at end of file diff --git a/uidoc/detailed/date/year_month_combo.md b/uidoc/detailed/date/year_month_combo.md index bd8319e178..49a7b820a1 100644 --- a/uidoc/detailed/date/year_month_combo.md +++ b/uidoc/detailed/date/year_month_combo.md @@ -19,6 +19,6 @@ BI.createWidget({ | 参数 | 说明 | 类型 | 可选值 | 默认值 | :------ |:------------- | :-----| :----|:----| -| yearBehaviors |自定义年份选择的行为(详见[button_group](../../base/abstract/button_group.md)) | object| | | -| monthBehaviors |自定义年份选择的行为(详见[button_group](../../base/abstract/button_group.md)) | object| | | +| yearBehaviors |自定义年份选择的行为(详见[button_group](../../core/abstract/button_group.md)) | object| | | +| monthBehaviors |自定义年份选择的行为(详见[button_group](../../core/abstract/button_group.md)) | object| | | --- --- \ No newline at end of file diff --git a/uidoc/detailed/date/year_quarter_combo.md b/uidoc/detailed/date/year_quarter_combo.md index 76f41d0b14..3a1bd4722c 100644 --- a/uidoc/detailed/date/year_quarter_combo.md +++ b/uidoc/detailed/date/year_quarter_combo.md @@ -19,6 +19,6 @@ BI.createWidget({ | 参数 | 说明 | 类型 | 可选值 | 默认值 | :------ |:------------- | :-----| :----|:----| -| yearBehaviors |自定义年份选择的行为(详见[button_group](../../base/abstract/button_group.md)) | object| | | -| monthBehaviors |自定义年份选择的行为(详见[button_group](../../base/abstract/button_group.md)) | object| | | +| yearBehaviors |自定义年份选择的行为(详见[button_group](../../core/abstract/button_group.md)) | object| | | +| monthBehaviors |自定义年份选择的行为(详见[button_group](../../core/abstract/button_group.md)) | object| | | --- --- \ No newline at end of file