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