lion 2 years ago
parent 1d97eff3e5
commit 393b44268b

@ -2,5 +2,5 @@
ENV = 'development' ENV = 'development'
# base api # base api
VUE_APP_BASE_API = https://yybtest.ali251.langye.net #VUE_APP_BASE_API = https://yybtest.ali251.langye.net
#VUE_APP_BASE_API = https://yunyubang.ali251.langye.net VUE_APP_BASE_API = https://yunyubang.ali251.langye.net

@ -56,25 +56,39 @@ export const constantRoutes = [{
hidden: true hidden: true
}, },
// {
// path: '/',
// component: Layout,
// redirect: '/dashboard',
// children: [{
// path: 'dashboard',
// name: '系统首页',
// component: () => import('@/views/dashboard/index'),
// meta: {
// title: '系统首页',
// icon: 'dashboard'
// }
// }]
// },
// {
// path: '/order',
// component: Layout,
// children: [{
// path: '',
// name: '订单管理',
// component: () => import('@/views/order/index'),
// meta: {
// title: '订单管理',
// icon: 'el-icon-s-order'
// }
// }]
// },
{ {
path: '/', path: '/',
component: Layout, component: Layout,
redirect: '/dashboard', redirect: '/order',
children: [{ children: [{
path: 'dashboard', path: 'order',
name: '系统首页',
component: () => import('@/views/dashboard/index'),
meta: {
title: '系统首页',
icon: 'dashboard'
}
}]
},
{
path: '/order',
component: Layout,
children: [{
path: '',
name: '订单管理', name: '订单管理',
component: () => import('@/views/order/index'), component: () => import('@/views/order/index'),
meta: { meta: {

@ -23,7 +23,7 @@
<el-button size="medium" type="primary" @click="getList" style="margin-left: 10px">查询</el-button> <el-button size="medium" type="primary" @click="getList" style="margin-left: 10px">查询</el-button>
<el-button size="medium" type="primary" @click="downloadExel" style="margin-left: 10px">导出</el-button> <el-button size="medium" type="primary" @click="downloadExel" style="margin-left: 10px">导出</el-button>
</div> </div>
</slot> </slot>
</LxHeader> </LxHeader>
@ -177,6 +177,13 @@ export default {
prop:'member.area', prop:'member.area',
width: 160 width: 160
}, },
{
label:'地址',
sortable:false,
prop:'member.address',
width: 180,
align:'left'
},
{ {
label:'预产期', label:'预产期',
sortable:false, sortable:false,
@ -213,6 +220,13 @@ export default {
prop:'state_name', prop:'state_name',
width:120 width:120
}, },
{
label:'备注',
sortable:false,
prop:'order.remark',
width:220,
align:'left'
},
{ {
label:'操作', label:'操作',
sortable:false, sortable:false,
@ -306,7 +320,7 @@ export default {
this.total = res.total this.total = res.total
}, },
downloadExel() { downloadExel() {
download( download(
'/api/merchant/order/get-list', '/api/merchant/order/get-list',
'get', { 'get', {
@ -314,7 +328,7 @@ export default {
...this.select ...this.select
}, },
'订单列表.xlsx') '订单列表.xlsx')
} }
}, },
computed: {}, computed: {},

Loading…
Cancel
Save