Newer
Older
Nanping_sponge_GCYPG / src / views / preassess / evaluation / map.js
@liyingjing liyingjing on 25 Oct 2023 539 bytes 工程预评估
export const standardMap = new Map([
  [0, { text: '不达标', type: 'danger' }],
  [1, { text: '达标', type: 'success' }]
])

export const levelMap = new Map([
  [1, { text: '一星级', type: 'warning' }],
  [2, { text: '二星级', type: 'warning' }],
  [3, { text: '三星级', type: 'warning' }],
  [0, { text: '不予评分', type: 'danger' }],
  [-1, { text: '不达标', type: 'danger' }]
])

export const statusMap = new Map([
  ['0', { text: '评估中', type: 'warning' }],
  ['1', { text: '已提交', type: 'success' }]
])