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
39da8118
authored
Jan 18, 2025
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【代码优化】Bpm:移除废弃的 ModelForm.vue
parent
99790bae
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
9 deletions
+0
-9
src/views/bpm/model/CategoryDraggableModel.vue
+0
-5
src/views/bpm/model/ModelForm.vue
+0
-0
src/views/bpm/model/index.vue
+0
-4
No files found.
src/views/bpm/model/CategoryDraggableModel.vue
View file @
39da8118
...
@@ -243,13 +243,9 @@
...
@@ -243,13 +243,9 @@
</div>
</div>
</
template
>
</
template
>
</Dialog>
</Dialog>
<!-- 表单弹窗:添加流程模型 -->
<ModelForm
:categoryId=
"categoryInfo.code"
ref=
"modelFormRef"
@
success=
"emit('success')"
/>
</template>
</template>
<
script
lang=
"ts"
setup
>
<
script
lang=
"ts"
setup
>
import
ModelForm
from
'./ModelForm.vue'
import
{
CategoryApi
,
CategoryVO
}
from
'@/api/bpm/category'
import
{
CategoryApi
,
CategoryVO
}
from
'@/api/bpm/category'
import
Sortable
from
'sortablejs'
import
Sortable
from
'sortablejs'
import
{
propTypes
}
from
'@/utils/propTypes'
import
{
propTypes
}
from
'@/utils/propTypes'
...
@@ -501,7 +497,6 @@ const handleDeleteCategory = async () => {
...
@@ -501,7 +497,6 @@ const handleDeleteCategory = async () => {
/** 添加流程模型弹窗 */
/** 添加流程模型弹窗 */
const
tagsView
=
useTagsView
()
const
tagsView
=
useTagsView
()
const
modelFormRef
=
ref
()
const
openModelForm
=
async
(
type
:
string
,
id
?:
number
)
=>
{
const
openModelForm
=
async
(
type
:
string
,
id
?:
number
)
=>
{
if
(
type
===
'create'
)
{
if
(
type
===
'create'
)
{
await
push
({
name
:
'BpmModelCreate'
})
await
push
({
name
:
'BpmModelCreate'
})
...
...
src/views/bpm/model/ModelForm.vue
deleted
100644 → 0
View file @
99790bae
This diff is collapsed.
Click to expand it.
src/views/bpm/model/index.vue
View file @
39da8118
...
@@ -85,8 +85,6 @@
...
@@ -85,8 +85,6 @@
</div>
</div>
</ContentWrap>
</ContentWrap>
<!-- 表单弹窗:添加/修改流程 -->
<ModelForm
ref=
"formRef"
@
success=
"getList"
/>
<!-- 表单弹窗:添加分类 -->
<!-- 表单弹窗:添加分类 -->
<CategoryForm
ref=
"categoryFormRef"
@
success=
"getList"
/>
<CategoryForm
ref=
"categoryFormRef"
@
success=
"getList"
/>
<!-- 弹窗:表单详情 -->
<!-- 弹窗:表单详情 -->
...
@@ -99,7 +97,6 @@
...
@@ -99,7 +97,6 @@
import
draggable
from
'vuedraggable'
import
draggable
from
'vuedraggable'
import
{
CategoryApi
}
from
'@/api/bpm/category'
import
{
CategoryApi
}
from
'@/api/bpm/category'
import
*
as
ModelApi
from
'@/api/bpm/model'
import
*
as
ModelApi
from
'@/api/bpm/model'
import
ModelForm
from
'./ModelForm.vue'
import
CategoryForm
from
'../category/CategoryForm.vue'
import
CategoryForm
from
'../category/CategoryForm.vue'
import
{
cloneDeep
}
from
'lodash-es'
import
{
cloneDeep
}
from
'lodash-es'
import
CategoryDraggableModel
from
'./CategoryDraggableModel.vue'
import
CategoryDraggableModel
from
'./CategoryDraggableModel.vue'
...
@@ -123,7 +120,6 @@ const handleQuery = () => {
...
@@ -123,7 +120,6 @@ const handleQuery = () => {
}
}
/** 添加/修改操作 */
/** 添加/修改操作 */
const
formRef
=
ref
()
const
openForm
=
(
type
:
string
,
id
?:
number
)
=>
{
const
openForm
=
(
type
:
string
,
id
?:
number
)
=>
{
if
(
type
===
'create'
)
{
if
(
type
===
'create'
)
{
push
({
name
:
'BpmModelCreate'
})
push
({
name
:
'BpmModelCreate'
})
...
...
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