1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
| // 深度克隆
| import deepClone from './function/deepClone'
|
| // 对象合并
| import deepMerge from './function/deepMerge'
|
| // 时间格式化
| import timeFormat from './function/timeFormat'
|
| // 时间戳格式化,返回多久之前
| import timeFrom from './function/timeFrom'
|
| // 规则检验
| import test from './function/test'
|
| // 防抖
| import debounce from './function/debounce'
|
| // 节流
| import throttle from './function/throttle.js'
|
| //隐藏部分手机号
| import hidePhone from './function/hidePhone'
|
| //,号分割字符串
| import splitString from './function/splitString'
|
| //数字添加千分位
| import toThousands from './function/toThousands'
|
| //计算总页数
| import pageTotal from './function/pageTotal'
|
| //文字转换为拼音
| import convertToPinyin from './function/convertToPinyin'
|
| //替换上传文件地址头部
| import getStationSrc from './function/getStationSrc'
|
| //将秒转化成时:分:秒
| import formatSeconds from './function/formatSeconds'
|
| //获取柱状图的重要的数据
| import getBarNum from './function/getBarNum'
|
| //计算续航时长方法 顶部组端
| import Timeout from './function/Timeout'
|
| //计算续航时长方法 顶部组端
| import sethoubeiTime from './function/sethoubeiTime'
|
| //验证设备类型
| import regEquipType from './function/regEquipType'
|
| //获取剩余容量/实际容量
| import GetMonomerCap from './function/GetMonomerCap'
|
| //获取放电小时率
| import GetHourRate from './function/GetHourRate'
|
| // 获取Qt,Qg,Qh和电池性能的值
| import getQgth from './function/getQgth'
|
| // 获取电导的算法
| import getConduct from './function/getConduct'
|
| // 获取数据集的特殊点
| import getSpecialPointIndex from './function/getSpecialPointIndex'
|
|
| export default {
| deepClone,
| deepMerge,
| timeFormat,
| timeFrom,
| debounce,
| throttle,
| test,
| hidePhone,
| splitString,
| toThousands,
| pageTotal,
| convertToPinyin,
| getStationSrc,
| formatSeconds,
| getBarNum,
| Timeout,
| sethoubeiTime,
| regEquipType,
| GetMonomerCap,
| GetHourRate,
| getQgth,
| getConduct,
| getSpecialPointIndex,
| }
|
|