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 e484d4bc
authored
Dec 07, 2023
by
Thews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20231207wangwansu
1 parent
ae30e62e
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
0 deletions
src/api/index.js
src/router/index.js
src/views/JiaGouYuanShuGuanXiGuanLi/index.vue
src/api/index.js
View file @
e484d4b
...
@@ -41,3 +41,17 @@ export function edit_jia_gou_yuan_su(params) {// 架构元素管理,新建
...
@@ -41,3 +41,17 @@ export function edit_jia_gou_yuan_su(params) {// 架构元素管理,新建
export
function
add_yuan_mo_xing
(
params
)
{
// 元模型管理,新建
export
function
add_yuan_mo_xing
(
params
)
{
// 元模型管理,新建
return
post
(
'/ynMol/addYnMol'
,
params
);
return
post
(
'/ynMol/addYnMol'
,
params
);
}
}
// 架构元素关系管理
// 列表查询
export
function
getJGYSGLlist
(
params
)
{
return
post
(
'/eleRel/'
,
params
);
}
// 新建元素(state暂存2发布1)
export
function
getJGYSGLAdd
(
params
)
{
return
post
(
'/eleRel/addEleRel'
,
params
);
}
// 删除元素
export
function
getJGYSGLDel
(
params
)
{
return
post
(
'/eleRel/deleteEleRel'
,
params
);
}
\ No newline at end of file
src/router/index.js
View file @
e484d4b
...
@@ -4,6 +4,12 @@ import Home from '@/views/Home.vue'
...
@@ -4,6 +4,12 @@ import Home from '@/views/Home.vue'
Vue
.
use
(
VueRouter
)
Vue
.
use
(
VueRouter
)
// 解决elementUI导航栏中的vue-router在3.0版本以上重复点击菜单报错的问题 ###
const
originalPush
=
VueRouter
.
prototype
.
push
VueRouter
.
prototype
.
push
=
function
push
(
location
)
{
return
originalPush
.
call
(
this
,
location
).
catch
(
err
=>
err
)
}
const
routes
=
[
const
routes
=
[
{
{
path
:
'/'
,
path
:
'/'
,
...
...
src/views/JiaGouYuanShuGuanXiGuanLi/index.vue
View file @
e484d4b
This diff is collapsed.
Click to expand it.
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