Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
psa-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高滢
psa-web
Commits
c0c44f0b
Commit
c0c44f0b
authored
Mar 12, 2025
by
祁正
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
审批配置-首页搜索完成
parent
4a3aaab0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
7 deletions
+18
-7
index.vue
src/views/approvalConfiguration/index.vue
+18
-7
No files found.
src/views/approvalConfiguration/index.vue
View file @
c0c44f0b
...
...
@@ -5,8 +5,8 @@
<!-- 默认显示的查询条件 -->
<el-form-item
label=
"审批流程名称"
prop=
"projectName"
>
<el-input
v-model=
"queryParams.
project
Name"
placeholder=
"请输入
项目
名称"
v-model=
"queryParams.
approval
Name"
placeholder=
"请输入
审批流程
名称"
clearable
style=
"width: 220px"
/>
...
...
@@ -23,7 +23,7 @@
</el-form-item>
<el-form-item
label=
"创建人"
prop=
"projectStatus"
>
<el-input
v-model=
"queryParams.
projectName
"
v-model=
"queryParams.
createBy
"
placeholder=
"请输入创建人"
clearable
style=
"width: 220px"
...
...
@@ -139,16 +139,16 @@ const loading = ref(false)
const
tableDataList
=
reactive
([])
let
total
=
ref
(
10
)
const
queryParams
=
reactive
({
user
Name
:
''
,
projectNam
e
:
null
,
status
:
null
,
approval
Name
:
''
,
approveTyp
e
:
null
,
createBy
:
null
,
pageNum
:
1
,
pageSize
:
10
,
})
//方法定义
const
getTableDataList
=
()
=>
{
getList
().
then
(
res
=>
{
getList
(
queryParams
).
then
(
res
=>
{
total
.
value
=
res
.
total
tableDataList
.
value
=
res
.
rows
})
...
...
@@ -170,6 +170,17 @@ const handleUpdate = (row)=>{
router
.
push
({
path
:
'/system/approvalConfiguration/info'
,
query
:{
id
:
row
.
id
,
type
:
"编辑"
}
})
}
const
handleQuery
=
()
=>
{
getTableDataList
()
}
const
resetQuery
=
()
=>
{
queryParams
.
approveType
=
null
queryParams
.
approvalName
=
null
queryParams
.
createBy
=
null
getTableDataList
()
}
onMounted
(()
=>
{
getTableDataList
()
getDictList
()
...
...
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