lambo-design-bi 0.0.219 → 0.0.220

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lambo-design-bi",
3
- "version": "0.0.219",
3
+ "version": "0.0.220",
4
4
  "description": "Vue2 BI 数据可视化组件库",
5
5
  "main": "index.js",
6
6
  "author": "finch",
@@ -74,9 +74,9 @@ export function getStatusText(status) {
74
74
  export function getAuditResultClass(auditResult) {
75
75
  const classMap = {
76
76
  '30': 'pass',
77
- '40': 'reject',
78
- '50': 'transfer',
79
- '60': 'return'
77
+ '40': 'return',
78
+ '50': 'reject',
79
+ '60': 'transfer',
80
80
  }
81
81
  return classMap[auditResult] || 'default'
82
82
  }
@@ -89,9 +89,9 @@ export function getAuditResultClass(auditResult) {
89
89
  export function getAuditResultText(auditResult) {
90
90
  const textMap = {
91
91
  '30': '同意',
92
- '40': '驳回',
93
- '50': '转办',
94
- '60': '退回'
92
+ '40': '退回',
93
+ '50': '驳回',
94
+ '60': '转办'
95
95
  }
96
96
  return textMap[auditResult] || '审批'
97
97
  }
@@ -104,9 +104,9 @@ export function getAuditResultText(auditResult) {
104
104
  export function getAuditIcon(auditResult) {
105
105
  const iconMap = {
106
106
  '30': 'md-checkmark',
107
- '40': 'md-close',
108
- '50': 'md-redo',
109
- '60': 'md-undo'
107
+ '40': 'md-undo',
108
+ '50': 'md-close',
109
+ '60': 'md-redo'
110
110
  }
111
111
  return iconMap[auditResult] || 'md-radio-button-off'
112
112
  }