Newer
Older
KaiFengPC / src / views / spongePerformance / ManagingPerformance / projectCompletionStatus / rationality / map.js
@zhangdeliang zhangdeliang on 23 May 656 bytes 初始化项目
export const standardMap = new Map([
  [0, { text: '否', type: 'danger' }],
  [1, { text: '是', type: 'success' }]
])

export const standardTextMap = new Map([
  [0, { text: '不达标', type: 'danger' }],
  [1, { text: '达标', type: 'success' }]
])

export const verticalRationalityMap = new Map([
  [-1, { text: '存在不合理', type: 'danger' }],
  [0, { text: '合理', type: 'success' }],
  [1, { text: '不合理', type: 'danger' }]
])

export const levelMap = new Map([
  ['优', { text: '优', type: 'success' }],
  ['良', { text: '良', type: '' }],
  ['中', { text: '中', type: 'warning' }],
  ['差', { text: '差', type: 'danger' }]
])