From 6f33f3c132403fe55ffac610595b4f06fcf97a12 Mon Sep 17 00:00:00 2001
From: proudlx <965752348@qq.com>
Date: Fri, 9 Apr 2021 13:09:50 +0800
Subject: [PATCH] =?UTF-8?q?'=E4=BA=A7=E8=AF=B4=E4=BC=9A=E6=96=B0=E5=A2=9E'?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/ebiz/productionSay/productionSay.js | 38 ++++++++++++++++++
src/router/ebiz/index.js | 6 ++-
src/router/ebiz/productionSay.js | 44 +++++++++++++++++++++
src/views/ebiz/productionSay/List.vue | 12 ++++++
4 files changed, 99 insertions(+), 1 deletion(-)
create mode 100644 src/api/ebiz/productionSay/productionSay.js
create mode 100644 src/router/ebiz/productionSay.js
create mode 100644 src/views/ebiz/productionSay/List.vue
diff --git a/src/api/ebiz/productionSay/productionSay.js b/src/api/ebiz/productionSay/productionSay.js
new file mode 100644
index 000000000..d2c4f060b
--- /dev/null
+++ b/src/api/ebiz/productionSay/productionSay.js
@@ -0,0 +1,38 @@
+import request from '@/assets/js/utils/request'
+import getUrl from '@/assets/js/utils/get-url'
+
+// // 获取商品商城列表
+export function getShopList(data) {
+ return request({
+ url: getUrl('/customer/shop/getShopList', 1),
+ method: 'post',
+ data
+ })
+}
+
+// 查询分享轨迹(转发记录)
+export function getShareList(data) {
+ return request({
+ url: getUrl('/customer/shop/getShareList', 1),
+ method: 'post',
+ data
+ })
+}
+
+// 分享轨迹保存
+export function saveShareTrack(data) {
+ return request({
+ url: getUrl('/customer/shop/saveShareTrack', 1),
+ method: 'post',
+ data
+ })
+}
+
+// 获取账号密码以用于回显
+export function getPassword(data) {
+ return request({
+ url: getUrl('/customer/shop/getPassword', 1),
+ method: 'post',
+ data
+ })
+}
diff --git a/src/router/ebiz/index.js b/src/router/ebiz/index.js
index 775738377..efb062a1e 100644
--- a/src/router/ebiz/index.js
+++ b/src/router/ebiz/index.js
@@ -31,6 +31,9 @@ import question from './question'
import hgb from './hgb'
import eqiVisit from './eqiVisit'
+// 产说会
+import productionSay from './productionSay'
+
export default [
...proposal,
...sale,
@@ -59,5 +62,6 @@ export default [
...hgb,
...train,
...goodStart,
- ...eqiVisit
+ ...eqiVisit,
+ ...productionSay
] //根据需要进行删减
diff --git a/src/router/ebiz/productionSay.js b/src/router/ebiz/productionSay.js
new file mode 100644
index 000000000..5a70c1709
--- /dev/null
+++ b/src/router/ebiz/productionSay.js
@@ -0,0 +1,44 @@
+//产品列表 定义相关组件
+const productList = () => import('@/views/ebiz/product/ProductList')
+const productDetail = () => import('@/views/ebiz/product/ProductDetail')
+const productDocument = () => import('@/views/ebiz/product/ProductDocument')
+const homeProduct = () => import('@/views/ebiz/product/HomeProduct')
+
+export default [
+ {
+ path: '/product/productList',
+ name: 'productList',
+ component: productList,
+ meta: {
+ title: '产品列表',
+ index: 1
+ }
+ },
+ {
+ path: '/product/productDetail/:productDetailCode',
+ name: 'productDetail',
+ component: productDetail,
+ meta: {
+ title: '产品详情',
+ index: 2
+ }
+ },
+ {
+ path: '/product/productDocument',
+ name: 'productDocument',
+ component: productDocument,
+ meta: {
+ title: '产品资料',
+ index: 3
+ }
+ },
+ {
+ path: '/product/homeProduct',
+ name: 'homeProduct',
+ component: homeProduct,
+ meta: {
+ title: '首页产品',
+ index: 4
+ }
+ }
+]
diff --git a/src/views/ebiz/productionSay/List.vue b/src/views/ebiz/productionSay/List.vue
new file mode 100644
index 000000000..a56fa14aa
--- /dev/null
+++ b/src/views/ebiz/productionSay/List.vue
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
\ No newline at end of file