2021-01-14 09:21:16 +08:00
|
|
|
|
---
|
2021-06-03 22:09:30 +08:00
|
|
|
|
title: InputQuarter 季度
|
2021-01-14 09:21:16 +08:00
|
|
|
|
description:
|
|
|
|
|
type: 0
|
|
|
|
|
group: null
|
2021-06-03 22:09:30 +08:00
|
|
|
|
menuName: InputQuarter 季度
|
2021-01-14 09:21:16 +08:00
|
|
|
|
icon:
|
|
|
|
|
order: 62
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## 基本用法
|
|
|
|
|
|
2021-01-15 12:21:15 +08:00
|
|
|
|
```schema: scope="body"
|
2021-01-14 09:21:16 +08:00
|
|
|
|
{
|
|
|
|
|
"type": "form",
|
2021-08-09 18:05:01 +08:00
|
|
|
|
"api": "/api/mock2/form/saveForm",
|
2021-06-03 22:09:30 +08:00
|
|
|
|
"body": [
|
2021-01-14 09:21:16 +08:00
|
|
|
|
{
|
2021-06-03 22:09:30 +08:00
|
|
|
|
"type": "input-quarter",
|
2021-01-14 09:21:16 +08:00
|
|
|
|
"name": "quarter",
|
|
|
|
|
"label": "季度"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
```
|
|
|
|
|
|
2021-06-17 11:14:25 +08:00
|
|
|
|
更多用法和配置可以参考 [InputDate 日期](input-date),quarter 就是 date 的特定配置,所以 date 的所有配置都能使用。
|
2022-03-17 21:25:12 +08:00
|
|
|
|
|
|
|
|
|
## 事件表
|
|
|
|
|
|
|
|
|
|
| 事件名称 | 事件参数 | 说明 |
|
|
|
|
|
|-------------------|------------------------------------------------|----------------------|
|
|
|
|
|
| focus | - | 获得焦点(非内嵌模式) |
|
|
|
|
|
| blur | - | 失去焦点(非内嵌模式) |
|
|
|
|
|
|
|
|
|
|
## 动作表
|
|
|
|
|
|
|
|
|
|
| 动作名称 | 动作配置 | 说明 |
|
|
|
|
|
|-------------------|-------------------------|------------------------|
|
|
|
|
|
| clear | - | 清空 |
|
|
|
|
|
| reset | `resetValue: Date` | 值重置 |
|