Commit b3030589 authored by 张伯涛's avatar 张伯涛

修改

parent ca1aca17
......@@ -3,7 +3,7 @@ ENV = 'test'
# 测试环境
# base api
VUE_APP_BASE_API = 'http://zt.91isoft.com:10184'
VUE_APP_BASE_API = 'http://124.71.16.228:8095'
#workFlow链接地址
VUE_APP_WORKFLOW = 'http://zt.91isoft.com:10184/workFlow'
#internal链接地址
......
......@@ -15,7 +15,8 @@
"svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml"
},
"dependencies": {
"@chaincloud/cceditor": "file:chaincloud-cceditor-0.1.0.tgz",
"@antv/g6": "^4.7.3",
"@antv/util": "^3.3.0",
"@riophae/vue-treeselect": "^0.4.0",
"axios": "0.18.1",
"bpmn-js": "^6.1.1",
......
......@@ -20,6 +20,65 @@ const permission = {
return new Promise(resolve => {
// 向后端请求路由数据
getInfo().then(res => {
// const menus = [
// {
// alwaysShow: false,
// children: [
// { component: 'system/dict/data',
// hidden: true,
// meta: {
// icon: '#',
// noCache: false,
// title: '字典参数'
// },
// name: '/type/data',
// path: '/type/data'
// },
// { component: 'system/user/index',
// hidden: false,
// meta: {
// icon: 'user',
// noCache: false,
// title: '用户管理'
// },
// name: '/system/user',
// path: '/system/user'
// },
// { component: 'system/role/index',
// hidden: false,
// meta: {
// icon: 'peoples',
// noCache: false,
// title: '角色管理'
// },
// name: '/system/role',
// path: '/system/role'
// },
// { component: 'system/menu/index',
// hidden: false,
// meta: {
// icon: 'tree-table',
// noCache: false,
// title: '菜单管理'
// },
// name: '/system/menu',
// path: '/system/menu'
// }
// ],
// component: 'Layout',
// hidden: false,
// meta: {
// icon: 'shezhi',
// noCache: false,
// title: '系统管理'
// },
// name: 'System',
// path: 'system',
// redirect: 'noRedirect',
// showFather: 'true'
// }
//
// ]
const accessedRoutes = filterAsyncRouter(res.data.menus)
if (accessedRoutes[0]) {
const firstChild = getFirstChild(accessedRoutes[0])
......
<template>
<router-view></router-view>
</template>
<script>
export default {
name: 'Layout2'
}
</script>
......@@ -238,7 +238,7 @@
</el-select>
</el-form-item>
</el-col>
<el-col v-if="form.menuType === 'C'" :span="12">
<el-col v-if="form.menuType === 'C'" :span="24">
<el-form-item label="组件路径" prop="component">
<el-input v-model.trim="form.component" show-word-limit maxlength="100" placeholder="请输入组件路径" />
</el-form-item>
......
......@@ -81,7 +81,7 @@ module.exports = {
[process.env.VUE_APP_BASE_API]: {
// target: `http://192.168.1.17:10010/internal`,
// target: `http://10.5.87.231:10010/internal`,
target: `http://117.122.212.91:32032/`,
target: `http://124.71.16.228:8095/`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment