diff --git a/klp-ui/src/views/lines/acid/components/shutdown-statistic.vue b/klp-ui/src/views/lines/acid/components/shutdown-statistic.vue
index c38aa1c0..2c14fc73 100644
--- a/klp-ui/src/views/lines/acid/components/shutdown-statistic.vue
+++ b/klp-ui/src/views/lines/acid/components/shutdown-statistic.vue
@@ -87,7 +87,7 @@
-
全部
待审批
- 已审批
+ 已同意
已驳回
已撤回
@@ -320,10 +320,12 @@ export default {
}).then(async () => {
this.buttonLoading = true
try {
+ const approvalTime = this.parseTime(new Date(), '{y}-{m}-{d} {h}:{i}:{s}')
// 这里替换为你的审批接口调用
await updateApproval({
approvalId: row.approvalId,
approvalStatus: '已同意',
+ approvalTime: approvalTime,
})
this.$message.success('审批通过成功!')
this.getTodoList() // 重新查询列表
@@ -344,10 +346,12 @@ export default {
}).then(async ({ value }) => {
this.buttonLoading = true
try {
+ const approvalTime = this.parseTime(new Date(), '{y}-{m}-{d} {h}:{i}:{s}')
// 这里替换为你的驳回接口调用
await updateApproval({
approvalId: row.approvalId,
- approvalStatus: '已驳回'
+ approvalStatus: '已驳回',
+ approvalTime: approvalTime,
})
this.$message.success('驳回成功!')
this.getTodoList() // 重新查询列表
@@ -371,7 +375,7 @@ export default {
'待审批': 'warning',
'已同意': 'success',
'已驳回': 'danger',
- '已撤消': 'info',
+ '已撤销': 'info',
}
return typeMap[status] || 'default'
},
@@ -382,7 +386,7 @@ export default {
'待审批': '待审批',
'已同意': '已同意',
'已驳回': '已驳回',
- '已撤消': '已撤消',
+ '已撤销': '已撤销',
}
return textMap[status] || '未知状态'
},
@@ -411,17 +415,11 @@ export default {
.filter-container {
background: #f5f7fa;
- padding: 20px;
+ /* padding: 20px; */
border-radius: 4px;
height: fit-content;
}
-.filter-container h4 {
- margin: 0 0 20px 0;
- font-size: 16px;
- color: #333;
-}
-
/* 自定义tabs样式 */
.custom-tabs {
margin-bottom: 20px;
@@ -438,14 +436,14 @@ export default {
.custom-tabs-nav {
display: flex;
flex-direction: column;
- gap: 8px;
+ gap: 4px;
width: 100%;
}
.custom-tabs-item {
padding: 10px 15px;
text-align: center;
- border-radius: 4px;
+ border-radius: 2px;
cursor: pointer;
font-size: 14px;
transition: all 0.2s ease;
@@ -459,9 +457,9 @@ export default {
}
.custom-tabs-item.active {
- background: #409eff;
+ background: #667996;
color: #ffffff;
- border-color: #409eff;
+ border-color: #667996;
}
.detail-content {