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 614f3a7d
authored
Apr 12, 2024
by
peiqiQQQ
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
1 parent
8505a50f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
18 deletions
src/views/archiViewConfig/index.vue
src/views/busi-assets-list/index.vue
src/views/archiViewConfig/index.vue
View file @
614f3a7
...
...
@@ -480,7 +480,7 @@
<el-button
class=
"greenButton"
@
click=
"operate('pushAdd')"
>
发布
</el-button
>
<el-button
class=
"greenButton"
@
click=
"operate('create')"
<el-button
class=
"greenButton"
v-debounce:
click=
"operate('create')"
>
保存
</el-button
>
<el-button
@
click=
"add_dialog = false"
>
取消
</el-button>
...
...
@@ -737,30 +737,32 @@ export default {
selectData3
:
[],
selectData4
:
[],
tableHeight
:
null
,
openType
:
''
,
}
},
created
(){
// 获取下拉
this
.
getArchiStageList
()
this
.
getLevelList
()
this
.
getArchiStageList
()
this
.
getBelongList
()
this
.
getStateList
()
},
mounted
()
{
window
.
addEventListener
(
'resize'
,
()
=>
{
this
.
$nextTick
(()
=>
{
window
.
addEventListener
(
'resize'
,
()
=>
{
this
.
set_table_height
()
})
this
.
set_table_height
()
// 查询视图下拉
// this.getViewNameList();
// 获取元素和元素关系列表
this
.
getEleList
()
this
.
gtEleRelList
()
// 初始化查询列表
this
.
getList
()
})
this
.
set_table_height
()
// 初始化查询列表
this
.
getList
()
// 查询视图下拉
// this.getViewNameList();
// 获取元素和元素关系列表
this
.
getEleList
()
this
.
gtEleRelList
()
},
methods
:
{
// 架构大类
...
...
@@ -1196,7 +1198,7 @@ export default {
// });
// });
}
else
if
(
type
==
'create'
)
{
this
.
$refs
.
viewForm
.
validate
((
valid
)
=>
{
this
.
$refs
.
viewForm
&&
this
.
$refs
.
viewForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
!
this
.
formData
.
eleName
)
{
this
.
$message
.
error
(
'请勾选元素范围'
)
...
...
@@ -1245,7 +1247,7 @@ export default {
}
})
}
else
if
(
type
==
'pushAdd'
)
{
this
.
$refs
.
viewForm
.
validate
((
valid
)
=>
{
this
.
$refs
.
viewForm
&&
this
.
$refs
.
viewForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
!
this
.
formData
.
eleName
)
{
this
.
$message
.
error
(
'请勾选元素范围'
)
...
...
src/views/busi-assets-list/index.vue
View file @
614f3a7
...
...
@@ -28,7 +28,7 @@
class=
"search_item"
></el-input>
</div>
<div
class=
"search_menu_item"
>
<
!--
<
div
class=
"search_menu_item"
>
<span
class=
"search_title"
>
创建人
</span>
<el-input
v-no-backslash
...
...
@@ -37,7 +37,7 @@
placeholder=
"请输入内容"
class=
"search_item"
></el-input>
</div>
</div>
-->
<div
class=
"search_menu_item"
>
<span
class=
"search_title"
>
所属元素
</span>
<el-select
...
...
@@ -176,6 +176,12 @@
align=
"center"
show-overflow-tooltip
></el-table-column>
<el-table-column
prop=
"parentElement"
label=
"上级元素"
align=
"center"
show-overflow-tooltip
></el-table-column>
<el-table-column
width=
"100"
label=
"图标"
align=
"center"
>
<template
slot-scope=
"scope"
>
<img
...
...
@@ -697,6 +703,9 @@ export default {
},
created
()
{
this
.
getDicts
()
this
.
getZuJianLeiXingSelect
(
null
).
then
((
res
)
=>
{
this
.
zuJianLeiXingSelect
=
res
})
},
mounted
()
{
this
.
getTreeData
()
...
...
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