diff --git a/newPages/orderDetails/index.vue b/newPages/orderDetails/index.vue
index fddf489..1d400d2 100644
--- a/newPages/orderDetails/index.vue
+++ b/newPages/orderDetails/index.vue
@@ -1,236 +1,236 @@
-
-
-
-
-
-
-
- {{ getStatusText(orderData.paymentStatus) }}
-
-
+
+
+
+
+
+
+
+ {{ getStatusText(orderData.paymentStatus) }}
+
+
-
-
-
+
+
+
-
-
-
- {{ orderData.courseName }}
-
- {{ getLicenseTypeDescription(orderData.courseType) }}
- {{ orderData.courseType }}
-
- {{ courseDetails.tittle }}
-
-
-
+
+
+
+ {{ orderData.courseName }}
+
+ {{ getLicenseTypeDescription(orderData.courseType) }}
+ {{ orderData.courseType }}
+
+ {{ courseDetails.tittle }}
+
+
+
-
-
-
- 学员姓名
- {{ orderData.userName }}
-
-
- 学员电话
- {{ orderData.userPhone }}
-
-
- 证件号码
- {{ orderData.userNo }}
-
-
- 教练姓名
- {{ orderData.coachUserName }}
-
-
- 驾校名称
- {{ schoolDetails.corpName }}
-
-
+
+
+
+ 学员姓名
+ {{ orderData.userName }}
+
+
+ 学员电话
+ {{ orderData.userPhone }}
+
+
+ 证件号码
+ {{ orderData.userNo }}
+
+
+ 教练姓名
+ {{ orderData.coachUserName }}
+
+
+ 驾校名称
+ {{ schoolDetails.corpName }}
+
+
-
-
-
- 订单编号
- {{ orderData.orderNo }}
-
-
- 下单时间
- {{ formatTime(orderData.createTime) }}
-
-
- 支付方式
- {{ getPayTypeText(orderData.payType) }}
-
-
- 支付状态
- {{ getStatusText(orderData.paymentStatus) }}
-
-
- 是否面签
- {{ orderData.isSign ? '已面签' : '未面签' }}
-
-
- 是否终止
- {{ orderData.ifEnd ? '已终止' : '未终止' }}
-
-
- 终止原因
- {{ orderData.endReason }}
-
-
+
+
+
+ 订单编号
+ {{ orderData.orderNo }}
+
+
+ 下单时间
+ {{ formatTime(orderData.createTime) }}
+
+
+ 支付方式
+ {{ getPayTypeText(orderData.payType) }}
+
+
+ 支付状态
+ {{ getStatusText(orderData.paymentStatus) }}
+
+
+ 是否面签
+ {{ orderData.isSign ? '已面签' : '未面签' }}
+
+
+ 是否终止
+ {{ orderData.ifEnd ? '已终止' : '未终止' }}
+
+
+ 终止原因
+ {{ orderData.endReason }}
+
+
-
-
-
+
+
-
- 课程金额
- ¥{{ courseDetails.price }}
-
+
+ 课程金额
+ ¥{{ courseDetails.price }}
+
-
- 定金金额
- ¥{{ courseDetails.reserveMoney }}
-
+
+ 定金金额
+ ¥{{ courseDetails.reserveMoney }}
+
-
- 尾款金额
- ¥{{ orderData.restMoney.toFixed(2) }}
-
+
+ 尾款金额
+ ¥{{ orderData.restMoney.toFixed(2) }}
+
-
- 待付尾款
- ¥{{ orderData.restMoney.toFixed(2) }}
-
+
+ 待付尾款
+ ¥{{ orderData.restMoney.toFixed(2) }}
+
-
- 实付款
- ¥{{ orderData.reserveMoney.toFixed(2) }}
-
-
-
-
-
-
+
+
-
+
+ .pay-button-text {
+ color: #fff;
+ font-size: 32rpx;
+ font-weight: bold;
+ }
+
\ No newline at end of file
diff --git a/pages/index/contract.vue b/pages/index/contract.vue
index 6f1e2d4..546bc88 100644
--- a/pages/index/contract.vue
+++ b/pages/index/contract.vue
@@ -54,6 +54,8 @@
if (options.data) {
this.contractData = JSON.parse(decodeURIComponent(options.data));
this.callback = options.callback;
+ this.tenantId = this.contractData.tenantId
+ console.log('options', this.contractData)
}
this.callback = options.callback;
this.userData = uni.getStorageSync('userInfo');
@@ -122,11 +124,11 @@
async signatureChange(e) {
this.imgUrl = e
let res = await request({
- url: '/app-api/small/driveSchool/obtainContract',
+ url: '/app-api/small/driveSchool/obtainContract/add',
method: 'post',
data: {
userName: this.contractData.name,
- tenantId: this.tenantId,
+ tenantId: this.contractData.tenantId,
userId: this.userData.id,
content: this.content,
userUrl: this.userUrl,
diff --git a/pagesA/courseDetail/index.vue b/pagesA/courseDetail/index.vue
index b31e145..018acec 100644
--- a/pagesA/courseDetail/index.vue
+++ b/pagesA/courseDetail/index.vue
@@ -8,9 +8,6 @@
- v-if="courseDetails.photo" />
-
-
@@ -171,4 +168,4 @@
margin-top: 20rpx;
padding: 10rpx;
}
-
+
\ No newline at end of file