Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6481f4cf
authored
Sep 30, 2025
by
cen
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 详情
1 parent
d0c3a109
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
121 additions
and
82 deletions
assets/css/sprite.scss
assets/images/sprite.png
pages/boutique/preview.vue
pages/evaluationForm/EvaluationFormDetails.vue
pages/evaluationForm/addEvaluationFrom.vue
pages/evaluationForm/components/FormCell.vue
pages/evaluationForm/components/GeneralPopup.vue
pages/evaluationForm/components/pdfPreView.vue
pages/evaluationForm/components/uploadMedia.vue
pages/evaluationForm/confirmCar.vue
pages/evaluationForm/index.vue
pages/evaluationForm/signInfo.vue
assets/css/sprite.scss
View file @
6481f4c
This diff is collapsed.
Click to expand it.
assets/images/sprite.png
View file @
6481f4c
2.78 MB
|
W:
|
H:
2.78 MB
|
W:
|
H:
2-up
Swipe
Onion skin
pages/boutique/preview.vue
View file @
6481f4c
<
template
>
<
template
>
<view
<view
class=
"popup-box"
v-if=
"popupShow"
>
class=
"popup-box"
v-if=
"popupShow"
>
<view
class=
"nav-bar"
>
<view
class=
"nav-bar"
>
<view
<view
class=
"back"
@
click=
"back"
>
class=
"back"
<uni-icons
type=
"left"
:size=
"20"
color=
"#1a1a1a"
></uni-icons>
@
click=
"back"
>
<uni-icons
type=
"left"
:size=
"20"
color=
"#1a1a1a"
></uni-icons>
</view>
</view>
<view
class=
"title"
>
{{
title
}}
</view>
<view
class=
"title"
>
{{
title
}}
</view>
</view>
</view>
<view
:class=
"['popup-body',
{'has-ai':AIUrl}]">
<view
:class=
"['popup-body',
{ 'has-ai': AIUrl }]">
<video
<video
ref=
"videoPlayer"
:src=
"detailUrl"
controls
v-if=
"sourceType == 2"
></video>
ref=
"videoPlayer"
<view
class=
"img-detail"
v-else
>
:src=
"detailUrl"
<image
@
click=
"back"
:src=
"detailUrl"
mode=
"heightFix"
/>
controls
v-if=
"sourceType == 2"
></video>
<view
class=
"img-detail"
v-else
>
<image
@
click=
"back"
:src=
"detailUrl"
mode=
"heightFix"
/>
</view>
</view>
</view>
</view>
<view
<view
class=
"AI-window"
v-if=
"AIUrl"
>
class=
"AI-window"
v-if=
"AIUrl"
>
<view
class=
"AI-title flex"
>
场景二拓
</view>
<view
class=
"AI-title flex"
>
场景二拓
</view>
<web-view
:src=
"AIUrl"
></web-view>
<web-view
:src=
"AIUrl"
></web-view>
</view>
</view>
...
...
pages/evaluationForm/EvaluationFormDetails.vue
View file @
6481f4c
<
template
>
<
template
>
<view
class=
"details-page"
>
<view
class=
"details-page"
v-if=
"detailsInfo"
>
<view
class=
"nav-bar"
>
<view
class=
"nav-bar"
>
<view
class=
"back"
@
click=
"backPage"
>
<view
class=
"back"
@
click=
"backPage"
>
<uni-icons
type=
"left"
:size=
"20"
color=
"#000"
></uni-icons>
<uni-icons
type=
"left"
:size=
"20"
color=
"#000"
></uni-icons>
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
</view>
</view>
<view
class=
"upload-images-wrapper"
v-if=
"getImageBySubtype(field.key)"
>
<view
class=
"upload-images-wrapper"
v-if=
"getImageBySubtype(field.key)"
>
<view
class=
"uploaded-media-container"
>
<view
class=
"uploaded-media-container"
>
<image
:src=
"getImageBySubtype(field.key).fileUrl"
mode=
"aspectFill"
class=
"uploaded-media"
></image>
<image
:src=
"getImageBySubtype(field.key).fileUrl"
mode=
"aspectFill"
class=
"uploaded-media"
@
click
.
stop=
"previewMedia(getImageBySubtype(field.key).fileUrl, 1)"
></image>
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -71,7 +71,7 @@
...
@@ -71,7 +71,7 @@
</view>
</view>
<view
class=
"upload-images-wrapper"
v-if=
"getImageBySubtype(field.key)"
>
<view
class=
"upload-images-wrapper"
v-if=
"getImageBySubtype(field.key)"
>
<view
class=
"uploaded-media-container"
>
<view
class=
"uploaded-media-container"
>
<image
:src=
"getImageBySubtype(field.key).fileUrl"
mode=
"aspectFill"
class=
"uploaded-media"
></image>
<image
:src=
"getImageBySubtype(field.key).fileUrl"
mode=
"aspectFill"
class=
"uploaded-media"
@
click
.
stop=
"previewMedia(getImageBySubtype(field.key).fileUrl, 1)"
></image>
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -89,9 +89,9 @@
...
@@ -89,9 +89,9 @@
<view
class=
"uploaded-media-container"
>
<view
class=
"uploaded-media-container"
>
<view
class=
"video-container"
>
<view
class=
"video-container"
>
<video
:src=
"getImageBySubtype(field.key).fileUrl"
mode=
"aspectFill"
controls
class=
"uploaded-media"
></video>
<video
:src=
"getImageBySubtype(field.key).fileUrl"
mode=
"aspectFill"
controls
class=
"uploaded-media"
></video>
<view
class=
"video-play-icon"
>
<
cover-
view
class=
"video-play-icon"
>
<uni-icons
type=
"play"
size=
"24"
color=
"#fff"
></uni-icons>
<uni-icons
type=
"play"
size=
"24"
color=
"#fff"
></uni-icons>
</view>
</
cover-
view>
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -108,7 +108,7 @@
...
@@ -108,7 +108,7 @@
</view>
</view>
<view
class=
"upload-images-wrapper"
v-if=
"getImageBySubtype(field.key)"
>
<view
class=
"upload-images-wrapper"
v-if=
"getImageBySubtype(field.key)"
>
<view
class=
"uploaded-media-container"
>
<view
class=
"uploaded-media-container"
>
<image
:src=
"getImageBySubtype(field.key).fileUrl"
mode=
"aspectFill"
class=
"uploaded-media"
></image>
<image
:src=
"getImageBySubtype(field.key).fileUrl"
@
click
.
stop=
"previewMedia(getImageBySubtype(field.key).fileUrl, 1)"
mode=
"aspectFill"
class=
"uploaded-media"
></image>
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -121,7 +121,7 @@
...
@@ -121,7 +121,7 @@
<view
class=
"gridBox mb-48"
>
<view
class=
"gridBox mb-48"
>
<view
v-for=
"(item, index) in priceItems"
:key=
"index"
:class=
"['flex align-center',
{ 'full-width': item.fullWidth }]">
<view
v-for=
"(item, index) in priceItems"
:key=
"index"
:class=
"['flex align-center',
{ 'full-width': item.fullWidth }]">
<view
class=
"title-label-see mr-16"
>
{{
item
.
label
}}
</view>
<view
class=
"title-label-see mr-16"
>
{{
item
.
label
}}
</view>
<view>
{{
detailsInfo
.
priceHistory
[
indexContent
][
item
.
key
]
||
'-'
}}
</view>
<view
class=
"flex-1"
>
{{
detailsInfo
.
priceHistory
[
indexContent
][
item
.
key
]
||
'-'
}}
</view>
</view>
</view>
</view>
</view>
</
template
>
</
template
>
...
@@ -134,7 +134,7 @@
...
@@ -134,7 +134,7 @@
<view
v-for=
"(item, index) in vehicleItems"
:key=
"index"
:class=
"['flex align-start', { 'full-width': item.fullWidth }]"
>
<view
v-for=
"(item, index) in vehicleItems"
:key=
"index"
:class=
"['flex align-start', { 'full-width': item.fullWidth }]"
>
<view
class=
"title-label-see mr-16"
>
{{ item.label }}
</view>
<view
class=
"title-label-see mr-16"
>
{{ item.label }}
</view>
<view
v-if=
"item.type == 'image'"
>
<view
v-if=
"item.type == 'image'"
>
<image
:src=
"formatValue(item, detailsInfo)"
></image>
<image
:src=
"formatValue(item, detailsInfo)"
@
click
.
stop=
"previewMedia(formatValue(item, detailsInfo), 1)"
></image>
</view>
</view>
<view
v-else-if=
"item.type == 'link'"
class=
"flex-1"
>
<view
v-else-if=
"item.type == 'link'"
class=
"flex-1"
>
<view
class=
"pdf-box flex align-center justify-between"
>
<view
class=
"pdf-box flex align-center justify-between"
>
...
@@ -154,7 +154,7 @@
...
@@ -154,7 +154,7 @@
<view
v-for=
"(item, index) in payeeItems"
:key=
"index"
:class=
"['flex align-center', { 'full-width': item.fullWidth }]"
>
<view
v-for=
"(item, index) in payeeItems"
:key=
"index"
:class=
"['flex align-center', { 'full-width': item.fullWidth }]"
>
<view
class=
"title-label-see mr-16"
>
{{ item.label }}
</view>
<view
class=
"title-label-see mr-16"
>
{{ item.label }}
</view>
<view
v-if=
"item.type == 'image'"
>
<view
v-if=
"item.type == 'image'"
>
<image
:src=
"formatValue(item, detailsInfo)"
></image>
<image
:src=
"formatValue(item, detailsInfo)"
@
click
.
stop=
"previewMedia(formatValue(item, detailsInfo), 1)"
></image>
</view>
</view>
<view
v-else-if=
"item.type == 'link'"
class=
"flex-1"
>
<view
v-else-if=
"item.type == 'link'"
class=
"flex-1"
>
<view
class=
"pdf-box flex align-center justify-between"
>
<view
class=
"pdf-box flex align-center justify-between"
>
...
@@ -174,7 +174,7 @@
...
@@ -174,7 +174,7 @@
<view
v-for=
"(item, index) in vehicleManagementItems"
:key=
"index"
:class=
"['flex align-center', { 'full-width': item.fullWidth }]"
>
<view
v-for=
"(item, index) in vehicleManagementItems"
:key=
"index"
:class=
"['flex align-center', { 'full-width': item.fullWidth }]"
>
<view
class=
"title-label-see mr-16"
>
{{ item.label }}
</view>
<view
class=
"title-label-see mr-16"
>
{{ item.label }}
</view>
<view
v-if=
"item.type == 'image'"
>
<view
v-if=
"item.type == 'image'"
>
<image
:src=
"formatValue(item, detailsInfo)"
></image>
<image
:src=
"formatValue(item, detailsInfo)"
@
click
.
stop=
"previewMedia(formatValue(item, detailsInfo), 1)"
></image>
</view>
</view>
<view
v-else-if=
"item.type == 'link'"
class=
"flex-1"
>
<view
v-else-if=
"item.type == 'link'"
class=
"flex-1"
>
<view
class=
"pdf-box flex align-center justify-between"
>
<view
class=
"pdf-box flex align-center justify-between"
>
...
@@ -228,7 +228,7 @@
...
@@ -228,7 +228,7 @@
<view
v-for=
"(item, index) in uploadFieldsItems"
:key=
"index"
:class=
"['flex align-start', { 'full-width': item.fullWidth }]"
>
<view
v-for=
"(item, index) in uploadFieldsItems"
:key=
"index"
:class=
"['flex align-start', { 'full-width': item.fullWidth }]"
>
<view
class=
"title-label-see mr-16"
>
{{ item.label }}
</view>
<view
class=
"title-label-see mr-16"
>
{{ item.label }}
</view>
<view
v-if=
"item.type == 'image'"
>
<view
v-if=
"item.type == 'image'"
>
<image
:src=
"formatValue(item, detailsInfo)"
></image>
<image
:src=
"formatValue(item, detailsInfo)"
@
click
.
stop=
"previewMedia(formatValue(item, detailsInfo), 1)"
></image>
</view>
</view>
<view
v-else-if=
"item.type == 'link'"
class=
"flex-1"
>
<view
v-else-if=
"item.type == 'link'"
class=
"flex-1"
>
<view
class=
"pdf-box flex align-center justify-between"
>
<view
class=
"pdf-box flex align-center justify-between"
>
...
@@ -248,7 +248,7 @@
...
@@ -248,7 +248,7 @@
<view
v-for=
"(item, index) in documentationItems"
:key=
"index"
:class=
"['flex align-start', { 'full-width': item.fullWidth }]"
>
<view
v-for=
"(item, index) in documentationItems"
:key=
"index"
:class=
"['flex align-start', { 'full-width': item.fullWidth }]"
>
<view
class=
"title-label-see mr-16"
>
{{ item.label }}
</view>
<view
class=
"title-label-see mr-16"
>
{{ item.label }}
</view>
<view
v-if=
"item.type == 'image'"
>
<view
v-if=
"item.type == 'image'"
>
<image
:src=
"formatValue(item, detailsInfo)"
></image>
<image
:src=
"formatValue(item, detailsInfo)"
@
click
.
stop=
"previewMedia(formatValue(item, detailsInfo), 1)"
></image>
</view>
</view>
<view
v-else-if=
"item.type == 'link'"
class=
"flex-1"
>
<view
v-else-if=
"item.type == 'link'"
class=
"flex-1"
>
<view
class=
"pdf-box flex align-center justify-between"
>
<view
class=
"pdf-box flex align-center justify-between"
>
...
@@ -366,7 +366,7 @@ export default {
...
@@ -366,7 +366,7 @@ export default {
}
}
]
]
},
},
detailsInfo
:
{}
,
detailsInfo
:
null
,
currentStep
:
1
,
currentStep
:
1
,
statusMap
,
statusMap
,
usageTypeMap
,
usageTypeMap
,
...
@@ -524,9 +524,11 @@ export default {
...
@@ -524,9 +524,11 @@ export default {
uploadOtherFields
:
[{
key
:
41
,
label
:
'其他图片'
,
required
:
true
,
accept
:
'image'
}]
uploadOtherFields
:
[{
key
:
41
,
label
:
'其他图片'
,
required
:
true
,
accept
:
'image'
}]
}
}
},
},
mounted
()
{
onLoad
(
options
)
{
this
.
getDetail
(
this
.
$route
.
query
.
evalOrderNo
)
this
.
getDetail
(
options
.
evalOrderNo
)
uni
.
$track
.
add
({
eventCode
:
'app_evaluation_from_details'
})
},
},
mounted
()
{},
methods
:
{
methods
:
{
backPage
()
{
backPage
()
{
uni
.
navigateBack
({
uni
.
navigateBack
({
...
@@ -597,6 +599,12 @@ export default {
...
@@ -597,6 +599,12 @@ export default {
getImageLabel
(
fileSubtype
)
{
getImageLabel
(
fileSubtype
)
{
// 这里使用已有的fileSuibtype映射
// 这里使用已有的fileSuibtype映射
return
this
.
fileSuibtype
[
fileSubtype
]?.
name
||
`未知类型(
${
fileSubtype
}
)`
return
this
.
fileSuibtype
[
fileSubtype
]?.
name
||
`未知类型(
${
fileSubtype
}
)`
},
previewMedia
(
media
,
type
)
{
const
url
=
`/pages/boutique/preview?tabName=预览&sourceType=
${
type
}
&detailUrl=
${
media
.
url
||
media
}
`
uni
.
navigateTo
({
url
:
`
${
url
}
`
})
}
}
}
}
}
}
...
...
pages/evaluationForm/addEvaluationFrom.vue
View file @
6481f4c
...
@@ -505,6 +505,7 @@ export default {
...
@@ -505,6 +505,7 @@ export default {
sellerMerchantId
:
userInfo
.
merchantId
,
sellerMerchantId
:
userInfo
.
merchantId
,
sellerUserId
:
userInfo
.
uuid
sellerUserId
:
userInfo
.
uuid
})
})
uni
.
$track
.
add
({
eventCode
:
'app_add_evaluation_from'
})
},
},
methods
:
{
methods
:
{
init
(
options
)
{
init
(
options
)
{
...
@@ -562,13 +563,7 @@ export default {
...
@@ -562,13 +563,7 @@ export default {
// 车架号验证 - 长度17且只能包含数字和大写字母
// 车架号验证 - 长度17且只能包含数字和大写字母
const
vin
=
this
.
formData
.
carBaseReqDTO
.
vin
const
vin
=
this
.
formData
.
carBaseReqDTO
.
vin
const
vinRegex
=
/^
[
A-Z0-9
]{17}
$/
const
vinRegex
=
/^
[
A-Z0-9
]{17}
$/
if
(
vin
.
length
!==
17
)
{
uni
.
showToast
({
title
:
'车架号长度必须为17位'
,
icon
:
'none'
})
return
}
if
(
!
vinRegex
.
test
(
vin
))
{
if
(
!
vinRegex
.
test
(
vin
))
{
uni
.
showToast
({
uni
.
showToast
({
title
:
'车架号只能包含数字和大写字母'
,
title
:
'车架号只能包含数字和大写字母'
,
...
...
pages/evaluationForm/components/FormCell.vue
View file @
6481f4c
...
@@ -89,7 +89,7 @@
...
@@ -89,7 +89,7 @@
<view
class=
"sprite-icon icon-icon-select"
></view>
<view
class=
"sprite-icon icon-icon-select"
></view>
</view>
</view>
</view>
</view>
<view
class=
"pdf-box flex align-center justify-between"
>
<view
class=
"pdf-box flex align-center justify-between"
v-if=
"field.isShowPreview"
>
<view
class=
"flex align-center"
>
<view
class=
"flex align-center"
>
<view
class=
"sprite-icon icon-pdf"
></view>
<view
class=
"sprite-icon icon-pdf"
></view>
<text>
二手车买卖补充协议
</text>
<text>
二手车买卖补充协议
</text>
...
...
pages/evaluationForm/components/GeneralPopup.vue
View file @
6481f4c
<!--针对弹窗穿透滚动,统一封装的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]"
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"
:is-mask-click=
"isMaskClick"
: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"
>
...
@@ -77,6 +77,10 @@ export default {
...
@@ -77,6 +77,10 @@ export default {
autoClose
:
{
autoClose
:
{
type
:
Boolean
,
type
:
Boolean
,
default
:
true
default
:
true
},
noTitle
:
{
type
:
Boolean
,
default
:
false
}
}
},
},
data
()
{
data
()
{
...
@@ -184,6 +188,12 @@ export default {
...
@@ -184,6 +188,12 @@ export default {
border-radius
:
toRpx
(
42
);
border-radius
:
toRpx
(
42
);
}
}
}
}
::v-deep
.noTitle
.uni-popup__wrapper.center
{
padding
:
0
;
.footer-box
{
padding
:
0
toRpx
(
64
);
}
}
.justify-between
{
.justify-between
{
-webkit-box-pack
:
justify
;
-webkit-box-pack
:
justify
;
...
@@ -215,6 +225,7 @@ export default {
...
@@ -215,6 +225,7 @@ export default {
}
}
.cancle-btn
{
.cancle-btn
{
background
:
#f0f1f5
;
background
:
#f0f1f5
;
margin-right
:
toRpx
(
38
);
}
}
.sure-btn
{
.sure-btn
{
color
:
#fff
;
color
:
#fff
;
...
...
pages/evaluationForm/components/pdfPreView.vue
View file @
6481f4c
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
</view>
</view>
<!--
<web-view
:src=
"url"
></web-view>
-->
<!--
<web-view
:src=
"url"
></web-view>
-->
<view>
<view>
<lk-preview-office
:url=
"url"
></lk-preview-office>
<lk-preview-office
:url=
"url"
fileType=
"pdf"
></lk-preview-office>
</view>
</view>
</view>
</view>
</
template
>
</
template
>
...
@@ -27,7 +27,7 @@ export default {
...
@@ -27,7 +27,7 @@ export default {
onLoad
(
options
)
{
onLoad
(
options
)
{
console
.
log
(
options
)
console
.
log
(
options
)
this
.
url
=
options
.
fileUrl
+
'&OSSAccessKeyId
'
+
options
.
OSSAccessKeyId
+
'&Signature
'
+
options
.
Signature
this
.
url
=
options
.
fileUrl
+
'&OSSAccessKeyId
='
+
options
.
OSSAccessKeyId
+
'&Signature=
'
+
options
.
Signature
this
.
title
=
options
.
fileName
this
.
title
=
options
.
fileName
console
.
log
(
this
.
url
)
console
.
log
(
this
.
url
)
// else this.setWv()
// else this.setWv()
...
...
pages/evaluationForm/components/uploadMedia.vue
View file @
6481f4c
...
@@ -9,17 +9,18 @@
...
@@ -9,17 +9,18 @@
<!-- 显示已上传的媒体列表 -->
<!-- 显示已上传的媒体列表 -->
<view
v-for=
"(media, index) in getMedia(field)"
:key=
"index"
class=
"uploaded-media-container"
>
<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"
></image>
<image
v-if=
"isImage(media)"
:src=
"media.url || media"
mode=
"aspectFill"
class=
"uploaded-media"
@
click
.
stop=
"previewMedia(media, 1)"
></image>
<!-- 视频显示 -->
<!-- 视频显示 -->
<view
v-else
class=
"video-container"
>
<view
v-else
class=
"video-container"
@
click
.
stop=
"previewMedia(media, 2)"
>
<video
:src=
"media.url || media"
mode=
"aspectFill"
controls
class=
"uploaded-media"
></video>
<!--
<video
:src=
"media.url || media"
mode=
"aspectFill"
controls
class=
"uploaded-media"
></video>
-->
<view
class=
"video-play-icon"
>
<image
src=
"https://jinrong-huidan-test.oss-cn-shenzhen.aliyuncs.com/vcpfile/jiashizheng20250822113512001.png "
mode=
"aspectFill"
class=
"uploaded-media"
@
click
.
stop=
"previewMedia(media, 1)"
></image>
<!--
<cover-view
class=
"video-play-icon"
>
<uni-icons
type=
"play"
size=
"24"
color=
"#fff"
></uni-icons>
<uni-icons
type=
"play"
size=
"24"
color=
"#fff"
></uni-icons>
</cover-view>
-->
</view>
</view>
</view>
<cover-view
class=
"delete-icon"
@
click
.
stop=
"deleteMedia(field.key, index)"
>
<view
class=
"delete-icon"
@
click
.
stop=
"deleteMedia(field.key, index)"
>
<uni-icons
type=
"clear"
size=
"16"
color=
"#fff"
></uni-icons>
<uni-icons
type=
"clear"
size=
"16"
color=
"#fff"
></uni-icons>
</view>
</
cover-
view>
</view>
</view>
<!-- 上传按钮,当未达到最大限制时显示 -->
<!-- 上传按钮,当未达到最大限制时显示 -->
<view
v-if=
"!hasReachedMax(field)"
class=
"upload-item"
@
click=
"handleMediaUpload(field)"
>
<view
v-if=
"!hasReachedMax(field)"
class=
"upload-item"
@
click=
"handleMediaUpload(field)"
>
...
@@ -294,6 +295,12 @@ export default {
...
@@ -294,6 +295,12 @@ export default {
}
}
})
})
}
}
},
previewMedia
(
media
,
type
)
{
const
url
=
`/pages/boutique/preview?tabName=预览&sourceType=
${
type
}
&detailUrl=
${
media
.
url
||
media
}
`
uni
.
navigateTo
({
url
:
`
${
url
}
`
})
}
}
}
}
}
}
...
@@ -403,6 +410,7 @@ export default {
...
@@ -403,6 +410,7 @@ export default {
position
:
relative
;
position
:
relative
;
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
z-index
:
1
;
}
}
/* 视频播放图标 */
/* 视频播放图标 */
...
@@ -418,6 +426,10 @@ export default {
...
@@ -418,6 +426,10 @@ export default {
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
z-index
:
2
;
}
.uploaded-media-container
video
{
z-index
:
1
;
}
}
.delete-icon
{
.delete-icon
{
...
...
pages/evaluationForm/confirmCar.vue
View file @
6481f4c
...
@@ -87,7 +87,7 @@
...
@@ -87,7 +87,7 @@
<textarea
placeholder=
"请输入 (1000字以内)"
v-model=
"formData.supplementaryClauseText"
maxlength=
"1000"
/>
<textarea
placeholder=
"请输入 (1000字以内)"
v-model=
"formData.supplementaryClauseText"
maxlength=
"1000"
/>
</
template
>
</
template
>
</GeneralPopup>
</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
>
<
template
#
content
>
<view>
<view>
<image
class=
"tipsPopupBg"
:src=
"bg"
/>
<image
class=
"tipsPopupBg"
:src=
"bg"
/>
...
@@ -157,7 +157,8 @@ export default {
...
@@ -157,7 +157,8 @@ export default {
sourceKey
:
'uuid'
,
sourceKey
:
'uuid'
,
targetKey
:
'sellerUserId'
,
targetKey
:
'sellerUserId'
,
targetObj
:
'evalOrderBasicReqDTO'
,
targetObj
:
'evalOrderBasicReqDTO'
,
type
:
'pdf'
type
:
'pdf'
,
isShowPreview
:
false
}
}
],
],
formData
:
{
formData
:
{
...
@@ -185,15 +186,15 @@ export default {
...
@@ -185,15 +186,15 @@ export default {
},
},
uploadFields
:
[
uploadFields
:
[
{
key
:
'motorBookUrl'
,
label
:
'机动车登记本'
,
required
:
true
,
maxCount
:
3
},
{
key
:
'motorBookUrl'
,
label
:
'机动车登记本'
,
required
:
true
,
maxCount
:
3
},
{
key
:
'motorRegistrationCertificateUrl'
,
label
:
'机动车行驶证'
,
required
:
true
,
maxCount
:
1
},
{
key
:
'motorRegistrationCertificateUrl'
,
label
:
'机动车行驶证'
,
required
:
true
,
maxCount
:
2
},
{
key
:
'purchaseReceiptUrl'
,
label
:
'购置税证及收据'
,
required
:
false
,
maxCount
:
1
},
{
key
:
'purchaseReceiptUrl'
,
label
:
'购置税证及收据'
,
required
:
false
,
maxCount
:
1
},
{
key
:
'purchaseInvoiceUrl'
,
label
:
'购车发票'
,
required
:
false
,
maxCount
:
1
},
{
key
:
'purchaseInvoiceUrl'
,
label
:
'购车发票'
,
required
:
false
,
maxCount
:
1
},
{
key
:
'trafficScreenshotUrl'
,
label
:
'交管12123截图'
,
required
:
true
,
maxCount
:
1
},
{
key
:
'trafficScreenshotUrl'
,
label
:
'交管12123截图'
,
required
:
true
,
maxCount
:
1
},
{
key
:
'trafficInsuranceUrl'
,
label
:
'交强险'
,
required
:
true
,
maxCount
:
1
},
{
key
:
'trafficInsuranceUrl'
,
label
:
'交强险'
,
required
:
true
,
maxCount
:
1
},
{
key
:
'transferPhotoUrl'
,
label
:
'过户授权委托书照片/视频'
,
required
:
true
,
maxCount
:
1
},
{
key
:
'transferPhotoUrl'
,
label
:
'过户授权委托书照片/视频'
,
required
:
true
,
maxCount
:
1
},
{
key
:
'insuranceCardUrl'
,
label
:
'保险单商业保险单或卡'
,
required
:
false
,
maxCount
:
1
},
{
key
:
'insuranceCardUrl'
,
label
:
'保险单商业保险单或卡'
,
required
:
false
,
maxCount
:
1
},
{
key
:
'carKeyUrl'
,
label
:
'车钥匙'
,
required
:
fals
e
,
maxCount
:
1
,
inputKey
:
'carKeyCount'
},
{
key
:
'carKeyUrl'
,
label
:
'车钥匙'
,
required
:
tru
e
,
maxCount
:
1
,
inputKey
:
'carKeyCount'
},
{
key
:
'otherUrl'
,
label
:
'其他'
,
required
:
false
,
maxCount
:
1
,
fullInput
:
true
,
inputKey
:
'otherText'
}
{
key
:
'otherUrl'
,
label
:
'其他'
,
required
:
false
,
maxCount
:
1
,
fullInput
:
true
,
inputKey
:
'otherText'
,
inputType
:
'number'
}
],
],
confirmCarUploadFields
:
[
confirmCarUploadFields
:
[
{
key
:
'handoverPhotoFrontFourFive'
,
label
:
'正面45度'
,
required
:
true
,
maxCount
:
1
},
{
key
:
'handoverPhotoFrontFourFive'
,
label
:
'正面45度'
,
required
:
true
,
maxCount
:
1
},
...
@@ -201,7 +202,7 @@ export default {
...
@@ -201,7 +202,7 @@ export default {
{
key
:
'handoverPhotoLeftSide'
,
label
:
'左侧面'
,
required
:
false
,
maxCount
:
1
},
{
key
:
'handoverPhotoLeftSide'
,
label
:
'左侧面'
,
required
:
false
,
maxCount
:
1
},
{
key
:
'handoverPhotoBack'
,
label
:
'后面'
,
required
:
false
,
maxCount
:
1
},
{
key
:
'handoverPhotoBack'
,
label
:
'后面'
,
required
:
false
,
maxCount
:
1
},
{
key
:
'handoverPhotoRightSide'
,
label
:
'右侧面'
,
required
:
false
,
maxCount
:
1
},
{
key
:
'handoverPhotoRightSide'
,
label
:
'右侧面'
,
required
:
false
,
maxCount
:
1
},
{
key
:
'handoverPhotoMore'
,
label
:
'其他'
,
required
:
tru
e
,
maxCount
:
5
,
fullwidth
:
true
}
{
key
:
'handoverPhotoMore'
,
label
:
'其他'
,
required
:
fals
e
,
maxCount
:
5
,
fullwidth
:
true
}
]
]
}
}
},
},
...
@@ -217,13 +218,20 @@ export default {
...
@@ -217,13 +218,20 @@ export default {
this
.
currentField
=
field
this
.
currentField
=
field
if
(
field
.
type
===
'pdf'
)
{
if
(
field
.
type
===
'pdf'
)
{
this
.
$refs
.
addAgreementPopup
.
open
().
then
(()
=>
{
this
.
$refs
.
addAgreementPopup
.
open
().
then
(()
=>
{
console
.
log
(
'this.supplementaryClauseText'
,
this
.
supplementaryClauseText
)
uni
.
$api
.
evaluationApi
uni
.
$api
.
evaluationApi
.
salesAgreementPreview
({
.
salesAgreementPreview
({
evalOrderNo
:
this
.
$route
.
query
.
evalOrderNo
,
evalOrderNo
:
this
.
$route
.
query
.
evalOrderNo
,
supplementaryClauseText
:
this
.
supplementaryClauseText
supplementaryClauseText
:
this
.
formData
.
supplementaryClauseText
})
})
.
then
(
res
=>
{
.
then
(
res
=>
{
console
.
log
(
'销售协议预览'
,
res
)
this
.
$refs
.
addAgreementPopup
.
closePopup
()
this
.
formFields
.
forEach
(
item
=>
{
if
(
item
.
key
===
field
.
key
)
{
item
.
isShowPreview
=
true
}
})
this
.
pdfUrl
=
res
.
fileDownloadUrl
this
.
pdfUrl
=
res
.
fileDownloadUrl
console
.
log
(
'this.pdfUrl'
,
this
.
pdfUrl
)
console
.
log
(
'this.pdfUrl'
,
this
.
pdfUrl
)
})
})
...
@@ -426,9 +434,11 @@ export default {
...
@@ -426,9 +434,11 @@ export default {
::v-deep
.addAgreementPopup
{
::v-deep
.addAgreementPopup
{
uni-textarea
{
uni-textarea
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
toRpx
(
568
)
;
border-radius
:
toRpx
(
16
);
border-radius
:
toRpx
(
16
);
background
:
#f4f5f7
;
background
:
#f4f5f7
;
padding
:
toRpx
(
24
);
box-sizing
:
border-box
;
}
}
}
}
.confirm-car
{
.confirm-car
{
...
...
pages/evaluationForm/index.vue
View file @
6481f4c
...
@@ -22,19 +22,19 @@
...
@@ -22,19 +22,19 @@
<view
class=
"addBtn"
@
click=
"addEvaluationForm(
{ type: 'add' })">
<view
class=
"addBtn"
@
click=
"addEvaluationForm(
{ type: 'add' })">
<view
class=
"sprite-icon icon-addEvaluationFrom"
></view>
<view
class=
"sprite-icon icon-addEvaluationFrom"
></view>
</view>
</view>
<GeneralPopup
ref=
"requotePopup"
popupClass=
"requotePopup"
title=
"重新报价"
confirmText=
"重新报价"
type=
"center"
:showClose=
"true"
:isShowCancel=
"false"
>
<GeneralPopup
ref=
"requotePopup"
popupClass=
"requotePopup"
title=
"重新报价"
confirmText=
"重新报价"
type=
"center"
:showClose=
"true"
:isShowCancel=
"false"
:autoClose=
"false"
@
confirm=
"confirmRequote"
>
<template
#
content
>
<template
#
content
>
<view
class=
"requote-content"
>
<view
class=
"requote-content"
>
<view
class=
"requote-label mb-24"
>
<view
class=
"requote-label mb-24"
>
客户意向报价
客户意向报价
<text
class=
"requiredLabel"
>
*
</text>
<text
class=
"requiredLabel"
>
*
</text>
</view>
</view>
<input
class=
"intention-input mb-48"
type=
"
idcard
"
placeholder=
"请输入"
v-model=
"requoteObj.customerTargetPrice"
/>
<input
class=
"intention-input mb-48"
type=
"
number"
maxlength=
"6
"
placeholder=
"请输入"
v-model=
"requoteObj.customerTargetPrice"
/>
<view
class=
"requote-label mb-24"
>
<view
class=
"requote-label mb-24"
>
客户意向报价
客户意向报价
<text
class=
"requiredLabel"
>
*
</text>
<text
class=
"requiredLabel"
>
*
</text>
</view>
</view>
<textarea
class=
"feedback-textarea"
placeholder-style=
"color:#999999"
placeholder=
"请输入 (200字以内)"
v-model=
"requoteObj.customerTargetPriceFeedback"
/>
<textarea
class=
"feedback-textarea"
placeholder-style=
"color:#999999"
placeholder=
"请输入 (200字以内)"
maxlength=
"200"
v-model=
"requoteObj.customerTargetPriceFeedback"
/>
</view>
</view>
</
template
>
</
template
>
</GeneralPopup>
</GeneralPopup>
...
@@ -229,7 +229,14 @@ export default {
...
@@ -229,7 +229,14 @@ export default {
this
.
getStatByStatus
()
this
.
getStatByStatus
()
},
},
reset
()
{
reset
()
{
this
.
$refs
.
searchBox
.
reset
()
this
.
searchValue
=
{
previousOwnerName
:
''
,
previousOwnerPhone
:
''
,
vin
:
''
,
evalOrderNo
:
''
}
this
.
tabIndex
=
0
this
.
search
()
},
},
async
queryList
(
pageNo
,
pageSize
)
{
async
queryList
(
pageNo
,
pageSize
)
{
console
.
log
(
'queryList出大两侧'
)
console
.
log
(
'queryList出大两侧'
)
...
@@ -353,15 +360,33 @@ export default {
...
@@ -353,15 +360,33 @@ export default {
const
that
=
this
const
that
=
this
this
.
requoteObj
.
evalOrderNo
=
e
.
evalOrderNo
this
.
requoteObj
.
evalOrderNo
=
e
.
evalOrderNo
this
.
requoteObj
.
customerTargetPrice
=
e
.
evalPrice
this
.
requoteObj
.
customerTargetPrice
=
e
.
evalPrice
this
.
$refs
.
requotePopup
.
open
().
then
(()
=>
{
this
.
$refs
.
requotePopup
.
open
()
},
confirmRequote
()
{
const
that
=
this
console
.
log
(
'that.requoteObj:'
,
that
.
requoteObj
)
if
(
that
.
requoteObj
.
customerTargetPriceFeedback
.
length
==
0
)
{
uni
.
showToast
({
title
:
'请输入客户意向报价反馈'
,
icon
:
'none'
})
return
}
if
(
!
that
.
requoteObj
.
customerTargetPrice
)
{
uni
.
showToast
({
title
:
'请输入客户意向报价'
,
icon
:
'none'
})
return
}
const
res
=
uni
.
$api
.
evaluationApi
.
evalOrderOwnerReQuote
(
this
.
requoteObj
)
const
res
=
uni
.
$api
.
evaluationApi
.
evalOrderOwnerReQuote
(
this
.
requoteObj
)
uni
.
showToast
({
uni
.
showToast
({
title
:
'重新报价成功'
,
title
:
'重新报价成功'
,
icon
:
'none'
icon
:
'none'
})
})
this
.
$refs
.
requotePopup
.
closePopup
()
this
.
currentPage
=
1
this
.
currentPage
=
1
this
.
search
()
this
.
search
()
})
},
},
cancelSign
(
e
)
{
cancelSign
(
e
)
{
this
.
cancelSignObj
.
evalOrderNo
=
e
.
evalOrderNo
this
.
cancelSignObj
.
evalOrderNo
=
e
.
evalOrderNo
...
@@ -498,8 +523,11 @@ export default {
...
@@ -498,8 +523,11 @@ export default {
::v-deep
.intention-input
{
::v-deep
.intention-input
{
height
:
toRpx
(
96
);
height
:
toRpx
(
96
);
border-radius
:
toRpx
(
16
);
border-radius
:
toRpx
(
16
);
.uni-input-wrapper
{
.uni-input-wrapper
{
background
:
#f4f5f7
;
background
:
#f4f5f7
;
padding
:
toRpx
(
24
);
box-sizing
:
border-box
;
}
}
}
}
::v-deep
.feedback-textarea
{
::v-deep
.feedback-textarea
{
...
...
pages/evaluationForm/signInfo.vue
View file @
6481f4c
...
@@ -666,7 +666,7 @@ export default {
...
@@ -666,7 +666,7 @@ export default {
this
.
checkboxList
.
forEach
(
item
=>
{
this
.
checkboxList
.
forEach
(
item
=>
{
const
itemKey
=
item
.
key
const
itemKey
=
item
.
key
const
isSelected
=
e
.
detail
.
value
.
some
(
value
=>
value
===
item
.
value
)
const
isSelected
=
e
.
detail
.
value
.
some
(
value
=>
value
===
item
.
value
)
resultObject
[
itemKey
]
=
isSelected
?
1
:
0
resultObject
[
itemKey
]
=
isSelected
?
'1'
:
'0'
})
})
// 更新formData
// 更新formData
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment