Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f63bccd1
authored
Mar 03, 2023
by
gexinzhineng/gxzn27
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查看OA请假返回流程详情
parent
c5cb59f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
+7
-1
src/views/bpm/oa/leave/detail.vue
+7
-1
No files found.
src/views/bpm/oa/leave/detail.vue
View file @
f63bccd1
...
...
@@ -2,6 +2,7 @@
<ContentWrap>
<!-- 详情 -->
<Descriptions
:schema=
"allSchemas.detailSchema"
:data=
"formData"
/>
<el-button
@
click=
"routerReturn"
type=
"primary"
>
返回
</el-button>
</ContentWrap>
</
template
>
...
...
@@ -9,7 +10,8 @@
// 业务相关的 import
import
*
as
LeaveApi
from
'@/api/bpm/leave'
import
{
allSchemas
}
from
'@/views/bpm/oa/leave/leave.data'
import
{
useRouter
}
from
'vue-router'
const
router
=
useRouter
()
const
{
query
}
=
useRoute
()
// 查询参数
const
message
=
useMessage
()
// 消息弹窗
...
...
@@ -22,6 +24,10 @@ const formData = ref({
reason
:
undefined
})
const
routerReturn
=
()
=>
{
router
.
back
()
}
onMounted
(()
=>
{
id
.
value
=
query
.
id
if
(
!
id
.
value
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment