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
0fae9a4b
authored
Nov 08, 2024
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【代码评审】工作流:新发起页的优化
parent
5814826f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
src/views/bpm/processInstance/create/index.vue
+3
-8
No files found.
src/views/bpm/processInstance/create/index.vue
View file @
0fae9a4b
...
...
@@ -6,8 +6,8 @@
class=
"!w-50% mb-15px"
placeholder=
"请输入流程名称"
clearable
@
keyup
.
enter
=
"handleQuery"
@
clear=
"handle
Clear
"
@
input
=
"handleQuery"
@
clear=
"handle
Query
"
>
<template
#
prefix
>
<Icon
icon=
"ep:search"
/>
...
...
@@ -152,8 +152,8 @@ const getDefinitionList = async () => {
}
}
/** 搜索流程 */
const
filteredProcessDefinitionList
=
ref
([])
// 用于存储搜索过滤后的流程定义
// 直接进行前端搜索
const
handleQuery
=
()
=>
{
if
(
currentSearchKey
.
value
.
trim
())
{
// 如果有搜索关键字,进行过滤
...
...
@@ -167,11 +167,6 @@ const handleQuery = () => {
}
}
// 监听input `clearable` 事件
const
handleClear
=
()
=>
{
filteredProcessDefinitionList
.
value
=
processDefinitionList
.
value
}
// 流程定义的分组
const
processDefinitionGroup
:
any
=
computed
(()
=>
{
if
(
!
processDefinitionList
.
value
?.
length
)
return
{}
...
...
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