refactor(boss): 优化决策记录处理逻辑

- 添加检查是否存在决策记录的功能
- 实现已存在记录时更新操作
- 实现不存在记录时插入新记录
- 统一决策时间设置逻辑
- 优化异常处理机制
- 修正更新申请状态的注释信息
This commit is contained in:
2026-01-10 22:15:37 +08:00
parent d4e0e651cb
commit 8e2fa46712
2 changed files with 2 additions and 3 deletions

View File

@@ -2,5 +2,6 @@
<project version="4"> <project version="4">
<component name="VcsDirectoryMappings"> <component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" /> <mapping directory="" vcs="Git" />
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
</component> </component>
</project> </project>

View File

@@ -13,10 +13,8 @@
:model="formState" :model="formState"
@finish="handleSubmit" @finish="handleSubmit"
> >
<a-tabs v-model:activeKey="type" size="large" :tabBarStyle="{ textAlign: 'center' }"> <a-tabs v-model:activeKey="type" size="large" centered :tabBarStyle="{ textAlign: 'center' }">
<a-tab-pane key="user" tab="用户登录" /> <a-tab-pane key="user" tab="用户登录" />
<a-tab-pane key="boss" tab="Boss登录" />
<a-tab-pane key="admin" tab="管理员登录" />
</a-tabs> </a-tabs>
<div v-if="type === 'user' || type === 'boss' || type === 'admin'"> <div v-if="type === 'user' || type === 'boss' || type === 'admin'">