Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
周远喜
mes-ui
Commits
ab4fd361
Commit
ab4fd361
authored
May 09, 2020
by
周远喜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug 处理
parent
247fe8b2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
9 deletions
+10
-9
index.vue
pages/system/menu/index.vue
+3
-3
api.js
pages/system/set_menu/api.js
+6
-6
config.js
static/config.js
+1
-0
No files found.
pages/system/menu/index.vue
View file @
ab4fd361
...
...
@@ -3,7 +3,7 @@
<TreeGrid
:columns=
"columns"
ref=
"grid"
:items=
"list"
>
<template
slot=
"buttons"
>
<Button
type=
"primary"
@
click=
"add()"
>
新增系统
</Button>
<
Button
type=
"primary"
@
click=
"importModal=true"
>
导入菜单
</Button
>
<
!--
<Button
type=
"primary"
@
click=
"importModal=true"
>
导入菜单
</Button>
--
>
</
template
>
</TreeGrid>
<Modal
v-model=
"addModal"
title=
"新增"
width=
"1000"
footer-hide
>
...
...
@@ -18,7 +18,7 @@
<Modal
v-model=
"detailModal"
title=
"详情"
>
<Detail
:eid=
"curId"
/>
</Modal>
<Modal
v-model=
"importModal"
title=
"导入系统菜单"
width=
"800"
@
on-ok=
"importOk"
>
<
!-- <
Modal v-model="importModal" title="导入系统菜单" width="800" @on-ok="importOk">
<h1 v-if="systemList.length==0">请先创建系统</h1>
<div v-else>
<Select placeholder="请选择系统" v-model="systemId" :data="systemList">
...
...
@@ -28,7 +28,7 @@
<json-viewer :value="systemRouters" :expand-depth="5"></json-viewer>
</div>
</div>
</Modal>
</Modal>
-->
</div>
</template>
<
script
>
...
...
pages/system/set_menu/api.js
View file @
ab4fd361
import
Api
from
'@/plugins/request'
export
default
{
index
:
`
${
system
}
/setmenu/paged`
,
index
:
`
${
system
Url
}
/setmenu/paged`
,
paged
(
params
){
return
Api
.
post
(
`
${
system
}
/setmenu/paged`
,
params
);
return
Api
.
post
(
`
${
system
Url
}
/setmenu/paged`
,
params
);
},
get
(
params
){
return
Api
.
get
(
`
${
system
}
/setmenu/get`
,
params
);
return
Api
.
get
(
`
${
system
Url
}
/setmenu/get`
,
params
);
},
create
(
params
){
return
Api
.
post
(
`
${
system
}
/setmenu/create`
,
params
);
return
Api
.
post
(
`
${
system
Url
}
/setmenu/create`
,
params
);
},
update
(
params
){
return
Api
.
post
(
`
${
system
}
/setmenu/update`
,
params
);
return
Api
.
post
(
`
${
system
Url
}
/setmenu/update`
,
params
);
},
//删除:
delete
(
params
)
{
return
Api
.
delete
(
`
${
system
}
/setmenu/delete`
,{
params
:
params
});
return
Api
.
delete
(
`
${
system
Url
}
/setmenu/delete`
,{
params
:
params
});
},
}
\ No newline at end of file
static/config.js
View file @
ab4fd361
...
...
@@ -10,6 +10,7 @@ let address=systemApi.dev;
//let address=systemApi.local;
window
.
systemUrl
=
`http://
${
address
}
:10000/system`
;
//System-api 系统管理(基础数据)
window
.
system
=
`http://
${
address
}
:10000/system`
;
//System-api 系统管理(基础数据)
window
.
authUrl
=
`http://
${
address
}
:10010`
;
//Authentication-api //统一登陆认证
window
.
designUrl
=
`http://
${
address
}
:10000/process`
;
// 工艺规程
window
.
PlanUrl
=
`http://
${
address
}
:10000/plan`
;
//订单
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment