Commit 2ed71aee 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 a81630cd 3028a257
......@@ -313,6 +313,8 @@
background-position: calc(100vmin * (1173 / 768) * 0) calc(100vmin * (1173 / 768) * -0.35038363171355497);}
.icon-second-right { width: calc(100vmin * (1173 / 768) * 0.05456095481670929); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.48934356351236147) calc(100vmin * (1173 / 768) * -0.30008525149190113);}
.icon-seeIcon { width: calc(100vmin * (1173 / 768) * 0.0068201193520886615); height: calc(100vmin * (1173 / 768) * 0.0068201193520886615);
background-position: calc(100vmin * (1173 / 768) * -0.639386189258312) calc(100vmin * (1173 / 768) * -0.12766410912190965);}
.icon-setting { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646);
background-position: calc(100vmin * (1173 / 768) * -0.13469735720375106) calc(100vmin * (1173 / 768) * -0.6381074168797954);}
.icon-short-first-nav { width: calc(100vmin * (1173 / 768) * 0.1773231031543052); height: calc(100vmin * (1173 / 768) * 0.0443307757885763);
......

2.78 MB | W: | H:

2.79 MB | W: | H:

assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -183,18 +183,18 @@ export default {
carCityId: '',
carCityName: '',
mileage: 0,
usageType: 1,
ownerType: 1,
sunroof: 2,
vehicleCategory: 1,
emissionStandard: 6,
usageType: '',
ownerType: '',
sunroof: '',
vehicleCategory: '',
emissionStandard: '',
interiorColor: '',
exteriorColor: '',
productionDate: '',
guidePrice: 0,
buyNewCar: 1,
buyNewCar: '',
hasAccident: 0,
overallRating: '1',
overallRating: '',
conditionDescription: ''
},
carLicenseReqDTO: {
......
<!--针对弹窗穿透滚动,统一封装的popup-->
<template>
<page-meta :page-style="'overflow:' + (show ? 'hidden' : 'visible')"></page-meta>
<uni-popup :class="['customPopup', popupClass, noTitle ? 'noTitle' : '']" ref="publishPopup" :type="type" @change="change" :is-mask-click="isMaskClick" :safe-area="safeArea" :showClose="showClose">
<uni-popup :class="['customPopup', popupClass, noTitle ? 'noTitle' : '']" ref="publishPopup" :type="type" @change="change" :safe-area="safeArea" :showClose="showClose">
<!-- 顶部标题栏插槽 -->
<slot name="header">
<view class="popup-top-box flex align-center" v-if="showTitle">
......
......@@ -45,8 +45,8 @@
<text class="common-label">评估价格</text>
<view class="price ml-16" :class="{ 'text-blue': carInfo.evalPriceDisplay && carInfo.status != 10 }">
{{ carInfo.status == 10 ? '评估中' : carInfo.evalPriceDisplay }}
<text v-if="carInfo.paymentType == 1 && carInfo.status != 10" class="text-gray">(定金: {{ carInfo.depositPrice }}元 | 尾款: {{ carInfo.finalPrice }}元)</text>
<text v-if="carInfo.paymentType == 2 && carInfo.status != 10" class="text-gray">(全款: {{ carInfo.evalPrice }}元 )</text>
<text v-if="carInfo.paymentType == 1 && carInfo.status != 10" class="text-gray ml-16">(定金: {{ carInfo.depositPrice }}元 | 尾款: {{ carInfo.finalPrice }}元)</text>
<text v-if="carInfo.paymentType == 2 && carInfo.status != 10" class="text-gray ml-16">(全款: {{ carInfo.evalPrice }}元 )</text>
</view>
</view>
<ButtonModule @button-click="$emit('button-click', { ...$event, ...carInfo })" :status="carInfo.status" :subStatus="carInfo.subStatus" :paymentType="carInfo.paymentType"></ButtonModule>
......
......@@ -117,10 +117,12 @@ export default {
sourceType: ['camera'],
success: async res => {
try {
uni.showLoading({ title: '上传中...' })
// 上传所有选择的图片
for (const tempFilePath of res.tempFilePaths) {
const url = await uploadFile(tempFilePath)
console.log('上传图片成功', url)
uni.hideLoading()
const fileExtension = res.tempFiles[0].name.split('.').pop().toLowerCase()
this.addMedia(field, { url, fileFormat: fileExtension, type: 'image', name: field.label })
}
......@@ -131,6 +133,7 @@ export default {
},
fail: err => {
console.log('拍照失败', err)
uni.hideLoading()
if (err.errMsg.indexOf('cancel') === -1) {
uni.showToast({ title: '拍照失败', icon: 'none' })
}
......@@ -147,10 +150,12 @@ export default {
success: async res => {
console.log('选择图片成功', res)
try {
uni.showLoading({ title: '上传中...' })
// 上传所有选择的图片
for (const tempFilePath of res.tempFilePaths) {
const url = await uploadFile(tempFilePath)
console.log('上传图片成功', url)
uni.hideLoading()
const fileExtension = res.tempFiles[0].name.split('.').pop().toLowerCase()
this.addMedia(field, { url, fileFormat: fileExtension, type: 'image', fileFormat: fileExtension, name: field.label })
}
......@@ -161,6 +166,7 @@ export default {
},
fail: err => {
console.log('选择图片失败', err)
uni.hideLoading()
if (err.errMsg.indexOf('cancel') === -1) {
uni.showToast({ title: '选择图片失败', icon: 'none' })
}
......@@ -176,6 +182,7 @@ export default {
camera: 'back',
success: async res => {
try {
uni.showLoading({ title: '上传中...' })
const url = await uploadFile(res.tempFilePath)
console.log('上传视频成功', url)
const fileExtension = res.name.split('.').pop().toLowerCase()
......@@ -187,13 +194,16 @@ export default {
duration: res.duration,
size: res.size
})
uni.hideLoading()
} catch (error) {
console.log('上传视频失败', error)
uni.hideLoading()
uni.showToast({ title: '上传视频失败', icon: 'none' })
}
},
fail: err => {
console.log('拍摄视频失败', err)
uni.hideLoading()
if (err.errMsg.indexOf('cancel') === -1) {
uni.showToast({ title: '拍摄视频失败', icon: 'none' })
}
......@@ -209,6 +219,7 @@ export default {
success: async res => {
console.log('选择视频成功', res)
try {
uni.showLoading({ title: '上传中...' })
const url = await uploadFile(res.tempFilePath)
console.log('上传视频成功', url)
const fileExtension = res.name.split('.').pop().toLowerCase()
......@@ -220,13 +231,16 @@ export default {
size: res.size,
fileFormat: fileExtension
})
uni.hideLoading()
} catch (error) {
console.log('上传视频失败', error)
uni.hideLoading()
uni.showToast({ title: '上传视频失败', icon: 'none' })
}
},
fail: err => {
console.log('选择视频失败', err)
uni.hideLoading()
if (err.errMsg.indexOf('cancel') === -1) {
uni.showToast({ title: '选择视频失败', icon: 'none' })
}
......
......@@ -13,7 +13,7 @@
<z-paging ref="paging" :fixed="false" paging-class="paging-class " :loading-full-fixed="false" :auto-show-system-loading="true" :show-scrollbar="false" v-model="dataList" @query="queryList" :default-page-size="10">
<template #empty>
<view class="mask-box flex flex-col justify-center align-center">
<image src="@/assets/images/evaluationForm/noData.png" />
<image :src="noData" />
<view>暂无客户工单</view>
</view>
</template>
......@@ -170,6 +170,7 @@ export default {
data() {
return {
bg: require('@/assets/images/boutique/tipsPopupBg.png'),
noData: require('@/assets/images/evaluationForm/noData.png'),
tabIndex: 0,
currentPage: 1,
amountRequestedPopupTitle: '',
......@@ -440,7 +441,6 @@ export default {
requote(e) {
const that = this
this.requoteObj.evalOrderNo = e.evalOrderNo
this.requoteObj.customerTargetPrice = e.evalPrice
this.$refs.requotePopup.open()
},
confirmRequote() {
......
......@@ -22,8 +22,8 @@
</label>
</radio-group>
</view>
<view class="template-title" @click.stop="pdfPreview">
<view class="sprite-icon"></view>
<view class="template-title flex" @click.stop="pdfPreview">
<view class="sprite-icon icon-seeIcon"></view>
<text>合同模板</text>
</view>
</view>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!