diff --git a/newPages/courseDetail/index.vue b/newPages/courseDetail/index.vue
index 27d7cd1..e5242b9 100644
--- a/newPages/courseDetail/index.vue
+++ b/newPages/courseDetail/index.vue
@@ -5,19 +5,19 @@
课程详情
-
+
@@ -45,23 +45,23 @@
咨询客服
@@ -75,57 +75,74 @@
import request from "@/utils/request";
import config from "@/config.js"
import {getLocalUserInfo, getUserInfo} from "@/utils/auth";
+
export default {
data() {
return {
- courseId: undefined,
- tenantId: undefined,
- courseDetails: [],
- imagesUrl: config.imagesUrl,
- userDetails: [],
+ courseId: undefined,
+ tenantId: undefined,
+ courseDetails: [],
+ driveSchoolPhone: [],
+ imagesUrl: config.imagesUrl,
+ userDetails: [],
};
},
onLoad(options) {
- this.courseId = options.courseId;
- this.tenantId = options.tenantId;
- console.log(options)
- this.getCourseDetails();
+ this.courseId = options.courseId;
+ this.tenantId = options.tenantId;
+ console.log(options)
+ this.getCourseDetails();
this.userDetails = getLocalUserInfo();
- console.log('123123',this.userDetails)
- },
+ this.getServicePhone()
+ console.log('123123', this.userDetails)
+ },
methods: {
- goBack() {
- uni.navigateBack({
- delta: 1
- });
- },
- getCourseDetails(){
- request({
- url: '/app-api/dl-drive-school-course-small/get',
- method: 'GET',
- params: {
- id: this.courseId,
- tenantId: this.tenantId,
- },
- tenantIdFlag: false
- }).then(res => {
- this.courseDetails = res.data;
+ goBack() {
+ uni.navigateBack({
+ delta: 1
+ });
+ },
+ getCourseDetails() {
+ request({
+ url: '/app-api/dl-drive-school-course-small/get',
+ method: 'GET',
+ params: {
+ id: this.courseId,
+ tenantId: this.tenantId,
+ },
+ tenantIdFlag: false
+ }).then(res => {
+ this.courseDetails = res.data;
- console.log('驾校课程列表', this.schoolAllClassList);
- })
- },
- zxkf() {
- uni.makePhoneCall({
- phoneNumber: '18888888888'
- });
- },
+ console.log('驾校课程列表', this.schoolAllClassList);
+ })
+ },
+ zxkf() {
+ uni.makePhoneCall({
+ phoneNumber: this.driveSchoolPhone.phone
+ });
+ },
+ getServicePhone() {
+ request({
+ url: '/app-api/dl-drive-school-course-small/getServicePhone',
+ method: 'GET',
+ params: {
+ tenantId: this.tenantId,
+ }
+ }).then(res => {
+ this.driveSchoolPhone = res.data
+ console.log('客服电话res', res)
+ console.log('客服电话1', this.driveSchoolPhone)
+ console.log('客服电话2', this.driveSchoolPhone.phone)
+ })
+ },
- goRegisterNow(){
- uni.navigateTo({
- url: `/newPages/register/index?courseId=${this.courseDetails.id}&userId=${this.userDetails.id}&tenantId=${this.tenantId}`,
- // url: '/pages/index/bmPage'
- });
- },
+ goRegisterNow() {
+ uni.navigateTo({
+ url: `/newPages/register/index?courseId=${this.courseDetails.id}&userId=${this.userDetails.id}&tenantId=${this.tenantId}`,
+ // url: '/pages/index/bmPage'
+ });
+ },
}
};
diff --git a/newPages/courseList/index.vue b/newPages/courseList/index.vue
index 7cd43c5..15efd90 100644
--- a/newPages/courseList/index.vue
+++ b/newPages/courseList/index.vue
@@ -1,47 +1,48 @@
-
+
课程
-
+
-
-
-
-
-
- {{ item.tittle }}
-
- ¥{{ item.price - item.favour }}
- ¥{{ item.price }}
+
+
+
+
+
+ {{ item.tittle }}
+
+ ¥{{ item.price - item.favour }}
+ ¥{{ item.price }}
+
+
+
+ {{ item.type }}
+
+
+ {{ item.name }}
-
- {{ item.type }}
-
-
- {{ item.name }}
-
-
-
-
+
+
diff --git a/newPages/evaluateAdd/index.vue b/newPages/evaluateAdd/index.vue
index 55f3c0f..6a1470c 100644
--- a/newPages/evaluateAdd/index.vue
+++ b/newPages/evaluateAdd/index.vue
@@ -9,7 +9,7 @@
- {{ subjectArr[info.subject - 1] }}{{ title}}
+ {{ subjectArr[info.subject - 1] }}{{ title }}
{{ info.time }}
@@ -24,14 +24,15 @@
{{ info.coachName }}
-
+
{{ info.rate }}
@@ -40,11 +41,11 @@
服务评价
-
+
技术评价
-
+
@@ -69,9 +70,9 @@ export default {
return {
constants: {},
show: false,
- title:'',
+ title: '',
// 评价信息
- info:{
+ info: {
rate: 0.0,
evaluateType: 0,
busiId: '',
@@ -81,7 +82,7 @@ export default {
subjectArr: ['科目一', '科目二', '科目三', '科目四'],
};
},
- onLoad(options){
+ onLoad(options) {
const data = JSON.parse(options.data);
// 判断新增还是查看
if (options.controls) {
@@ -107,8 +108,9 @@ export default {
console.log(this.info)
},
methods: {
- changeRate(){},
- submit(){
+ changeRate() {
+ },
+ submit() {
// 判断评分、评价不能为空
if (this.info.rate === 0.0 || this.info.serviceEvaluate === '' || this.info.technologyEvaluate === '') {
uni.showToast({
@@ -146,7 +148,8 @@ export default {
diff --git a/newPages/orderList/index.vue b/newPages/orderList/index.vue
index b5c27bc..1a72149 100644
--- a/newPages/orderList/index.vue
+++ b/newPages/orderList/index.vue
@@ -1,87 +1,94 @@
-
+
订单
-
+
-
-
-
- 订单号: {{item.orderNo}}
-
- {{ statusMap[item.paymentStatus].name}}
+
+
+
+ 订单号: {{item.orderNo}}
+
+ {{
+ statusMap[item.paymentStatus].name}}
+
+
-
-
-
-
-
- {{item.courseName}}
-
- {{item.reserveMoney}}
- {{item.reserveMoney}}
+
+
+
+
+ {{item.courseName}}
+
+ {{item.reserveMoney}}
+ {{item.reserveMoney}}
+
+
+
+ {{typeFormat(item.type).code}}
+
+
+ {{typeFormat(item.type).desc}}
-
- {{item.courseType}}
-
-
- {{item.courseType}}
-
-
-
+
- 全部订单
-
-
- 已付款
-
-
- 已面签
-
-
- 已报名
-
+ class="text_9"
+ :class="{ 'active-blue': type === 1 }"
+ @click="changeOrderType('',1)"
+ >
+ 全部订单
+
+
+ 已付款
+
+
+ 已面签
+
+
+ 已报名
+
@@ -92,9 +99,11 @@
diff --git a/newPages/register/index.vue b/newPages/register/index.vue
index 6164e50..6be9b3e 100644
--- a/newPages/register/index.vue
+++ b/newPages/register/index.vue
@@ -1,963 +1,966 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ rightInfoList.name}}
-
- {{rightInfoList.tittle}}
- {{rightInfoList.type}}
-
- ¥{{rightInfoList.price}}
- ¥{{rightInfoList.price}}
-
-
-
-
-
-
- 选择教练
-
-
- 请选择
- {{jlName}}
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ rightInfoList.name }}
+
+ {{ rightInfoList.tittle }}
+ {{ rightInfoList.type }}
+
+
+ ¥{{ rightInfoList.price }}
+ ¥{{ rightInfoList.price }}
+
+
+
+
+
+
+ 选择教练
+
+
+ 请选择
+ {{ jlName }}
+
+
+
-
-
-
-
- 填写身份信息
-
-
- 点击上传身份证
-
-
+
+
+
+
+ 填写身份信息
+
+
+ 点击上传身份证
+
+
-
- 姓名
-
-
-
-
-
- 性别
-
- {{item}}
-
-
-
- 年龄
-
-
-
-
-
- 手机号
-
-
-
-
-
- 身份证号
-
-
-
-
-
-
-
-
-
- {{dname}}:
-
- ¥{{ currentPrice }}
-
-
-
-
+ -->
+
+
+
+
+ {{ dname }}
+ :
+
+ ¥{{ currentPrice }}
+
+
+
+
-
-
-
- 线下支付
-
-
-
-
-
-
-
-
-
-
-
- 微信
-
-
-
-
-
-
-
-
-
+
+
+
+ 线下支付
+
+
+
+
+
+
+
+
+
+
+
+ 微信
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
diff --git a/newPages/schoolDetail/index.vue b/newPages/schoolDetail/index.vue
index 4987dbd..67f2400 100644
--- a/newPages/schoolDetail/index.vue
+++ b/newPages/schoolDetail/index.vue
@@ -1,28 +1,26 @@
-
-
-
-
+
+
驾校
-
+
-
-
+
+
{{ schoolDetails.corpName }}
@@ -36,47 +34,47 @@
-
-
-
-
+
+
+
+
@@ -85,9 +83,9 @@
{{ item.tittle }}
@@ -104,19 +102,19 @@
-
+
查看全部班型({{ schoolAllClassList.length }})
-
+
@@ -125,9 +123,9 @@
{{ item.name }}
@@ -138,9 +136,9 @@
学员 598人
-
+
-
+
diff --git a/newPages/schoolList/index.vue b/newPages/schoolList/index.vue
index 4f81c75..a0491c8 100644
--- a/newPages/schoolList/index.vue
+++ b/newPages/schoolList/index.vue
@@ -1,14 +1,16 @@
-
+
+
+
-
+
@@ -98,7 +100,7 @@ export default {
})
this.schoolList = this.schoolList.concat(res.data.records)
this.total = res.data.total
- console.log('长度',this.schoolList.length)
+ console.log('长度', this.schoolList.length)
this.isTriggered = false
})
},
@@ -120,7 +122,7 @@ export default {
/**
* 下拉刷新数据
*/
- onRefresherrefresh(){
+ onRefresherrefresh() {
this.isTriggered = true
this.pageNo = 1
this.total = 0
@@ -174,13 +176,15 @@ export default {