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 f69ddaa0
authored
Oct 13, 2025
by
cen
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 修复bug
1 parent
36ce457c
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
64 additions
and
38 deletions
pages/evaluationForm/addEvaluationFrom.vue
pages/evaluationForm/components/SelectCity.vue
pages/evaluationForm/components/SortByNameList.vue
pages/evaluationForm/evaluationFormDetails.vue
pages/evaluationForm/index.vue
pages/evaluationForm/signInfo.vue
pages/evaluationForm/addEvaluationFrom.vue
View file @
f69ddaa
...
@@ -532,7 +532,7 @@ export default {
...
@@ -532,7 +532,7 @@ export default {
{
key
:
12
,
label
:
'主驾驶全景'
,
maxCount
:
1
,
accept
:
'image'
},
{
key
:
12
,
label
:
'主驾驶全景'
,
maxCount
:
1
,
accept
:
'image'
},
{
key
:
13
,
label
:
'仪表盘'
,
maxCount
:
1
,
accept
:
'image'
},
{
key
:
13
,
label
:
'仪表盘'
,
maxCount
:
1
,
accept
:
'image'
},
{
key
:
14
,
label
:
'后排座椅'
,
maxCount
:
1
,
accept
:
'image'
},
{
key
:
14
,
label
:
'后排座椅'
,
maxCount
:
1
,
accept
:
'image'
},
{
key
:
15
,
label
:
'中控台'
,
maxCount
:
1
,
accept
:
'image'
},
{
key
:
15
,
label
:
'中控台
全景
'
,
maxCount
:
1
,
accept
:
'image'
},
{
key
:
16
,
label
:
'右后45度'
,
maxCount
:
1
,
accept
:
'image'
},
{
key
:
16
,
label
:
'右后45度'
,
maxCount
:
1
,
accept
:
'image'
},
{
key
:
17
,
label
:
'铭牌'
,
maxCount
:
1
,
accept
:
'image'
}
{
key
:
17
,
label
:
'铭牌'
,
maxCount
:
1
,
accept
:
'image'
}
...
...
pages/evaluationForm/components/SelectCity.vue
View file @
f69ddaa
<
template
>
<
template
>
<GeneralPopup
ref=
"cityPopup"
popupClass=
"cityPopup"
:list=
"list"
:title=
"title"
@
confirm=
"handleConfirm"
:autoClose=
"false"
>
<GeneralPopup
ref=
"cityPopup"
popupClass=
"cityPopup"
:list=
"list"
:title=
"title"
@
confirm=
"handleConfirm"
:autoClose=
"false"
>
<slot
name=
"header"
>
<view
class=
"popup-top-box flex align-center"
v-if=
"showTitle"
>
<view
class=
"popup-top-box-title flex-1"
>
{{
title
}}
</view>
<view
style=
"font-size: 0"
>
{{
otherText
}}
</view>
<view
@
click
.
stop=
"closePopup"
>
<view
class=
"sprite-icon icon-evaluationClose"
></view>
</view>
</view>
</slot>
<template
v-slot:content
>
<template
v-slot:content
>
<view
v-if=
"isLoading"
class=
"loading-container"
>
<view
v-if=
"isLoading"
class=
"loading-container"
>
<view
class=
"loading-spinner"
></view>
<view
class=
"loading-spinner"
></view>
...
@@ -17,7 +7,7 @@
...
@@ -17,7 +7,7 @@
</view>
</view>
<view
v-else
class=
"content-container"
>
<view
v-else
class=
"content-container"
>
<StepTab
:steps=
"dynamicSteps"
:currentStep=
"currentStep"
:clickable=
"true"
@
step-change=
"onStepChange"
:isShowStepNumber=
"false"
></StepTab>
<StepTab
:steps=
"dynamicSteps"
:currentStep=
"currentStep"
:clickable=
"true"
@
step-change=
"onStepChange"
:isShowStepNumber=
"false"
></StepTab>
<view
class=
"list
-c
omponent"
>
<view
class=
"list
C
omponent"
>
<SortByNameList
:items=
"currentStepData"
:activeValue=
"currentSelectedId"
:activeField=
"'code'"
:itemNameField=
"'name'"
:groupKeyField=
"'letter'"
:itemsPerRow=
"3"
:itemSpacing=
"32"
@
item-click=
"handleItemClick"
/>
<SortByNameList
:items=
"currentStepData"
:activeValue=
"currentSelectedId"
:activeField=
"'code'"
:itemNameField=
"'name'"
:groupKeyField=
"'letter'"
:itemsPerRow=
"3"
:itemSpacing=
"32"
@
item-click=
"handleItemClick"
/>
</view>
</view>
</view>
</view>
...
@@ -291,6 +281,9 @@ export default {
...
@@ -291,6 +281,9 @@ export default {
return
{
...
item
,
letter
:
'#'
}
return
{
...
item
,
letter
:
'#'
}
}
}
},
},
closePopup
()
{
this
.
$refs
.
cityPopup
.
closePopup
()
},
handleConfirm
()
{
handleConfirm
()
{
if
(
this
.
selectedCity
)
{
if
(
this
.
selectedCity
)
{
this
.
$emit
(
'city-selected'
,
this
.
selectionResult
)
this
.
$emit
(
'city-selected'
,
this
.
selectionResult
)
...
@@ -306,6 +299,7 @@ export default {
...
@@ -306,6 +299,7 @@ export default {
}
}
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
//
只保留内容区域的必要样式
::v-deep
.cityPopup
{
::v-deep
.cityPopup
{
.content
{
.content
{
width
:
100%
;
width
:
100%
;
...
@@ -313,31 +307,49 @@ export default {
...
@@ -313,31 +307,49 @@ export default {
background-color
:
#fff
;
background-color
:
#fff
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
overflow
:
hidden
;
overflow
:
hidden
;
.list
-c
omponent
{
.list
C
omponent
{
width
:
100%
;
width
:
100%
;
height
:
calc
(
100%
-
#{
toRpx
(
100
)}
);
height
:
calc
(
100%
-
#{
toRpx
(
100
)}
);
overflow-y
:
auto
;
}
}
.popup-top-box
{
}
padding
:
0
toRpx
(
48
);
}
height
:
toRpx
(
112
);
background-color
:
#fff
;
//
新增:确保标题在
pad
端居中的样式
color
:
#333333
;
::v-deep
.customPopup.cityPopup
.uni-popup__wrapper.bottom
{
font-size
:
toRpx
(
36
);
.popup-top-box
{
.popup-top-box-title
{
display
:
flex
!important
;
text-align
:
center
;
align-items
:
center
!important
;
}
justify-content
:
center
!important
;
.icon-close
{
position
:
relative
!important
;
text-align
:
end
;
padding
:
0
!important
;
}
.popup-top-box-title
{
flex
:
none
!important
;
text-align
:
center
!important
;
width
:
auto
!important
;
max-width
:
80%
!important
;
}
//
处理中间占位元素
view
:nth-child
(
2
)
{
display
:
none
!important
;
}
//
处理关闭按钮位置
view
:nth-child
(
3
)
{
position
:
absolute
!important
;
right
:
toRpx
(
48
)
!important
;
top
:
50%
!important
;
transform
:
translateY
(
-50%
)
!important
;
}
}
}
}
}
}
.content-container
{
.content-container
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
}
}
.loading-container
{
.loading-container
{
width
:
100%
;
width
:
100%
;
height
:
toRpx
(
764
);
height
:
toRpx
(
764
);
...
...
pages/evaluationForm/components/SortByNameList.vue
View file @
f69ddaa
...
@@ -166,6 +166,7 @@ export default {
...
@@ -166,6 +166,7 @@ export default {
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.container
{
.container
{
position
:
relative
;
position
:
relative
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
...
...
pages/evaluationForm/evaluationFormDetails.vue
View file @
f69ddaa
...
@@ -292,8 +292,13 @@
...
@@ -292,8 +292,13 @@
<view
v-if=
"formatValue(item, detailsInfo)"
:key=
"index"
:class=
"['flex align-start',
{ 'full-width': item.fullWidth }, { 'align-center': item.type == 'link' }]">
<view
v-if=
"formatValue(item, detailsInfo)"
:key=
"index"
:class=
"['flex align-start',
{ 'full-width': item.fullWidth }, { 'align-center': item.type == 'link' }]">
<view
class=
"title-label-see mr-16"
>
{{
item
.
label
==
'自定义字段名称'
?
detailsInfo
.
carHandoverInfo
.
otherText
||
'自定义字段名称'
:
item
.
label
}}
</view>
<view
class=
"title-label-see mr-16"
>
{{
item
.
label
==
'自定义字段名称'
?
detailsInfo
.
carHandoverInfo
.
otherText
||
'自定义字段名称'
:
item
.
label
}}
</view>
<view
v-if=
"item.type == 'image'"
>
<view
v-if=
"item.type == 'image'"
>
<image
v-if=
"formatValue(item, detailsInfo).includes('mp4')"
:src=
"formatValue(item, detailsInfo) + videoProcess"
@
click
.
stop=
"previewMedia(formatValue(item, detailsInfo), 2)"
></image>
<template
v-if=
"item.key === 'carHandoverInfo.motorBookUrl'"
>
<image
v-else
:src=
"formatValue(item, detailsInfo)"
@
click
.
stop=
"previewMedia(formatValue(item, detailsInfo), 1)"
></image>
<image
@
click
.
stop=
"previewMedia(url, 1)"
v-for=
"(url, idx) in splitMediaUrls(formatValue(item, detailsInfo))"
:key=
"idx"
:src=
"url"
mode=
"aspectFill"
style=
"margin-right: 10px"
></image>
</
template
>
<
template
v-else
>
<image
v-if=
"formatValue(item, detailsInfo).includes('mp4')"
:src=
"formatValue(item, detailsInfo) + videoProcess"
@
click
.
stop=
"previewMedia(formatValue(item, detailsInfo), 2)"
></image>
<image
v-else
:src=
"formatValue(item, detailsInfo)"
@
click
.
stop=
"previewMedia(formatValue(item, detailsInfo), 1)"
></image>
</
template
>
</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"
>
...
@@ -531,8 +536,8 @@ export default {
...
@@ -531,8 +536,8 @@ export default {
{
label
:
'收款人姓名'
,
key
:
'signingInfo.saleContract.payeeName'
},
{
label
:
'收款人姓名'
,
key
:
'signingInfo.saleContract.payeeName'
},
{
label
:
'银行卡账号'
,
key
:
'signingInfo.saleContract.bankCardNumber'
},
{
label
:
'银行卡账号'
,
key
:
'signingInfo.saleContract.bankCardNumber'
},
{
label
:
'开户行'
,
key
:
'signingInfo.saleContract.bankOfDeposit'
,
fullWidth
:
true
},
{
label
:
'开户行'
,
key
:
'signingInfo.saleContract.bankOfDeposit'
,
fullWidth
:
true
},
{
label
:
'身份证正面'
,
key
:
'signingInfo.saleContract.payerIdCarFrontUrl'
,
type
:
'image'
},
{
label
:
'身份证正面'
,
key
:
'signingInfo.saleContract.payerIdCar
d
FrontUrl'
,
type
:
'image'
},
{
label
:
'身份证反面'
,
key
:
'signingInfo.saleContract.payerIdCarBackUrl'
,
type
:
'image'
},
{
label
:
'身份证反面'
,
key
:
'signingInfo.saleContract.payerIdCar
d
BackUrl'
,
type
:
'image'
},
{
label
:
'银行卡'
,
key
:
'signingInfo.saleContract.payerBankCardUrl'
,
type
:
'image'
}
{
label
:
'银行卡'
,
key
:
'signingInfo.saleContract.payerBankCardUrl'
,
type
:
'image'
}
],
],
vehicleManagementItems
:
[
vehicleManagementItems
:
[
...
...
pages/evaluationForm/index.vue
View file @
f69ddaa
...
@@ -99,7 +99,7 @@
...
@@ -99,7 +99,7 @@
地址
地址
<text
class=
"requiredLabel"
>
*
</text>
<text
class=
"requiredLabel"
>
*
</text>
</view>
</view>
<input
class=
"intention-input mb-48"
placeholder=
"请输入"
maxlength=
"
10
"
v-model=
"addSignAgreementObj.custodianAddress"
/>
<input
class=
"intention-input mb-48"
placeholder=
"请输入"
maxlength=
"
52
"
v-model=
"addSignAgreementObj.custodianAddress"
/>
</view>
</view>
</
template
>
</
template
>
</GeneralPopup>
</GeneralPopup>
...
@@ -459,6 +459,13 @@ export default {
...
@@ -459,6 +459,13 @@ export default {
uni
.
hideLoading
()
uni
.
hideLoading
()
console
.
log
(
'res.data.data:'
,
res
.
data
.
data
)
console
.
log
(
'res.data.data:'
,
res
.
data
.
data
)
if
(
!
res
.
data
.
data
)
{
if
(
!
res
.
data
.
data
)
{
this
.
signAgreementObj
=
{
evalOrderNo
:
''
,
custodianName
:
''
,
custodianIdentityCode
:
''
,
custodianAddress
:
''
,
custodianPhone
:
''
}
that
.
$refs
.
signAgreementPopup
.
open
()
that
.
$refs
.
signAgreementPopup
.
open
()
}
else
{
}
else
{
uni
.
showLoading
()
uni
.
showLoading
()
...
@@ -622,13 +629,13 @@ export default {
...
@@ -622,13 +629,13 @@ export default {
this
.
$refs
.
orderPopup
.
open
()
this
.
$refs
.
orderPopup
.
open
()
},
},
async
addSignAgreement
()
{
async
addSignAgreement
()
{
;((
this
.
addSignAgreementObj
=
{
this
.
addSignAgreementObj
=
{
custodianIdentityCode
:
''
,
custodianIdentityCode
:
''
,
custodianPhone
:
''
,
custodianPhone
:
''
,
custodianAddress
:
''
,
custodianAddress
:
''
,
custodianName
:
''
custodianName
:
''
}
),
}
this
.
$refs
.
addSignAgreementPopup
.
open
()
)
this
.
$refs
.
addSignAgreementPopup
.
open
(
)
},
},
async
confirmAddSignAgreement
()
{
async
confirmAddSignAgreement
()
{
if
(
!
this
.
addSignAgreementObj
.
custodianName
)
{
if
(
!
this
.
addSignAgreementObj
.
custodianName
)
{
...
...
pages/evaluationForm/signInfo.vue
View file @
f69ddaa
...
@@ -659,7 +659,7 @@ export default {
...
@@ -659,7 +659,7 @@ export default {
inputType
:
'text'
,
inputType
:
'text'
,
targetKey
:
'partAName'
,
targetKey
:
'partAName'
,
type
:
'input'
,
type
:
'input'
,
maxlength
:
50
,
maxlength
:
28
,
disabled
:
false
disabled
:
false
},
},
{
{
...
@@ -697,7 +697,7 @@ export default {
...
@@ -697,7 +697,7 @@ export default {
sourceKey
:
'uuid'
,
sourceKey
:
'uuid'
,
targetKey
:
'address'
,
targetKey
:
'address'
,
type
:
'input'
,
type
:
'input'
,
maxlength
:
100
maxlength
:
52
}
}
]
]
this
.
formData
.
finalPrice
=
''
this
.
formData
.
finalPrice
=
''
...
@@ -751,7 +751,7 @@ export default {
...
@@ -751,7 +751,7 @@ export default {
targetKey
:
'partAName'
,
targetKey
:
'partAName'
,
type
:
'input'
,
type
:
'input'
,
disabled
:
false
,
disabled
:
false
,
maxlength
:
50
maxlength
:
28
},
},
{
{
key
:
'phone'
,
key
:
'phone'
,
...
@@ -787,7 +787,8 @@ export default {
...
@@ -787,7 +787,8 @@ export default {
sourceNameKey
:
'staffName'
,
sourceNameKey
:
'staffName'
,
sourceKey
:
'uuid'
,
sourceKey
:
'uuid'
,
targetKey
:
'address'
,
targetKey
:
'address'
,
type
:
'input'
type
:
'input'
,
maxlength
:
50
}
}
]
]
...
...
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