refactor: 移除无用的 getStatusType 方法
This commit is contained in:
@@ -190,15 +190,6 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getStatusType(status) {
|
|
||||||
const statusMap = {
|
|
||||||
'0': 'primary', // 进行中
|
|
||||||
'1': 'success', // 已完成
|
|
||||||
'2': 'info' // 已归档
|
|
||||||
}
|
|
||||||
return statusMap[status] || 'info'
|
|
||||||
},
|
|
||||||
|
|
||||||
getStatusColor(status) {
|
getStatusColor(status) {
|
||||||
const colorMap = {
|
const colorMap = {
|
||||||
'0': '#1890ff', // 进行中 - 蓝色
|
'0': '#1890ff', // 进行中 - 蓝色
|
||||||
|
|||||||
Reference in New Issue
Block a user