1
0
mirror of https://github.com/FatttSnake/Pinnacle-OA.git synced 2026-04-05 23:11:24 +08:00

1. Added the dynamic time effect of creating a time item in the Add transaction page

2. When inserting a new transaction or approving a new transaction, the transactions are arranged in reverse chronological order according to the creation time and approval time. The newly added transaction and the newly approved transaction appear at the top
3. You can obtain the current time when approving. You can see the approval time on the approved page
This commit is contained in:
assina045
2023-05-16 20:20:13 +08:00
parent 0c7dc7957f
commit f03a9b9f00
6 changed files with 60 additions and 35 deletions

View File

@@ -138,15 +138,15 @@ export default {
id: '',
title: '',
content: '',
type_id: '',
typeId: '',
status: '',
applicant_id: '',
inspector_id: '',
create_time: '',
inspect_time: '',
applicantId: '',
inspectorId: '',
createTime: new Date(),
inspectTime: new Date(),
priority: '',
modify_time: '',
origin_id: '',
modifyTime: '',
originId: '',
old: '',
deleted: '',
version: ''
@@ -168,15 +168,15 @@ export default {
id: '',
title: '',
content: '',
type_id: '',
typeId: '',
status: '',
applicant_id: '',
inspector_id: '',
create_time: '',
inspect_time: '',
applicantId: '',
inspectorId: '',
createTime: new Date(),
inspectTime: new Date(),
priority: '',
modify_time: '',
origin_id: '',
modifyTime: '',
originId: '',
old: '',
deleted: '',
version: ''