fix:修复投诉与建议图片多文件上传bug
This commit is contained in:
+16
-10
@@ -104,17 +104,23 @@
|
||||
},
|
||||
status: ''
|
||||
},
|
||||
{
|
||||
get text() {
|
||||
return $t('feedback.pending')
|
||||
},
|
||||
status: 'pending'
|
||||
},
|
||||
{
|
||||
get text() {
|
||||
return $t('feedback.processing')
|
||||
},
|
||||
status: 'processing'
|
||||
status: 'in_progress'
|
||||
},
|
||||
{
|
||||
get text() {
|
||||
return $t('feedback.completed')
|
||||
},
|
||||
status: 'completed'
|
||||
status: 'resolved'
|
||||
}
|
||||
]);
|
||||
|
||||
@@ -145,8 +151,8 @@
|
||||
loading.value = true;
|
||||
const status = statusTabs[currentTab.value].status;
|
||||
const params = {
|
||||
page: currentPage.value,
|
||||
size: pageSize.value
|
||||
pageNum: currentPage.value,
|
||||
pageSize: pageSize.value
|
||||
};
|
||||
if (status) {
|
||||
params.status = status;
|
||||
@@ -205,9 +211,9 @@
|
||||
// 获取状态文本
|
||||
const getStatusText = (status) => {
|
||||
const statusMap = {
|
||||
'processing': $t('feedback.processing'),
|
||||
'completed': $t('feedback.completed'),
|
||||
'pending': $t('feedback.pending')
|
||||
'pending': $t('feedback.pending'),
|
||||
'in_progress': $t('feedback.processing'),
|
||||
'resolved': $t('feedback.completed')
|
||||
};
|
||||
return statusMap[status] || $t('feedback.pending');
|
||||
};
|
||||
@@ -215,9 +221,9 @@
|
||||
// 获取状态样式类
|
||||
const getStatusClass = (status) => {
|
||||
const classMap = {
|
||||
'processing': 'chip-processing',
|
||||
'completed': 'chip-completed',
|
||||
'pending': 'chip-pending'
|
||||
'pending': 'chip-pending',
|
||||
'in_progress': 'chip-processing',
|
||||
'resolved': 'chip-completed'
|
||||
};
|
||||
return classMap[status] || 'chip-pending';
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user