refactor(boss): 优化决策记录处理逻辑
- 添加检查是否存在决策记录的功能 - 实现已存在记录时更新操作 - 实现不存在记录时插入新记录 - 统一决策时间设置逻辑 - 优化异常处理机制 - 修正更新申请状态的注释信息
This commit is contained in:
1
BOSSFrontEnd/.idea/vcs.xml
generated
1
BOSSFrontEnd/.idea/vcs.xml
generated
@@ -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>
|
||||||
@@ -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'">
|
||||||
|
|||||||
Reference in New Issue
Block a user