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
5198b2ee
authored
Jan 04, 2025
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【代码优化】BPM:模型列表界面
parent
4aa44abf
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
20 deletions
+3
-20
src/views/bpm/model/CategoryDraggableModel.vue
+3
-20
src/views/bpm/model/index_old.vue
+0
-0
No files found.
src/views/bpm/model/CategoryDraggableModel.vue
View file @
5198b2ee
...
@@ -64,6 +64,7 @@
...
@@ -64,6 +64,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
<!-- 模型列表 -->
<!-- 模型列表 -->
<el-collapse-transition>
<el-collapse-transition>
<div
v-show=
"isExpand"
>
<div
v-show=
"isExpand"
>
...
@@ -90,7 +91,7 @@
...
@@ -90,7 +91,7 @@
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"可见范围"
prop=
"startUserIds"
min-width=
"1
0
0"
>
<el-table-column
label=
"可见范围"
prop=
"startUserIds"
min-width=
"1
5
0"
>
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
<el-text
v-if=
"!scope.row.startUsers || scope.row.startUsers.length === 0"
>
<el-text
v-if=
"!scope.row.startUsers || scope.row.startUsers.length === 0"
>
全部可见
全部可见
...
@@ -110,7 +111,7 @@
...
@@ -110,7 +111,7 @@
</el-text>
</el-text>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"表单信息"
prop=
"formType"
min-width=
"
20
0"
>
<el-table-column
label=
"表单信息"
prop=
"formType"
min-width=
"
15
0"
>
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
<el-button
<el-button
v-if=
"scope.row.formType === BpmModelFormType.NORMAL"
v-if=
"scope.row.formType === BpmModelFormType.NORMAL"
...
@@ -166,16 +167,6 @@
...
@@ -166,16 +167,6 @@
link
link
class=
"!ml-5px"
class=
"!ml-5px"
type=
"primary"
type=
"primary"
@
click=
"handleDesign(scope.row)"
v-hasPermi=
"['bpm:model:update']"
:disabled=
"!isManagerUser(scope.row)"
>
设计
</el-button>
<el-button
link
class=
"!ml-5px"
type=
"primary"
@
click=
"handleDeploy(scope.row)"
@
click=
"handleDeploy(scope.row)"
v-hasPermi=
"['bpm:model:deploy']"
v-hasPermi=
"['bpm:model:deploy']"
:disabled=
"!isManagerUser(scope.row)"
:disabled=
"!isManagerUser(scope.row)"
...
@@ -337,14 +328,6 @@ const handleChangeState = async (row: any) => {
...
@@ -337,14 +328,6 @@ const handleChangeState = async (row: any) => {
}
catch
{}
}
catch
{}
}
}
/** 设计流程 */
const
handleDesign
=
(
row
:
any
)
=>
{
push
({
name
:
'BpmModelUpdate'
,
params
:
{
id
:
row
.
id
}
})
}
/** 发布流程 */
/** 发布流程 */
const
handleDeploy
=
async
(
row
:
any
)
=>
{
const
handleDeploy
=
async
(
row
:
any
)
=>
{
try
{
try
{
...
...
src/views/bpm/model/index_old.vue
deleted
100644 → 0
View file @
4aa44abf
This diff is collapsed.
Click to expand it.
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