Newer
Older
Nanping_sponge_GCYPG / 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', '评级']
])