瀏覽代碼

协销分配

zhengjinyi 2 年之前
父節點
當前提交
7010b92dbf
共有 3 個文件被更改,包括 9 次插入4 次删除
  1. 5 2
      pages/seller/club/club-info.vue
  2. 3 1
      pages/seller/club/list.vue
  3. 1 1
      pages/seller/components/cm-seller-popup.vue

+ 5 - 2
pages/seller/club/club-info.vue

@@ -17,7 +17,7 @@
 				<view class="info-title">
 					<view class="info-title-left">
 						<view
-							>机构资料:<text>{{ clubInfo.userIdentity === 2 ? '资质机构' : '普通机构' }}</text></view
+							>机构资料:<text>{{ clubInfo.userIdentity === 2 ? '资质机构' : '个人机构' }}</text></view
 						>
 					</view>
 					<view class="info-title-right">
@@ -82,7 +82,7 @@
 			</view>
 		</template>
 		<!-- 按钮 -->
-		<template v-if="clubInfo.spType === 0">
+		<template v-if="clubInfo.spType === 0 && isManage">
 			<tui-bottom-popup :radius="false" :mask="false" :show="true">
 				<view class="tui-popup-box clearfix">
 					<view class="tui-right-flex tui-popup-btn" :style="{ paddingBottom: isIphoneX ? '68rpx' : '34rpx' }">
@@ -173,6 +173,9 @@ export default {
 			return text
 		}
 	},
+	computed: {
+		...mapState(['isManage'])
+	},
 	methods: {
 		async userClubRecordLinkage(param) {
 			//查询机构信息

+ 3 - 1
pages/seller/club/list.vue

@@ -224,7 +224,9 @@ export default {
 			},
 		}
 	},
-	onLoad() {},
+	onLoad() {
+		
+	},
 	computed: {
 		...mapState(['isManage'])
 	},

+ 1 - 1
pages/seller/components/cm-seller-popup.vue

@@ -57,7 +57,7 @@ export default {
 	methods: {
 		async userClubChoseList() {
 			const userInfo = await this.$api.getStorage()
-			this.SellerService.userClubChoseList()
+			this.SellerService.userClubChoseList({ spId : userInfo.serviceProviderId })
 				.then(response => {
 					let data = response.data
 					if (data && data.length > 0) {