shish 5 lat temu
rodzic
commit
b6ec8804ce
2 zmienionych plików z 3 dodań i 18 usunięć
  1. 2 13
      ghsApp/src/App.vue
  2. 1 5
      pt/src/views/item/list.vue

+ 2 - 13
ghsApp/src/App.vue

@@ -53,24 +53,13 @@ import store from '@/store'
 						}
 						}
 					})
 					})
 					if (needRedirect === true) {
 					if (needRedirect === true) {
-						//供货商员工
+						//员工
 						if (res.data.admin.identity == '2') {
 						if (res.data.admin.identity == '2') {
 							// this.$util.pageTo({
 							// this.$util.pageTo({
 							// 	url: "/admin/home/workbench",
 							// 	url: "/admin/home/workbench",
 							// 	type: 4
 							// 	type: 4
 							// });
 							// });
-						//花店员工
-						} else if(res.data.admin.identity == '1'){
-							if(redirectPage !== 'admin/billing/customerPlace') {
-								this.$util.pageTo({
-									url: "/pagesClient/official/latest-shop",
-									type: 2,
-									query:{
-										...this.option
-									}
-								});
-							}
-						//未知身份
+						//客户
 						}else{
 						}else{
 							if(this.option.style != 1){
 							if(this.option.style != 1){
 								this.$util.pageTo({
 								this.$util.pageTo({

+ 1 - 5
pt/src/views/item/list.vue

@@ -70,10 +70,6 @@
 				</div>
 				</div>
 			</template>
 			</template>
 
 
-			<template #slot-sync-btn>
-				<el-button type="primary" size="mini" @click="syncBtnFn({})">同步图片</el-button>
-			</template>
-
 			<template #slot-add-goods-btn>
 			<template #slot-add-goods-btn>
 				<el-button type="primary" size="mini" @click="replaceBtnFn(0)">添加</el-button>
 				<el-button type="primary" size="mini" @click="replaceBtnFn(0)">添加</el-button>
 			</template>
 			</template>
@@ -463,7 +459,7 @@ export default {
 				})
 				})
 				.set('layout', [
 				.set('layout', [
 					['slot-tabs'],
 					['slot-tabs'],
-					['slot-sync-btn', 'flex1', 'slot-add-goods-btn',  'refresh-btn'],
+					['flex1', 'slot-add-goods-btn',  'refresh-btn'],
 					['data-table'],
 					['data-table'],
 					['flex1', 'pagination'],
 					['flex1', 'pagination'],
 				])
 				])