|
|
@@ -13,34 +13,9 @@
|
|
|
>
|
|
|
<text class="nav-back-label">返回</text>
|
|
|
</view>
|
|
|
- <view class="custom-nav" @click="pageTo({ url: '/admin/home/edit' })">
|
|
|
+ <view class="custom-nav">
|
|
|
<text class="custom-nav-title">{{ workbenchTitle }}</text>
|
|
|
</view>
|
|
|
- <view class="function-grid function-grid--overlay">
|
|
|
- <view class="function-item function-item--overlay" @click="pageTo({ url: '/admin/shop/myShop' })">
|
|
|
- <image class="function-icon" :src="iconSrc('store')" mode="aspectFit" />
|
|
|
- <text class="function-text function-text--overlay function-text--sm">切换门店</text>
|
|
|
- </view>
|
|
|
- <view class="function-item function-item--overlay"
|
|
|
- @click="pageTo({ url: '/admin/staff/list'})">
|
|
|
- <image class="function-icon" :src="iconSrc('staff')" mode="aspectFit" />
|
|
|
- <text class="function-text function-text--overlay function-text--sm">我的员工</text>
|
|
|
- </view>
|
|
|
- <view class="function-item function-item--overlay"
|
|
|
- @click="pageTo({ url: '/admin/shop/add?id=' + loginInfo.shopId })">
|
|
|
- <image class="function-icon" :src="iconSrc('stock-my-address')" mode="aspectFit" />
|
|
|
- <text class="function-text function-text--overlay function-text--sm">我的地址</text>
|
|
|
- </view>
|
|
|
- <view class="function-item function-item--overlay" @click="pageTo({ url: '/admin/stat/cgItem' })">
|
|
|
- <image class="function-icon" :src="iconSrc('stock-purchase-stats')" mode="aspectFit" />
|
|
|
- <text class="function-text function-text--overlay function-text--sm">采购统计</text>
|
|
|
- </view>
|
|
|
- <view class="function-item function-item--overlay" @click="openWorkbenchMore()">
|
|
|
- <image class="function-icon" :src="iconSrc('stock-more-features')" mode="aspectFit" />
|
|
|
- <text class="function-text function-text--overlay function-text--sm">更多操作</text>
|
|
|
- </view>
|
|
|
-
|
|
|
- </view>
|
|
|
</view>
|
|
|
|
|
|
<template v-if="!$util.isEmpty(ad)">
|
|
|
@@ -215,37 +190,6 @@
|
|
|
</view>
|
|
|
</uni-popup>
|
|
|
|
|
|
- <!-- 工作台更多操作:零售商城、已删商家 -->
|
|
|
- <uni-popup ref="workbenchMorePopup" background-color="transparent" type="center" :animation="true" class="ghs-more-popup">
|
|
|
- <view class="ghs-more-card">
|
|
|
- <view class="ghs-more-header">
|
|
|
- <text class="ghs-more-title">更多操作</text>
|
|
|
- <text class="ghs-more-subtitle">请选择功能</text>
|
|
|
- </view>
|
|
|
- <view class="ghs-more-body">
|
|
|
- <view class="ghs-more-row" @click="goMallFromMore()">
|
|
|
- <text class="ghs-more-row__label">零售商城</text>
|
|
|
- <text class="ghs-more-row__arrow">›</text>
|
|
|
- </view>
|
|
|
- <view class="ghs-more-row" @click="goDeletedWholesaler()">
|
|
|
- <text class="ghs-more-row__label">已删除商家</text>
|
|
|
- <text class="ghs-more-row__arrow">›</text>
|
|
|
- </view>
|
|
|
- <view class="ghs-more-row" @click="goDimissionFromMore()">
|
|
|
- <text class="ghs-more-row__label">申请离职</text>
|
|
|
- <text class="ghs-more-row__arrow">›</text>
|
|
|
- </view>
|
|
|
- <view class="ghs-more-row" @click="goLogoutFromMore()">
|
|
|
- <text class="ghs-more-row__label">退出登录</text>
|
|
|
- <text class="ghs-more-row__arrow">›</text>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="ghs-more-footer">
|
|
|
- <view class="ghs-more-cancel" @click="closeWorkbenchMore()">取消</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </uni-popup>
|
|
|
-
|
|
|
<!-- 多供货商提示弹框 -->
|
|
|
<uni-popup ref="supplierNoticePopup" background-color="#fff" type="center" :animation="true"
|
|
|
class="supplier-notice-popup">
|
|
|
@@ -471,34 +415,6 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- /** 打开工作台更多操作弹框 */
|
|
|
- openWorkbenchMore() {
|
|
|
- this.$refs.workbenchMorePopup.open('center')
|
|
|
- },
|
|
|
- /** 关闭工作台更多操作弹框 */
|
|
|
- closeWorkbenchMore() {
|
|
|
- this.$refs.workbenchMorePopup.close()
|
|
|
- },
|
|
|
- /** 更多操作:跳转已删商家 */
|
|
|
- goDeletedWholesaler() {
|
|
|
- this.closeWorkbenchMore()
|
|
|
- this.$util.pageTo({ url: '/pagesPurchase/pb' })
|
|
|
- },
|
|
|
- /** 更多操作:跳转零售商城 */
|
|
|
- goMallFromMore() {
|
|
|
- this.closeWorkbenchMore()
|
|
|
- this.getMall()
|
|
|
- },
|
|
|
- /** 更多操作:跳转申请离职 */
|
|
|
- goDimissionFromMore() {
|
|
|
- this.closeWorkbenchMore()
|
|
|
- this.$util.pageTo({ url: '/admin/staff/dimission' })
|
|
|
- },
|
|
|
- /** 更多操作:退出登录 */
|
|
|
- goLogoutFromMore() {
|
|
|
- this.closeWorkbenchMore()
|
|
|
- this.loginOut()
|
|
|
- },
|
|
|
/** 确认后清除登录态并重启或回到工作台 */
|
|
|
loginOut() {
|
|
|
this.$util.confirmModal({ content: '确认退出?' }, () => {
|
|
|
@@ -524,9 +440,6 @@ export default {
|
|
|
})
|
|
|
})
|
|
|
},
|
|
|
- getMall(){
|
|
|
- this.$util.pageTo({ url: '/pagesPurchase/open' })
|
|
|
- },
|
|
|
goDebtChange(){
|
|
|
this.closeToShow()
|
|
|
this.pageTo({ url: '/admin/ghs/debtChange?ghsId=' + this.currentGhs.id })
|
|
|
@@ -981,8 +894,7 @@ export default {
|
|
|
|
|
|
.status-safe-area,
|
|
|
.custom-nav,
|
|
|
-.profile-header,
|
|
|
-.function-grid--overlay {
|
|
|
+.profile-header {
|
|
|
position: relative;
|
|
|
z-index: 2;
|
|
|
}
|
|
|
@@ -1029,7 +941,7 @@ export default {
|
|
|
.custom-nav-title {
|
|
|
max-width: 560upx;
|
|
|
color: #161819;
|
|
|
- font-size: 50upx;
|
|
|
+ font-size: 32upx;
|
|
|
font-weight: 700;
|
|
|
line-height: 48upx;
|
|
|
text-align: center;
|
|
|
@@ -1082,47 +994,6 @@ export default {
|
|
|
text-overflow: ellipsis;
|
|
|
}
|
|
|
|
|
|
-.purchase-ghs-panel .ghs_list_page .profile-section .function-grid--overlay {
|
|
|
- margin-top: 10upx;
|
|
|
- min-height: 166upx;
|
|
|
- padding: 30upx 12upx 24upx;
|
|
|
- border-radius: 26upx;
|
|
|
- background: #f5f7f6;
|
|
|
- box-shadow: 0 14upx 34upx rgba(42, 75, 55, 0.13);
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: space-around;
|
|
|
- box-sizing: border-box;
|
|
|
-}
|
|
|
-
|
|
|
-.purchase-ghs-panel .ghs_list_page .profile-section .function-item--overlay {
|
|
|
- flex: 1;
|
|
|
- padding: 0;
|
|
|
- border: 0;
|
|
|
- background: transparent;
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
- align-items: center;
|
|
|
- justify-content: center;
|
|
|
-}
|
|
|
-
|
|
|
-.purchase-ghs-panel .ghs_list_page .profile-section .function-item--overlay+.function-item--overlay {
|
|
|
- margin-left: 0;
|
|
|
-}
|
|
|
-
|
|
|
-.purchase-ghs-panel .ghs_list_page .profile-section .function-text--overlay {
|
|
|
- margin-top: 14upx;
|
|
|
- color: #202325;
|
|
|
- font-size: 29upx;
|
|
|
- line-height: 36upx;
|
|
|
- background-color: transparent;
|
|
|
-}
|
|
|
-
|
|
|
-.purchase-ghs-panel .ghs_list_page .profile-section .function-text--sm {
|
|
|
- font-size: 24upx;
|
|
|
- line-height: 32upx;
|
|
|
-}
|
|
|
-
|
|
|
.warning-banner {
|
|
|
margin: 22upx 24upx 0;
|
|
|
padding: 22upx 28upx;
|
|
|
@@ -1307,7 +1178,7 @@ export default {
|
|
|
|
|
|
.purchase-ghs-panel .ghs_list_page .ghs_list_area .ghs_box .box_9 .tag_2 {
|
|
|
width: 120upx;
|
|
|
- height: 140upx;
|
|
|
+ height: 120upx;
|
|
|
margin: 0;
|
|
|
padding: 15upx 4upx;
|
|
|
border: 1upx solid #dbeee3;
|
|
|
@@ -1519,11 +1390,6 @@ export default {
|
|
|
flex-shrink: 0;
|
|
|
}
|
|
|
|
|
|
-.function-icon {
|
|
|
- width: 58upx;
|
|
|
- height: 58upx;
|
|
|
-}
|
|
|
-
|
|
|
.phone-icon {
|
|
|
width: 28upx;
|
|
|
height: 28upx;
|