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 9970224f
authored
Dec 06, 2023
by
liuyong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改菜单
1 parent
4e0b6e12
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
56 additions
and
33 deletions
.env.production
public/drawio/js/diagramly/Menus.js
src/router/index.js
src/views/JiaGouYuanSuGuanLi/index.vue
src/views/Main/index.vue
src/views/YuanMoXingZiDianGuanLi/index.vue → src/views/YuanMoXingGuanLiZongLan/index.vue
.env.production
View file @
9970224
NODE_ENV = '
development
'
NODE_ENV = '
production
'
VUE_APP_BASE_URL = "http://43.143.211.42:7003"
VUE_APP_BASE_URL = "http://43.143.211.42:7003"
public/drawio/js/diagramly/Menus.js
View file @
9970224
...
@@ -4702,8 +4702,6 @@
...
@@ -4702,8 +4702,6 @@
// console.log(encodedData)
// console.log(encodedData)
var
composedXMLData
=
Graph
.
xmlDeclaration
+
'\n'
+
editorUi
.
getFileData
(
true
,
null
,
null
,
null
,
true
,
true
,
null
,
null
,
null
,
false
);
var
composedXMLData
=
Graph
.
xmlDeclaration
+
'\n'
+
editorUi
.
getFileData
(
true
,
null
,
null
,
null
,
true
,
true
,
null
,
null
,
null
,
false
);
// console.log(composedXMLData)
var
graph
=
editorUi
.
editor
.
graph
;
var
graph
=
editorUi
.
editor
.
graph
;
...
...
src/router/index.js
View file @
9970224
...
@@ -55,11 +55,11 @@ const routes = [
...
@@ -55,11 +55,11 @@ const routes = [
component
:
()
=>
import
(
'@/views/wenDangDemo/index.vue'
),
component
:
()
=>
import
(
'@/views/wenDangDemo/index.vue'
),
},
},
{
{
path
:
'/main/YuanMoXing
ZiDianGuanLi'
,
//元模型字典管理
path
:
'/main/YuanMoXing
GuanLiZongLan'
,
//元模型管理总览
name
:
'YuanMoXing
ZiDianGuanLi
'
,
name
:
'YuanMoXing
GuanLiZongLan
'
,
component
:
()
=>
import
(
'@/views/YuanMoXing
ZiDianGuanLi
/index.vue'
),
component
:
()
=>
import
(
'@/views/YuanMoXing
GuanLiZongLan
/index.vue'
),
},{
},{
path
:
'/main/NewPage'
,
//
元模型字典管理
path
:
'/main/NewPage'
,
//
drawio跳转的表格预览
name
:
'NewPage'
,
name
:
'NewPage'
,
component
:
()
=>
import
(
'@/views/NewPage/index.vue'
),
component
:
()
=>
import
(
'@/views/NewPage/index.vue'
),
}
}
...
...
src/views/JiaGouYuanSuGuanLi/index.vue
View file @
9970224
...
@@ -96,29 +96,32 @@
...
@@ -96,29 +96,32 @@
title=
"新建元素"
title=
"新建元素"
:visible
.
sync=
"add_dialog"
:visible
.
sync=
"add_dialog"
:center=
"false"
:center=
"false"
width=
"
4
0%"
>
width=
"
6
0%"
>
<div
class=
"add_dialog_content"
>
<div
class=
"add_dialog_content"
>
<div
class=
"dialog_form_item"
>
<div
class=
"dialog_content_1"
>
<div
class=
"dialog_form_item_title"
>
元素名称
</div>
<div
class=
"dialog_form_item"
>
<el-input
placeholder=
"请输入内容"
class=
"dialog_form_item_content"
v-model=
"let1"
></el-input>
<div
class=
"dialog_form_item_title"
>
元素名称:
</div>
</div>
<el-input
placeholder=
"请输入内容"
class=
"dialog_form_item_content"
v-model=
"let1"
></el-input>
<div
class=
"dialog_form_item"
>
</div>
<div
class=
"dialog_form_item_title"
>
架构层次
</div>
<div
class=
"dialog_form_item"
>
<el-input
placeholder=
"请输入内容"
class=
"dialog_form_item_content"
v-model=
"let2"
></el-input>
<div
class=
"dialog_form_item_title"
>
架构层次:
</div>
</div>
<el-input
placeholder=
"请输入内容"
class=
"dialog_form_item_content"
v-model=
"let2"
></el-input>
<div
class=
"dialog_form_item"
>
</div>
<div
class=
"dialog_form_item_title"
>
架构归属
</div>
<div
class=
"dialog_form_item"
>
<el-select
placeholder=
"请选择"
class=
"search_item"
v-model=
"let3"
>
<div
class=
"dialog_form_item_title"
>
架构归属:
</div>
<el-option
label=
"业务架构"
value=
"业务架构"
></el-option>
<el-select
placeholder=
"请选择"
class=
"search_item"
v-model=
"let3"
>
<el-option
label=
"应用架构"
value=
"应用架构"
></el-option>
<el-option
label=
"业务架构"
value=
"业务架构"
></el-option>
<el-option
label=
"内容架构"
value=
"内容架构"
></el-option>
<el-option
label=
"应用架构"
value=
"应用架构"
></el-option>
<el-option
label=
"技术架构"
value=
"技术架构"
></el-option>
<el-option
label=
"内容架构"
value=
"内容架构"
></el-option>
<el-option
label=
"安全架构"
value=
"安全架构"
></el-option>
<el-option
label=
"技术架构"
value=
"技术架构"
></el-option>
</el-select>
<el-option
label=
"安全架构"
value=
"安全架构"
></el-option>
</el-select>
</div>
</div>
</div>
<div
class=
"dialog_form_item"
>
<div
class=
"dialog_form_item_title"
>
描述
</div>
<div
class=
"dialog_form_item2"
>
<el-input
type=
"textarea"
:rows=
"2"
placeholder=
"请输入内容"
class=
"dialog_form_item_content"
v-model=
"let4"
></el-input>
<div
class=
"dialog_form_item_title"
>
描述:
</div>
<el-input
type=
"textarea"
:rows=
"3"
placeholder=
"请输入内容"
class=
"dialog_form_item_content"
v-model=
"let4"
></el-input>
</div>
</div>
</div>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
...
@@ -173,7 +176,7 @@ export default {
...
@@ -173,7 +176,7 @@ export default {
"state"
:
0
"state"
:
0
};
};
query_jia_gou_yuan_su_guan_xi_table
(
params
).
then
(
res
=>
{
query_jia_gou_yuan_su_guan_xi_table
(
params
).
then
(
res
=>
{
console
.
log
(
res
);
console
.
log
(
res
.
data
);
})
})
}
}
...
@@ -189,6 +192,22 @@ export default {
...
@@ -189,6 +192,22 @@ export default {
justify-content
:
flex-start
;
justify-content
:
flex-start
;
align-items
:
center
;
align-items
:
center
;
}
}
.dialog_content_1
{
display
:
flex
;
justify-content
:
space-between
;
}
.el-button--primary
{
background-color
:
#0D867F
;
}
/
deep
/
.el-dialog__header
{
background-color
:
#0D867F
;
}
/
deep
/
.el-dialog__title
{
color
:
#fff
;
}
/
deep
/
.el-dialog__close
{
color
:
#fff
;
}
.search_menu
{
.search_menu
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
...
@@ -291,6 +310,11 @@ export default {
...
@@ -291,6 +310,11 @@ export default {
align-items
:
center
;
align-items
:
center
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
}
}
.dialog_form_item2
{
display
:
flex
;
align-items
:
center
;
margin
:
10px
42px
10px
27px
;
}
.dialog_form_item_title
{
.dialog_form_item_title
{
flex-shrink
:
0
;
flex-shrink
:
0
;
margin-right
:
15px
;
margin-right
:
15px
;
...
...
src/views/Main/index.vue
View file @
9970224
...
@@ -68,7 +68,7 @@
...
@@ -68,7 +68,7 @@
<span
style=
"margin-left: 5px;"
>
架构视图管理
</span>
<span
style=
"margin-left: 5px;"
>
架构视图管理
</span>
</div>
</div>
<div
class=
"menu_1_item_subtitle"
>
<div
class=
"menu_1_item_subtitle"
@
click=
"jumpPage('总体架构资产设计与维护', '架构元模型管理', '架构视图管理')"
>
<img
src=
"@/assets/三级圆环.png"
alt=
""
>
<img
src=
"@/assets/三级圆环.png"
alt=
""
>
<span
style=
"margin-left: 5px;"
>
架构视图管理
</span>
<span
style=
"margin-left: 5px;"
>
架构视图管理
</span>
</div>
</div>
...
@@ -557,8 +557,8 @@
...
@@ -557,8 +557,8 @@
case
'在线文档编制'
:
case
'在线文档编制'
:
this
.
$router
.
push
(
'/main/wenDangDemo'
,
()
=>
{},
()
=>
{}
);
this
.
$router
.
push
(
'/main/wenDangDemo'
,
()
=>
{},
()
=>
{}
);
break
;
break
;
case
'
元模型字典
管理'
:
case
'
架构视图
管理'
:
this
.
$router
.
push
(
'/main/YuanMoXing
ZiDianGuanLi
'
,
()
=>
{},
()
=>
{}
);
this
.
$router
.
push
(
'/main/YuanMoXing
GuanLiZongLan
'
,
()
=>
{},
()
=>
{}
);
this
.
visible1
=
false
;
this
.
visible1
=
false
;
break
;
break
;
...
...
src/views/YuanMoXing
ZiDianGuanLi
/index.vue
→
src/views/YuanMoXing
GuanLiZongLan
/index.vue
View file @
9970224
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
<
script
>
<
script
>
export
default
{
export
default
{
name
:
'
JiaGouYuanShu
GuanLi'
,
name
:
'
YuanMoXingZiDian
GuanLi'
,
components
:
{
components
:
{
},
},
...
@@ -76,6 +76,7 @@ export default {
...
@@ -76,6 +76,7 @@ export default {
}
}
.card_info
{
.card_info
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
justify-content
:
space-between
;
margin
:
30px
40px
0
40px
;
margin
:
30px
40px
0
40px
;
}
}
...
...
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