Commit 243cc637 by liuyong
2 parents 8ad34154 b8f560bb
......@@ -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);
}
......@@ -40,4 +35,22 @@ 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
......@@ -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: '/',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!