From 1e834ced29ba11121b8a82ecfe1f4495015f6784 Mon Sep 17 00:00:00 2001
From: usgeek <940208412@qq.com>
Date: Mon, 27 Aug 2018 13:03:34 +0800
Subject: [PATCH] =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=90=8E=E5=8F=B0=E6=B7=BB?=
=?UTF-8?q?=E5=8A=A0=E6=84=8F=E8=A7=81=E5=8F=8D=E9=A6=88=E9=A1=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
litemall-admin/src/api/feedback.js | 41 +++
litemall-admin/src/router/index.js | 3 +-
litemall-admin/src/views/user/feedback.vue | 289 +++++++++++++++++++++
3 files changed, 332 insertions(+), 1 deletion(-)
create mode 100644 litemall-admin/src/api/feedback.js
create mode 100644 litemall-admin/src/views/user/feedback.vue
diff --git a/litemall-admin/src/api/feedback.js b/litemall-admin/src/api/feedback.js
new file mode 100644
index 00000000..b5089e69
--- /dev/null
+++ b/litemall-admin/src/api/feedback.js
@@ -0,0 +1,41 @@
+import request from '@/utils/request'
+
+export function listFeedback(query) {
+ return request({
+ url: '/feedback/list',
+ method: 'get',
+ params: query
+ })
+}
+
+export function createFeedback(data) {
+ return request({
+ url: '/feedback/create',
+ method: 'post',
+ data
+ })
+}
+
+export function readFeedback(data) {
+ return request({
+ url: '/feedback/read',
+ method: 'get',
+ data
+ })
+}
+
+export function updateFeedback(data) {
+ return request({
+ url: '/feedback/update',
+ method: 'post',
+ data
+ })
+}
+
+export function deleteFeedback(data) {
+ return request({
+ url: '/feedback/delete',
+ method: 'post',
+ data
+ })
+}
\ No newline at end of file
diff --git a/litemall-admin/src/router/index.js b/litemall-admin/src/router/index.js
index 2cb3f56e..8447285c 100644
--- a/litemall-admin/src/router/index.js
+++ b/litemall-admin/src/router/index.js
@@ -65,7 +65,8 @@ export const asyncRouterMap = [
{ path: 'address', component: _import('user/address'), name: 'address', meta: { title: '收货地址', noCache: true }},
{ path: 'collect', component: _import('user/collect'), name: 'collect', meta: { title: '会员收藏', noCache: true }},
{ path: 'footprint', component: _import('user/footprint'), name: 'footprint', meta: { title: '会员足迹', noCache: true }},
- { path: 'history', component: _import('user/history'), name: 'history', meta: { title: '搜索历史', noCache: true }}
+ { path: 'history', component: _import('user/history'), name: 'history', meta: { title: '搜索历史', noCache: true }},
+ { path: 'feedback', component: _import('user/feedback'), name: 'feedback', meta: { title: '意见反馈', noCache: true }}
]
},
diff --git a/litemall-admin/src/views/user/feedback.vue b/litemall-admin/src/views/user/feedback.vue
new file mode 100644
index 00000000..a4313291
--- /dev/null
+++ b/litemall-admin/src/views/user/feedback.vue
@@ -0,0 +1,289 @@
+
+
+
+
+
+
+
+
+
+ 查找
+ 添加
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 点击上传
+
+
+
+
+
+
+
+
+
+
+
+