diff --git a/src/api/setting/gmall.js b/src/api/setting/gmall.js
index 6bd513d..cf2466f 100644
--- a/src/api/setting/gmall.js
+++ b/src/api/setting/gmall.js
@@ -5,9 +5,17 @@ const api = {
list: '/retail/list',
add: '/retail/add',
edit: '/retail/edit',
- delete: '/retail/delete'
+ delete: '/retail/delete',
+ orderList: '/retail/getRetailOrder'
+}
+// 订单列表
+export function orderList (params) {
+ return axios({
+ url: api.orderList,
+ method: 'get',
+ params
+ })
}
-
// 列表记录
export function list (params) {
return axios({
diff --git a/src/components/GlobalHeader/RightContent.vue b/src/components/GlobalHeader/RightContent.vue
index 58d9d73..7f9e65b 100644
--- a/src/components/GlobalHeader/RightContent.vue
+++ b/src/components/GlobalHeader/RightContent.vue
@@ -71,7 +71,6 @@ export default {
},
mounted() {
this.storeInfo = JSON.parse(window.localStorage.getItem('storeInfo'))
- console.log(this.storeInfo.effective_time)
},
}
diff --git a/src/config/router.config.js b/src/config/router.config.js
index 0d2bc95..7677ae4 100644
--- a/src/config/router.config.js
+++ b/src/config/router.config.js
@@ -1133,6 +1133,12 @@ export const asyncRouterMap = [
meta: { title: '开通商城', keepAlive: false, permission: ['/setting/gmall/index'] },
moduleKey: 'setting-customer',
},
+ {
+ path: '/setting/gmall/order',
+ component: () => import(/* webpackChunkName: "setting" */ '@/views/setting/gmall/order'),
+ meta: { title: '商城订单', keepAlive: false, permission: ['/setting/gmall/order'] },
+ moduleKey: 'setting-customer',
+ },
// {
// path: '/setting/storage',
// component: () => import(/* webpackChunkName: "setting" */ '@/views/setting/Storage'),
diff --git a/src/views/setting/gmall/order.vue b/src/views/setting/gmall/order.vue
new file mode 100644
index 0000000..fd91f0c
--- /dev/null
+++ b/src/views/setting/gmall/order.vue
@@ -0,0 +1,183 @@
+
+
+ {{ $route.meta.title }}
+
+
+
+
+
+
+
+
+
+ 全部
+ 待支付
+ 已支付
+
+
+
+
+ 全部
+ 会员
+ 分销商
+
+
+
+
+ 全部
+ 微信支付
+ 余额支付
+
+
+
+
+
+
+ 搜索
+
+
+
+
+
+
+
+ 会员
+ 分销商
+
+
+
+ {{ text }}个月
+
+
+
+ {{ text=='wechat'?'微信支付':'余额支付' }}
+
+
+
+ {{ text == 20 ? '已支付' : '待支付' }}
+
+
+ {{ text | formatDate }}
+
+
+
+
+
+
+
+
+
\ No newline at end of file