erp-el-element/CommonInput/TimingModule.md

22 lines
936 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## TimingModule 时间选择器
> **组件名TimingModule**
> 代码块: `TimingModule`
> 关联组件:`el-element`
> **子组件:传参**
> data组件接收的参数默认为[] 其中type等于el-date-picker的时候默认到该组件
> lable: "分类名称",----------------------------输入框名称(必填)
> type: "el-date-picker",------------------------输入框类型el-date-picker必填
> TimeType:daterange(daterange为时间段date为当前时间)
> enName: "time",------------------------返回值与model双向绑定必填
> show: true,-------------------------------是否展示(必填)
> size:组件大小默认值small
> default:默认参数
> **子组件:方法**
> getDateTime子组件抛出一个getDateTime(a,b)接受两个参数a为下拉选择器的值b为时间值
> **注意事项**
> 循环多个图表时this.uuid必须为唯一值