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 243cc637
authored
Dec 07, 2023
by
liuyong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://47.97.176.204:19000/wangwansu/iact_jiagou_drowio
2 parents
8ad34154
b8f560bb
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
5 deletions
src/api/index.js
src/router/index.js
src/views/JiaGouYuanShuGuanXiGuanLi/index.vue
src/api/index.js
View file @
243cc63
...
...
@@ -27,11 +27,6 @@ export function delete_jia_gou_gui_shu(params) {// 删除架构元素列表某
export
function
version_release_jia_gou_gui_shu
(
params
)
{
// 版本发布
return
post
(
'/ele/updateEleBatch'
,
params
);
}
// 架构元素关系管理
// 列表查询
export
function
getJGYSGLlist
(
params
)
{
return
post
(
'/eleRel/'
,
params
);
}
export
function
add_jia_gou_yuan_su
(
params
)
{
// 架构元素管理,新建
return
post
(
'/ele/addEle'
,
params
);
}
...
...
@@ -41,3 +36,21 @@ export function edit_jia_gou_yuan_su(params) {// 架构元素管理,新建
export
function
add_yuan_mo_xing
(
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
);
}
// 编辑元素(state暂存2发布1)
export
function
getJGYSGLUpdate
(
params
)
{
return
post
(
'/eleRel/updateEleRel'
,
params
);
}
// 删除元素
export
function
getJGYSGLDel
(
params
)
{
return
post
(
'/eleRel/deleteEleRel'
,
params
);
}
\ No newline at end of file
src/router/index.js
View file @
243cc63
...
...
@@ -4,6 +4,12 @@ import Home from '@/views/Home.vue'
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
=
[
{
path
:
'/'
,
...
...
src/views/JiaGouYuanShuGuanXiGuanLi/index.vue
View file @
243cc63
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