Browse Source

学员信息对接

master
unknown 7 months ago
parent
commit
213d59b610
  1. 2
      components/appointItem-operate/appointItem-operate.vue
  2. 2
      config/api.js
  3. 4
      manifest.json
  4. 42
      pages/recordEntry/student/studentDetail/comp/info.vue
  5. 5
      pages/recordEntry/student/studentDetail/studentDetail.vue
  6. 1
      pages/tabbar/student/index.vue

2
components/appointItem-operate/appointItem-operate.vue

@ -63,7 +63,7 @@
props: ['item'],
data() {
return {
subjectTxt: ['不限', '科目二', '科目三'],//:023
subjectTxt: ['不限', '', '科目二', '科目三'],//:023
loginStatusTxt: ['未签到', '已签到', '已签退', '已过期', '已取消'],//012退39
}
}

2
config/api.js
File diff suppressed because it is too large
View File

4
manifest.json

@ -1,5 +1,5 @@
{
"name" : "recruitStudent",
"name" : "洛阳驾校端",
"appid" : "__UNI__BD23957",
"description" : "",
"versionName" : "1.0.0",
@ -86,7 +86,7 @@
"disableHostCheck" : true,
"proxy" : {
"/api" : {
"target" : "http://192.168.1.43:8318/",
"target" : "http://192.168.1.38:8318/",
// "target" : "http://work.lyjppt.com:8099/",
"changeOrigin" : true,
"secure" : true,

42
pages/recordEntry/student/studentDetail/comp/info.vue

@ -19,7 +19,7 @@
</view>
<view class="li">
<view class="val">学车班型</view>
<view class="lab">{{info.a}}</view>
<view class="lab">{{info.className}}</view>
</view>
<view class="li">
<view class="val">学车教练</view>
@ -31,47 +31,47 @@
</view>
<view class="li">
<view class="val">是否异地转入</view>
<view class="lab">xxx</view>
<view class="lab">{{ info.transfer==1?'是': '否'}}</view>
</view>
</view>
<view class="h1">报名支付</view>
<view class="card">
<view class="li">
<!-- <view class="li">
<view class="val">班型</view>
<view class="lab">xxx</view>
</view>
<view class="li">
</view> -->
<!-- <view class="li">
<view class="val">报名渠道</view>
<view class="lab">xxx</view>
</view>
</view> -->
<view class="li">
<view class="val">费用总计</view>
<view class="lab">xxx</view>
<view class="lab">{{$u.utils.priceTo(info.totalAmount)}}</view>
</view>
<view class="li">
<view class="val">创建时间</view>
<view class="lab">xxx</view>
<view class="lab">{{ $u.timeFormat(info.createTime, 'yyyy-mm-dd hh:MM:ss')}}</view>
</view>
<view class="li">
<view class="val">支付时间</view>
<view class="lab">xxx</view>
<view class="lab">{{info.payTime}}</view>
</view>
<view class="li">
<view class="val">支付方式</view>
<view class="lab">xxx</view>
<view class="lab">{{ payTypeTxt[info.payType]}}</view>
</view>
<view class="li">
<view class="val">支付订单号</view>
<view class="lab">xxx</view>
<view class="lab">{{info.orderNo}}</view>
</view>
<view class="li">
<view class="val">报名流水号</view>
<view class="lab">xxx</view>
<view class="lab">{{info.tradeNo}}</view>
</view>
<view class="li">
<!-- <view class="li">
<view class="val">学员统一编号</view>
<view class="lab">xxx</view>
</view>
<view class="lab">{{info.stunum}}</view>
</view> -->
</view>
</view>
@ -83,7 +83,8 @@
props: ['id'],
data() {
return {
info: {}
info: {},
payTypeTxt: ['', '支付宝', '微信', '银联', 'applypay'],//1234applypay5
}
},
mounted() {
@ -91,7 +92,7 @@
},
methods: {
async studentDetailFn() {
const {data: res} = await studentDetail({id: this.id, userId: this.vuex_loginInfo.userId})
const {data: res} = await studentDetail({studentId: this.id, })
this.info = res
}
}
@ -99,12 +100,15 @@
</script>
<style lang="scss" scoped>
.info {
padding: 20rpx 0;
}
.li {
display: flex;
border-bottom: 2rpx solid #F8F8F8;
line-height: 96rpx;
// line-height: 96rpx;
font-size: 30rpx;
padding: 0 28rpx;
padding: 28rpx;
.val {
color: #999;
width: 220rpx;

5
pages/recordEntry/student/studentDetail/studentDetail.vue

@ -1,11 +1,11 @@
<template>
<view class="pageBgImg">
<topNavbar title="学员详情"></topNavbar>
<view class="pad">
<view class="pad" >
<cardNav :navData="navData" :currentNav="currentNav" @changeNav="changeNav"></cardNav>
</view>
<scrollNav @changeTab="changeTab" :currentTab="currentTab" :tabData="tabData" />
<scrollNav @changeTab="changeTab" :currentTab="currentTab" :tabData="tabData" v-if="currentNav==1"/>
<view class="pad">
<view class="con" v-if="currentNav==1">
@ -87,6 +87,7 @@
},
changeTab(id) {
this.currentTab = id
this.getStudentDynamicsFn()
},
changeNav(id) {
this.currentNav = id

1
pages/tabbar/student/index.vue

@ -220,6 +220,7 @@
for(let key in this.params) {
if(this.params[key]) obj[key] = this.params[key]
}
// if(obj.applyDateTime) obj.applyDateTime = obj.applyDateTime + ' 00:00:00'
const {data: res} = await studentRecordPage(obj)
this.params.pageNo ++
this.list.push(...res.list)

Loading…
Cancel
Save