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 22347782
authored
Oct 02, 2025
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
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
9640b2f4
b8c9358b
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
205 additions
and
78 deletions
assets/.DS_Store
env.js
init.js
pages/evaluationForm/addEvaluationFrom.vue
pages/evaluationForm/components/ButtonModule.vue
pages/evaluationForm/components/FormCell.vue
pages/evaluationForm/components/MediaInfo.vue
pages/evaluationForm/components/StepTab.vue
pages/evaluationForm/components/TypeTabComponent.vue
pages/evaluationForm/components/pdfPreView.vue
pages/evaluationForm/components/searchBox.vue
pages/evaluationForm/components/uploadMedia.vue
pages/evaluationForm/confirmCar.vue
pages/evaluationForm/evaluationFormDetails.vue
pages/evaluationForm/index.vue
pages/evaluationForm/signInfo.vue
assets/.DS_Store
View file @
2234778
No preview for this file type
env.js
View file @
2234778
...
@@ -49,7 +49,7 @@ const domain = {
...
@@ -49,7 +49,7 @@ const domain = {
}[
target
[
index
]]
}[
target
[
index
]]
const
djDomain
=
{
const
djDomain
=
{
ip
:
'http://
dj.dev.glsx.com.cn
'
,
ip
:
'http://
192.168.1.221:5003
'
,
// ip: 'http://192.168.2.80:8558',
// ip: 'http://192.168.2.80:8558',
dev
:
'http://dj.dev.glsx.com.cn'
,
dev
:
'http://dj.dev.glsx.com.cn'
,
beta
:
'https://dj.beta.glsx.com.cn'
,
//预发布 appid: wx9f91c1ec493eb425
beta
:
'https://dj.beta.glsx.com.cn'
,
//预发布 appid: wx9f91c1ec493eb425
...
@@ -59,7 +59,7 @@ const djDomain = {
...
@@ -59,7 +59,7 @@ const djDomain = {
}[
target
[
index
]]
}[
target
[
index
]]
const
evaluationDomain
=
{
const
evaluationDomain
=
{
ip
:
'http://192.168.1.
103
:5003'
,
ip
:
'http://192.168.1.
221
:5003'
,
// ip: 'http://192.168.2.80:8558',
// ip: 'http://192.168.2.80:8558',
dev
:
'http://gsc.dev.glsx.com.cn'
,
dev
:
'http://gsc.dev.glsx.com.cn'
,
beta
:
'https://dj.beta.glsx.com.cn'
,
//预发布 appid: wx9f91c1ec493eb425
beta
:
'https://dj.beta.glsx.com.cn'
,
//预发布 appid: wx9f91c1ec493eb425
...
...
init.js
View file @
2234778
...
@@ -21,7 +21,7 @@ const HOST = {
...
@@ -21,7 +21,7 @@ const HOST = {
dj
:
djDomain
,
dj
:
djDomain
,
eva
:
evaluationDomain
,
eva
:
evaluationDomain
,
merchant
:
merchantDomain
,
merchant
:
merchantDomain
,
ip
:
'http://192.168.1.
169:8292
'
ip
:
'http://192.168.1.
221:5003
'
}
}
uni
.
$api
=
api
uni
.
$api
=
api
// uni.$lock = false
// uni.$lock = false
...
@@ -33,7 +33,7 @@ uni.$logger = logger
...
@@ -33,7 +33,7 @@ uni.$logger = logger
uni
.
$dbTempRecord
=
new
DBRecord
()
uni
.
$dbTempRecord
=
new
DBRecord
()
uni
.
$dbManager
=
new
DBManager
()
uni
.
$dbManager
=
new
DBManager
()
uni
.
$track
=
new
Track
()
uni
.
$track
=
new
Track
()
console
.
log
(
'init.js'
,
HOST
[
'eva'
])
uni
.
signHttpConfig
=
{
uni
.
signHttpConfig
=
{
baseURL
:
`
${
HOST
[
'eva'
]}${
pathEnum
.
evaluation
}
`
,
baseURL
:
`
${
HOST
[
'eva'
]}${
pathEnum
.
evaluation
}
`
,
timeout
:
300000
,
timeout
:
300000
,
...
@@ -68,12 +68,6 @@ uni.signHttpConfig = {
...
@@ -68,12 +68,6 @@ uni.signHttpConfig = {
},
},
error
:
(
error
,
config
)
=>
{
error
:
(
error
,
config
)
=>
{
console
.
log
(
'error事件触发'
,
error
,
config
)
console
.
log
(
'error事件触发'
,
error
,
config
)
uni
.
hideLoading
()
uni
.
showToast
({
title
:
error
.
msg
||
'请求失败'
,
icon
:
'none'
})
return
Promise
.
reject
(
error
)
},
},
logout
:
config
=>
{
logout
:
config
=>
{
console
.
log
(
'logout事件触发'
,
config
)
console
.
log
(
'logout事件触发'
,
config
)
...
...
pages/evaluationForm/addEvaluationFrom.vue
View file @
2234778
<
template
>
<
template
>
<view
class=
"add-evaluation-from"
>
<view
class=
"add-evaluation-from"
>
<view
class=
"nav-bar"
>
<view
class=
"nav-bar"
>
<view
class=
"back"
@
click=
"backPage"
>
<view
class=
"back"
@
click
.
stop
=
"backPage"
>
<uni-icons
type=
"left"
:size=
"20"
color=
"#000"
></uni-icons>
<uni-icons
type=
"left"
:size=
"20"
color=
"#000"
></uni-icons>
</view>
</view>
<view
class=
"title"
>
新增评估单
</view>
<view
class=
"title"
>
新增评估单
</view>
...
@@ -67,10 +67,10 @@
...
@@ -67,10 +67,10 @@
<view
class=
"button-module flex justify-center align-center"
>
<view
class=
"button-module flex justify-center align-center"
>
<view
class=
"button-container flex justify-between"
>
<view
class=
"button-container flex justify-between"
>
<view
class=
"cancel-btn"
@
click=
"currentStep > 1 ? prevStep() : backPage()"
>
<view
class=
"cancel-btn"
@
click
.
stop
=
"currentStep > 1 ? prevStep() : backPage()"
>
{{
currentStep
>
1
?
'上一步'
:
'取消'
}}
{{
currentStep
>
1
?
'上一步'
:
'取消'
}}
</view>
</view>
<view
class=
"next-btn"
@
click=
"currentStep
< 3
?
nextStep
()
:
submitForm
()"
>
<view
class=
"next-btn"
@
click
.
stop
=
"currentStep
< 3
?
nextStep
()
:
submitForm
()"
>
{{
currentStep
<
3
?
'下一步'
:
'提交'
}}
{{
currentStep
<
3
?
'下一步'
:
'提交'
}}
</view>
</view>
</view>
</view>
...
@@ -87,7 +87,7 @@
...
@@ -87,7 +87,7 @@
<uni-calendar
class=
"calendar"
:showMonth=
"false"
@
change=
"calendarChange"
/>
<uni-calendar
class=
"calendar"
:showMonth=
"false"
@
change=
"calendarChange"
/>
</
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"
/>
...
@@ -99,6 +99,17 @@
...
@@ -99,6 +99,17 @@
</
template
>
</
template
>
</GeneralPopup>
</GeneralPopup>
<NoticePopup
ref=
"notice"
title=
"重要提示"
text=
"当前页面暂未保存,是否确认退出"
type=
"warning"
></NoticePopup>
<NoticePopup
ref=
"notice"
title=
"重要提示"
text=
"当前页面暂未保存,是否确认退出"
type=
"warning"
></NoticePopup>
<GeneralPopup
ref=
"editTipsPopup"
popupClass=
"tipsPopup"
type=
"center"
:showClose=
"true"
:showTitle=
"false"
@
confirm=
"confirmTips"
:noTitle=
"true"
>
<
template
#
content
>
<view>
<image
class=
"tipsPopupBg"
:src=
"bg"
/>
<view
class=
"title"
>
提示
</view>
<view
class=
"tipsConent"
>
<view>
您未对表单内容进行任何修改, 请修改后重新提交。
</view>
</view>
</view>
</
template
>
</GeneralPopup>
</view>
</view>
</template>
</template>
<
script
>
<
script
>
...
@@ -607,6 +618,16 @@ export default {
...
@@ -607,6 +618,16 @@ export default {
}
}
}
}
})
})
const
licensePlateField
=
that
.
formFields
.
find
(
field
=>
field
.
key
===
'licensePlate'
)
if
(
licensePlateField
)
{
that
.
$set
(
licensePlateField
,
'disabled'
,
true
)
}
}
else
{
uni
.
hideLoading
()
uni
.
showToast
({
title
:
res
.
data
.
msg
||
'请求失败'
,
icon
:
'none'
})
}
}
})
})
},
},
...
@@ -831,6 +852,12 @@ export default {
...
@@ -831,6 +852,12 @@ export default {
console
.
log
(
'用户点击了取消'
)
console
.
log
(
'用户点击了取消'
)
})
})
}
}
}
else
{
uni
.
hideLoading
()
uni
.
showToast
({
title
:
res
.
data
.
msg
||
'请求失败'
,
icon
:
'none'
})
}
}
})
})
}
}
...
@@ -973,12 +1000,20 @@ export default {
...
@@ -973,12 +1000,20 @@ export default {
})
})
.
then
(
res
=>
{
.
then
(
res
=>
{
console
.
log
(
'res:'
,
res
)
console
.
log
(
'res:'
,
res
)
if
(
res
.
data
.
data
.
status
==
1
)
{
if
(
res
.
data
.
code
==
0
)
{
this
.
formData
.
carBaseReqDTO
.
vin
=
res
.
data
.
data
.
vin
if
(
res
.
data
.
data
.
status
==
1
)
{
uni
.
hideLoading
()
this
.
formData
.
carBaseReqDTO
.
vin
=
res
.
data
.
data
.
vin
uni
.
hideLoading
()
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
data
.
errorMessage
,
icon
:
'none'
})
uni
.
hideLoading
()
}
}
else
{
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
data
.
errorMessage
,
icon
:
'none'
})
uni
.
hideLoading
()
uni
.
hideLoading
()
uni
.
showToast
({
title
:
res
.
data
.
msg
||
'请求失败'
,
icon
:
'none'
})
}
}
})
})
},
},
...
@@ -994,18 +1029,26 @@ export default {
...
@@ -994,18 +1029,26 @@ export default {
.
then
(
res
=>
{
.
then
(
res
=>
{
console
.
log
(
'res:'
,
res
)
console
.
log
(
'res:'
,
res
)
uni
.
hideLoading
()
uni
.
hideLoading
()
if
(
res
.
data
.
data
.
status
==
1
)
{
if
(
res
.
data
.
code
==
0
)
{
this
.
formData
.
carBaseReqDTO
.
engineNumber
=
res
.
data
.
data
.
engineNumber
if
(
res
.
data
.
data
.
status
==
1
)
{
this
.
formData
.
carBaseReqDTO
.
licensePlate
=
res
.
data
.
data
.
licensePlate
this
.
formData
.
carBaseReqDTO
.
engineNumber
=
res
.
data
.
data
.
engineNumber
this
.
formData
.
carBaseReqDTO
.
vin
=
res
.
data
.
data
.
vin
this
.
formData
.
carBaseReqDTO
.
licensePlate
=
res
.
data
.
data
.
licensePlate
this
.
formData
.
carBaseReqDTO
.
registrationDate
=
res
.
data
.
data
.
registrationDate
this
.
formData
.
carBaseReqDTO
.
vin
=
res
.
data
.
data
.
vin
this
.
formData
.
carLicenseReqDTO
.
previousOwnerAddress
=
res
.
data
.
data
.
previousOwnerAddress
this
.
formData
.
carBaseReqDTO
.
registrationDate
=
res
.
data
.
data
.
registrationDate
this
.
formData
.
carLicenseReqDTO
.
previousOwnerName
=
res
.
data
.
data
.
previousOwnerName
this
.
formData
.
carLicenseReqDTO
.
previousOwnerAddress
=
res
.
data
.
data
.
previousOwnerAddress
this
.
formData
.
carLicenseReqDTO
.
carSeriesName
=
res
.
data
.
data
.
carSeriesName
this
.
formData
.
carLicenseReqDTO
.
previousOwnerName
=
res
.
data
.
data
.
previousOwnerName
this
.
formData
.
carLicenseReqDTO
.
carTypeName
=
res
.
data
.
data
.
carTypeName
this
.
formData
.
carLicenseReqDTO
.
carSeriesName
=
res
.
data
.
data
.
carSeriesName
this
.
formData
.
carLicenseReqDTO
.
carTypeName
=
res
.
data
.
data
.
carTypeName
}
else
{
uni
.
hideLoading
()
uni
.
showToast
({
title
:
res
.
data
.
data
.
errorMessage
,
icon
:
'none'
})
}
}
else
{
}
else
{
uni
.
hideLoading
()
uni
.
hideLoading
()
uni
.
showToast
({
title
:
res
.
data
.
data
.
errorMessage
,
icon
:
'none'
})
uni
.
showToast
({
title
:
res
.
data
.
msg
||
'请求失败'
,
icon
:
'none'
})
}
}
})
})
},
},
...
@@ -1066,6 +1109,12 @@ export default {
...
@@ -1066,6 +1109,12 @@ export default {
delta
:
1
delta
:
1
})
})
},
300
)
},
300
)
}
else
{
uni
.
hideLoading
()
uni
.
showToast
({
title
:
res
.
data
.
msg
||
'请求失败'
,
icon
:
'none'
})
}
}
}
else
if
(
this
.
query
.
type
===
'edit'
)
{
}
else
if
(
this
.
query
.
type
===
'edit'
)
{
const
res
=
await
uni
.
$api
.
evaluationApi
.
evalOrderUpdate
(
this
.
formData
)
const
res
=
await
uni
.
$api
.
evaluationApi
.
evalOrderUpdate
(
this
.
formData
)
...
@@ -1081,6 +1130,16 @@ export default {
...
@@ -1081,6 +1130,16 @@ export default {
delta
:
1
delta
:
1
})
})
},
300
)
},
300
)
}
else
{
if
(
res
.
data
.
code
==
3004
)
{
this
.
$refs
.
editTipsPopup
.
open
()
}
else
{
uni
.
hideLoading
()
uni
.
showToast
({
title
:
res
.
data
.
msg
||
'请求失败'
,
icon
:
'none'
})
}
}
}
}
}
},
},
...
...
pages/evaluationForm/components/ButtonModule.vue
View file @
2234778
<
template
>
<
template
>
<div
class=
"button-module flex"
>
<div
class=
"button-module flex"
>
<view
class=
"common-btn"
@
click=
"handleClick('details')"
>
详情
</view>
<view
class=
"common-btn"
@
click
.
stop
=
"handleClick('details')"
>
详情
</view>
<view
v-if=
"!subStatus && status != 100"
class=
"common-btn ml-24"
@
click=
"handleClick('edit')"
>
编辑
</view>
<view
v-if=
"!subStatus && status != 100"
class=
"common-btn ml-24"
@
click
.
stop
=
"handleClick('edit')"
>
编辑
</view>
<view
v-if=
"status == 20 && !subStatus"
class=
"common-btn ml-24"
@
click=
"handleClick('requote')"
>
重新报价
</view>
<view
v-if=
"status == 20 && !subStatus"
class=
"common-btn ml-24"
@
click
.
stop
=
"handleClick('requote')"
>
重新报价
</view>
<view
v-if=
"status == 20 && !subStatus"
class=
"common-btn blue-btn ml-24"
@
click=
"handleClick('sign')"
>
客户签约
</view>
<view
v-if=
"status == 20 && !subStatus"
class=
"common-btn blue-btn ml-24"
@
click
.
stop
=
"handleClick('sign')"
>
客户签约
</view>
<view
v-if=
"status == 20 && subStatus == 1"
class=
"common-btn gray-btn ml-24"
@
click=
"handleClick('signing')"
>
签约中
</view>
<view
v-if=
"status == 20 && subStatus == 1"
class=
"common-btn gray-btn ml-24"
@
click
.
stop
=
"handleClick('signing')"
>
签约中
</view>
<view
v-if=
"status == 30 && !subStatus"
class=
"common-btn ml-24"
@
click=
"handleClick('cancelSign')"
>
取消签约
</view>
<view
v-if=
"status == 30 && !subStatus"
class=
"common-btn ml-24"
@
click
.
stop
=
"handleClick('cancelSign')"
>
取消签约
</view>
<view
v-if=
"status == 30 && !subStatus && paymentType == 1"
class=
"common-btn blue-btn ml-24"
@
click=
"handleClick('payDeposit')"
>
支付定金
</view>
<view
v-if=
"status == 30 && !subStatus && paymentType == 1"
class=
"common-btn blue-btn ml-24"
@
click
.
stop
=
"handleClick('payDeposit')"
>
支付定金
</view>
<view
v-if=
"status == 30 && !subStatus && paymentType == 2"
class=
"common-btn blue-btn ml-24"
@
click=
"handleClick('payFull')"
>
支付全款
</view>
<view
v-if=
"status == 30 && !subStatus && paymentType == 2"
class=
"common-btn blue-btn ml-24"
@
click
.
stop
=
"handleClick('payFull')"
>
支付全款
</view>
<view
v-if=
"subStatus == 2 || subStatus == 3"
class=
"common-btn gray-btn ml-24"
@
click=
"handleClick('paying')"
>
支付中
</view>
<view
v-if=
"subStatus == 2 || subStatus == 3"
class=
"common-btn gray-btn ml-24"
@
click
.
stop
=
"handleClick('paying')"
>
支付中
</view>
<view
v-if=
"status == 40 && !subStatus && paymentType == 1"
class=
"common-btn blue-btn ml-24"
@
click=
"handleClick('payFull')"
>
支付尾款
</view>
<view
v-if=
"status == 40 && !subStatus && paymentType == 1"
class=
"common-btn blue-btn ml-24"
@
click
.
stop
=
"handleClick('payFull')"
>
支付尾款
</view>
<view
v-if=
"status == 50 && !subStatus"
class=
"common-btn blue-btn ml-24"
@
click=
"handleClick('confirmDelivery')"
>
确认交车
</view>
<view
v-if=
"status == 50 && !subStatus"
class=
"common-btn blue-btn ml-24"
@
click
.
stop
=
"handleClick('confirmDelivery')"
>
确认交车
</view>
<view
v-if=
"status == '-1'"
class=
"common-btn blue-btn ml-24"
@
click=
"handleClick('reSubmit')"
>
重新提交
</view>
<view
v-if=
"status == '-1'"
class=
"common-btn blue-btn ml-24"
@
click
.
stop
=
"handleClick('reSubmit')"
>
重新提交
</view>
</div>
</div>
</
template
>
</
template
>
...
...
pages/evaluationForm/components/FormCell.vue
View file @
2234778
...
@@ -95,8 +95,8 @@
...
@@ -95,8 +95,8 @@
<text>
二手车买卖补充协议
</text>
<text>
二手车买卖补充协议
</text>
</view>
</view>
<view
class=
"flex align-center"
>
<view
class=
"flex align-center"
>
<view
class=
"btn"
@
click=
"previewPdf(field)"
>
预览
</view>
<view
class=
"btn"
@
click
.
stop
=
"previewPdf(field)"
>
预览
</view>
<view
class=
"btn"
@
click=
"deletePdf(field)"
>
删除
</view>
<view
class=
"btn"
@
click
.
stop
=
"deletePdf(field)"
>
删除
</view>
</view>
</view>
</view>
</view>
</view>
</view>
...
...
pages/evaluationForm/components/MediaInfo.vue
View file @
2234778
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<view>
<view>
<!-- 车辆图片 -->
<!-- 车辆图片 -->
<view>
<view>
<view
v-for=
"item in imageData.carImageList"
:key=
"item.id"
@
click=
"previewImage(item.url)"
class=
"flex"
>
<view
v-for=
"item in imageData.carImageList"
:key=
"item.id"
@
click
.
stop
=
"previewImage(item.url)"
class=
"flex"
>
<view>
{{
item
.
alt
}}
</view>
<view>
{{
item
.
alt
}}
</view>
<MediaResource
:src=
"item.url"
media-type=
"image"
class=
"car-image"
/>
<MediaResource
:src=
"item.url"
media-type=
"image"
class=
"car-image"
/>
</view>
</view>
...
...
pages/evaluationForm/components/StepTab.vue
View file @
2234778
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<view
class=
"step-tab flex items-center justify-center"
>
<view
class=
"step-tab flex items-center justify-center"
>
<view
v-for=
"(step, index) in steps"
:key=
"step.key || index"
class=
"flex"
>
<view
v-for=
"(step, index) in steps"
:key=
"step.key || index"
class=
"flex"
>
<view
v-if=
"index > 0"
:class=
"['step-line',
{ active: index == currentStep }]">
</view>
<view
v-if=
"index > 0"
:class=
"['step-line',
{ active: index == currentStep }]">
</view>
<view
class=
"step-item"
@
click=
"handleStepClick(index)"
>
<view
class=
"step-item"
@
click
.
stop
=
"handleStepClick(index)"
>
<view
:class=
"['step-label',
{ active: index == currentStep }]">
<view
:class=
"['step-label',
{ active: index == currentStep }]">
{{
step
.
label
||
'步骤'
+
(
index
+
1
)
}}
{{
step
.
label
||
'步骤'
+
(
index
+
1
)
}}
</view>
</view>
...
...
pages/evaluationForm/components/TypeTabComponent.vue
View file @
2234778
<
template
>
<
template
>
<view
class=
"type-tab"
>
<view
class=
"type-tab"
>
<view
class=
"type-box"
>
<view
class=
"type-box"
>
<view
class=
"tab-item"
:class=
"[tabClass(index)]"
v-for=
"(i, index) in typeList"
:key=
"index"
@
click=
"tabClick(index, i)"
>
<view
class=
"tab-item"
:class=
"[tabClass(index)]"
v-for=
"(i, index) in typeList"
:key=
"index"
@
click
.
stop
=
"tabClick(index, i)"
>
<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"
class=
"sprite-icon tab-second-right icon-second-right"
></view>
<view
v-if=
"tabIndex == index && index != 0"
class=
"sprite-icon tab-second-right icon-second-right"
></view>
...
...
pages/evaluationForm/components/pdfPreView.vue
View file @
2234778
<
template
>
<
template
>
<view
class=
"material-detail"
>
<view
class=
"material-detail"
>
<view
class=
"nav-bar"
>
<view
class=
"nav-bar"
>
<view
class=
"back"
@
click=
"back"
>
<view
class=
"back"
@
click
.
stop
=
"back"
>
<uni-icons
type=
"left"
:size=
"20"
color=
"#000"
></uni-icons>
<uni-icons
type=
"left"
:size=
"20"
color=
"#000"
></uni-icons>
</view>
</view>
{{
title
}}
{{
title
}}
...
...
pages/evaluationForm/components/searchBox.vue
View file @
2234778
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<input
:type=
"i.inputType"
:maxlength=
"i.maxlength"
v-model=
"customerInfo[i.popKey]"
class=
"input"
:placeholder=
"i.placeholder"
@
focus=
"focusIndex = index"
@
blur=
"resetFocusIndex"
/>
<input
:type=
"i.inputType"
:maxlength=
"i.maxlength"
v-model=
"customerInfo[i.popKey]"
class=
"input"
:placeholder=
"i.placeholder"
@
focus=
"focusIndex = index"
@
blur=
"resetFocusIndex"
/>
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
<view
:class=
"['select flex',
{ placeholderStyle: !customerInfo[i.key] }]" @click="showPopup(i.popKey, index)">
<view
:class=
"['select flex',
{ placeholderStyle: !customerInfo[i.key] }]" @click
.stop
="showPopup(i.popKey, index)">
<view
class=
"value text-hide"
>
{{
customerInfo
[
i
.
key
]
||
i
.
placeholder
}}
</view>
<view
class=
"value text-hide"
>
{{
customerInfo
[
i
.
key
]
||
i
.
placeholder
}}
</view>
<uni-icons
class=
"arrow"
type=
"right"
:size=
"16"
></uni-icons>
<uni-icons
class=
"arrow"
type=
"right"
:size=
"16"
></uni-icons>
</view>
</view>
...
@@ -18,8 +18,8 @@
...
@@ -18,8 +18,8 @@
</template>
</template>
<
template
>
<
template
>
<view
class=
"form-btn flex align-center"
>
<view
class=
"form-btn flex align-center"
>
<view
class=
"btn search mr-12"
@
click=
"search"
>
搜索
</view>
<view
class=
"btn search mr-12"
@
click
.
stop
=
"search"
>
搜索
</view>
<view
class=
"btn"
@
click=
"$emit('reset')"
>
重置
</view>
<view
class=
"btn"
@
click
.
stop
=
"$emit('reset')"
>
重置
</view>
</view>
</view>
</
template
>
</
template
>
</view>
</view>
...
...
pages/evaluationForm/components/uploadMedia.vue
View file @
2234778
...
@@ -9,10 +9,11 @@
...
@@ -9,10 +9,11 @@
<!-- 显示已上传的媒体列表 -->
<!-- 显示已上传的媒体列表 -->
<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"
@
click
.
stop=
"previewMedia(media, 1)"
></image>
<image
v-if=
"
field.accept == 'image'
"
:src=
"media.url || media"
mode=
"aspectFill"
class=
"uploaded-media"
@
click
.
stop=
"previewMedia(media, 1)"
></image>
<!-- 视频显示 -->
<!-- 视频显示 -->
<view
v-else
class=
"video-container"
@
click
.
stop=
"previewMedia(media, 2)"
>
<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>
-->
<image
:src=
"media.url + videoProcess"
mode=
"aspectFill"
@
click
.
stop=
"previewMedia(media, 1)"
></image>
<image
:src=
"media.url + videoProcess"
mode=
"aspectFill"
@
click
.
stop=
"previewMedia(media, 1)"
></image>
<view
class=
"video-play-icon"
>
<view
class=
"video-play-icon"
>
<view
class=
"sprites-icon icon-play"
></view>
<view
class=
"sprites-icon icon-play"
></view>
...
@@ -235,6 +236,8 @@ export default {
...
@@ -235,6 +236,8 @@ export default {
// 获取指定字段的媒体数组
// 获取指定字段的媒体数组
getMedia
(
field
)
{
getMedia
(
field
)
{
console
.
log
(
'this.mediaData'
,
this
.
mediaData
)
console
.
log
(
'this.mediaData[field.key]'
,
field
)
// 确保返回的是数组
// 确保返回的是数组
return
Array
.
isArray
(
this
.
mediaData
[
field
.
key
])
?
this
.
mediaData
[
field
.
key
]
:
[]
return
Array
.
isArray
(
this
.
mediaData
[
field
.
key
])
?
this
.
mediaData
[
field
.
key
]
:
[]
},
},
...
...
pages/evaluationForm/confirmCar.vue
View file @
2234778
<
template
>
<
template
>
<view
class=
"confirm-car"
>
<view
class=
"confirm-car"
>
<view
class=
"nav-bar"
>
<view
class=
"nav-bar"
>
<view
class=
"back"
@
click=
"backPage"
>
<view
class=
"back"
@
click
.
stop
=
"backPage"
>
<uni-icons
type=
"left"
:size=
"20"
color=
"#000"
></uni-icons>
<uni-icons
type=
"left"
:size=
"20"
color=
"#000"
></uni-icons>
</view>
</view>
<view
class=
"title"
>
确认交车登记
</view>
<view
class=
"title"
>
确认交车登记
</view>
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
</view>
</view>
</view>
</view>
<!-- 上传按钮,当未达到最大限制时显示 -->
<!-- 上传按钮,当未达到最大限制时显示 -->
<view
v-if=
"!hasReachedMax(field, 'upload')"
class=
"upload-item"
@
click=
"handleImageUpload(field)"
>
<view
v-if=
"!hasReachedMax(field, 'upload')"
class=
"upload-item"
@
click
.
stop
=
"handleImageUpload(field)"
>
<view
class=
"upload-placeholder"
>
<view
class=
"upload-placeholder"
>
<view
class=
"sprite-icon icon-uploadAdd"
></view>
<view
class=
"sprite-icon icon-uploadAdd"
></view>
<text
class=
"upload-text"
>
{{
field
.
maxCount
>
1
?
getImages
(
field
,
'upload'
).
length
+
'/'
+
field
.
maxCount
:
'上传图片'
}}
</text>
<text
class=
"upload-text"
>
{{
field
.
maxCount
>
1
?
getImages
(
field
,
'upload'
).
length
+
'/'
+
field
.
maxCount
:
'上传图片'
}}
</text>
...
@@ -60,7 +60,7 @@
...
@@ -60,7 +60,7 @@
</view>
</view>
</view>
</view>
<!-- 上传按钮,当未达到最大限制时显示 -->
<!-- 上传按钮,当未达到最大限制时显示 -->
<view
v-if=
"!hasReachedMax(field, 'confirm')"
class=
"upload-item"
@
click=
"handleImageUpload(field)"
>
<view
v-if=
"!hasReachedMax(field, 'confirm')"
class=
"upload-item"
@
click
.
stop
=
"handleImageUpload(field)"
>
<view
class=
"upload-placeholder"
>
<view
class=
"upload-placeholder"
>
<view
class=
"sprite-icon icon-uploadAdd"
></view>
<view
class=
"sprite-icon icon-uploadAdd"
></view>
<text
class=
"upload-text"
>
{{
field
.
maxCount
>
1
?
getImages
(
field
,
'confirm'
).
length
+
'/'
+
field
.
maxCount
:
'上传图片'
}}
</text>
<text
class=
"upload-text"
>
{{
field
.
maxCount
>
1
?
getImages
(
field
,
'confirm'
).
length
+
'/'
+
field
.
maxCount
:
'上传图片'
}}
</text>
...
@@ -76,15 +76,15 @@
...
@@ -76,15 +76,15 @@
</view>
</view>
<view
class=
"button-module flex justify-center align-center"
>
<view
class=
"button-module flex justify-center align-center"
>
<view
class=
"button-container flex justify-between"
>
<view
class=
"button-container flex justify-between"
>
<view
class=
"cancel-btn"
@
click=
"backPage"
>
取消
</view>
<view
class=
"cancel-btn"
@
click
.
stop
=
"backPage"
>
取消
</view>
<view
class=
"next-btn"
@
click=
"confirmDelivery"
>
确认交车
</view>
<view
class=
"next-btn"
@
click
.
stop
=
"confirmDelivery"
>
确认交车
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
<GeneralPopup
ref=
"addAgreementPopup"
popupClass=
"addAgreementPopup"
type=
"center"
title=
"补充协议条款"
>
<GeneralPopup
ref=
"addAgreementPopup"
popupClass=
"addAgreementPopup"
type=
"center"
title=
"补充协议条款"
>
<template
v-slot:content
>
<template
v-slot:content
>
<textarea
placeholder=
"请输入 (
1000字以内)"
v-model=
"formData.supplementaryClauseText"
maxlength=
"10
00"
/>
<textarea
placeholder=
"请输入 (
200字以内)"
v-model=
"formData.supplementaryClauseText"
maxlength=
"2
00"
/>
</
template
>
</
template
>
</GeneralPopup>
</GeneralPopup>
<GeneralPopup
ref=
"tipsPopup"
popupClass=
"tipsPopup"
type=
"center"
:showClose=
"true"
:showTitle=
"false"
@
confirm=
"confirmTips"
:noTitle=
"true"
>
<GeneralPopup
ref=
"tipsPopup"
popupClass=
"tipsPopup"
type=
"center"
:showClose=
"true"
:showTitle=
"false"
@
confirm=
"confirmTips"
:noTitle=
"true"
>
...
@@ -260,8 +260,14 @@ export default {
...
@@ -260,8 +260,14 @@ export default {
item
.
isShowPreview
=
true
item
.
isShowPreview
=
true
}
}
})
})
this
.
pdfUrl
=
res
.
fileDownloadUrl
this
.
pdfUrl
=
res
.
data
.
data
.
fileDownloadUrl
console
.
log
(
'this.pdfUrl'
,
this
.
pdfUrl
)
console
.
log
(
'this.pdfUrl'
,
this
.
pdfUrl
)
}
else
{
uni
.
hideLoading
()
uni
.
showToast
({
title
:
res
.
data
.
msg
||
'请求失败'
,
icon
:
'none'
})
}
}
})
})
})
})
...
@@ -313,6 +319,12 @@ export default {
...
@@ -313,6 +319,12 @@ export default {
delta
:
1
delta
:
1
})
})
},
500
)
},
500
)
}
else
{
uni
.
hideLoading
()
uni
.
showToast
({
title
:
res
.
data
.
msg
||
'请求失败'
,
icon
:
'none'
})
}
}
},
},
handleImageUpload
(
field
)
{
handleImageUpload
(
field
)
{
...
...
pages/evaluationForm/evaluationFormDetails.vue
View file @
2234778
<
template
>
<
template
>
<view
class=
"details-page"
v-if=
"detailsInfo"
>
<view
class=
"details-page"
v-if=
"detailsInfo"
>
<view
class=
"nav-bar"
>
<view
class=
"nav-bar"
>
<view
class=
"back"
@
click=
"backPage"
>
<view
class=
"back"
@
click
.
stop
=
"backPage"
>
<uni-icons
type=
"left"
:size=
"20"
color=
"#000"
></uni-icons>
<uni-icons
type=
"left"
:size=
"20"
color=
"#000"
></uni-icons>
</view>
</view>
<view
class=
"title"
>
评估单详情
</view>
<view
class=
"title"
>
评估单详情
</view>
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
<view
class=
"box-class mt-16"
>
<view
class=
"box-class mt-16"
>
<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"
>
<view
v-for=
"(tab, index) in tabs"
:key=
"index"
:class=
"['tab-item',
{ active: activeTab === index }]" @click="switchTab(index)">
<view
v-for=
"(tab, index) in tabs"
:key=
"index"
:class=
"['tab-item',
{ active: activeTab === index }]" @click
.stop
="switchTab(index)">
{{
tab
.
name
}}
{{
tab
.
name
}}
</view>
</view>
</scroll-view>
</scroll-view>
...
@@ -548,6 +548,12 @@ export default {
...
@@ -548,6 +548,12 @@ export default {
console
.
log
(
'res:'
,
res
)
console
.
log
(
'res:'
,
res
)
if
(
res
.
data
.
code
==
0
)
{
if
(
res
.
data
.
code
==
0
)
{
that
.
detailsInfo
=
res
.
data
.
data
that
.
detailsInfo
=
res
.
data
.
data
}
else
{
uni
.
hideLoading
()
uni
.
showToast
({
title
:
res
.
data
.
msg
||
'请求失败'
,
icon
:
'none'
})
}
}
})
})
},
},
...
@@ -620,6 +626,12 @@ export default {
...
@@ -620,6 +626,12 @@ export default {
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
`
${
url
}
`
url
:
`
${
url
}
`
})
})
}
else
{
uni
.
hideLoading
()
uni
.
showToast
({
title
:
res
.
data
.
msg
||
'请求失败'
,
icon
:
'none'
})
}
}
})
})
}
}
...
...
pages/evaluationForm/index.vue
View file @
2234778
<
template
>
<
template
>
<view
class=
"evaluation-form-list"
>
<view
class=
"evaluation-form-list"
>
<view
class=
"nav-bar"
>
<view
class=
"nav-bar"
>
<view
class=
"back"
@
click=
"backPage"
>
<view
class=
"back"
@
click
.
stop
=
"backPage"
>
<uni-icons
type=
"left"
:size=
"20"
color=
"#000"
></uni-icons>
<uni-icons
type=
"left"
:size=
"20"
color=
"#000"
></uni-icons>
</view>
</view>
<view
class=
"title"
>
评估单管理
</view>
<view
class=
"title"
>
评估单管理
</view>
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
</z-paging>
</z-paging>
</view>
</view>
</view>
</view>
<view
class=
"addBtn"
@
click=
"addEvaluationForm({ type: 'add' })"
>
<view
class=
"addBtn"
@
click
.
stop
=
"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"
:autoClose=
"false"
@
confirm=
"confirmRequote"
>
<GeneralPopup
ref=
"requotePopup"
popupClass=
"requotePopup"
title=
"重新报价"
confirmText=
"重新报价"
type=
"center"
:showClose=
"true"
:isShowCancel=
"false"
:autoClose=
"false"
@
confirm=
"confirmRequote"
>
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
<text
class=
"requiredLabel"
>
*
</text>
<text
class=
"requiredLabel"
>
*
</text>
</view>
</view>
<view
class=
"flex align-center"
>
<view
class=
"flex align-center"
>
<view
class=
"flex align-center from-value"
@
click=
"showsignAgreementPopup"
>
<view
class=
"flex align-center from-value"
@
click
.
stop
=
"showsignAgreementPopup"
>
<template
v-if=
"signAgreementObj.custodianName"
>
<template
v-if=
"signAgreementObj.custodianName"
>
{{
signAgreementObj
.
custodianName
+
' | '
+
signAgreementObj
.
custodianPhone
}}
{{
signAgreementObj
.
custodianName
+
' | '
+
signAgreementObj
.
custodianPhone
}}
</
template
>
</
template
>
...
@@ -72,7 +72,7 @@
...
@@ -72,7 +72,7 @@
</
template
>
</
template
>
<view
class=
"sprite-icon icon-icon-select"
></view>
<view
class=
"sprite-icon icon-icon-select"
></view>
</view>
</view>
<view
class=
"btn"
@
click=
"addSignAgreement"
>
新增
</view>
<view
class=
"btn"
@
click
.
stop
=
"addSignAgreement"
>
新增
</view>
</view>
</view>
</view>
</view>
</template>
</template>
...
@@ -270,6 +270,11 @@ export default {
...
@@ -270,6 +270,11 @@ export default {
// this.dataList = res.records
// this.dataList = res.records
this
.
$refs
.
paging
.
complete
(
res
.
data
.
data
.
records
)
this
.
$refs
.
paging
.
complete
(
res
.
data
.
data
.
records
)
}
else
{
}
else
{
uni
.
hideLoading
()
uni
.
showToast
({
title
:
res
.
data
.
msg
||
'请求失败'
,
icon
:
'none'
})
this
.
$refs
.
paging
.
complete
(
false
)
this
.
$refs
.
paging
.
complete
(
false
)
console
.
log
(
err
)
console
.
log
(
err
)
}
}
...
@@ -292,6 +297,12 @@ export default {
...
@@ -292,6 +297,12 @@ export default {
})
})
// this.$set(this.typeList, item.count, res[item.keyNum])
// this.$set(this.typeList, item.count, res[item.keyNum])
console
.
log
(
'this.typeList:'
,
this
.
typeList
)
console
.
log
(
'this.typeList:'
,
this
.
typeList
)
}
else
{
uni
.
hideLoading
()
uni
.
showToast
({
title
:
res
.
data
.
msg
||
'请求失败'
,
icon
:
'none'
})
}
}
})
})
},
},
...
@@ -338,6 +349,12 @@ export default {
...
@@ -338,6 +349,12 @@ export default {
})
})
this
.
currentPage
=
1
this
.
currentPage
=
1
this
.
search
()
this
.
search
()
}
else
{
uni
.
hideLoading
()
uni
.
showToast
({
title
:
res
.
data
.
msg
||
'请求失败'
,
icon
:
'none'
})
}
}
},
},
jumpToDetails
(
e
)
{
jumpToDetails
(
e
)
{
...
@@ -402,6 +419,12 @@ export default {
...
@@ -402,6 +419,12 @@ export default {
})
})
}
}
})
})
}
else
{
uni
.
hideLoading
()
uni
.
showToast
({
title
:
res
.
data
.
msg
||
'请求失败'
,
icon
:
'none'
})
}
}
},
},
confirmDelivery
(
e
)
{
confirmDelivery
(
e
)
{
...
@@ -446,6 +469,12 @@ export default {
...
@@ -446,6 +469,12 @@ export default {
this
.
$refs
.
requotePopup
.
closePopup
()
this
.
$refs
.
requotePopup
.
closePopup
()
this
.
currentPage
=
1
this
.
currentPage
=
1
this
.
search
()
this
.
search
()
}
else
{
uni
.
hideLoading
()
uni
.
showToast
({
title
:
res
.
data
.
msg
||
'请求失败'
,
icon
:
'none'
})
}
}
},
},
cancelSign
(
e
)
{
cancelSign
(
e
)
{
...
@@ -469,6 +498,12 @@ export default {
...
@@ -469,6 +498,12 @@ export default {
})
})
this
.
currentPage
=
1
this
.
currentPage
=
1
this
.
search
()
this
.
search
()
}
else
{
uni
.
hideLoading
()
uni
.
showToast
({
title
:
res
.
data
.
msg
||
'请求失败'
,
icon
:
'none'
})
}
}
})
})
.
catch
(()
=>
{
.
catch
(()
=>
{
...
@@ -502,6 +537,12 @@ export default {
...
@@ -502,6 +537,12 @@ export default {
console
.
log
(
'res:'
,
res
)
console
.
log
(
'res:'
,
res
)
this
.
currentPage
=
1
this
.
currentPage
=
1
this
.
search
()
this
.
search
()
}
else
{
uni
.
hideLoading
()
uni
.
showToast
({
title
:
res
.
data
.
msg
||
'请求失败'
,
icon
:
'none'
})
}
}
})
})
})
})
...
...
pages/evaluationForm/signInfo.vue
View file @
2234778
<
template
>
<
template
>
<view
class=
"sign-info"
>
<view
class=
"sign-info"
>
<view
class=
"nav-bar"
>
<view
class=
"nav-bar"
>
<view
class=
"back"
@
click=
"backPage"
>
<view
class=
"back"
@
click
.
stop
=
"backPage"
>
<uni-icons
type=
"left"
:size=
"20"
color=
"#000"
></uni-icons>
<uni-icons
type=
"left"
:size=
"20"
color=
"#000"
></uni-icons>
</view>
</view>
<view
class=
"title"
>
签约信息
</view>
<view
class=
"title"
>
签约信息
</view>
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
<uni-icons
type=
"clear"
size=
"16"
color=
"#fff"
></uni-icons>
<uni-icons
type=
"clear"
size=
"16"
color=
"#fff"
></uni-icons>
</view>
</view>
</view>
</view>
<view
v-else
class=
"upload-item"
@
click=
"handleImageUpload('idCardFrontUrl')"
>
<view
v-else
class=
"upload-item"
@
click
.
stop
=
"handleImageUpload('idCardFrontUrl')"
>
<view
class=
"upload-placeholder"
>
<view
class=
"upload-placeholder"
>
<view
class=
"sprite-icon icon-uploadAdd"
></view>
<view
class=
"sprite-icon icon-uploadAdd"
></view>
<text
class=
"upload-text"
>
上传图片
</text>
<text
class=
"upload-text"
>
上传图片
</text>
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
<image
:src=
"formData.idCardBackUrl"
mode=
"aspectFit"
></image>
<image
:src=
"formData.idCardBackUrl"
mode=
"aspectFit"
></image>
<view
class=
"remove-icon"
@
click
.
stop=
"removeMedia('idCardBackUrl')"
></view>
<view
class=
"remove-icon"
@
click
.
stop=
"removeMedia('idCardBackUrl')"
></view>
</view>
</view>
<view
v-else
class=
"upload-item"
@
click=
"handleImageUpload('idCardBackUrl')"
>
<view
v-else
class=
"upload-item"
@
click
.
stop
=
"handleImageUpload('idCardBackUrl')"
>
<view
class=
"upload-placeholder"
>
<view
class=
"upload-placeholder"
>
<view
class=
"sprite-icon icon-uploadAdd"
></view>
<view
class=
"sprite-icon icon-uploadAdd"
></view>
<text
class=
"upload-text"
>
上传图片
</text>
<text
class=
"upload-text"
>
上传图片
</text>
...
@@ -76,7 +76,7 @@
...
@@ -76,7 +76,7 @@
<image
:src=
"formData.payerIdCardFrontUrl"
mode=
"aspectFit"
></image>
<image
:src=
"formData.payerIdCardFrontUrl"
mode=
"aspectFit"
></image>
<view
class=
"remove-icon"
@
click
.
stop=
"removeMedia('payerIdCardFrontUrl')"
></view>
<view
class=
"remove-icon"
@
click
.
stop=
"removeMedia('payerIdCardFrontUrl')"
></view>
</view>
</view>
<view
v-else
class=
"upload-item"
@
click=
"handleImageUpload('payerIdCardFrontUrl')"
>
<view
v-else
class=
"upload-item"
@
click
.
stop
=
"handleImageUpload('payerIdCardFrontUrl')"
>
<view
class=
"upload-placeholder"
>
<view
class=
"upload-placeholder"
>
<view
class=
"sprite-icon icon-uploadAdd"
></view>
<view
class=
"sprite-icon icon-uploadAdd"
></view>
<text
class=
"upload-text"
>
上传图片
</text>
<text
class=
"upload-text"
>
上传图片
</text>
...
@@ -91,7 +91,7 @@
...
@@ -91,7 +91,7 @@
<image
:src=
"formData.payerIdCardBackUrl"
mode=
"aspectFit"
></image>
<image
:src=
"formData.payerIdCardBackUrl"
mode=
"aspectFit"
></image>
<view
class=
"remove-icon"
@
click
.
stop=
"removeMedia('payerIdCardBackUrl')"
></view>
<view
class=
"remove-icon"
@
click
.
stop=
"removeMedia('payerIdCardBackUrl')"
></view>
</view>
</view>
<view
v-else
class=
"upload-item"
@
click=
"handleImageUpload('payerIdCardBackUrl')"
>
<view
v-else
class=
"upload-item"
@
click
.
stop
=
"handleImageUpload('payerIdCardBackUrl')"
>
<view
class=
"upload-placeholder"
>
<view
class=
"upload-placeholder"
>
<view
class=
"sprite-icon icon-uploadAdd"
></view>
<view
class=
"sprite-icon icon-uploadAdd"
></view>
<text
class=
"upload-text"
>
上传图片
</text>
<text
class=
"upload-text"
>
上传图片
</text>
...
@@ -108,7 +108,7 @@
...
@@ -108,7 +108,7 @@
<image
:src=
"formData.payerBankCardUrl"
mode=
"aspectFit"
></image>
<image
:src=
"formData.payerBankCardUrl"
mode=
"aspectFit"
></image>
<view
class=
"remove-icon"
@
click
.
stop=
"removeMedia('payerBankCardUrl')"
></view>
<view
class=
"remove-icon"
@
click
.
stop=
"removeMedia('payerBankCardUrl')"
></view>
</view>
</view>
<view
v-else
class=
"upload-item"
@
click=
"handleImageUpload('payerBankCardUrl')"
>
<view
v-else
class=
"upload-item"
@
click
.
stop
=
"handleImageUpload('payerBankCardUrl')"
>
<view
class=
"upload-placeholder"
>
<view
class=
"upload-placeholder"
>
<view
class=
"sprite-icon icon-uploadAdd"
></view>
<view
class=
"sprite-icon icon-uploadAdd"
></view>
<text
class=
"upload-text"
>
上传图片
</text>
<text
class=
"upload-text"
>
上传图片
</text>
...
@@ -144,8 +144,8 @@
...
@@ -144,8 +144,8 @@
</view>
</view>
</view>
</view>
<view
class=
"footerBtn"
>
<view
class=
"footerBtn"
>
<view
class=
"btn cancle"
@
click=
"backPage"
>
取消
</view>
<view
class=
"btn cancle"
@
click
.
stop
=
"backPage"
>
取消
</view>
<view
class=
"btn next"
@
click=
"comfirmPage = true"
>
下一步
</view>
<view
class=
"btn next"
@
click
.
stop
=
"comfirmPage = true"
>
下一步
</view>
</view>
</view>
</view>
</view>
<view
class=
"box-class1 mt-16"
v-else
>
<view
class=
"box-class1 mt-16"
v-else
>
...
@@ -182,11 +182,11 @@
...
@@ -182,11 +182,11 @@
</view>
</view>
<view
class=
"flex align-start"
v-if=
"formData.idCardFrontUrl"
>
<view
class=
"flex align-start"
v-if=
"formData.idCardFrontUrl"
>
<view
class=
"title-label-see mr-16"
>
身份证正面
</view>
<view
class=
"title-label-see mr-16"
>
身份证正面
</view>
<image
:src=
"formData.idCardFrontUrl"
@
click=
"previewMedia(formData.idCardFrontUrl, 1)"
></image>
<image
:src=
"formData.idCardFrontUrl"
@
click
.
stop
=
"previewMedia(formData.idCardFrontUrl, 1)"
></image>
</view>
</view>
<view
class=
"flex align-start"
v-if=
"formData.idCardBackUrl"
>
<view
class=
"flex align-start"
v-if=
"formData.idCardBackUrl"
>
<view
class=
"title-label-see mr-16"
>
身份证反面
</view>
<view
class=
"title-label-see mr-16"
>
身份证反面
</view>
<image
:src=
"formData.idCardBackUrl"
@
click=
"previewMedia(formData.idCardBackUrl, 1)"
></image>
<image
:src=
"formData.idCardBackUrl"
@
click
.
stop
=
"previewMedia(formData.idCardBackUrl, 1)"
></image>
</view>
</view>
</view>
</view>
<view
class=
"flex align-center gridBox mb-32"
>
<view
class=
"flex align-center gridBox mb-32"
>
...
@@ -204,15 +204,15 @@
...
@@ -204,15 +204,15 @@
</view>
</view>
<view
class=
"flex align-start"
v-if=
"formData.payerIdCardFrontUrl"
>
<view
class=
"flex align-start"
v-if=
"formData.payerIdCardFrontUrl"
>
<view
class=
"title-label-see mr-16"
>
身份证正面
</view>
<view
class=
"title-label-see mr-16"
>
身份证正面
</view>
<image
:src=
"formData.payerIdCardFrontUrl"
@
click=
"previewMedia(formData.payerIdCardFrontUrl, 1)"
></image>
<image
:src=
"formData.payerIdCardFrontUrl"
@
click
.
stop
=
"previewMedia(formData.payerIdCardFrontUrl, 1)"
></image>
</view>
</view>
<view
class=
"flex align-start"
v-if=
"formData.payerIdCardBackUrl"
>
<view
class=
"flex align-start"
v-if=
"formData.payerIdCardBackUrl"
>
<view
class=
"title-label-see mr-16"
>
身份证反面
</view>
<view
class=
"title-label-see mr-16"
>
身份证反面
</view>
<image
:src=
"formData.payerIdCardBackUrl"
@
click=
"previewMedia(formData.payerIdCardBackUrl, 1)"
></image>
<image
:src=
"formData.payerIdCardBackUrl"
@
click
.
stop
=
"previewMedia(formData.payerIdCardBackUrl, 1)"
></image>
</view>
</view>
<view
class=
"flex align-start"
v-if=
"formData.payerBankCardUrl"
>
<view
class=
"flex align-start"
v-if=
"formData.payerBankCardUrl"
>
<view
class=
"title-label-see mr-16"
>
银行卡
</view>
<view
class=
"title-label-see mr-16"
>
银行卡
</view>
<image
:src=
"formData.payerBankCardUrl"
@
click=
"previewMedia(formData.payerBankCardUrl, 1)"
></image>
<image
:src=
"formData.payerBankCardUrl"
@
click
.
stop
=
"previewMedia(formData.payerBankCardUrl, 1)"
></image>
</view>
</view>
</view>
</view>
<view
class=
"flex align-center gridBox"
>
<view
class=
"flex align-center gridBox"
>
...
@@ -237,8 +237,8 @@
...
@@ -237,8 +237,8 @@
请确认签约个人信息,确认后将按照以上信息生成电子合同,并发送电子签约邀请。
请确认签约个人信息,确认后将按照以上信息生成电子合同,并发送电子签约邀请。
</view>
</view>
<view
class=
"footerBtn"
>
<view
class=
"footerBtn"
>
<view
class=
"btn cancle"
@
click=
"comfirmPage = false"
>
上一步
</view>
<view
class=
"btn cancle"
@
click
.
stop
=
"comfirmPage = false"
>
上一步
</view>
<view
class=
"btn next"
@
click=
"comfirm"
>
确认发送
</view>
<view
class=
"btn next"
@
click
.
stop
=
"comfirm"
>
确认发送
</view>
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -870,6 +870,12 @@ export default {
...
@@ -870,6 +870,12 @@ export default {
setTimeout
(()
=>
{
setTimeout
(()
=>
{
uni
.
navigateBack
()
uni
.
navigateBack
()
},
500
)
},
500
)
}
else
{
uni
.
hideLoading
()
uni
.
showToast
({
title
:
res
.
data
.
msg
||
'请求失败'
,
icon
:
'none'
})
}
}
})
})
},
},
...
...
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