Commit e484d4bc by Thews

20231207wangwansu

1 parent ae30e62e
...@@ -40,4 +40,18 @@ export function edit_jia_gou_yuan_su(params) {// 架构元素管理,新建 ...@@ -40,4 +40,18 @@ 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
...@@ -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: '/',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!