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 fed62581
authored
Dec 01, 2025
by
cen
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 详情显示
1 parent
5c52785a
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
86 additions
and
46 deletions
assets/css/sprite.scss
assets/images/sprite.png
assets/spritesmith/end-right.png
env.js
pages/evaluationForm/components/ButtonModule.vue
pages/evaluationForm/components/TypeTabComponent.vue
pages/evaluationForm/evaluationFormDetails.vue
pages/evaluationForm/index.vue
assets/css/sprite.scss
View file @
fed6258
This diff is collapsed.
Click to expand it.
assets/images/sprite.png
View file @
fed6258
2.91 MB
|
W:
|
H:
2.9 MB
|
W:
|
H:
2-up
Swipe
Onion skin
assets/spritesmith/end-right.png
0 → 100644
View file @
fed6258
2.37 KB
env.js
View file @
fed6258
const
target
=
[
'ip'
,
'dev'
,
'uat'
,
'prod'
,
'beta'
]
const
target
=
[
'ip'
,
'dev'
,
'uat'
,
'prod'
,
'beta'
]
const
index
=
4
const
index
=
2
/**
/**
*
*
0本地
0本地
...
...
pages/evaluationForm/components/ButtonModule.vue
View file @
fed6258
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<view
v-if=
"status == 30 && !subStatus"
class=
"common-btn ml-24"
@
click
.
stop=
"handleClick('cancelSign', 'app_evaluate_cancel_sign')"
>
取消签约
</view>
<view
v-if=
"status == 30 && !subStatus"
class=
"common-btn ml-24"
@
click
.
stop=
"handleClick('cancelSign', 'app_evaluate_cancel_sign')"
>
取消签约
</view>
<view
v-if=
"status == 31 && !subStatus"
class=
"common-btn blue-btn ml-24"
@
click
.
stop=
"handleClick('signAgreement', 'app_evaluate_cancel_sign')"
>
确认代保管
</view>
<view
v-if=
"status == 31 && !subStatus"
class=
"common-btn blue-btn ml-24"
@
click
.
stop=
"handleClick('signAgreement', 'app_evaluate_cancel_sign')"
>
确认代保管
</view>
<view
v-if=
"status == 30 && !subStatus && paymentType == 1"
class=
"common-btn blue-btn ml-24"
@
click
.
stop=
"handleClick('payDeposit', 'app_evaluate_pay_deposit')"
>
支付定金
</view>
<view
v-if=
"status == 30 && !subStatus && paymentType == 1"
class=
"common-btn blue-btn ml-24"
@
click
.
stop=
"handleClick('payDeposit', 'app_evaluate_pay_deposit')"
>
支付定金
</view>
<view
v-if=
"(status == 30 && !subStatus && paymentType == 2 && previousStatus == '-1') || (status == 3
1 && !subStatus && paymentType == 2 && previousStatus == 30
)"
class=
"common-btn blue-btn ml-24"
@
click
.
stop=
"handleClick('payFull', 'app_evaluate_pay_full')"
>
支付全款
</view>
<view
v-if=
"(status == 30 && !subStatus && paymentType == 2 && previousStatus == '-1') || (status == 3
2 && !subStatus && paymentType == 2 && previousStatus == 31
)"
class=
"common-btn blue-btn ml-24"
@
click
.
stop=
"handleClick('payFull', 'app_evaluate_pay_full')"
>
支付全款
</view>
<view
v-if=
"status == 32 && !subStatus && paymentType == 1"
class=
"common-btn blue-btn ml-24"
@
click
.
stop=
"handleClick('payFull', 'app_evaluate_pay_final')"
>
支付尾款
</view>
<view
v-if=
"status == 32 && !subStatus && paymentType == 1"
class=
"common-btn blue-btn ml-24"
@
click
.
stop=
"handleClick('payFull', 'app_evaluate_pay_final')"
>
支付尾款
</view>
<view
v-if=
"(status == 30 && !subStatus && paymentType == 2 && previousStatus == 20) || (status == 40 && !subStatus && previousStatus == 30 && paymentType == 1)"
class=
"common-btn blue-btn ml-24"
@
click
.
stop=
"handleClick('confirmDelivery', 'app_evaluate_confirm_delivery')"
>
确认交车
</view>
<view
v-if=
"(status == 30 && !subStatus && paymentType == 2 && previousStatus == 20) || (status == 40 && !subStatus && previousStatus == 30 && paymentType == 1)"
class=
"common-btn blue-btn ml-24"
@
click
.
stop=
"handleClick('confirmDelivery', 'app_evaluate_confirm_delivery')"
>
确认交车
</view>
...
...
pages/evaluationForm/components/TypeTabComponent.vue
View file @
fed6258
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
<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-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-first-right icon-first-right"
></view>
<view
v-if=
"tabIndex == index && index != 0 && index != typeList.length - 1"
class=
"sprite-icon tab-second-right icon-second-right"
></view>
<view
v-if=
"tabIndex == index && index != 0 && index != typeList.length - 1"
class=
"sprite-icon tab-second-right icon-second-right"
></view>
<view
v-if=
"tabIndex == index && index != 0 && index == typeList.length - 1"
class=
"sprite-icon tab-end-right icon-end-right"
></view>
<view
v-if=
"tabIndex == index && index != 0"
class=
"sprite-icon tab-second-left icon-second-left"
></view>
<view
v-if=
"tabIndex == index && index != 0"
class=
"sprite-icon tab-second-left icon-second-left"
></view>
<view
class=
"text flex justify-center align-center"
:class=
"[tabIndex == index ? `active` : '']"
>
<view
class=
"text flex justify-center align-center"
:class=
"[tabIndex == index ? `active` : '']"
>
<view>
{{
i
[
nameKey
]
}}
</view>
<view>
{{
i
[
nameKey
]
}}
</view>
...
@@ -91,7 +92,7 @@ export default {
...
@@ -91,7 +92,7 @@ export default {
text-align
:
center
;
text-align
:
center
;
font-weight
:
400
;
font-weight
:
400
;
font-size
:
toRpx
(
28
);
font-size
:
toRpx
(
28
);
color
:
#292
D
33
;
color
:
#292
d
33
;
position
:
relative
;
position
:
relative
;
margin-right
:
toRpx
(
16
);
margin-right
:
toRpx
(
16
);
.text
{
.text
{
...
@@ -99,7 +100,7 @@ export default {
...
@@ -99,7 +100,7 @@ export default {
text-align
:
center
;
text-align
:
center
;
height
:
toRpx
(
96
);
height
:
toRpx
(
96
);
padding
:
0
toRpx
(
64
);
padding
:
0
toRpx
(
64
);
transition
:
all
.15s
;
transition
:
all
0
.15s
;
.count
{
.count
{
font-size
:
toRpx
(
24
);
font-size
:
toRpx
(
24
);
}
}
...
@@ -124,7 +125,7 @@ export default {
...
@@ -124,7 +125,7 @@ export default {
position
:
relative
;
position
:
relative
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
toRpx
(
32
);
font-size
:
toRpx
(
32
);
color
:
#3
B73FF
;
color
:
#3
b73ff
;
&::after
{
&::after
{
content
:
''
;
content
:
''
;
position
:
absolute
;
position
:
absolute
;
...
@@ -133,7 +134,7 @@ export default {
...
@@ -133,7 +134,7 @@ export default {
transform
:
translateX
(
-50%
);
transform
:
translateX
(
-50%
);
width
:
toRpx
(
40
);
width
:
toRpx
(
40
);
height
:
toRpx
(
6
);
height
:
toRpx
(
6
);
background-color
:
#3
B73FF
;
background-color
:
#3
b73ff
;
border-radius
:
toRpx
(
16
);
border-radius
:
toRpx
(
16
);
}
}
}
}
...
@@ -156,6 +157,10 @@ export default {
...
@@ -156,6 +157,10 @@ export default {
left
:
toMinusRpx
(
64
);
left
:
toMinusRpx
(
64
);
position
:
absolute
;
position
:
absolute
;
}
}
.tab-end-right
{
right
:
0
;
position
:
absolute
;
}
}
}
.tab-first-nav
{
.tab-first-nav
{
background
:
url('@/assets/spritesmith/first-nav.png')
no-repeat
;
background
:
url('@/assets/spritesmith/first-nav.png')
no-repeat
;
...
...
pages/evaluationForm/evaluationFormDetails.vue
View file @
fed6258
...
@@ -24,12 +24,13 @@
...
@@ -24,12 +24,13 @@
<view
class=
"tab-container"
>
<view
class=
"tab-container"
>
<scroll-view
scroll-x
enable-flex
class=
"tab-scroll"
>
<scroll-view
scroll-x
enable-flex
class=
"tab-scroll"
>
<template
v-for=
"(tab, index) in tabs"
>
<template
v-for=
"(tab, index) in tabs"
>
<view
v-if=
"!tab.hidden"
:key=
"
index
"
:class=
"['tab-item',
{ active: activeTabKey === tab.key }]" @click.stop="switchTabByKey(tab.key)">
<view
v-if=
"!tab.hidden"
:key=
"
tab.key
"
:class=
"['tab-item',
{ active: activeTabKey === tab.key }]" @click.stop="switchTabByKey(tab.key)">
{{
tab
.
name
}}
{{
tab
.
name
}}
</view>
</view>
</
template
>
</
template
>
</scroll-view>
</scroll-view>
</view>
</view>
<view
class=
"tab-panel-container"
>
<view
class=
"tab-panel"
:class=
"{ 'no-bac': activeTabKey != 'carLicense' && activeTabKey != 'carInfo' }"
>
<view
class=
"tab-panel"
:class=
"{ 'no-bac': activeTabKey != 'carLicense' && activeTabKey != 'carInfo' }"
>
<!-- 动态标题 -->
<!-- 动态标题 -->
<view
class=
"tab-panel-title"
v-if=
"activeTabKey == 'carInfo' || activeTabKey == 'carLicense'"
>
{{ tabs.find(tab => tab.key === activeTabKey) ? tabs.find(tab => tab.key === activeTabKey).name : '' }}
</view>
<view
class=
"tab-panel-title"
v-if=
"activeTabKey == 'carInfo' || activeTabKey == 'carLicense'"
>
{{ tabs.find(tab => tab.key === activeTabKey) ? tabs.find(tab => tab.key === activeTabKey).name : '' }}
</view>
...
@@ -70,20 +71,20 @@
...
@@ -70,20 +71,20 @@
</view>
</view>
<view
class=
"upload-box mb-32"
v-if=
"hasCertificateImage"
>
<view
class=
"upload-box mb-32"
v-if=
"hasCertificateImage"
>
<view
class=
"tab-panel-title"
>
证件资料
</view>
<view
class=
"tab-panel-title"
>
证件资料
</view>
<view
class=
"upload-grid two-columns
"
>
<view
class=
"upload-grid"
:class=
"{ 'two-columns': shouldShowTwoColumns }
"
>
<
template
v-for=
"field in uploadCertificateFields"
>
<
template
v-for=
"field in uploadCertificateFields"
>
<view
class=
"flex upload-item-container"
:class=
"
{ 'two-thirds': field.key === 22
&&
getImageBySubtype(field.key)
&&
Array.isArray(getImageBySubtype(field.key))
&&
getImageBySubtype(field.key).length > 1 }" :key="field.key" v-if="getImageBySubtype
(field.key)">
<view
class=
"flex upload-item-container"
:class=
"
{ 'two-thirds': field.key === 22
&&
getImageBySubtype(field.key)
&&
Array.isArray(getImageBySubtype(field.key))
&&
getImageBySubtype(field.key).length > 1
&&
!shouldShowTwoColumns }" :key="field.key" v-if="hasImageForField
(field.key)">
<view
class=
"upload-label"
>
<view
class=
"upload-label"
>
{{
field
.
label
}}
{{
field
.
label
}}
</view>
</view>
<view
class=
"upload-images-wrapper"
>
<view
class=
"upload-images-wrapper"
>
<template
v-if=
"field.key === 22 && Array.isArray(getImageBySubtype(field.key))
"
>
<template
v-if=
"field.key === 22 && Array.isArray(getImageBySubtype(field.key)) && getImageBySubtype(field.key).length > 0
"
>
<view
class=
"uploaded-media-container"
v-for=
"(img, index) in getImageBySubtype(field.key)"
:key=
"index"
>
<view
class=
"uploaded-media-container"
v-for=
"(img, index) in getImageBySubtype(field.key)"
:key=
"index"
>
<image
:src=
"img.fileUrl"
@
click
.
stop=
"previewMedia(img.fileUrl, 1)"
mode=
"aspectFill"
class=
"uploaded-media"
></image>
<image
:src=
"img.fileUrl"
@
click
.
stop=
"previewMedia(img.fileUrl, 1)"
mode=
"aspectFill"
class=
"uploaded-media"
></image>
</view>
</view>
</
template
>
</
template
>
<!-- 对于其他类型的图片,保持原有显示方式 -->
<!-- 对于其他类型的图片,保持原有显示方式 -->
<
template
v-else-if=
"!Array.isArray(getImageBySubtype(field.key))
"
>
<
template
v-else-if=
"!Array.isArray(getImageBySubtype(field.key)) && getImageBySubtype(field.key) && getImageBySubtype(field.key).fileUrl
"
>
<view
class=
"uploaded-media-container"
>
<view
class=
"uploaded-media-container"
>
<image
:src=
"getImageBySubtype(field.key).fileUrl"
@
click
.
stop=
"previewMedia(getImageBySubtype(field.key).fileUrl, 1)"
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>
...
@@ -96,11 +97,11 @@
...
@@ -96,11 +97,11 @@
<view
class=
"upload-box mb-32"
v-if=
"hasAnyVideo"
>
<view
class=
"upload-box mb-32"
v-if=
"hasAnyVideo"
>
<view
class=
"tab-panel-title"
>
车辆视频
</view>
<view
class=
"tab-panel-title"
>
车辆视频
</view>
<view
class=
"upload-grid"
>
<view
class=
"upload-grid"
>
<view
class=
"flex upload-item-container"
v-for=
"field in videoFieldsWithMedia
"
:key=
"field.key"
>
<view
class=
"flex upload-item-container"
v-for=
"field in uploadVideoFields
"
:key=
"field.key"
>
<view
class=
"upload-label
"
>
<view
class=
"upload-label"
v-if=
"getImageBySubtype(field.key)
"
>
{{ field.label }}
{{ field.label }}
</view>
</view>
<view
class=
"upload-images-wrapper
"
>
<view
class=
"upload-images-wrapper"
v-if=
"getImageBySubtype(field.key)
"
>
<view
class=
"uploaded-media-container"
>
<view
class=
"uploaded-media-container"
>
<view
class=
"video-container"
>
<view
class=
"video-container"
>
<image
:src=
"getImageBySubtype(field.key).fileUrl + videoProcess"
mode=
"aspectFill"
class=
"uploaded-media"
@
click
.
stop=
"previewMedia(getImageBySubtype(field.key).fileUrl, 2)"
></image>
<image
:src=
"getImageBySubtype(field.key).fileUrl + videoProcess"
mode=
"aspectFill"
class=
"uploaded-media"
@
click
.
stop=
"previewMedia(getImageBySubtype(field.key).fileUrl, 2)"
></image>
...
@@ -421,6 +422,7 @@
...
@@ -421,6 +422,7 @@
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</template>
</template>
<
script
>
<
script
>
import
MediaInfo
from
'./components/MediaInfo'
import
MediaInfo
from
'./components/MediaInfo'
...
@@ -539,16 +541,16 @@ export default {
...
@@ -539,16 +541,16 @@ export default {
{
label
:
'合同模版名称'
,
key
:
'signingInfo.saleContract.docTemplateName'
},
{
label
:
'合同模版名称'
,
key
:
'signingInfo.saleContract.docTemplateName'
},
{
label
:
'交车时间'
,
key
:
'signingInfo.saleContract.handoverTime'
},
{
label
:
'交车时间'
,
key
:
'signingInfo.saleContract.handoverTime'
},
{
label
:
'交车地点'
,
key
:
'signingInfo.saleContract.handoverAddress'
},
{
label
:
'交车地点'
,
key
:
'signingInfo.saleContract.handoverAddress'
},
{
label
:
'身份证
正
面'
,
key
:
'signingInfo.saleContract.idCardFrontUrl'
,
type
:
'image'
},
{
label
:
'身份证
国徽
面'
,
key
:
'signingInfo.saleContract.idCardFrontUrl'
,
type
:
'image'
},
{
label
:
'身份证
反
面'
,
key
:
'signingInfo.saleContract.idCardBackUrl'
,
type
:
'image'
},
{
label
:
'身份证
人像
面'
,
key
:
'signingInfo.saleContract.idCardBackUrl'
,
type
:
'image'
},
{
label
:
'查阅合同'
,
key
:
'signingInfo.saleContract.contractUrl'
,
type
:
'link'
}
{
label
:
'查阅合同'
,
key
:
'signingInfo.saleContract.contractUrl'
,
type
:
'link'
}
],
],
payeeItems
:
[
payeeItems
:
[
{
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.payerIdCardFrontUrl'
,
type
:
'image'
},
{
label
:
'身份证
国徽
面'
,
key
:
'signingInfo.saleContract.payerIdCardFrontUrl'
,
type
:
'image'
},
{
label
:
'身份证
反
面'
,
key
:
'signingInfo.saleContract.payerIdCardBackUrl'
,
type
:
'image'
},
{
label
:
'身份证
人像
面'
,
key
:
'signingInfo.saleContract.payerIdCardBackUrl'
,
type
:
'image'
},
{
label
:
'银行卡'
,
key
:
'signingInfo.saleContract.payerBankCardUrl'
,
type
:
'image'
}
{
label
:
'银行卡'
,
key
:
'signingInfo.saleContract.payerBankCardUrl'
,
type
:
'image'
}
],
],
vehicleManagementItems
:
[
vehicleManagementItems
:
[
...
@@ -623,38 +625,50 @@ export default {
...
@@ -623,38 +625,50 @@ export default {
uni
.
$track
.
add
({
eventCode
:
'app_evaluation_from_details'
})
uni
.
$track
.
add
({
eventCode
:
'app_evaluation_from_details'
})
},
},
computed
:
{
computed
:
{
videoFieldsWithMedia
()
{
return
this
.
uploadVideoFields
.
filter
(
field
=>
{
const
media
=
this
.
getImageBySubtype
(
field
.
key
)
if
(
!
media
)
return
false
if
(
Array
.
isArray
(
media
))
{
return
media
.
length
>
0
}
return
!!
media
.
fileUrl
})
},
hasAnyVideo
()
{
hasAnyVideo
()
{
return
this
.
uploadVideoFields
.
some
(
field
=>
{
return
this
.
uploadVideoFields
.
some
(
field
=>
{
const
image
=
this
.
getImageBySubtype
(
field
.
key
)
const
image
=
this
.
getImageBySubtype
(
field
.
key
)
return
image
&&
image
.
fileUrl
return
image
&&
image
.
fileUrl
})
})
},
},
hasAnyReportImage
()
{
return
this
.
uploadReportFields
.
some
(
field
=>
{
const
image
=
this
.
getImageBySubtype
(
field
.
key
)
return
image
&&
(
Array
.
isArray
(
image
)
?
image
.
length
>
0
:
image
.
fileUrl
)
})
},
hasAnyOtherImage
()
{
hasAnyOtherImage
()
{
return
this
.
uploadOtherFields
.
some
(
field
=>
{
return
this
.
uploadOtherFields
.
some
(
field
=>
{
const
image
=
this
.
getImageBySubtype
(
field
.
key
)
const
image
=
this
.
getImageBySubtype
(
field
.
key
)
return
image
&&
(
Array
.
isArray
(
image
)
?
image
.
length
>
0
:
image
.
fileUrl
)
return
image
&&
(
Array
.
isArray
(
image
)
?
image
.
length
>
0
:
image
.
fileUrl
)
})
})
},
},
shouldShowTwoColumns
()
{
// 只有两个证件都有图片时才显示两列布局
const
drivingLicense
=
this
.
getImageBySubtype
(
21
)
// 行驶证
const
registration
=
this
.
getImageBySubtype
(
22
)
// 登记证
const
hasDrivingLicense
=
drivingLicense
&&
drivingLicense
.
fileUrl
const
hasRegistration
=
registration
&&
Array
.
isArray
(
registration
)
&&
registration
.
length
>
0
return
hasDrivingLicense
&&
hasRegistration
},
hasImageForField
()
{
return
fieldKey
=>
{
const
images
=
this
.
getImageBySubtype
(
fieldKey
)
if
(
Array
.
isArray
(
images
))
{
return
images
.
length
>
0
}
else
if
(
images
)
{
return
!!
images
.
fileUrl
}
return
false
}
},
hasCertificateImage
()
{
hasCertificateImage
()
{
return
this
.
uploadCertificateFields
.
some
(
field
=>
{
return
this
.
uploadCertificateFields
.
some
(
field
=>
{
const
image
=
this
.
getImageBySubtype
(
field
.
key
)
const
images
=
this
.
getImageBySubtype
(
field
.
key
)
return
image
&&
(
Array
.
isArray
(
image
)
?
image
.
length
>
0
:
image
.
fileUrl
)
if
(
Array
.
isArray
(
images
))
{
// 对于数组类型(如登记证),检查是否有图片
return
images
.
length
>
0
}
else
if
(
images
)
{
// 对于单张图片类型(如行驶证),检查是否有fileUrl
return
!!
images
.
fileUrl
}
return
false
})
})
},
},
hasCarHandoverInfoImage
()
{
hasCarHandoverInfoImage
()
{
...
@@ -662,6 +676,12 @@ export default {
...
@@ -662,6 +676,12 @@ export default {
const
image
=
this
.
formatValue
(
field
,
this
.
detailsInfo
)
const
image
=
this
.
formatValue
(
field
,
this
.
detailsInfo
)
return
image
&&
(
Array
.
isArray
(
image
)
?
image
.
length
>
0
:
image
)
return
image
&&
(
Array
.
isArray
(
image
)
?
image
.
length
>
0
:
image
)
})
})
},
hasAnyReportImage
()
{
return
this
.
uploadReportFields
.
some
(
field
=>
{
const
image
=
this
.
getImageBySubtype
(
field
.
key
)
return
image
&&
(
Array
.
isArray
(
image
)
?
image
.
length
>
0
:
image
.
fileUrl
)
})
}
}
},
},
mounted
()
{},
mounted
()
{},
...
@@ -818,8 +838,8 @@ export default {
...
@@ -818,8 +838,8 @@ export default {
backdrop-filter
:
blur
(
toRpx
(
16
));
backdrop-filter
:
blur
(
toRpx
(
16
));
box-shadow
:
inset
0
0
toRpx
(
16
)
0
#ffffff
;
box-shadow
:
inset
0
0
toRpx
(
16
)
0
#ffffff
;
border-radius
:
toRpx
(
48
);
border-radius
:
toRpx
(
48
);
overflow
:
auto
;
overflow
:
hidden
;
padding
:
toRpx
(
32
)
toRpx
(
48
)
toRpx
(
42
);
padding
:
0
0
toRpx
(
42
);
box-sizing
:
border-box
;
box-sizing
:
border-box
;
position
:
relative
;
position
:
relative
;
&::after
{
&::after
{
...
@@ -847,6 +867,12 @@ export default {
...
@@ -847,6 +867,12 @@ export default {
}
}
.tab-container
{
.tab-container
{
margin-bottom
:
toRpx
(
32
);
margin-bottom
:
toRpx
(
32
);
margin-top
:
toRpx
(
32
);
position
:
sticky
;
top
:
0
;
z-index
:
10
;
border-radius
:
toRpx
(
48
)
toRpx
(
48
)
0
0
;
padding
:
0
toRpx
(
48
);
.tab-scroll
{
.tab-scroll
{
width
:
100%
;
width
:
100%
;
display
:
flex
;
display
:
flex
;
...
@@ -890,6 +916,11 @@ export default {
...
@@ -890,6 +916,11 @@ export default {
}
}
}
}
}
}
.tab-panel-container
{
padding
:
0
toRpx
(
48
);
overflow
:
auto
;
height
:
calc
(
100%
-
#{
toRpx
(
114
)}
);
}
.tab-panel
{
.tab-panel
{
border-radius
:
toRpx
(
16
);
border-radius
:
toRpx
(
16
);
background
:
#ffffff
;
background
:
#ffffff
;
...
...
pages/evaluationForm/index.vue
View file @
fed6258
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<searchBox
ref=
"searchBox"
@
search=
"searchClick"
@
reset=
"reset"
:searchValue
.
sync=
"searchValue"
/>
<searchBox
ref=
"searchBox"
@
search=
"searchClick"
@
reset=
"reset"
:searchValue
.
sync=
"searchValue"
/>
<view
class=
"box-class mt-32"
>
<view
class=
"box-class mt-32"
>
<type-tab-component
:typeList=
"typeList"
:isShowCount=
"true"
:tabIndex
.
sync=
"tabIndex"
@
tabClick=
"search"
></type-tab-component>
<type-tab-component
:typeList=
"typeList"
:isShowCount=
"true"
:tabIndex
.
sync=
"tabIndex"
@
tabClick=
"search"
></type-tab-component>
<z-paging
ref=
"paging"
:fixed=
"false"
paging-class=
"paging-class"
:class=
"tabIndex == 0 ? 'no-br' : ''"
: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"
:class=
"tabIndex == 0 ? 'no-br' :
tabIndex == typeList.length - 1 ? 'no-br1' :
''"
: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
class=
"noDataImg"
:src=
"noData"
/>
<image
class=
"noDataImg"
:src=
"noData"
/>
...
@@ -103,7 +103,7 @@
...
@@ -103,7 +103,7 @@
</view>
</view>
</
template
>
</
template
>
</GeneralPopup>
</GeneralPopup>
<GeneralPopup
ref=
"amountRequestedPopup"
popupClass=
"amountRequested"
:title=
"amountRequestedPopupTitle"
:confirmText=
"payPopupObj.paymentType == 1 && payPopupObj.status != 40 ? '款项申请' : '
下一步
'"
type=
"center"
:showClose=
"true"
:isShowCancel=
"false"
@
confirm=
"confirmAmountRequested"
>
<GeneralPopup
ref=
"amountRequestedPopup"
popupClass=
"amountRequested"
:title=
"amountRequestedPopupTitle"
:confirmText=
"payPopupObj.paymentType == 1 && payPopupObj.status != 40 ? '款项申请' : '
款项申请
'"
type=
"center"
:showClose=
"true"
:isShowCancel=
"false"
@
confirm=
"confirmAmountRequested"
>
<
template
#
content
>
<
template
#
content
>
<view
class=
"amount-requested-content"
>
<view
class=
"amount-requested-content"
>
<view
class=
"amount-box flex align-center"
>
<view
class=
"amount-box flex align-center"
>
...
@@ -203,7 +203,7 @@ export default {
...
@@ -203,7 +203,7 @@ export default {
evalPrice
:
''
,
evalPrice
:
''
,
paymentType
:
''
,
paymentType
:
''
,
status
:
''
,
status
:
''
,
paymentMethod
:
'1'
paymentMethod
:
1
},
},
signAgreementObj
:
{
signAgreementObj
:
{
evalOrderNo
:
''
,
evalOrderNo
:
''
,
...
@@ -244,8 +244,8 @@ export default {
...
@@ -244,8 +244,8 @@ export default {
{
name
:
'6'
,
count
:
1
,
previousStatus
:
'-1'
,
subStatus
:
''
,
paymentType
:
'1'
}
{
name
:
'6'
,
count
:
1
,
previousStatus
:
'-1'
,
subStatus
:
''
,
paymentType
:
'1'
}
],
],
paymentMethodRadioList
:
[
paymentMethodRadioList
:
[
{
name
:
'银行转账'
,
value
:
'1'
},
{
name
:
'银行转账'
,
value
:
1
},
{
name
:
'冲账'
,
value
:
'2'
}
{
name
:
'冲账'
,
value
:
2
}
],
],
currentRadio
:
0
,
currentRadio
:
0
,
signAgreementObjDetail
:
null
signAgreementObjDetail
:
null
...
@@ -382,8 +382,9 @@ export default {
...
@@ -382,8 +382,9 @@ export default {
this
.
amountRequested
(
e
)
this
.
amountRequested
(
e
)
this
.
amountRequestedPopupTitle
=
'申请定金支付'
this
.
amountRequestedPopupTitle
=
'申请定金支付'
}
else
if
(
e
.
type
===
'payFull'
)
{
}
else
if
(
e
.
type
===
'payFull'
)
{
console
.
log
(
'payFull'
,
e
)
this
.
amountRequested
(
e
)
this
.
amountRequested
(
e
)
this
.
amountRequestedPopupTitle
=
e
.
status
==
40
&&
e
.
paymentType
==
1
?
'申请尾款支付'
:
'申请全款支付'
this
.
amountRequestedPopupTitle
=
e
.
status
==
32
&&
e
.
paymentType
==
1
?
'申请尾款支付'
:
'申请全款支付'
}
else
if
(
e
.
type
===
'details'
)
{
}
else
if
(
e
.
type
===
'details'
)
{
this
.
jumpToDetails
(
e
)
this
.
jumpToDetails
(
e
)
}
else
if
(
e
.
type
===
'reSubmit'
)
{
}
else
if
(
e
.
type
===
'reSubmit'
)
{
...
@@ -477,7 +478,7 @@ export default {
...
@@ -477,7 +478,7 @@ export default {
if
(
res
.
data
.
code
==
0
)
{
if
(
res
.
data
.
code
==
0
)
{
uni
.
hideLoading
()
uni
.
hideLoading
()
uni
.
showToast
({
uni
.
showToast
({
title
:
this
.
payPopupObj
.
status
==
40
&&
this
.
payPopupObj
.
paymentType
==
1
?
'尾款已申请,请等待付款审批'
:
'全款已申请,请等待付款审批'
,
title
:
this
.
payPopupObj
.
status
==
32
&&
this
.
payPopupObj
.
paymentType
==
1
?
'尾款已申请,请等待付款审批'
:
'全款已申请,请等待付款审批'
,
icon
:
'none'
icon
:
'none'
})
})
setTimeout
(()
=>
{
setTimeout
(()
=>
{
...
@@ -720,7 +721,7 @@ export default {
...
@@ -720,7 +721,7 @@ export default {
},
},
radioChange
(
value
)
{
radioChange
(
value
)
{
console
.
log
(
'radioChange'
,
value
)
console
.
log
(
'radioChange'
,
value
)
this
.
payPopupObj
.
paymentMethod
=
value
.
detail
.
value
this
.
payPopupObj
.
paymentMethod
=
Number
(
value
.
detail
.
value
)
}
}
}
}
}
}
...
@@ -789,6 +790,9 @@ export default {
...
@@ -789,6 +790,9 @@ export default {
.no-br
{
.no-br
{
border-radius
:
0
toRpx
(
32
)
toRpx
(
32
)
toRpx
(
32
);
border-radius
:
0
toRpx
(
32
)
toRpx
(
32
)
toRpx
(
32
);
}
}
.no-br1
{
border-radius
:
toRpx
(
32
)
0
toRpx
(
32
)
toRpx
(
32
);
}
.mask-box
{
.mask-box
{
height
:
calc
(
100%
-
#{
toRpx
(
96
)}
);
height
:
calc
(
100%
-
#{
toRpx
(
96
)}
);
width
:
100
%;
width
:
100
%;
...
...
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