|
@@ -79,7 +79,7 @@
|
|
|
<uni-list-item v-if="userInfo.isExtensionWorker == 1" :clickable="true" title="推广码" showArrow thumb="/static/my/qr.png" thumb-size="sm" @click="openQrCord" />
|
|
<uni-list-item v-if="userInfo.isExtensionWorker == 1" :clickable="true" title="推广码" showArrow thumb="/static/my/qr.png" thumb-size="sm" @click="openQrCord" />
|
|
|
<uni-list-item v-if="userInfo.roleTag == 1" :clickable="true" title="购买优惠券" to="/pages/purchaseCoupon/purchaseCoupon" showArrow thumb="/static/my/coupon.png" thumb-size="sm" />
|
|
<uni-list-item v-if="userInfo.roleTag == 1" :clickable="true" title="购买优惠券" to="/pages/purchaseCoupon/purchaseCoupon" showArrow thumb="/static/my/coupon.png" thumb-size="sm" />
|
|
|
<uni-list-item v-if="userInfo.isManager == 1" :clickable="true" title="拓客排行榜" to="/pages/spreadRankingList/spreadRankingList" showArrow thumb="/static/my/ranking.png" thumb-size="sm"/>
|
|
<uni-list-item v-if="userInfo.isManager == 1" :clickable="true" title="拓客排行榜" to="/pages/spreadRankingList/spreadRankingList" showArrow thumb="/static/my/ranking.png" thumb-size="sm"/>
|
|
|
- <uni-list-item :clickable="true" title="我的规则" to="/pages/myRules/index" showArrow thumb="/static/my/ranking.png" thumb-size="sm"/>
|
|
|
|
|
|
|
+ <uni-list-item v-if="userInfo.isManager == 0" :clickable="true" title="我的规则" to="/pages/myRules/index" showArrow thumb="/static/my/ranking.png" thumb-size="sm"/>
|
|
|
<uni-list-item v-if="userInfo.isManager == 1" :clickable="true" title="我的角色" to="/pages/myRole/index" showArrow thumb="/static/my/ranking.png" thumb-size="sm"/>
|
|
<uni-list-item v-if="userInfo.isManager == 1" :clickable="true" title="我的角色" to="/pages/myRole/index" showArrow thumb="/static/my/ranking.png" thumb-size="sm"/>
|
|
|
</uni-list>
|
|
</uni-list>
|
|
|
</view>
|
|
</view>
|
|
@@ -161,7 +161,6 @@
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
openQrCord() {
|
|
openQrCord() {
|
|
|
- console.log(11111111111111111)
|
|
|
|
|
this.$api.service.getExtensionId().then(res => {
|
|
this.$api.service.getExtensionId().then(res => {
|
|
|
let data = {
|
|
let data = {
|
|
|
ruleId: res.data.data,
|
|
ruleId: res.data.data,
|