Commit ce12c0a7 by kyle

邀请信息列表

parent 6d141e69
...@@ -196,5 +196,9 @@ export default { ...@@ -196,5 +196,9 @@ export default {
//查询证件类型 //查询证件类型
erpInitialize(params){ erpInitialize(params){
return request(`${apiURL}/erp/erpInitialize`, "POST", params) return request(`${apiURL}/erp/erpInitialize`, "POST", params)
},
// 邀请列表查询
queryInviteList(params){
return request(`${cffpURL}/partner/queryInviteList`, "POST", params)
} }
} }
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<view class="liBox"><text>考试方式:</text><text>{{certificateInfo.examinationType == 1 ? '线上考试' : '/'}}</text></view> <view class="liBox"><text>考试方式:</text><text>{{certificateInfo.examinationType == 1 ? '线上考试' : '/'}}</text></view>
<view class="liBox"><text>及格分数:</text><text>{{certificateInfo.passScore}}</text></view> <view class="liBox"><text>及格分数:</text><text>{{certificateInfo.passScore}}</text></view>
</view> </view>
<view class="eqrocdeContent"> <view class="eqrocdeContent" v-if="certificateInfo.wechatCodeUrl">
<image :src="certificateInfo.wechatCodeUrl" alt="" srcset="" mode="widthFix"></image> <image :src="certificateInfo.wechatCodeUrl" alt="" srcset="" mode="widthFix"></image>
<text>请扫二维码进群学习~</text> <text>请扫二维码进群学习~</text>
</view> </view>
......
...@@ -49,30 +49,32 @@ ...@@ -49,30 +49,32 @@
</view> </view>
<!-- 邀请信息 --> <!-- 邀请信息 -->
<view class="inviteListsBox" v-if="tabType===2"> <view class="inviteListsBox" v-if="tabType===2">
<view class="listUl ulBox"> <view class="listUl ulBox" v-for="item in inviteLists" >
<view class="liBox"> <view class="liBox">
<text>姓名:</text> <text>姓名:</text>
<text></text> <text>{{item.name}}</text>
</view> </view>
<view class="liBox"> <view class="liBox">
<text>手机号:</text> <text>手机号:</text>
<text></text> <text>{{item.mobileNumber}}</text>
</view> </view>
<view class="liBox"> <view class="liBox">
<text>申请身份:</text> <text>申请身份:</text>
<text></text> <text>{{item.partnerLevel == '1'? '事业伙伴' : '工作室'}}</text>
</view> </view>
<view class="liBox"> <view class="liBox">
<text>所属组织:</text> <text>所属组织:</text>
<text></text> <text>{{item.orgName}}</text>
</view> </view>
<view class="liBox"> <view class="liBox">
<text>是否跨区邀请:</text> <text>是否跨区邀请:</text>
<text></text> <text>{{item.hasCrossDistrict==1 ? '是' : '否'}}</text>
</view> </view>
<view class="liBox"> <view class="liBox">
<text>邀请状态:</text> <text>邀请状态:</text>
<text></text> <text v-if="item.approvalStatus=='0'">审核中</text>
<text v-else-if="item.approvalStatus=='1'" class="success">邀请成功</text>
<text v-else class="fail">邀请失败</text>
</view> </view>
</view> </view>
</view> </view>
...@@ -105,18 +107,24 @@ ...@@ -105,18 +107,24 @@
</template> </template>
<script> <script>
import api from "@/api/api"
export default { export default {
data() { data() {
return { return {
userId:'1',
tabType:1, tabType:1,
identityArr:['工作室','事业伙伴'], identityArr:['工作室','事业伙伴'],
applyIdentity:0, applyIdentity:0,
isCross:true isCross:true,
inviteLists:[]
}; };
}, },
methods:{ methods:{
switchTab(type){ switchTab(type){
this.tabType = type; this.tabType = type;
if(this.tabType===2){
this.queryInviteList()
}
}, },
bindPickerChange: function(e) { bindPickerChange: function(e) {
this.applyIdentity = e.detail.value this.applyIdentity = e.detail.value
...@@ -162,6 +170,13 @@ ...@@ -162,6 +170,13 @@
}); });
} }
}, },
queryInviteList(){
api.queryInviteList({userId:this.userId}).then(res=>{
if(res['success']){
this.inviteLists = res['data']['data']
}
})
},
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment