fuwei 5 سال پیش
والد
کامیت
157e4f3bef
4فایلهای تغییر یافته به همراه13 افزوده شده و 16 حذف شده
  1. 5 5
      ghs/src/App.vue
  2. 4 4
      ghs/src/admin/home/apply.vue
  3. 4 4
      ghs/src/admin/home/workbench.vue
  4. 0 3
      ghs/src/pagesClient/member/detail.vue

+ 5 - 5
ghs/src/App.vue

@@ -20,7 +20,7 @@
 			wxLoginFn()
 				.then(res => {
 					//花店员工和未知身份可以访问的地址
-					var urlArr = ['admin/shopAdmin/bind', 'pagesClient/official','pagesClient/member/bind'];
+					var urlArr = ['admin/shopAdmin/bind', 'pagesClient/official','pagesClient/member/bind','pagesShare/pay'];
 					var redirectPage = res.redirectPage;
 					var needRedirect = true;
 					urlArr.forEach((item, index, array) => {
@@ -63,10 +63,10 @@
 				})
 		},
 		onLoad(){
-			const pages = getCurrentPages();
-			const currentPage = pages[pages.length - 1];
-			const url = `/${currentPage.route}`;
-			console.log(1111,url)
+			// const pages = getCurrentPages();
+			// const currentPage = pages[pages.length - 1];
+			// const url = `/${currentPage.route}`;
+			// console.log(1111,url)
 		},
 		onShow() {
 		},

+ 4 - 4
ghs/src/admin/home/apply.vue

@@ -39,7 +39,7 @@
                             {
                             name: "花材管理",
                             img: `${this.$constant.imgUrl}/ghs/home/hcgl.png`,
-                            url: "/admin/staff/list"
+                            url: "/pagesStorehouse/flower/manage"
                             },
                             {
                             name: "门店管理",
@@ -49,17 +49,17 @@
                             {
                             name: "调拨出库",
                             img: `${this.$constant.imgUrl}/ghs/home/dbck.png`,
-                            url: "/admin/staff/list"
+                            url: "/pagesStorehouse/allot/allotEx"
                             },
                             {
                             name: "调拨入库",
                             img: `${this.$constant.imgUrl}/ghs/home/dbrk.png`,
-                            url: "/admin/staff/list"
+                            url: "/pagesStorehouse/allot/allotPut"
                             },
                             {
                                 name: "库存预警",
                                 img: `${this.$constant.imgUrl}/ghs/home/kcyjs.png`,
-                                url: "/admin/staff/list"
+                                url: "/pagesStorehouse/stockWarn/manage"
                             },
                             {
                                 name: "盘点",

+ 4 - 4
ghs/src/admin/home/workbench.vue

@@ -320,21 +320,21 @@ export default {
 	},
 	onShareAppMessage(res) {
 		if (res.target.id === "shareStore") {
+			console.log(123)
 			return {
 				title: "商城分享",
 				desc: "",
 				imgUrl: "",
-				pagePath: "/admin/billing/index"
+				pagePath: "admin/billing/index"
 			};
 		} else if (res.target.id === "sharePay") {
+			console.log(456)
 			return {
 				title: "分享收款",
 				desc: "",
 				imgUrl: "",
-				pagePath: "/pagesShare/pay"
+				pagePath: "pagesShare/pay"
 			};
-		} else {
-			return {};
 		}
 	},
 	computed: {

+ 0 - 3
ghs/src/pagesClient/member/detail.vue

@@ -53,9 +53,6 @@
                   {{userInfo.userName}} {{userInfo.mobile}}
                   <button
                     id="1"
-                    @click="pageTo({
-                      url:'/pagesClient/member/bind'
-                    })" 
                     open-type="share"
                     class="admin-button-com default">
                     关联微信