Commit 22347782 by 李伟康

Merge branch 'SAAS+V5.0.0-1014' of http://192.168.3.233:8090/glsx/gl_tape into SAAS+V5.0.0-1014

2 parents 9640b2f4 b8c9358b
No preview for this file type
......@@ -49,7 +49,7 @@ const domain = {
}[target[index]]
const djDomain = {
ip: 'http://dj.dev.glsx.com.cn',
ip: 'http://192.168.1.221:5003',
// ip: 'http://192.168.2.80:8558',
dev: 'http://dj.dev.glsx.com.cn',
beta: 'https://dj.beta.glsx.com.cn', //预发布 appid: wx9f91c1ec493eb425
......@@ -59,7 +59,7 @@ const djDomain = {
}[target[index]]
const evaluationDomain = {
ip: 'http://192.168.1.103:5003',
ip: 'http://192.168.1.221:5003',
// ip: 'http://192.168.2.80:8558',
dev: 'http://gsc.dev.glsx.com.cn',
beta: 'https://dj.beta.glsx.com.cn', //预发布 appid: wx9f91c1ec493eb425
......
......@@ -21,7 +21,7 @@ const HOST = {
dj: djDomain,
eva: evaluationDomain,
merchant: merchantDomain,
ip: 'http://192.168.1.169:8292'
ip: 'http://192.168.1.221:5003'
}
uni.$api = api
// uni.$lock = false
......@@ -33,7 +33,7 @@ uni.$logger = logger
uni.$dbTempRecord = new DBRecord()
uni.$dbManager = new DBManager()
uni.$track = new Track()
console.log('init.js', HOST['eva'])
uni.signHttpConfig = {
baseURL: `${HOST['eva']}${pathEnum.evaluation}`,
timeout: 300000,
......@@ -68,12 +68,6 @@ uni.signHttpConfig = {
},
error: (error, config) => {
console.log('error事件触发', error, config)
uni.hideLoading()
uni.showToast({
title: error.msg || '请求失败',
icon: 'none'
})
return Promise.reject(error)
},
logout: config => {
console.log('logout事件触发', config)
......
<template>
<view class="add-evaluation-from">
<view class="nav-bar">
<view class="back" @click="backPage">
<view class="back" @click.stop="backPage">
<uni-icons type="left" :size="20" color="#000"></uni-icons>
</view>
<view class="title">新增评估单</view>
......@@ -67,10 +67,10 @@
<view class="button-module flex justify-center align-center">
<view class="button-container flex justify-between">
<view class="cancel-btn" @click="currentStep > 1 ? prevStep() : backPage()">
<view class="cancel-btn" @click.stop="currentStep > 1 ? prevStep() : backPage()">
{{ currentStep > 1 ? '上一步' : '取消' }}
</view>
<view class="next-btn" @click="currentStep < 3 ? nextStep() : submitForm()">
<view class="next-btn" @click.stop="currentStep < 3 ? nextStep() : submitForm()">
{{ currentStep < 3 ? '下一步' : '提交' }}
</view>
</view>
......@@ -87,7 +87,7 @@
<uni-calendar class="calendar" :showMonth="false" @change="calendarChange" />
</template>
</GeneralPopup>
<GeneralPopup ref="tipsPopup" popupClass="tipsPopup" type="center" :showClose="true" :showTitle="false" @confirm="confirmTips">
<GeneralPopup ref="tipsPopup" popupClass="tipsPopup" type="center" :showClose="true" :showTitle="false" @confirm="confirmTips" :noTitle="true">
<template #content>
<view>
<image class="tipsPopupBg" :src="bg" />
......@@ -99,6 +99,17 @@
</template>
</GeneralPopup>
<NoticePopup ref="notice" title="重要提示" text="当前页面暂未保存,是否确认退出" type="warning"></NoticePopup>
<GeneralPopup ref="editTipsPopup" popupClass="tipsPopup" type="center" :showClose="true" :showTitle="false" @confirm="confirmTips" :noTitle="true">
<template #content>
<view>
<image class="tipsPopupBg" :src="bg" />
<view class="title">提示</view>
<view class="tipsConent">
<view>您未对表单内容进行任何修改, 请修改后重新提交。</view>
</view>
</view>
</template>
</GeneralPopup>
</view>
</template>
<script>
......@@ -607,6 +618,16 @@ export default {
}
}
})
const licensePlateField = that.formFields.find(field => field.key === 'licensePlate')
if (licensePlateField) {
that.$set(licensePlateField, 'disabled', true)
}
} else {
uni.hideLoading()
uni.showToast({
title: res.data.msg || '请求失败',
icon: 'none'
})
}
})
},
......@@ -831,6 +852,12 @@ export default {
console.log('用户点击了取消')
})
}
} else {
uni.hideLoading()
uni.showToast({
title: res.data.msg || '请求失败',
icon: 'none'
})
}
})
}
......@@ -973,12 +1000,20 @@ export default {
})
.then(res => {
console.log('res:', res)
if (res.data.data.status == 1) {
this.formData.carBaseReqDTO.vin = res.data.data.vin
uni.hideLoading()
if (res.data.code == 0) {
if (res.data.data.status == 1) {
this.formData.carBaseReqDTO.vin = res.data.data.vin
uni.hideLoading()
} else {
uni.showToast({ title: res.data.data.errorMessage, icon: 'none' })
uni.hideLoading()
}
} else {
uni.showToast({ title: res.data.data.errorMessage, icon: 'none' })
uni.hideLoading()
uni.showToast({
title: res.data.msg || '请求失败',
icon: 'none'
})
}
})
},
......@@ -994,18 +1029,26 @@ export default {
.then(res => {
console.log('res:', res)
uni.hideLoading()
if (res.data.data.status == 1) {
this.formData.carBaseReqDTO.engineNumber = res.data.data.engineNumber
this.formData.carBaseReqDTO.licensePlate = res.data.data.licensePlate
this.formData.carBaseReqDTO.vin = res.data.data.vin
this.formData.carBaseReqDTO.registrationDate = res.data.data.registrationDate
this.formData.carLicenseReqDTO.previousOwnerAddress = res.data.data.previousOwnerAddress
this.formData.carLicenseReqDTO.previousOwnerName = res.data.data.previousOwnerName
this.formData.carLicenseReqDTO.carSeriesName = res.data.data.carSeriesName
this.formData.carLicenseReqDTO.carTypeName = res.data.data.carTypeName
if (res.data.code == 0) {
if (res.data.data.status == 1) {
this.formData.carBaseReqDTO.engineNumber = res.data.data.engineNumber
this.formData.carBaseReqDTO.licensePlate = res.data.data.licensePlate
this.formData.carBaseReqDTO.vin = res.data.data.vin
this.formData.carBaseReqDTO.registrationDate = res.data.data.registrationDate
this.formData.carLicenseReqDTO.previousOwnerAddress = res.data.data.previousOwnerAddress
this.formData.carLicenseReqDTO.previousOwnerName = res.data.data.previousOwnerName
this.formData.carLicenseReqDTO.carSeriesName = res.data.data.carSeriesName
this.formData.carLicenseReqDTO.carTypeName = res.data.data.carTypeName
} else {
uni.hideLoading()
uni.showToast({ title: res.data.data.errorMessage, icon: 'none' })
}
} else {
uni.hideLoading()
uni.showToast({ title: res.data.data.errorMessage, icon: 'none' })
uni.showToast({
title: res.data.msg || '请求失败',
icon: 'none'
})
}
})
},
......@@ -1066,6 +1109,12 @@ export default {
delta: 1
})
}, 300)
} else {
uni.hideLoading()
uni.showToast({
title: res.data.msg || '请求失败',
icon: 'none'
})
}
} else if (this.query.type === 'edit') {
const res = await uni.$api.evaluationApi.evalOrderUpdate(this.formData)
......@@ -1081,6 +1130,16 @@ export default {
delta: 1
})
}, 300)
} else {
if (res.data.code == 3004) {
this.$refs.editTipsPopup.open()
} else {
uni.hideLoading()
uni.showToast({
title: res.data.msg || '请求失败',
icon: 'none'
})
}
}
}
},
......
<template>
<div class="button-module flex">
<view class="common-btn" @click="handleClick('details')">详情</view>
<view v-if="!subStatus && status != 100" class="common-btn ml-24" @click="handleClick('edit')">编辑</view>
<view v-if="status == 20 && !subStatus" class="common-btn ml-24" @click="handleClick('requote')">重新报价</view>
<view v-if="status == 20 && !subStatus" class="common-btn blue-btn ml-24" @click="handleClick('sign')">客户签约</view>
<view v-if="status == 20 && subStatus == 1" class="common-btn gray-btn ml-24" @click="handleClick('signing')">签约中</view>
<view v-if="status == 30 && !subStatus" class="common-btn ml-24" @click="handleClick('cancelSign')">取消签约</view>
<view v-if="status == 30 && !subStatus && paymentType == 1" class="common-btn blue-btn ml-24" @click="handleClick('payDeposit')">支付定金</view>
<view v-if="status == 30 && !subStatus && paymentType == 2" class="common-btn blue-btn ml-24" @click="handleClick('payFull')">支付全款</view>
<view v-if="subStatus == 2 || subStatus == 3" class="common-btn gray-btn ml-24" @click="handleClick('paying')">支付中</view>
<view v-if="status == 40 && !subStatus && paymentType == 1" class="common-btn blue-btn ml-24" @click="handleClick('payFull')">支付尾款</view>
<view v-if="status == 50 && !subStatus" class="common-btn blue-btn ml-24" @click="handleClick('confirmDelivery')">确认交车</view>
<view v-if="status == '-1'" class="common-btn blue-btn ml-24" @click="handleClick('reSubmit')">重新提交</view>
<view class="common-btn" @click.stop="handleClick('details')">详情</view>
<view v-if="!subStatus && status != 100" class="common-btn ml-24" @click.stop="handleClick('edit')">编辑</view>
<view v-if="status == 20 && !subStatus" class="common-btn ml-24" @click.stop="handleClick('requote')">重新报价</view>
<view v-if="status == 20 && !subStatus" class="common-btn blue-btn ml-24" @click.stop="handleClick('sign')">客户签约</view>
<view v-if="status == 20 && subStatus == 1" class="common-btn gray-btn ml-24" @click.stop="handleClick('signing')">签约中</view>
<view v-if="status == 30 && !subStatus" class="common-btn ml-24" @click.stop="handleClick('cancelSign')">取消签约</view>
<view v-if="status == 30 && !subStatus && paymentType == 1" class="common-btn blue-btn ml-24" @click.stop="handleClick('payDeposit')">支付定金</view>
<view v-if="status == 30 && !subStatus && paymentType == 2" class="common-btn blue-btn ml-24" @click.stop="handleClick('payFull')">支付全款</view>
<view v-if="subStatus == 2 || subStatus == 3" class="common-btn gray-btn ml-24" @click.stop="handleClick('paying')">支付中</view>
<view v-if="status == 40 && !subStatus && paymentType == 1" class="common-btn blue-btn ml-24" @click.stop="handleClick('payFull')">支付尾款</view>
<view v-if="status == 50 && !subStatus" class="common-btn blue-btn ml-24" @click.stop="handleClick('confirmDelivery')">确认交车</view>
<view v-if="status == '-1'" class="common-btn blue-btn ml-24" @click.stop="handleClick('reSubmit')">重新提交</view>
</div>
</template>
......
......@@ -95,8 +95,8 @@
<text>二手车买卖补充协议</text>
</view>
<view class="flex align-center">
<view class="btn" @click="previewPdf(field)">预览</view>
<view class="btn" @click="deletePdf(field)">删除</view>
<view class="btn" @click.stop="previewPdf(field)">预览</view>
<view class="btn" @click.stop="deletePdf(field)">删除</view>
</view>
</view>
</view>
......
......@@ -2,7 +2,7 @@
<view>
<!-- 车辆图片 -->
<view>
<view v-for="item in imageData.carImageList" :key="item.id" @click="previewImage(item.url)" class="flex">
<view v-for="item in imageData.carImageList" :key="item.id" @click.stop="previewImage(item.url)" class="flex">
<view>{{ item.alt }}</view>
<MediaResource :src="item.url" media-type="image" class="car-image" />
</view>
......
......@@ -2,7 +2,7 @@
<view class="step-tab flex items-center justify-center">
<view v-for="(step, index) in steps" :key="step.key || index" class="flex">
<view v-if="index > 0" :class="['step-line', { active: index == currentStep }]"></view>
<view class="step-item" @click="handleStepClick(index)">
<view class="step-item" @click.stop="handleStepClick(index)">
<view :class="['step-label', { active: index == currentStep }]">
{{ step.label || '步骤' + (index + 1) }}
</view>
......
<template>
<view class="type-tab">
<view class="type-box">
<view class="tab-item" :class="[tabClass(index)]" v-for="(i, index) in typeList" :key="index" @click="tabClick(index, i)">
<view class="tab-item" :class="[tabClass(index)]" v-for="(i, index) in typeList" :key="index" @click.stop="tabClick(index, i)">
<view v-if="tabIndex == index && index == 0" class="sprite-icon tab-first-left icon-first-left"></view>
<view v-if="tabIndex == index && index == 0" class="sprite-icon tab-first-right icon-first-right"></view>
<view v-if="tabIndex == index && index != 0" class="sprite-icon tab-second-right icon-second-right"></view>
......
<template>
<view class="material-detail">
<view class="nav-bar">
<view class="back" @click="back">
<view class="back" @click.stop="back">
<uni-icons type="left" :size="20" color="#000"></uni-icons>
</view>
{{ title }}
......
......@@ -8,7 +8,7 @@
<input :type="i.inputType" :maxlength="i.maxlength" v-model="customerInfo[i.popKey]" class="input" :placeholder="i.placeholder" @focus="focusIndex = index" @blur="resetFocusIndex" />
</template>
<template v-else>
<view :class="['select flex', { placeholderStyle: !customerInfo[i.key] }]" @click="showPopup(i.popKey, index)">
<view :class="['select flex', { placeholderStyle: !customerInfo[i.key] }]" @click.stop="showPopup(i.popKey, index)">
<view class="value text-hide">{{ customerInfo[i.key] || i.placeholder }}</view>
<uni-icons class="arrow" type="right" :size="16"></uni-icons>
</view>
......@@ -18,8 +18,8 @@
</template>
<template>
<view class="form-btn flex align-center">
<view class="btn search mr-12" @click="search">搜索</view>
<view class="btn" @click="$emit('reset')">重置</view>
<view class="btn search mr-12" @click.stop="search">搜索</view>
<view class="btn" @click.stop="$emit('reset')">重置</view>
</view>
</template>
</view>
......
......@@ -9,10 +9,11 @@
<!-- 显示已上传的媒体列表 -->
<view v-for="(media, index) in getMedia(field)" :key="index" class="uploaded-media-container">
<!-- 图片显示 -->
<image v-if="isImage(media)" :src="media.url || media" mode="aspectFill" class="uploaded-media" @click.stop="previewMedia(media, 1)"></image>
<image v-if="field.accept == 'image'" :src="media.url || media" mode="aspectFill" class="uploaded-media" @click.stop="previewMedia(media, 1)"></image>
<!-- 视频显示 -->
<view v-else class="video-container" @click.stop="previewMedia(media, 2)">
<!-- <video :src="media.url || media" mode="aspectFill" controls class="uploaded-media"></video> -->
<image :src="media.url + videoProcess" mode="aspectFill" @click.stop="previewMedia(media, 1)"></image>
<view class="video-play-icon">
<view class="sprites-icon icon-play"></view>
......@@ -235,6 +236,8 @@ export default {
// 获取指定字段的媒体数组
getMedia(field) {
console.log('this.mediaData', this.mediaData)
console.log('this.mediaData[field.key]', field)
// 确保返回的是数组
return Array.isArray(this.mediaData[field.key]) ? this.mediaData[field.key] : []
},
......
<template>
<view class="confirm-car">
<view class="nav-bar">
<view class="back" @click="backPage">
<view class="back" @click.stop="backPage">
<uni-icons type="left" :size="20" color="#000"></uni-icons>
</view>
<view class="title">确认交车登记</view>
......@@ -32,7 +32,7 @@
</view>
</view>
<!-- 上传按钮,当未达到最大限制时显示 -->
<view v-if="!hasReachedMax(field, 'upload')" class="upload-item" @click="handleImageUpload(field)">
<view v-if="!hasReachedMax(field, 'upload')" class="upload-item" @click.stop="handleImageUpload(field)">
<view class="upload-placeholder">
<view class="sprite-icon icon-uploadAdd"></view>
<text class="upload-text">{{ field.maxCount > 1 ? getImages(field, 'upload').length + '/' + field.maxCount : '上传图片' }}</text>
......@@ -60,7 +60,7 @@
</view>
</view>
<!-- 上传按钮,当未达到最大限制时显示 -->
<view v-if="!hasReachedMax(field, 'confirm')" class="upload-item" @click="handleImageUpload(field)">
<view v-if="!hasReachedMax(field, 'confirm')" class="upload-item" @click.stop="handleImageUpload(field)">
<view class="upload-placeholder">
<view class="sprite-icon icon-uploadAdd"></view>
<text class="upload-text">{{ field.maxCount > 1 ? getImages(field, 'confirm').length + '/' + field.maxCount : '上传图片' }}</text>
......@@ -76,15 +76,15 @@
</view>
<view class="button-module flex justify-center align-center">
<view class="button-container flex justify-between">
<view class="cancel-btn" @click="backPage">取消</view>
<view class="next-btn" @click="confirmDelivery">确认交车</view>
<view class="cancel-btn" @click.stop="backPage">取消</view>
<view class="next-btn" @click.stop="confirmDelivery">确认交车</view>
</view>
</view>
</view>
</view>
<GeneralPopup ref="addAgreementPopup" popupClass="addAgreementPopup" type="center" title="补充协议条款">
<template v-slot:content>
<textarea placeholder="请输入 (1000字以内)" v-model="formData.supplementaryClauseText" maxlength="1000" />
<textarea placeholder="请输入 (200字以内)" v-model="formData.supplementaryClauseText" maxlength="200" />
</template>
</GeneralPopup>
<GeneralPopup ref="tipsPopup" popupClass="tipsPopup" type="center" :showClose="true" :showTitle="false" @confirm="confirmTips" :noTitle="true">
......@@ -260,8 +260,14 @@ export default {
item.isShowPreview = true
}
})
this.pdfUrl = res.fileDownloadUrl
this.pdfUrl = res.data.data.fileDownloadUrl
console.log('this.pdfUrl', this.pdfUrl)
} else {
uni.hideLoading()
uni.showToast({
title: res.data.msg || '请求失败',
icon: 'none'
})
}
})
})
......@@ -313,6 +319,12 @@ export default {
delta: 1
})
}, 500)
} else {
uni.hideLoading()
uni.showToast({
title: res.data.msg || '请求失败',
icon: 'none'
})
}
},
handleImageUpload(field) {
......
<template>
<view class="details-page" v-if="detailsInfo">
<view class="nav-bar">
<view class="back" @click="backPage">
<view class="back" @click.stop="backPage">
<uni-icons type="left" :size="20" color="#000"></uni-icons>
</view>
<view class="title">评估单详情</view>
......@@ -23,7 +23,7 @@
<view class="box-class mt-16">
<view class="tab-container">
<scroll-view scroll-x enable-flex class="tab-scroll">
<view v-for="(tab, index) in tabs" :key="index" :class="['tab-item', { active: activeTab === index }]" @click="switchTab(index)">
<view v-for="(tab, index) in tabs" :key="index" :class="['tab-item', { active: activeTab === index }]" @click.stop="switchTab(index)">
{{ tab.name }}
</view>
</scroll-view>
......@@ -548,6 +548,12 @@ export default {
console.log('res:', res)
if (res.data.code == 0) {
that.detailsInfo = res.data.data
} else {
uni.hideLoading()
uni.showToast({
title: res.data.msg || '请求失败',
icon: 'none'
})
}
})
},
......@@ -620,6 +626,12 @@ export default {
uni.navigateTo({
url: `${url}`
})
} else {
uni.hideLoading()
uni.showToast({
title: res.data.msg || '请求失败',
icon: 'none'
})
}
})
}
......
<template>
<view class="evaluation-form-list">
<view class="nav-bar">
<view class="back" @click="backPage">
<view class="back" @click.stop="backPage">
<uni-icons type="left" :size="20" color="#000"></uni-icons>
</view>
<view class="title">评估单管理</view>
......@@ -21,7 +21,7 @@
</z-paging>
</view>
</view>
<view class="addBtn" @click="addEvaluationForm({ type: 'add' })">
<view class="addBtn" @click.stop="addEvaluationForm({ type: 'add' })">
<view class="sprite-icon icon-addEvaluationFrom"></view>
</view>
<GeneralPopup ref="requotePopup" popupClass="requotePopup" title="重新报价" confirmText="重新报价" type="center" :showClose="true" :isShowCancel="false" :autoClose="false" @confirm="confirmRequote">
......@@ -63,7 +63,7 @@
<text class="requiredLabel">*</text>
</view>
<view class="flex align-center">
<view class="flex align-center from-value" @click="showsignAgreementPopup">
<view class="flex align-center from-value" @click.stop="showsignAgreementPopup">
<template v-if="signAgreementObj.custodianName">
{{ signAgreementObj.custodianName + ' | ' + signAgreementObj.custodianPhone }}
</template>
......@@ -72,7 +72,7 @@
</template>
<view class="sprite-icon icon-icon-select"></view>
</view>
<view class="btn" @click="addSignAgreement">新增</view>
<view class="btn" @click.stop="addSignAgreement">新增</view>
</view>
</view>
</template>
......@@ -270,6 +270,11 @@ export default {
// this.dataList = res.records
this.$refs.paging.complete(res.data.data.records)
} else {
uni.hideLoading()
uni.showToast({
title: res.data.msg || '请求失败',
icon: 'none'
})
this.$refs.paging.complete(false)
console.log(err)
}
......@@ -292,6 +297,12 @@ export default {
})
// this.$set(this.typeList, item.count, res[item.keyNum])
console.log('this.typeList:', this.typeList)
} else {
uni.hideLoading()
uni.showToast({
title: res.data.msg || '请求失败',
icon: 'none'
})
}
})
},
......@@ -338,6 +349,12 @@ export default {
})
this.currentPage = 1
this.search()
} else {
uni.hideLoading()
uni.showToast({
title: res.data.msg || '请求失败',
icon: 'none'
})
}
},
jumpToDetails(e) {
......@@ -402,6 +419,12 @@ export default {
})
}
})
} else {
uni.hideLoading()
uni.showToast({
title: res.data.msg || '请求失败',
icon: 'none'
})
}
},
confirmDelivery(e) {
......@@ -446,6 +469,12 @@ export default {
this.$refs.requotePopup.closePopup()
this.currentPage = 1
this.search()
} else {
uni.hideLoading()
uni.showToast({
title: res.data.msg || '请求失败',
icon: 'none'
})
}
},
cancelSign(e) {
......@@ -469,6 +498,12 @@ export default {
})
this.currentPage = 1
this.search()
} else {
uni.hideLoading()
uni.showToast({
title: res.data.msg || '请求失败',
icon: 'none'
})
}
})
.catch(() => {
......@@ -502,6 +537,12 @@ export default {
console.log('res:', res)
this.currentPage = 1
this.search()
} else {
uni.hideLoading()
uni.showToast({
title: res.data.msg || '请求失败',
icon: 'none'
})
}
})
})
......
<template>
<view class="sign-info">
<view class="nav-bar">
<view class="back" @click="backPage">
<view class="back" @click.stop="backPage">
<uni-icons type="left" :size="20" color="#000"></uni-icons>
</view>
<view class="title">签约信息</view>
......@@ -43,7 +43,7 @@
<uni-icons type="clear" size="16" color="#fff"></uni-icons>
</view>
</view>
<view v-else class="upload-item" @click="handleImageUpload('idCardFrontUrl')">
<view v-else class="upload-item" @click.stop="handleImageUpload('idCardFrontUrl')">
<view class="upload-placeholder">
<view class="sprite-icon icon-uploadAdd"></view>
<text class="upload-text">上传图片</text>
......@@ -58,7 +58,7 @@
<image :src="formData.idCardBackUrl" mode="aspectFit"></image>
<view class="remove-icon" @click.stop="removeMedia('idCardBackUrl')"></view>
</view>
<view v-else class="upload-item" @click="handleImageUpload('idCardBackUrl')">
<view v-else class="upload-item" @click.stop="handleImageUpload('idCardBackUrl')">
<view class="upload-placeholder">
<view class="sprite-icon icon-uploadAdd"></view>
<text class="upload-text">上传图片</text>
......@@ -76,7 +76,7 @@
<image :src="formData.payerIdCardFrontUrl" mode="aspectFit"></image>
<view class="remove-icon" @click.stop="removeMedia('payerIdCardFrontUrl')"></view>
</view>
<view v-else class="upload-item" @click="handleImageUpload('payerIdCardFrontUrl')">
<view v-else class="upload-item" @click.stop="handleImageUpload('payerIdCardFrontUrl')">
<view class="upload-placeholder">
<view class="sprite-icon icon-uploadAdd"></view>
<text class="upload-text">上传图片</text>
......@@ -91,7 +91,7 @@
<image :src="formData.payerIdCardBackUrl" mode="aspectFit"></image>
<view class="remove-icon" @click.stop="removeMedia('payerIdCardBackUrl')"></view>
</view>
<view v-else class="upload-item" @click="handleImageUpload('payerIdCardBackUrl')">
<view v-else class="upload-item" @click.stop="handleImageUpload('payerIdCardBackUrl')">
<view class="upload-placeholder">
<view class="sprite-icon icon-uploadAdd"></view>
<text class="upload-text">上传图片</text>
......@@ -108,7 +108,7 @@
<image :src="formData.payerBankCardUrl" mode="aspectFit"></image>
<view class="remove-icon" @click.stop="removeMedia('payerBankCardUrl')"></view>
</view>
<view v-else class="upload-item" @click="handleImageUpload('payerBankCardUrl')">
<view v-else class="upload-item" @click.stop="handleImageUpload('payerBankCardUrl')">
<view class="upload-placeholder">
<view class="sprite-icon icon-uploadAdd"></view>
<text class="upload-text">上传图片</text>
......@@ -144,8 +144,8 @@
</view>
</view>
<view class="footerBtn">
<view class="btn cancle" @click="backPage">取消</view>
<view class="btn next" @click="comfirmPage = true">下一步</view>
<view class="btn cancle" @click.stop="backPage">取消</view>
<view class="btn next" @click.stop="comfirmPage = true">下一步</view>
</view>
</view>
<view class="box-class1 mt-16" v-else>
......@@ -182,11 +182,11 @@
</view>
<view class="flex align-start" v-if="formData.idCardFrontUrl">
<view class="title-label-see mr-16">身份证正面</view>
<image :src="formData.idCardFrontUrl" @click="previewMedia(formData.idCardFrontUrl, 1)"></image>
<image :src="formData.idCardFrontUrl" @click.stop="previewMedia(formData.idCardFrontUrl, 1)"></image>
</view>
<view class="flex align-start" v-if="formData.idCardBackUrl">
<view class="title-label-see mr-16">身份证反面</view>
<image :src="formData.idCardBackUrl" @click="previewMedia(formData.idCardBackUrl, 1)"></image>
<image :src="formData.idCardBackUrl" @click.stop="previewMedia(formData.idCardBackUrl, 1)"></image>
</view>
</view>
<view class="flex align-center gridBox mb-32">
......@@ -204,15 +204,15 @@
</view>
<view class="flex align-start" v-if="formData.payerIdCardFrontUrl">
<view class="title-label-see mr-16">身份证正面</view>
<image :src="formData.payerIdCardFrontUrl" @click="previewMedia(formData.payerIdCardFrontUrl, 1)"></image>
<image :src="formData.payerIdCardFrontUrl" @click.stop="previewMedia(formData.payerIdCardFrontUrl, 1)"></image>
</view>
<view class="flex align-start" v-if="formData.payerIdCardBackUrl">
<view class="title-label-see mr-16">身份证反面</view>
<image :src="formData.payerIdCardBackUrl" @click="previewMedia(formData.payerIdCardBackUrl, 1)"></image>
<image :src="formData.payerIdCardBackUrl" @click.stop="previewMedia(formData.payerIdCardBackUrl, 1)"></image>
</view>
<view class="flex align-start" v-if="formData.payerBankCardUrl">
<view class="title-label-see mr-16">银行卡</view>
<image :src="formData.payerBankCardUrl" @click="previewMedia(formData.payerBankCardUrl, 1)"></image>
<image :src="formData.payerBankCardUrl" @click.stop="previewMedia(formData.payerBankCardUrl, 1)"></image>
</view>
</view>
<view class="flex align-center gridBox">
......@@ -237,8 +237,8 @@
请确认签约个人信息,确认后将按照以上信息生成电子合同,并发送电子签约邀请。
</view>
<view class="footerBtn">
<view class="btn cancle" @click="comfirmPage = false">上一步</view>
<view class="btn next" @click="comfirm">确认发送</view>
<view class="btn cancle" @click.stop="comfirmPage = false">上一步</view>
<view class="btn next" @click.stop="comfirm">确认发送</view>
</view>
</view>
</view>
......@@ -870,6 +870,12 @@ export default {
setTimeout(() => {
uni.navigateBack()
}, 500)
} else {
uni.hideLoading()
uni.showToast({
title: res.data.msg || '请求失败',
icon: 'none'
})
}
})
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!