Commit 13f37328 by wuqian

Merge branch 'dev' of http://47.99.244.21:9999/chehuidong/saas-manage into wq

parents bd852efe e60990ba
import axios from '../axios'
export function erpProductionAssistantManage(data) {
return axios.post('/erpAppManage/uploadToLocal', data, {
headers: {
'Content-Type': 'multipart/form-data'
}
})
}
export function erpProductionAssistantManageListPage(data) {
return axios.post('/erpAppManage/list_page', data)
}
export function deleteErpProductionAssistantManage(data) {
return axios.get('/erpAppManage/delete?ids=' + data)
}
......@@ -38,6 +38,7 @@ import {
CheckboxGroup,
Divider,
Popover,
Upload
} from 'element-ui'
const components = [
......@@ -75,6 +76,7 @@ const components = [
ColorPicker,
CheckboxGroup,
Popover,
Upload
]
export default {
......
......@@ -4,7 +4,6 @@ import router from './router'
import store from './store'
import './plugins/myui'
import element from '@/common/components/element-ui.js'
// import vxeTable from '@/common/components/vxeTable.js'
import vxeTable from 'vxe-table'
import 'xe-utils'
import 'vxe-table/lib/index.css'
......
......@@ -133,12 +133,19 @@ const routes = [
meta: { title: '丢单管理' }
},
{
path: '/operation/exceptionMessage',
component: () => import('@/views/operation/exceptionMessage.vue'),
name: 'exceptionMessage',
meta: { title: '异常消息' }
},
{
path: '/saas/production/assistant/manage',
component: () => import('@/views/production/AssistantManage.vue'),
name: 'production_assistant_manage',
meta: { title: '应用版本管理' }
},
{
path: '/dynamicForm',
component: () => import('@/components/dynamicForms/index.vue'),
name: 'system_management',
......@@ -147,7 +154,6 @@ const routes = [
]
}
]
const router = new VueRouter({
mode: 'history',
base: process.env.BASE_URL,
......
......@@ -122,6 +122,7 @@ import { mapGetters, mapState } from 'vuex'
import { logout, resetPassword } from '@/common/api/login'
import { setToken, setUser } from '@/utils/auth'
import { post } from '@/common/api/axios'
export default {
name: 'navMenu',
data() {
......@@ -262,7 +263,7 @@ export default {
icon: 'el-icon-box',
index: '/saas/sku-manage',
children: []
},
}
// {
// id: 11,
// path: '',
......@@ -303,17 +304,25 @@ export default {
icon: 'el-icon-bank-card',
index: '',
children: []
},
}
]
},
// {
// id: 7,
// path: '',
// label: '应用中心',
// icon: 'el-icon-menu',
// index: '/saas/app',
// children: []
// },
{
id: 7,
id: 8,
path: '',
label: '应用中心',
icon: 'el-icon-menu',
index: '/saas/app',
label: '应用版本管理',
icon: 'el-icon-suitcase-1',
index: '/saas/production/assistant/manage',
children: []
},
}
],
dialogVisible: false,
oldPwd: '',
......@@ -426,10 +435,12 @@ export default {
.el-menu {
border-bottom: none;
}
.el-submenu__title i {
color: #fff;
}
}
i {
color: #fff;
}
......@@ -446,6 +457,7 @@ export default {
.label {
font-size: 16px;
}
.user-area {
float: right;
display: flex;
......@@ -453,6 +465,7 @@ export default {
flex-shrink: 0;
padding-right: 16px;
color: #fff;
.user-name {
margin-right: 10px;
}
......
......@@ -6,10 +6,12 @@ module.exports = defineConfig({
host: '',
proxy: {
'/api': {
target: 'http://10.168.31.142:8070',
changeOrigin: true
// 路径重写规则,这里将 /api 开头的请求路径替换为空字符串,即去掉 /api 前缀
}
}
}
target: 'http://10.168.31.188:8096',
changeOrigin: true,
// pathRewrite: {
// '^/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