Browse Source

上传代码

teacherMiniApp
yanghao 3 years ago
parent
commit
343edf0e99
  1. 4
      config/index.js
  2. 3
      pages/serviceTeacher/addMember.vue
  3. 32
      pages/serviceTeacher/memberManagement.vue

4
config/index.js

@ -1,8 +1,8 @@
// export const VUE_APP_API_URL = 'http://natapp.xinxintuan.co/api';
// export const VUE_APP_API_URL = 'https://wxapi.yixiang.co/api'
// export const VUE_APP_API_URL = 'http://192.168.0.112:8088/api'
// export const VUE_APP_API_URL = 'http://192.168.1.34:8088/api/'
export const VUE_APP_API_URL = 'https://www.cyjyyjy.com/api'
export const VUE_APP_API_URL = 'http://192.168.68.126:8088/api/'
// export const VUE_APP_API_URL = 'https://www.cyjyyjy.com/api'
// export const VUE_APP_API_URL = 'http://natapp.xinxintuan.co/api';
// export const VUE_APP_API_URL = 'https://thapi.xinxintuan.co/api'
// export const VUE_APP_API_URL = 'https://h5api.xinxintuan.co/api';

3
pages/serviceTeacher/addMember.vue

@ -229,9 +229,10 @@
uni.showToast({
title: "添加成功!"
})
this.getMemberList();
this.memberList = []
this.checkedArr = [];
this.checkedAllArr = [];
this.getMemberList();
} else{
uni.showToast({
title: res.msg,

32
pages/serviceTeacher/memberManagement.vue

@ -43,38 +43,6 @@
</view>
<view class="no-more">{{loadState}}</view>
</view>
<!-- <uni-collapse accordion="true" @change="openChange()">
<uni-collapse-item
:title="`${item.levelName} (${item.memberNum})`"
:show-animation="true"
ref="add"
v-for="(item,index) in levelList"
:key="index"
style="border-top: 1px solid #f3f3f3;">
<view style="padding: 20rpx;">
<view class="member-list">
<view class="member-item acea-row" v-for="(member,idx) in memberList" :key="idx" @click="toMemberDetail(member)">
<view class="img-box"><image :src="member.avatar" mode="aspectFill"></image></view>
<view class="memberInfo-box">
<view class="name">{{member.realName}}</view>
<view class="jifen">{{member.integral}}积分</view>
<view class="record-box acea-row">
<view class="course-record">
<image src="../../static/kecheng-icon2.png"></image>
<text>课程 {{member.finishCourseNum}}/{{member.enterCourseNum}}</text>
</view>
<view class="course-record">
<image src="../../static/dabang-icon.png"></image>
<text>打榜 {{member.finishStudylistNm}}/{{member.enterStudylistNum}}</text>
</view>
</view>
</view>
<view class="call-btn" @click.stop="call(member.phone)">拨号</view>
</view>
</view>
</view>
</uni-collapse-item>
</uni-collapse> -->
</view>
</template>

Loading…
Cancel
Save