0417-3
This commit is contained in:
parent
457b953046
commit
bca7aef387
File diff suppressed because it is too large
Load Diff
@ -54,6 +54,8 @@
|
|||||||
if (options.data) {
|
if (options.data) {
|
||||||
this.contractData = JSON.parse(decodeURIComponent(options.data));
|
this.contractData = JSON.parse(decodeURIComponent(options.data));
|
||||||
this.callback = options.callback;
|
this.callback = options.callback;
|
||||||
|
this.tenantId = this.contractData.tenantId
|
||||||
|
console.log('options', this.contractData)
|
||||||
}
|
}
|
||||||
this.callback = options.callback;
|
this.callback = options.callback;
|
||||||
this.userData = uni.getStorageSync('userInfo');
|
this.userData = uni.getStorageSync('userInfo');
|
||||||
@ -122,11 +124,11 @@
|
|||||||
async signatureChange(e) {
|
async signatureChange(e) {
|
||||||
this.imgUrl = e
|
this.imgUrl = e
|
||||||
let res = await request({
|
let res = await request({
|
||||||
url: '/app-api/small/driveSchool/obtainContract',
|
url: '/app-api/small/driveSchool/obtainContract/add',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: {
|
data: {
|
||||||
userName: this.contractData.name,
|
userName: this.contractData.name,
|
||||||
tenantId: this.tenantId,
|
tenantId: this.contractData.tenantId,
|
||||||
userId: this.userData.id,
|
userId: this.userData.id,
|
||||||
content: this.content,
|
content: this.content,
|
||||||
userUrl: this.userUrl,
|
userUrl: this.userUrl,
|
||||||
|
|||||||
@ -8,9 +8,6 @@
|
|||||||
<scroll-view :style="{ height: scrollHeight + 'px' }" scroll-y="true" class="scroll-view">
|
<scroll-view :style="{ height: scrollHeight + 'px' }" scroll-y="true" class="scroll-view">
|
||||||
<view class="group_3 flex-col">
|
<view class="group_3 flex-col">
|
||||||
<image style="width: 100%; height: 100%;" :src="imagesUrl + '/' + courseDetails.photo" />
|
<image style="width: 100%; height: 100%;" :src="imagesUrl + '/' + courseDetails.photo" />
|
||||||
v-if="courseDetails.photo" />
|
|
||||||
<u-empty mode="data" text='暂无图片' v-else>
|
|
||||||
</u-empty>
|
|
||||||
</view>
|
</view>
|
||||||
<view class="group_4 flex-col">
|
<view class="group_4 flex-col">
|
||||||
<view class="section_2 flex-row justify-between">
|
<view class="section_2 flex-row justify-between">
|
||||||
@ -171,4 +168,4 @@
|
|||||||
margin-top: 20rpx;
|
margin-top: 20rpx;
|
||||||
padding: 10rpx;
|
padding: 10rpx;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
Loading…
Reference in New Issue
Block a user