Showing
2 changed files
with
0 additions
and
25 deletions
| ... | ... | @@ -183,18 +183,6 @@ export default { |
| 183 | 183 | } |
| 184 | 184 | }) |
| 185 | 185 | }, |
| 186 | - getCategoryClass(categoryName) { | |
| 187 | - if (!categoryName) return '' | |
| 188 | - if (categoryName.includes('A') || categoryName.includes('a')) { | |
| 189 | - return 'category_A' | |
| 190 | - } else if (categoryName.includes('B') || categoryName.includes('b')) { | |
| 191 | - return 'category_B' | |
| 192 | - } else if (categoryName.includes('C') || categoryName.includes('c')) { | |
| 193 | - return 'category_C' | |
| 194 | - } else if (categoryName.includes('D') || categoryName.includes('d')) { | |
| 195 | - return 'category_D' | |
| 196 | - } | |
| 197 | - }, | |
| 198 | 186 | loadAllDicData() { |
| 199 | 187 | const dicCodes = ['AUDIT_STATUS', 'SUPPLIER', 'APPLICABLE_STANDARD'] |
| 200 | 188 | return getDicByCodes(dicCodes).then(results => { | ... | ... |
| ... | ... | @@ -100,19 +100,6 @@ export default { |
| 100 | 100 | this.form = {} |
| 101 | 101 | } |
| 102 | 102 | }, |
| 103 | - | |
| 104 | - getCategoryClass(categoryName) { | |
| 105 | - if (!categoryName) return '' | |
| 106 | - if (categoryName.includes('A') || categoryName.includes('a')) { | |
| 107 | - return 'category_A' | |
| 108 | - } else if (categoryName.includes('B') || categoryName.includes('b')) { | |
| 109 | - return 'category_B' | |
| 110 | - } else if (categoryName.includes('C') || categoryName.includes('c')) { | |
| 111 | - return 'category_C' | |
| 112 | - } else if (categoryName.includes('D') || categoryName.includes('d')) { | |
| 113 | - return 'category_D' | |
| 114 | - } | |
| 115 | - }, | |
| 116 | 103 | loadAllDicData() { |
| 117 | 104 | const dicCodes = ['SUPPLIER', 'APPLICABLE_STANDARD'] |
| 118 | 105 | return getDicByCodes(dicCodes).then(results => { | ... | ... |