Newer
Older
Nanping_sponge_JXKH / src / utils / map.js
@liyingjing liyingjing on 25 Oct 2023 309 bytes 海绵绩效考个
export const optTextMap = new Map([
  ['add', '新增'],
  ['edit', '编辑'],
  ['view', '查看']
])

export const statusMap = new Map([
  ['0', { text: '停用', type: 'danger' }],
  ['1', { text: '启用', type: 'success' }]
])

export const standardMap = new Map([
  ['1', '达标'],
  ['2', '评级']
])