Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
liangzhen
/
framework-tools-web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b0cf7d42
authored
Apr 18, 2024
by
‘july-fu’
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 架构层次缺失不能发布
1 parent
44be0b50
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletions
src/views/archiViewConfig/index.vue
src/views/archiViewConfig/index.vue
View file @
b0cf7d4
...
...
@@ -1036,6 +1036,10 @@ export default {
}
})
}
else
if
(
type
==
'pushEdit'
)
{
if
(
!
this
.
formData
.
archiLevelId
)
{
this
.
$message
.
error
(
'请选择架构层级,补全后发布!'
)
return
}
// 编辑发布
this
.
$confirm
(
'确认发布吗'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
...
...
@@ -1106,9 +1110,18 @@ export default {
viewId
:
[],
state
:
2
,
}
this
.
selectList
.
map
((
item
)
=>
{
let
hasArchiLevelId
=
true
this
.
selectList
.
forEach
((
item
)
=>
{
if
(
!
this
.
dicObj
.
archiLevelId
[
item
.
archiLevelId
])
{
hasArchiLevelId
=
false
}
params
.
viewId
.
push
(
item
.
viewId
)
})
console
.
log
(
'this.selectList'
,
this
.
selectList
)
if
(
!
hasArchiLevelId
)
{
this
.
$message
.
error
(
'数据中存在架构层级缺失,请检查!'
)
return
}
this
.
$confirm
(
'确认批量发布吗'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment