| | |
| | | import { NewEncodingRules } from '@/api/xtsz' |
| | | import { NewEncodingRules } from '@/api/systemSettings' |
| | | |
| | | // 全局主要颜色 |
| | | export function getGlobalColor() { |
| | |
| | | // return `${y}-${m}-${d} ${hh}:${mm}:${ss} ${week}` |
| | | return `${y}-${m}-${d} ${hh}:${mm}:${ss}` |
| | | } |
| | | // 时间处理函数 返回 时分 |
| | | export function handleDatetime3(value) { |
| | | const dt = new Date(value) |
| | | const hh = (dt.getHours() + '').padStart(2, '0') |
| | | const mm = (dt.getMinutes() + '').padStart(2, '0') |
| | | return `${hh}:${mm}` |
| | | } |
| | | |
| | | // 获取规则生成的编码 |
| | | export async function getNewEncodingRules(encode) { |