调整购物商品兑换,节点中心调整,权证转让管理增加筛选,调整交易市场

This commit is contained in:
唐明明
2021-11-11 16:40:19 +08:00
parent d3ca6422a0
commit 8dec48f748
9 changed files with 1144 additions and 997 deletions

View File

@@ -56,7 +56,7 @@
<view class="userVip" :class="{ animated: animatedShow }">
<view class="userVip-top">
<view class="userVip-top-name" v-if="userIdentity.right">
{{ userData.identity.id == 1 ? '开通' + userIdentity.right.name : '到期时间' + userIdentity.times.ended_at}}
{{ userData.identity.id == 1 ? '开通' + userIdentity.right.name : userIdentity.times.name + '会员'}}
</view>
<!-- v-if="userData.identity.id != 5" -->
<view class="userVip-top-btn" @click="openVip(userIdentity.right.identity_id)" >
@@ -172,64 +172,66 @@
</view>
</view>
<!-- 企业工具 -->
<view class="userPartner" v-if="userData.is_company">
<view class="partner-title">企业工具</view>
<view class="tool-list">
<view class="tool-label" v-if="permission.manageGoods" @click="$Router.push({name: 'goodsManagement'})">
<image class="tool-label-img" src="/static/user/userTool-00.png" mode=""></image>
<view class="tool-label-name">商品权证</view>
</view>
<view class="tool-label" v-if="permission.manageCoupons" @click="$Router.push({name: 'couponsManagement'})">
<image class="tool-label-img" src="/static/user/userTool-01.png" mode=""></image>
<view class="tool-label-name">优惠券管理</view>
</view>
<view class="tool-label" v-if="permission.orderShipment" @click="$Router.push({name: 'Deliver'})">
<image class="tool-label-img" src="/static/user/userTool-08.png" mode=""></image>
<view class="tool-label-name">发货单管理</view>
</view>
<view class="tool-label" v-if="permission.orderRefund" @click="$Router.push({name: 'Return'})">
<image class="tool-label-img" src="/static/user/userTool-07.png" mode=""></image>
<view class="tool-label-name">退换货管理</view>
</view>
<view class="tool-label" @click="$Router.push({name: 'instrumentSpread'})">
<image class="tool-label-img" src="/static/user/userTool-02.png" mode=""></image>
<view class="tool-label-name">营销推广码</view>
</view>
<view class="tool-label" v-if="isOwnCompany" @click="$Router.push({name: 'instrumentBasics'})">
<image class="tool-label-img" src="/static/user/userTool-03.png" mode=""></image>
<view class="tool-label-name">基础信息</view>
</view>
<view class="tool-label" v-if="permission.manageStore" @click="$Router.push({name: 'shopLists'})">
<image class="tool-label-img" src="/static/user/userTool-04.png" mode=""></image>
<view class="tool-label-name">门店管理</view>
</view>
<view class="tool-label" v-if="permission.manageEmployee" @click="$Router.push({name: 'employeesList'})">
<image class="tool-label-img" src="/static/user/userTool-05.png" mode=""></image>
<view class="tool-label-name">员工管理</view>
</view>
<view class="tool-label" v-if="permission.manageScan" @click="$Router.push({name: 'verificationIndex'})">
<image class="tool-label-img" src="/static/user/userTool-06.png" mode=""></image>
<view class="tool-label-name">扫码核销</view>
</view>
</view>
</view>
<view class="userPartner" style="display: flex;flex-direction: column;" v-else>
<block v-if="companyCreateInfo.code !== 1" >
<block v-if="userData.identity.id > 1">
<view class="userPartner" v-if="userData.is_company">
<view class="partner-title">企业工具</view>
<view class="partner-open" @click="company(companyCreateInfo.code)">
<image class="partner-icon" src="@/static/icons/company-icon.png" mode="widthFix"></image>
<view>
<view class="partner-open-title">
<text v-if="companyCreateInfo.code === -1">开通企业认证</text>
<text v-if="companyCreateInfo.code === 0">企业认证审核中</text>
<text v-if="companyCreateInfo.code === 2">企业认证被已驳回</text>
</view>
<view class="partner-open-text">发布权证优惠券为店铺引流</view>
<view class="tool-list">
<view class="tool-label" v-if="permission.manageGoods" @click="$Router.push({name: 'goodsManagement'})">
<image class="tool-label-img" src="/static/user/userTool-00.png" mode=""></image>
<view class="tool-label-name">商品权证</view>
</view>
<view class="tool-label" v-if="permission.manageCoupons" @click="$Router.push({name: 'couponsManagement'})">
<image class="tool-label-img" src="/static/user/userTool-01.png" mode=""></image>
<view class="tool-label-name">优惠券管理</view>
</view>
<view class="tool-label" v-if="permission.orderShipment" @click="$Router.push({name: 'Deliver'})">
<image class="tool-label-img" src="/static/user/userTool-08.png" mode=""></image>
<view class="tool-label-name">发货单管理</view>
</view>
<view class="tool-label" v-if="permission.orderRefund" @click="$Router.push({name: 'Return'})">
<image class="tool-label-img" src="/static/user/userTool-07.png" mode=""></image>
<view class="tool-label-name">退换货管理</view>
</view>
<view class="tool-label" @click="$Router.push({name: 'instrumentSpread'})">
<image class="tool-label-img" src="/static/user/userTool-02.png" mode=""></image>
<view class="tool-label-name">营销推广码</view>
</view>
<view class="tool-label" v-if="isOwnCompany" @click="$Router.push({name: 'instrumentBasics'})">
<image class="tool-label-img" src="/static/user/userTool-03.png" mode=""></image>
<view class="tool-label-name">基础信息</view>
</view>
<view class="tool-label" v-if="permission.manageStore" @click="$Router.push({name: 'shopLists'})">
<image class="tool-label-img" src="/static/user/userTool-04.png" mode=""></image>
<view class="tool-label-name">门店管理</view>
</view>
<view class="tool-label" v-if="permission.manageEmployee" @click="$Router.push({name: 'employeesList'})">
<image class="tool-label-img" src="/static/user/userTool-05.png" mode=""></image>
<view class="tool-label-name">员工管理</view>
</view>
<view class="tool-label" v-if="permission.manageScan" @click="$Router.push({name: 'verificationIndex'})">
<image class="tool-label-img" src="/static/user/userTool-06.png" mode=""></image>
<view class="tool-label-name">扫码核销</view>
</view>
</view>
<!-- <view class="onOpen" v-else ></view> -->
</block>
</view>
</view>
<view class="userPartner" style="display: flex;flex-direction: column;" v-else>
<block v-if="companyCreateInfo.code !== 1" >
<view class="partner-title">企业工具</view>
<view class="partner-open" @click="company(companyCreateInfo.code)">
<image class="partner-icon" src="@/static/icons/company-icon.png" mode="widthFix"></image>
<view>
<view class="partner-open-title">
<text v-if="companyCreateInfo.code === -1">开通企业认证</text>
<text v-if="companyCreateInfo.code === 0">企业认证审核中</text>
<text v-if="companyCreateInfo.code === 2">企业认证被已驳回</text>
</view>
<view class="partner-open-text">发布权证优惠券为店铺引流</view>
</view>
</view>
<!-- <view class="onOpen" v-else ></view> -->
</block>
</view>
</block>
<!-- 我的权证 -->
<view class="userPartner">
<view class="partner-title">
@@ -685,6 +687,7 @@
font-size: 30rpx;
flex: 1;
line-height: 24px;
font-weight: bold;
}
.userVip-top-btn {