车间组件完成情况

This commit is contained in:
bryan sun
2019-10-29 18:37:05 +08:00
parent 8556139561
commit deee466a5e
7 changed files with 251 additions and 7 deletions

View File

@@ -52,6 +52,17 @@ export function getNowTime() {
const time = date.getFullYear() + '-' + month + '-' + day + ' ' + hour + ':' + minute + ':' + second
return time
}
// 获取当前0晨
export function getNowTime1() {
const date = new Date()
const month = zeroFill(date.getMonth() + 1)
const day = zeroFill(date.getDate())
const hour = '00'
const minute = '00'
const second = '00'
const time = date.getFullYear() + '-' + month + '-' + day + ' ' + hour + ':' + minute + ':' + second
return time
}
// 判断类型
export function type(target) {
const ret = typeof (target)