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 c915de63
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
569f81ed
01d80ebc
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
206 additions
and
82 deletions
api/module/evaluation.js
assets/css/sprite.scss
assets/images/sprite.png
assets/spritesmith/seeIcon.png
env.js
pages/evaluationForm/addEvaluationFrom.vue
pages/evaluationForm/components/FormCell.vue
pages/evaluationForm/components/GeneralPopup.vue
pages/evaluationForm/components/uploadMedia.vue
pages/evaluationForm/confirmCar.vue
pages/evaluationForm/index.vue
pages/evaluationForm/signInfo.vue
api/module/evaluation.js
View file @
c915de6
...
@@ -221,5 +221,15 @@ module.exports = {
...
@@ -221,5 +221,15 @@ module.exports = {
},
},
{
returnAll
:
true
}
{
returnAll
:
true
}
)
)
},
/** 评估单简单详情 */
evalOrderSimpleDetail
(
data
)
{
return
gscPost
(
`/evalOrder/simpleDetail`
,
{
...
data
},
{
returnAll
:
true
}
)
}
}
}
}
assets/css/sprite.scss
View file @
c915de6
...
@@ -180,7 +180,7 @@
...
@@ -180,7 +180,7 @@
.icon-logo
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.06820119352088662
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.06820119352088662
);
.icon-logo
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.06820119352088662
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.06820119352088662
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5647911338448423
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.10017050298380221
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5647911338448423
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.10017050298380221
);}
.icon-lssl-icon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.011935208866155157
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.011935208866155157
);
.icon-lssl-icon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.011935208866155157
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.011935208866155157
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4
0068201193520886
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6717817561807332
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4
2071611253196933
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6717817561807332
);}
.icon-mask-del
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.03410059676044331
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.03410059676044331
);
.icon-mask-del
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.03410059676044331
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.03410059676044331
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6547314578005116
)
calc
(
100vmin
*
(
1173
/
768
)
*
0
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6547314578005116
)
calc
(
100vmin
*
(
1173
/
768
)
*
0
);}
.icon-mask-edit
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.03410059676044331
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.03410059676044331
);
.icon-mask-edit
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.03410059676044331
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.03410059676044331
);
...
@@ -286,7 +286,7 @@
...
@@ -286,7 +286,7 @@
.icon-role-2
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.028985507246376812
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.028985507246376812
);
.icon-role-2
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.028985507246376812
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.028985507246376812
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6547314578005116
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.355924978687127
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6547314578005116
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.355924978687127
);}
.icon-rule
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.011935208866155157
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.011935208866155157
);
.icon-rule
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.011935208866155157
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.011935208866155157
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4
190110826939471
6
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6717817561807332
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4
39045183290707
6
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6717817561807332
);}
.icon-scan
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
.icon-scan
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.12020460358056266
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6717817561807332
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.12020460358056266
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6717817561807332
);}
.icon-scanIcon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
.icon-scanIcon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
...
@@ -313,8 +313,8 @@
...
@@ -313,8 +313,8 @@
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.35038363171355497
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.35038363171355497
);}
.icon-second-right
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.05456095481670929
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
.icon-second-right
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.05456095481670929
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.48934356351236147
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.30008525149190113
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.48934356351236147
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.30008525149190113
);}
.icon-seeIcon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.0
068201193520886615
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.0068201193520886615
);
.icon-seeIcon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.0
13640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.
639386189258312
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.12766410912190965
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.
18030690537084398
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6717817561807332
);}
.icon-setting
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.027280477408354646
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.027280477408354646
);
.icon-setting
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.027280477408354646
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.027280477408354646
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.13469735720375106
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6381074168797954
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.13469735720375106
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6381074168797954
);}
.icon-short-first-nav
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.1773231031543052
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.0443307757885763
);
.icon-short-first-nav
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.1773231031543052
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.0443307757885763
);
...
@@ -326,17 +326,17 @@
...
@@ -326,17 +326,17 @@
.icon-start-text
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.0733162830349531
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
.icon-start-text
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.0733162830349531
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4761295822676897
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.2659846547314578
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4761295822676897
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.2659846547314578
);}
.icon-stick-top-blue
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
.icon-stick-top-blue
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.18030690537084398
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6717817561807332
);}
.icon-stick-top
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.20034100596760443
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6717817561807332
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.20034100596760443
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6717817561807332
);}
.icon-st
ore-icon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
.icon-st
ick-top
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.22037510656436488
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6717817561807332
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.22037510656436488
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6717817561807332
);}
.icon-store-icon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.24040920716112532
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6717817561807332
);}
.icon-store
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
.icon-store
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4731457800511509
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5907928388746803
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4731457800511509
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5907928388746803
);}
.icon-study-active
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.0443307757885763
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.0443307757885763
);
.icon-study-active
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.0443307757885763
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.0443307757885763
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.050724637681159424
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5400682011935208
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.050724637681159424
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5400682011935208
);}
.icon-study-tips
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.011935208866155157
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.011935208866155157
);
.icon-study-tips
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.011935208866155157
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.011935208866155157
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4
373401534526854
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6717817561807332
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4
5737425404944587
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6717817561807332
);}
.icon-study
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.0443307757885763
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.0443307757885763
);
.icon-study
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.0443307757885763
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.0443307757885763
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.10144927536231885
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5400682011935208
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.10144927536231885
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5400682011935208
);}
.icon-submit
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
.icon-submit
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
...
@@ -346,21 +346,21 @@
...
@@ -346,21 +346,21 @@
.icon-suggestions-arrow
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.015345268542199489
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.015345268542199489
);
.icon-suggestions-arrow
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.015345268542199489
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.015345268542199489
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5004262574595055
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.45865302642796246
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5004262574595055
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.45865302642796246
);}
.icon-suggestions-icon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
.icon-suggestions-icon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.24040920716112532
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6717817561807332
);}
.icon-sun-roof
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.26044330775788577
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6717817561807332
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.26044330775788577
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6717817561807332
);}
.icon-sun-roof
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.2804774083546462
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6717817561807332
);}
.icon-tag-checked
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.02557544757033248
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
.icon-tag-checked
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.02557544757033248
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4151747655583973
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4113384484228474
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4151747655583973
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4113384484228474
);}
.icon-task-pass
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.011935208866155157
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.011935208866155157
);
.icon-task-pass
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.011935208866155157
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.011935208866155157
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4
55669224211423
7
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6717817561807332
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4
757033248081841
7
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6717817561807332
);}
.icon-tdcj-icon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
.icon-tdcj-icon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.629156010230179
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4825234441602728
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.629156010230179
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4825234441602728
);}
.icon-time-icon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
.icon-time-icon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.
2804774083546462
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6717817561807332
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.
30051150895140666
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6717817561807332
);}
.icon-time
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
.icon-time
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.629156010230179
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5059676044330775
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.629156010230179
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5059676044330775
);}
.icon-tips-b
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
.icon-tips-b
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.3
0051150895140666
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6717817561807332
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.3
205456095481671
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6717817561807332
);}
.icon-tips-g
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.020460358056265986
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.020460358056265986
);
.icon-tips-g
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.020460358056265986
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.020460358056265986
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6952259164535379
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.08056265984654731
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6952259164535379
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.08056265984654731
);}
.icon-tips
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.03410059676044331
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.03410059676044331
);
.icon-tips
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.03410059676044331
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.03410059676044331
);
...
@@ -374,7 +374,7 @@
...
@@ -374,7 +374,7 @@
.icon-topTipsRightIcon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.06990622335890878
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.05115089514066496
);
.icon-topTipsRightIcon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.06990622335890878
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.05115089514066496
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.2855924978687127
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.20758738277919864
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.2855924978687127
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.20758738277919864
);}
.icon-total
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
.icon-total
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.3
205456095481671
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6717817561807332
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.3
4057971014492755
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6717817561807332
);}
.icon-two-arrow
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.011935208866155157
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.010230179028132993
);
.icon-two-arrow
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.011935208866155157
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.010230179028132993
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6952259164535379
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6551577152600171
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6952259164535379
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6551577152600171
);}
.icon-uploadAdd
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.020460358056265986
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.020460358056265986
);
.icon-uploadAdd
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.020460358056265986
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.020460358056265986
);
...
@@ -382,12 +382,12 @@
...
@@ -382,12 +382,12 @@
.icon-visible
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
.icon-visible
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.38107416879795397
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6381074168797954
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.38107416879795397
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6381074168797954
);}
.icon-warning-icon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
.icon-warning-icon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.34057971014492755
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6717817561807332
);}
.icon-work-icon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.36061381074168797
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6717817561807332
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.36061381074168797
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6717817561807332
);}
.icon-work-icon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.38064791133844844
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6717817561807332
);}
.icon-ybtc_icon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
.icon-ybtc_icon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.40451832907075874
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6381074168797954
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.40451832907075874
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6381074168797954
);}
.icon-yw-icon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.015345268542199489
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.015345268542199489
);
.icon-yw-icon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.015345268542199489
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.015345268542199489
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5221653878942881
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.45865302642796246
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5221653878942881
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.45865302642796246
);}
.icon-zj-icon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
.icon-zj-icon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.38064791133844844
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6717817561807332
);}
\ No newline at end of file
\ No newline at end of file
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.40068201193520886
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6717817561807332
);}
\ No newline at end of file
\ No newline at end of file
assets/images/sprite.png
View file @
c915de6
2.79 MB
|
W:
|
H:
2.79 MB
|
W:
|
H:
2-up
Swipe
Onion skin
assets/spritesmith/seeIcon.png
View file @
c915de6
736 Bytes
|
W:
|
H:
1.26 KB
|
W:
|
H:
2-up
Swipe
Onion skin
env.js
View file @
c915de6
...
@@ -49,7 +49,7 @@ const domain = {
...
@@ -49,7 +49,7 @@ const domain = {
}[
target
[
index
]]
}[
target
[
index
]]
const
djDomain
=
{
const
djDomain
=
{
ip
:
'http
://192.168.1.221:5003
'
,
ip
:
'http
s://dj.test.glsx.com.cn
'
,
// 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
...
...
pages/evaluationForm/addEvaluationFrom.vue
View file @
c915de6
...
@@ -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"
:noTitle=
"true"
>
<GeneralPopup
ref=
"tipsPopup"
popupClass=
"tipsPopup"
type=
"center"
:showClose=
"true"
:showTitle=
"false"
:noTitle=
"true"
>
<
template
#
content
>
<
template
#
content
>
<view>
<view>
<image
class=
"tipsPopupBg"
:src=
"bg"
/>
<image
class=
"tipsPopupBg"
:src=
"bg"
/>
...
@@ -99,7 +99,7 @@
...
@@ -99,7 +99,7 @@
</
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"
>
<GeneralPopup
ref=
"editTipsPopup"
popupClass=
"tipsPopup"
type=
"center"
:showClose=
"true"
:showTitle=
"false"
:noTitle=
"true"
>
<
template
#
content
>
<
template
#
content
>
<view>
<view>
<image
class=
"tipsPopupBg"
:src=
"bg"
/>
<image
class=
"tipsPopupBg"
:src=
"bg"
/>
...
@@ -122,6 +122,7 @@ import { uploadFile } from '@/utils/ossUploadFile/uploadFile.js'
...
@@ -122,6 +122,7 @@ import { uploadFile } from '@/utils/ossUploadFile/uploadFile.js'
import
SelectCity
from
'./components/SelectCity.vue'
import
SelectCity
from
'./components/SelectCity.vue'
import
UploadMedia
from
'./components/uploadMedia.vue'
import
UploadMedia
from
'./components/uploadMedia.vue'
import
NoticePopup
from
'@/components/NoticePopup.vue'
import
NoticePopup
from
'@/components/NoticePopup.vue'
import
{
debounce
}
from
'lodash'
export
default
{
export
default
{
name
:
'AddEvaluationFrom'
,
name
:
'AddEvaluationFrom'
,
components
:
{
components
:
{
...
@@ -192,7 +193,7 @@ export default {
...
@@ -192,7 +193,7 @@ export default {
exteriorColor
:
''
,
exteriorColor
:
''
,
productionDate
:
''
,
productionDate
:
''
,
guidePrice
:
0
,
guidePrice
:
0
,
buyNewCar
:
''
,
buyNewCar
:
0
,
hasAccident
:
0
,
hasAccident
:
0
,
overallRating
:
''
,
overallRating
:
''
,
conditionDescription
:
''
conditionDescription
:
''
...
@@ -387,12 +388,12 @@ export default {
...
@@ -387,12 +388,12 @@ export default {
showText
:
'shopMerchantName'
,
showText
:
'shopMerchantName'
,
radioList
:
[
radioList
:
[
{
{
value
:
'
0
'
,
value
:
'
1
'
,
name
:
'
售前
'
name
:
'
是
'
},
},
{
{
value
:
'
1
'
,
value
:
'
0
'
,
name
:
'
售后
'
name
:
'
否
'
}
}
]
]
},
},
...
@@ -410,12 +411,12 @@ export default {
...
@@ -410,12 +411,12 @@ export default {
showText
:
'shopMerchantName'
,
showText
:
'shopMerchantName'
,
radioList
:
[
radioList
:
[
{
{
value
:
'
0
'
,
value
:
'
1
'
,
name
:
'
售前
'
name
:
'
是
'
},
},
{
{
value
:
'
1
'
,
value
:
'
0
'
,
name
:
'
售后
'
name
:
'
否
'
}
}
]
]
},
},
...
@@ -459,7 +460,7 @@ export default {
...
@@ -459,7 +460,7 @@ export default {
{
key
:
'annualInspectionExpiry'
,
label
:
'年审到期'
,
required
:
true
,
fullWidth
:
false
,
type
:
'calendar'
,
targetKey
:
'annualInspectionExpiry'
,
targetObj
:
'carLicenseReqDTO'
},
{
key
:
'annualInspectionExpiry'
,
label
:
'年审到期'
,
required
:
true
,
fullWidth
:
false
,
type
:
'calendar'
,
targetKey
:
'annualInspectionExpiry'
,
targetObj
:
'carLicenseReqDTO'
},
{
key
:
'commercialInsuranceExpiry'
,
label
:
'商业险到期'
,
required
:
true
,
fullWidth
:
false
,
type
:
'calendar'
,
targetKey
:
'commercialInsuranceExpiry'
,
targetObj
:
'carLicenseReqDTO'
},
{
key
:
'commercialInsuranceExpiry'
,
label
:
'商业险到期'
,
required
:
true
,
fullWidth
:
false
,
type
:
'calendar'
,
targetKey
:
'commercialInsuranceExpiry'
,
targetObj
:
'carLicenseReqDTO'
},
{
key
:
'previousOwnerName'
,
label
:
'原车主名称'
,
required
:
true
,
fullWidth
:
false
,
targetKey
:
'previousOwnerName'
,
targetObj
:
'carLicenseReqDTO'
,
type
:
'input'
},
{
key
:
'previousOwnerName'
,
label
:
'原车主名称'
,
required
:
true
,
fullWidth
:
false
,
targetKey
:
'previousOwnerName'
,
targetObj
:
'carLicenseReqDTO'
,
type
:
'input'
},
{
key
:
'previousOwnerPhone'
,
label
:
'原车主电话'
,
required
:
true
,
fullWidth
:
true
,
targetKey
:
'previousOwnerPhone'
,
targetObj
:
'carLicenseReqDTO'
,
type
:
'input'
,
inputType
:
'number'
,
pattern
:
'^[0-9]{11}$'
},
{
key
:
'previousOwnerPhone'
,
label
:
'原车主电话'
,
required
:
true
,
fullWidth
:
true
,
targetKey
:
'previousOwnerPhone'
,
targetObj
:
'carLicenseReqDTO'
,
type
:
'input'
,
inputType
:
'number'
,
pattern
:
'^[0-9]{11}$'
,
maxlength
:
17
},
{
{
key
:
'previousOwnerAddress'
,
key
:
'previousOwnerAddress'
,
label
:
'原车主住址'
,
label
:
'原车主住址'
,
...
@@ -602,8 +603,11 @@ export default {
...
@@ -602,8 +603,11 @@ export default {
let
selectedItem
let
selectedItem
// 为颜色字段添加特殊处理,使用name匹配
// 为颜色字段添加特殊处理,使用name匹配
if
(
field
.
key
===
'exteriorColor'
||
field
.
key
===
'interiorColor'
)
{
if
(
field
.
key
===
'exteriorColor'
||
field
.
key
===
'interiorColor'
)
{
console
.
log
(
that
.
formData
)
console
.
log
(
'targetValue'
,
targetValue
)
// 查找name匹配的选项
// 查找name匹配的选项
selectedItem
=
field
.
fieldPickerArray
.
find
(
item
=>
item
.
name
===
targetValue
)
selectedItem
=
field
.
fieldPickerArray
.
find
(
item
=>
item
.
name
===
targetValue
)
console
.
log
(
'selectedItem'
,
selectedItem
)
}
else
{
}
else
{
// 其他字段继续使用value匹配
// 其他字段继续使用value匹配
selectedItem
=
field
.
fieldPickerArray
.
find
(
item
=>
item
.
value
===
targetValue
.
toString
())
selectedItem
=
field
.
fieldPickerArray
.
find
(
item
=>
item
.
value
===
targetValue
.
toString
())
...
@@ -1067,7 +1071,7 @@ export default {
...
@@ -1067,7 +1071,7 @@ export default {
},
},
// 提交表单逻辑
// 提交表单逻辑
async
submitForm
()
{
submitForm
:
debounce
(
async
function
()
{
// 表单提交验证
// 表单提交验证
if
(
this
.
currentStep
===
3
)
{
if
(
this
.
currentStep
===
3
)
{
const
leftFront45Image
=
this
.
formImagesData
[
'11'
]
// key为11的是左前45度图片
const
leftFront45Image
=
this
.
formImagesData
[
'11'
]
// key为11的是左前45度图片
...
@@ -1142,7 +1146,7 @@ export default {
...
@@ -1142,7 +1146,7 @@ export default {
}
}
}
}
}
}
},
},
500
),
// 处理媒体数据的辅助方法
// 处理媒体数据的辅助方法
processMediaData
(
mediaData
,
fileType
)
{
processMediaData
(
mediaData
,
fileType
)
{
...
...
pages/evaluationForm/components/FormCell.vue
View file @
c915de6
...
@@ -139,9 +139,9 @@ export default {
...
@@ -139,9 +139,9 @@ export default {
handleCell
(
field
)
{
handleCell
(
field
)
{
this
.
$emit
(
'handleCell'
,
field
)
this
.
$emit
(
'handleCell'
,
field
)
},
},
radioChange
(
e
)
{
radioChange
(
e
,
field
)
{
const
value
=
e
.
detail
.
value
const
value
=
e
.
detail
.
value
this
.
$emit
(
'radioChange'
,
value
)
this
.
$emit
(
'radioChange'
,
value
,
field
)
},
},
bindPickerChange
(
e
,
field
)
{
bindPickerChange
(
e
,
field
)
{
console
.
log
(
'picker发送选择改变,携带值为'
,
e
)
console
.
log
(
'picker发送选择改变,携带值为'
,
e
)
...
@@ -173,7 +173,7 @@ export default {
...
@@ -173,7 +173,7 @@ export default {
},
},
handleBlur
(
e
,
field
)
{
handleBlur
(
e
,
field
)
{
console
.
log
(
'handleBlur'
,
e
,
field
)
console
.
log
(
'handleBlur'
,
e
,
field
)
let
value
=
e
.
target
.
_value
.
trim
()
||
e
.
detail
.
value
.
trim
()
let
value
=
e
.
target
?.
_value
?.
trim
()
||
e
.
target
?.
value
?
.
trim
()
if
(
field
.
targetObj
)
{
if
(
field
.
targetObj
)
{
if
(
this
.
formData
[
field
.
targetObj
])
{
if
(
this
.
formData
[
field
.
targetObj
])
{
this
.
formData
[
field
.
targetObj
][
field
.
targetKey
]
=
value
this
.
formData
[
field
.
targetObj
][
field
.
targetKey
]
=
value
...
...
pages/evaluationForm/components/GeneralPopup.vue
View file @
c915de6
<!--针对弹窗穿透滚动,统一封装的popup-->
<!--针对弹窗穿透滚动,统一封装的popup-->
<
template
>
<
template
>
<page-meta
:page-style=
"'overflow:' + (show ? 'hidden' : 'visible')"
></page-meta>
<page-meta
:page-style=
"'overflow:' + (show ? 'hidden' : 'visible')"
></page-meta>
<uni-popup
:class=
"['customPopup', popupClass, noTitle ? 'noTitle' : '']"
ref=
"publishPopup"
:type=
"type"
@
change=
"change"
:safe-area=
"safeArea"
:showClose=
"showClose"
>
<uni-popup
:class=
"['customPopup', popupClass, noTitle ? 'noTitle' : '']"
ref=
"publishPopup"
:type=
"type"
@
change=
"change"
:safe-area=
"safeArea"
:
is-mask-click=
"isMaskClick"
:
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"
>
...
@@ -36,7 +36,7 @@ export default {
...
@@ -36,7 +36,7 @@ export default {
},
},
isMaskClick
:
{
isMaskClick
:
{
type
:
Boolean
,
type
:
Boolean
,
default
:
tru
e
default
:
fals
e
},
},
safeArea
:
{
safeArea
:
{
type
:
Boolean
,
type
:
Boolean
,
...
...
pages/evaluationForm/components/uploadMedia.vue
View file @
c915de6
...
@@ -123,7 +123,8 @@ export default {
...
@@ -123,7 +123,8 @@ export default {
const
url
=
await
uploadFile
(
tempFilePath
)
const
url
=
await
uploadFile
(
tempFilePath
)
console
.
log
(
'上传图片成功'
,
url
)
console
.
log
(
'上传图片成功'
,
url
)
uni
.
hideLoading
()
uni
.
hideLoading
()
const
fileExtension
=
res
.
tempFiles
[
0
].
name
.
split
(
'.'
).
pop
().
toLowerCase
()
console
.
log
(
res
,
'上传所有选择的图片'
)
const
fileExtension
=
res
.
tempFiles
[
0
]?.
name
?
res
.
tempFiles
[
0
]?.
name
.
split
(
'.'
).
pop
().
toLowerCase
()
:
res
.
tempFiles
[
0
]?.
path
.
split
(
'.'
).
pop
().
toLowerCase
()
this
.
addMedia
(
field
,
{
url
,
fileFormat
:
fileExtension
,
type
:
'image'
,
name
:
field
.
label
})
this
.
addMedia
(
field
,
{
url
,
fileFormat
:
fileExtension
,
type
:
'image'
,
name
:
field
.
label
})
}
}
}
catch
(
error
)
{
}
catch
(
error
)
{
...
@@ -153,10 +154,11 @@ export default {
...
@@ -153,10 +154,11 @@ export default {
uni
.
showLoading
({
title
:
'上传中...'
})
uni
.
showLoading
({
title
:
'上传中...'
})
// 上传所有选择的图片
// 上传所有选择的图片
for
(
const
tempFilePath
of
res
.
tempFilePaths
)
{
for
(
const
tempFilePath
of
res
.
tempFilePaths
)
{
console
.
log
(
res
,
'上传所有选择的图片'
)
const
url
=
await
uploadFile
(
tempFilePath
)
const
url
=
await
uploadFile
(
tempFilePath
)
console
.
log
(
'上传图片成功'
,
url
)
console
.
log
(
'上传图片成功'
,
url
)
uni
.
hideLoading
()
uni
.
hideLoading
()
const
fileExtension
=
res
.
tempFiles
[
0
]
.
name
.
split
(
'.'
).
pop
().
toLowerCase
()
const
fileExtension
=
res
.
tempFiles
[
0
]
?.
name
?
res
.
tempFiles
[
0
]?.
name
.
split
(
'.'
).
pop
().
toLowerCase
()
:
res
.
tempFiles
[
0
]?.
path
.
split
(
'.'
).
pop
().
toLowerCase
()
this
.
addMedia
(
field
,
{
url
,
fileFormat
:
fileExtension
,
type
:
'image'
,
fileFormat
:
fileExtension
,
name
:
field
.
label
})
this
.
addMedia
(
field
,
{
url
,
fileFormat
:
fileExtension
,
type
:
'image'
,
fileFormat
:
fileExtension
,
name
:
field
.
label
})
}
}
}
catch
(
error
)
{
}
catch
(
error
)
{
...
@@ -181,11 +183,12 @@ export default {
...
@@ -181,11 +183,12 @@ export default {
maxDuration
:
field
.
maxDuration
||
60
,
maxDuration
:
field
.
maxDuration
||
60
,
camera
:
'back'
,
camera
:
'back'
,
success
:
async
res
=>
{
success
:
async
res
=>
{
console
.
log
(
'拍摄视频成功'
,
res
)
try
{
try
{
uni
.
showLoading
({
title
:
'上传中...'
})
uni
.
showLoading
({
title
:
'上传中...'
})
const
url
=
await
uploadFile
(
res
.
tempFilePath
)
const
url
=
await
uploadFile
(
res
.
tempFilePath
)
console
.
log
(
'上传视频成功'
,
url
)
console
.
log
(
'上传视频成功'
,
url
)
const
fileExtension
=
res
.
name
.
split
(
'.'
).
pop
().
toLowerCase
()
const
fileExtension
=
res
.
name
?
res
.
name
.
split
(
'.'
).
pop
().
toLowerCase
()
:
res
.
tempFilePath
.
split
(
'.'
).
pop
().
toLowerCase
()
this
.
addMedia
(
field
,
{
this
.
addMedia
(
field
,
{
url
,
url
,
type
:
'video'
,
type
:
'video'
,
...
@@ -222,7 +225,7 @@ export default {
...
@@ -222,7 +225,7 @@ export default {
uni
.
showLoading
({
title
:
'上传中...'
})
uni
.
showLoading
({
title
:
'上传中...'
})
const
url
=
await
uploadFile
(
res
.
tempFilePath
)
const
url
=
await
uploadFile
(
res
.
tempFilePath
)
console
.
log
(
'上传视频成功'
,
url
)
console
.
log
(
'上传视频成功'
,
url
)
const
fileExtension
=
res
.
name
.
split
(
'.'
).
pop
().
toLowerCase
()
const
fileExtension
=
res
.
name
?
res
.
name
.
split
(
'.'
).
pop
().
toLowerCase
()
:
res
.
tempFilePath
.
split
(
'.'
).
pop
().
toLowerCase
()
this
.
addMedia
(
field
,
{
this
.
addMedia
(
field
,
{
url
,
url
,
type
:
'video'
,
type
:
'video'
,
...
...
pages/evaluationForm/confirmCar.vue
View file @
c915de6
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
</view>
</view>
<view>
<view>
<view
class=
"flex align-center inputBox"
:class=
"
{ fullInput: field.fullInput }" v-if="field.key === 'carKeyUrl' || field.key === 'otherUrl'">
<view
class=
"flex align-center inputBox"
:class=
"
{ fullInput: field.fullInput }" v-if="field.key === 'carKeyUrl' || field.key === 'otherUrl'">
<input
type=
"
text"
v-model=
"formData[field.inputKey]"
placeholder=
"请输入
"
/>
<input
type=
"
number"
v-model=
"formData[field.inputKey]"
placeholder=
"请输入"
maxlength=
"1
"
/>
<text>
套
</text>
<text>
套
</text>
</view>
</view>
<view
class=
"upload-images-wrapper"
>
<view
class=
"upload-images-wrapper"
>
...
@@ -110,6 +110,7 @@ import GeneralPopup from './components/GeneralPopup.vue'
...
@@ -110,6 +110,7 @@ import GeneralPopup from './components/GeneralPopup.vue'
import
OrderPopup
from
'@/components/OrderPopup/index.vue'
import
OrderPopup
from
'@/components/OrderPopup/index.vue'
import
dayjs
from
'dayjs'
import
dayjs
from
'dayjs'
import
NoticePopup
from
'@/components/NoticePopup.vue'
import
NoticePopup
from
'@/components/NoticePopup.vue'
import
{
debounce
}
from
'lodash'
export
default
{
export
default
{
components
:
{
components
:
{
FormCell
,
FormCell
,
...
@@ -148,7 +149,8 @@ export default {
...
@@ -148,7 +149,8 @@ export default {
sourceNameKey
:
'staffName'
,
sourceNameKey
:
'staffName'
,
sourceKey
:
'uuid'
,
sourceKey
:
'uuid'
,
targetKey
:
'handoverAddress'
,
targetKey
:
'handoverAddress'
,
type
:
'input'
type
:
'input'
,
maxlength
:
100
},
},
{
{
key
:
'sellerUserId'
,
key
:
'sellerUserId'
,
...
@@ -171,7 +173,7 @@ export default {
...
@@ -171,7 +173,7 @@ export default {
purchaseInvoiceUrl
:
''
,
purchaseInvoiceUrl
:
''
,
trafficScreenshotUrl
:
''
,
trafficScreenshotUrl
:
''
,
carKeyUrl
:
''
,
carKeyUrl
:
''
,
carKeyCount
:
0
,
carKeyCount
:
''
,
trafficInsuranceUrl
:
''
,
trafficInsuranceUrl
:
''
,
insuranceCardUrl
:
''
,
insuranceCardUrl
:
''
,
transferPhotoUrl
:
''
,
transferPhotoUrl
:
''
,
...
@@ -217,6 +219,7 @@ export default {
...
@@ -217,6 +219,7 @@ export default {
methods
:
{
methods
:
{
init
(
options
)
{
init
(
options
)
{
this
.
query
=
options
this
.
query
=
options
this
.
getEvalOrderSimpleDetail
()
},
},
backPage
()
{
backPage
()
{
this
.
$refs
.
notice
.
buttonsList
=
[
this
.
$refs
.
notice
.
buttonsList
=
[
...
@@ -240,6 +243,21 @@ export default {
...
@@ -240,6 +243,21 @@ export default {
]
]
this
.
$refs
.
notice
.
open
()
this
.
$refs
.
notice
.
open
()
},
},
async
getEvalOrderSimpleDetail
()
{
const
res
=
await
uni
.
$api
.
evaluationApi
.
evalOrderSimpleDetail
({
evalOrderNo
:
this
.
query
.
evalOrderNo
})
if
(
res
.
data
.
code
==
0
)
{
this
.
$set
(
this
.
formData
,
'handoverAddress'
,
res
.
data
.
data
.
evalCarBase
.
carProvinceName
+
'-'
+
res
.
data
.
data
.
evalCarBase
.
carCityName
)
// this.evalOrderSimpleDetail = res.data.data
}
else
{
uni
.
hideLoading
()
uni
.
showToast
({
title
:
res
.
data
.
msg
||
'请求失败'
,
icon
:
'none'
})
}
},
handleCell
(
field
)
{
handleCell
(
field
)
{
console
.
log
(
'handleCell'
,
field
)
console
.
log
(
'handleCell'
,
field
)
this
.
currentField
=
field
this
.
currentField
=
field
...
@@ -275,7 +293,7 @@ export default {
...
@@ -275,7 +293,7 @@ export default {
this
.
$refs
.
openDate
.
open
()
this
.
$refs
.
openDate
.
open
()
}
}
},
},
confirmDelivery
(
)
{
confirmDelivery
:
debounce
(
function
(
e
)
{
if
(
!
this
.
formData
.
handoverTime
)
{
if
(
!
this
.
formData
.
handoverTime
)
{
uni
.
showToast
({
title
:
'请选择交车时间'
,
icon
:
'none'
})
uni
.
showToast
({
title
:
'请选择交车时间'
,
icon
:
'none'
})
return
return
...
@@ -285,26 +303,36 @@ export default {
...
@@ -285,26 +303,36 @@ export default {
uni
.
showToast
({
title
:
'请输入交车地点'
,
icon
:
'none'
})
uni
.
showToast
({
title
:
'请输入交车地点'
,
icon
:
'none'
})
return
return
}
}
if
(
this
.
formData
.
carKeyCount
<=
0
)
{
uni
.
showToast
({
title
:
'请输入车钥匙数量'
,
icon
:
'none'
})
return
}
const
requiredUploadFields
=
this
.
uploadFields
.
filter
(
field
=>
field
.
required
)
const
requiredUploadFields
=
this
.
uploadFields
.
filter
(
field
=>
field
.
required
)
for
(
const
field
of
requiredUploadFields
)
{
for
(
const
field
of
requiredUploadFields
)
{
const
images
=
this
.
getImages
(
field
,
'upload'
)
const
images
=
this
.
getImages
(
field
,
'upload'
)
if
((
field
.
key
===
'carKeyUrl'
&&
!
images
)
||
images
.
length
===
0
)
{
uni
.
showToast
({
title
:
'请上车车钥匙图片'
,
icon
:
'none'
})
return
}
if
(
!
images
||
images
.
length
===
0
)
{
if
(
!
images
||
images
.
length
===
0
)
{
uni
.
showToast
({
title
:
`请上传
${
field
.
label
}
`
,
icon
:
'none'
})
uni
.
showToast
({
title
:
`请上传
${
field
.
label
}
`
,
icon
:
'none'
})
return
return
}
}
}
}
this
.
$refs
.
tipsPopup
.
open
()
this
.
$refs
.
tipsPopup
.
open
()
},
},
500
),
async
confirmTips
()
{
async
confirmTips
()
{
// this.uploadedImages
// this.uploadedImages
Object
.
keys
(
this
.
uploadedImages
).
forEach
(
key
=>
{
Object
.
keys
(
this
.
uploadedImages
).
forEach
(
key
=>
{
console
.
log
(
this
.
uploadedImages
)
if
(
Array
.
isArray
(
this
.
uploadedImages
[
key
]))
{
if
(
Array
.
isArray
(
this
.
uploadedImages
[
key
]))
{
// 将图片URL数组转换为逗号分隔的字符串
// 将图片URL数组转换为逗号分隔的字符串
const
imagesStr
=
this
.
uploadedImages
[
key
].
join
(
','
)
const
imagesStr
=
this
.
uploadedImages
[
key
].
join
(
','
)
// 更新formData中对应的字段
// 更新formData中对应的字段
this
.
formData
[
key
]
=
imagesStr
this
.
formData
[
key
]
=
imagesStr
console
.
log
(
'this.uploadedImages'
,
this
.
formData
)
}
}
})
})
const
res
=
await
uni
.
$api
.
evaluationApi
.
confirmDelivery
({
const
res
=
await
uni
.
$api
.
evaluationApi
.
confirmDelivery
({
...
@@ -468,7 +496,7 @@ export default {
...
@@ -468,7 +496,7 @@ export default {
//
Popup
样式
//
Popup
样式
::v-deep
.tipsPopup
.uni-popup__wrapper
{
::v-deep
.tipsPopup
.uni-popup__wrapper
{
width
:
toRpx
(
848
);
width
:
toRpx
(
848
);
height
:
toRpx
(
74
4
);
height
:
toRpx
(
66
4
);
border-radius
:
toRpx
(
42
);
border-radius
:
toRpx
(
42
);
background
:
rgb
(
255
,
255
,
255
)
!important
;
background
:
rgb
(
255
,
255
,
255
)
!important
;
.tipsPopupBg
{
.tipsPopupBg
{
...
...
pages/evaluationForm/index.vue
View file @
c915de6
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<view>
暂无客户工单
</view>
<view>
暂无客户工单
</view>
</view>
</view>
</
template
>
</
template
>
<EvaluationCard
@
button-click=
"handleButtonClick"
v-for=
"(item, index) in dataList"
:key=
"index"
:carInfo=
"item"
@
toggle-goods-list=
"handleToggleGoodsList"
@
jump=
"jump"
@
refresh=
"search()"
:class=
"{ 'mb-40': index < dataList.length - 1 }"
></EvaluationCard>
<EvaluationCard
@
button-click=
"handleButtonClick"
v-for=
"(item, index) in dataList"
:key=
"index"
:carInfo=
"item"
@
refresh=
"search()"
:class=
"{ 'mb-40': index < dataList.length - 1 }"
></EvaluationCard>
</z-paging>
</z-paging>
</view>
</view>
</view>
</view>
...
@@ -443,7 +443,7 @@ export default {
...
@@ -443,7 +443,7 @@ export default {
this
.
requoteObj
.
evalOrderNo
=
e
.
evalOrderNo
this
.
requoteObj
.
evalOrderNo
=
e
.
evalOrderNo
this
.
$refs
.
requotePopup
.
open
()
this
.
$refs
.
requotePopup
.
open
()
},
},
confirmRequote
()
{
async
confirmRequote
()
{
const
that
=
this
const
that
=
this
console
.
log
(
'that.requoteObj:'
,
that
.
requoteObj
)
console
.
log
(
'that.requoteObj:'
,
that
.
requoteObj
)
if
(
that
.
requoteObj
.
customerTargetPriceFeedback
.
length
==
0
)
{
if
(
that
.
requoteObj
.
customerTargetPriceFeedback
.
length
==
0
)
{
...
@@ -460,7 +460,7 @@ export default {
...
@@ -460,7 +460,7 @@ export default {
})
})
return
return
}
}
const
res
=
uni
.
$api
.
evaluationApi
.
evalOrderOwnerReQuote
(
this
.
requoteObj
)
const
res
=
await
uni
.
$api
.
evaluationApi
.
evalOrderOwnerReQuote
(
this
.
requoteObj
)
if
(
res
.
data
.
code
==
0
)
{
if
(
res
.
data
.
code
==
0
)
{
uni
.
showToast
({
uni
.
showToast
({
title
:
'重新报价成功'
,
title
:
'重新报价成功'
,
...
...
pages/evaluationForm/signInfo.vue
View file @
c915de6
...
@@ -22,8 +22,8 @@
...
@@ -22,8 +22,8 @@
</label>
</label>
</radio-group>
</radio-group>
</view>
</view>
<view
class=
"template-title flex"
@
click
.
stop=
"pdfPreview"
>
<view
class=
"template-title flex
align-center
"
@
click
.
stop=
"pdfPreview"
>
<view
class=
"sprite-icon icon-seeIcon"
></view>
<view
class=
"sprite-icon icon-seeIcon
mr-12
"
></view>
<text>
合同模板
</text>
<text>
合同模板
</text>
</view>
</view>
</view>
</view>
...
@@ -32,8 +32,11 @@
...
@@ -32,8 +32,11 @@
<view
v-if=
"formData.paymentType"
class=
"fromBox"
>
<view
v-if=
"formData.paymentType"
class=
"fromBox"
>
<FormCell
:formFields=
"formFields"
:formData=
"formData"
@
handleCell=
"handleCell"
@
inputChange=
"handleInputChange"
@
inputInvalid=
"handleInputInvalid"
@
blurChange=
"blurChange"
/>
<FormCell
:formFields=
"formFields"
:formData=
"formData"
@
handleCell=
"handleCell"
@
inputChange=
"handleInputChange"
@
inputInvalid=
"handleInputInvalid"
@
blurChange=
"blurChange"
/>
<view
class=
"upload-container mb-24"
>
<view
class=
"upload-container mb-24"
>
<view
class=
"form-item flex align-center justify-between"
>
<view
class=
"form-item flex align-start justify-between"
>
<view
class=
"from-label"
>
身份证正面
</view>
<view
class=
"from-label"
>
身份证正面
<text
class=
"requiredLabel"
>
*
</text>
</view>
<template>
<template>
<!-- 判断是否已上传 -->
<!-- 判断是否已上传 -->
<view
v-if=
"formData.idCardFrontUrl"
class=
"uploaded-item"
>
<view
v-if=
"formData.idCardFrontUrl"
class=
"uploaded-item"
>
...
@@ -51,8 +54,11 @@
...
@@ -51,8 +54,11 @@
</view>
</view>
</
template
>
</
template
>
</view>
</view>
<view
class=
"form-item flex align-center justify-between"
>
<view
class=
"form-item flex align-start justify-between"
>
<view
class=
"from-label"
>
身份证背面
</view>
<view
class=
"from-label"
>
身份证背面
<text
class=
"requiredLabel"
>
*
</text>
</view>
<
template
>
<
template
>
<view
v-if=
"formData.idCardBackUrl"
class=
"uploaded-item"
>
<view
v-if=
"formData.idCardBackUrl"
class=
"uploaded-item"
>
<image
:src=
"formData.idCardBackUrl"
mode=
"aspectFit"
></image>
<image
:src=
"formData.idCardBackUrl"
mode=
"aspectFit"
></image>
...
@@ -69,7 +75,7 @@
...
@@ -69,7 +75,7 @@
</view>
</view>
<FormCell
:formFields=
"formFields2"
:formData=
"formData"
@
handleCell=
"handleCell"
/>
<FormCell
:formFields=
"formFields2"
:formData=
"formData"
@
handleCell=
"handleCell"
/>
<view
class=
"upload-container"
>
<view
class=
"upload-container"
>
<view
class=
"form-item flex align-
center
justify-between"
>
<view
class=
"form-item flex align-
start
justify-between"
>
<view
class=
"from-label"
>
身份证正面
</view>
<view
class=
"from-label"
>
身份证正面
</view>
<
template
>
<
template
>
<view
v-if=
"formData.payerIdCardFrontUrl"
class=
"uploaded-item"
>
<view
v-if=
"formData.payerIdCardFrontUrl"
class=
"uploaded-item"
>
...
@@ -84,7 +90,7 @@
...
@@ -84,7 +90,7 @@
</view>
</view>
</
template
>
</
template
>
</view>
</view>
<view
class=
"form-item flex align-
center
justify-between"
>
<view
class=
"form-item flex align-
start
justify-between"
>
<view
class=
"from-label"
>
身份证背面
</view>
<view
class=
"from-label"
>
身份证背面
</view>
<
template
>
<
template
>
<view
v-if=
"formData.payerIdCardBackUrl"
class=
"uploaded-item"
>
<view
v-if=
"formData.payerIdCardBackUrl"
class=
"uploaded-item"
>
...
@@ -101,7 +107,7 @@
...
@@ -101,7 +107,7 @@
</view>
</view>
</view>
</view>
<view
class=
"upload-container"
>
<view
class=
"upload-container"
>
<view
class=
"form-item flex align-
center
justify-between"
>
<view
class=
"form-item flex align-
start
justify-between"
>
<view
class=
"from-label"
>
银行卡
</view>
<view
class=
"from-label"
>
银行卡
</view>
<
template
>
<
template
>
<view
v-if=
"formData.payerBankCardUrl"
class=
"uploaded-item"
>
<view
v-if=
"formData.payerBankCardUrl"
class=
"uploaded-item"
>
...
@@ -130,7 +136,7 @@
...
@@ -130,7 +136,7 @@
<checkbox
class=
"sign-checkbox"
style=
"transform: scale(0.7)"
activeBackgroundColor=
"#4673FF"
iconColor=
"#fff"
:value=
"item.value"
:checked=
"item.checked"
:disabled=
"item.disabled"
/>
<checkbox
class=
"sign-checkbox"
style=
"transform: scale(0.7)"
activeBackgroundColor=
"#4673FF"
iconColor=
"#fff"
:value=
"item.value"
:checked=
"item.checked"
:disabled=
"item.disabled"
/>
</view>
</view>
<view
class=
"checkbox-name"
>
{{
item
.
name
}}
</view>
<view
class=
"checkbox-name"
>
{{
item
.
name
}}
</view>
<input
class=
"checkbox-input"
v-if=
"item.isShowInput"
v-model=
"formData[item.inputValue]"
placeholder=
"请输入"
type=
"
text
"
/>
<input
class=
"checkbox-input"
v-if=
"item.isShowInput"
v-model=
"formData[item.inputValue]"
placeholder=
"请输入"
type=
"
number"
maxlength=
"1
"
/>
</label>
</label>
</checkbox-group>
</checkbox-group>
</
template
>
</
template
>
...
@@ -145,7 +151,7 @@
...
@@ -145,7 +151,7 @@
</view>
</view>
<view
class=
"footerBtn"
>
<view
class=
"footerBtn"
>
<view
class=
"btn cancle"
@
click
.
stop=
"backPage"
>
取消
</view>
<view
class=
"btn cancle"
@
click
.
stop=
"backPage"
>
取消
</view>
<view
class=
"btn next"
@
click
.
stop=
"
comfirmPage = tru
e"
>
下一步
</view>
<view
class=
"btn next"
@
click
.
stop=
"
nextPag
e"
>
下一步
</view>
</view>
</view>
</view>
</view>
<view
class=
"box-class1 mt-16"
v-else
>
<view
class=
"box-class1 mt-16"
v-else
>
...
@@ -258,6 +264,7 @@ import { uploadFile } from '@/utils/ossUploadFile/uploadFile.js'
...
@@ -258,6 +264,7 @@ import { uploadFile } from '@/utils/ossUploadFile/uploadFile.js'
import
OrderPopup
from
'@/components/OrderPopup/index.vue'
import
OrderPopup
from
'@/components/OrderPopup/index.vue'
import
dayjs
from
'dayjs'
import
dayjs
from
'dayjs'
import
NoticePopup
from
'@/components/NoticePopup.vue'
import
NoticePopup
from
'@/components/NoticePopup.vue'
import
{
debounce
}
from
'lodash'
export
default
{
export
default
{
components
:
{
components
:
{
FormCell
,
FormCell
,
...
@@ -360,12 +367,12 @@ export default {
...
@@ -360,12 +367,12 @@ export default {
depositPrice
:
0
,
depositPrice
:
0
,
finalPrice
:
0
,
finalPrice
:
0
,
fullPrice
:
0
,
fullPrice
:
0
,
partAName
:
'
岑成威
'
,
partAName
:
''
,
idCard
:
'
44538119960121041X
'
,
idCard
:
''
,
idCardFrontUrl
:
''
,
idCardFrontUrl
:
''
,
idCardBackUrl
:
''
,
idCardBackUrl
:
''
,
contactPersonName
:
''
,
contactPersonName
:
''
,
phone
:
'
13059281290
'
,
phone
:
''
,
address
:
''
,
address
:
''
,
payeeName
:
''
,
payeeName
:
''
,
bankCardNumber
:
''
,
bankCardNumber
:
''
,
...
@@ -380,7 +387,7 @@ export default {
...
@@ -380,7 +387,7 @@ export default {
purchaseInvoice
:
''
,
purchaseInvoice
:
''
,
trafficScreenshot
:
''
,
trafficScreenshot
:
''
,
carKey
:
''
,
carKey
:
''
,
carKeyCount
:
2
,
carKeyCount
:
1
,
trafficInsurance
:
''
,
trafficInsurance
:
''
,
insuranceCard
:
''
,
insuranceCard
:
''
,
transferPhoto
:
''
,
transferPhoto
:
''
,
...
@@ -416,7 +423,8 @@ export default {
...
@@ -416,7 +423,8 @@ export default {
sourceNameKey
:
'staffName'
,
sourceNameKey
:
'staffName'
,
sourceKey
:
'uuid'
,
sourceKey
:
'uuid'
,
targetKey
:
'handoverAddress'
,
targetKey
:
'handoverAddress'
,
type
:
'input'
type
:
'input'
,
maxlength
:
100
}
}
],
],
formFields2
:
[
formFields2
:
[
...
@@ -430,7 +438,8 @@ export default {
...
@@ -430,7 +438,8 @@ export default {
sourceKey
:
'uuid'
,
sourceKey
:
'uuid'
,
targetKey
:
'payeeName'
,
targetKey
:
'payeeName'
,
targetObj
:
''
,
targetObj
:
''
,
type
:
'input'
type
:
'input'
,
maxlength
:
50
},
},
{
{
key
:
'bankCardNumber'
,
key
:
'bankCardNumber'
,
...
@@ -442,7 +451,8 @@ export default {
...
@@ -442,7 +451,8 @@ export default {
sourceKey
:
'uuid'
,
sourceKey
:
'uuid'
,
targetKey
:
'bankCardNumber'
,
targetKey
:
'bankCardNumber'
,
targetObj
:
''
,
targetObj
:
''
,
type
:
'input'
type
:
'input'
,
maxlength
:
25
},
},
{
{
key
:
'bankOfDeposit'
,
key
:
'bankOfDeposit'
,
...
@@ -477,21 +487,33 @@ export default {
...
@@ -477,21 +487,33 @@ export default {
mounted
()
{
mounted
()
{
this
.
userInfo
=
uni
.
$storage
.
get
(
'userInfo'
)
||
{}
this
.
userInfo
=
uni
.
$storage
.
get
(
'userInfo'
)
||
{}
console
.
log
(
'userInfo'
,
this
.
userInfo
)
console
.
log
(
'userInfo'
,
this
.
userInfo
)
// 初始化表单数据
if
(
this
.
userInfo
)
{
this
.
formData
.
sellerMerchantName
=
this
.
userInfo
.
merchantName
||
''
this
.
formData
.
sellerName
=
this
.
userInfo
.
name
||
''
this
.
formData
.
sellerMerchantId
=
this
.
userInfo
.
merchantId
||
''
this
.
formData
.
sellerUserId
=
''
}
this
.
formData
.
evalPrice
=
this
.
query
.
evalPrice
this
.
formData
.
evalPrice
=
this
.
query
.
evalPrice
this
.
getEvalOrderSimpleDetail
()
console
.
log
(
'formData'
,
this
.
formData
)
console
.
log
(
'formData'
,
this
.
formData
)
},
},
methods
:
{
methods
:
{
init
(
options
)
{
init
(
options
)
{
this
.
query
=
options
this
.
query
=
options
},
},
async
getEvalOrderSimpleDetail
()
{
const
res
=
await
uni
.
$api
.
evaluationApi
.
evalOrderSimpleDetail
({
evalOrderNo
:
this
.
query
.
evalOrderNo
})
if
(
res
.
data
.
code
==
0
)
{
this
.
$set
(
this
.
formData
,
'partAName'
,
res
.
data
.
data
.
evalCarLicense
.
previousOwnerName
)
this
.
$set
(
this
.
formData
,
'payeeName'
,
res
.
data
.
data
.
evalCarLicense
.
previousOwnerName
)
this
.
$set
(
this
.
formData
,
'phone'
,
res
.
data
.
data
.
evalCarLicense
.
previousOwnerPhone
)
this
.
$set
(
this
.
formData
,
'address'
,
res
.
data
.
data
.
evalCarBase
.
carProvinceName
+
'-'
+
res
.
data
.
data
.
evalCarBase
.
carCityName
)
this
.
$set
(
this
.
formData
,
'handoverAddress'
,
res
.
data
.
data
.
evalCarBase
.
carProvinceName
+
'-'
+
res
.
data
.
data
.
evalCarBase
.
carCityName
)
// this.evalOrderSimpleDetail = res.data.data
}
else
{
uni
.
hideLoading
()
uni
.
showToast
({
title
:
res
.
data
.
msg
||
'请求失败'
,
icon
:
'none'
})
}
},
calendarChange
(
date
)
{
calendarChange
(
date
)
{
this
.
selectDate
=
date
.
year
+
'-'
+
date
.
month
+
'-'
+
date
.
date
this
.
selectDate
=
date
.
year
+
'-'
+
date
.
month
+
'-'
+
date
.
date
},
},
...
@@ -554,7 +576,7 @@ export default {
...
@@ -554,7 +576,7 @@ export default {
{
{
key
:
'finalPrice'
,
key
:
'finalPrice'
,
label
:
'尾款金额'
,
label
:
'尾款金额'
,
required
:
tru
e
,
required
:
fals
e
,
fullWidth
:
false
,
fullWidth
:
false
,
targetNameKey
:
'sellerName'
,
targetNameKey
:
'sellerName'
,
sourceNameKey
:
'staffName'
,
sourceNameKey
:
'staffName'
,
...
@@ -569,7 +591,7 @@ export default {
...
@@ -569,7 +591,7 @@ export default {
{
{
key
:
'evalPrice'
,
key
:
'evalPrice'
,
label
:
'评估价'
,
label
:
'评估价'
,
required
:
tru
e
,
required
:
fals
e
,
fullWidth
:
false
,
fullWidth
:
false
,
targetNameKey
:
'sellerName'
,
targetNameKey
:
'sellerName'
,
sourceNameKey
:
'staffName'
,
sourceNameKey
:
'staffName'
,
...
@@ -643,7 +665,7 @@ export default {
...
@@ -643,7 +665,7 @@ export default {
{
{
key
:
'fullPrice'
,
key
:
'fullPrice'
,
label
:
'全款金额'
,
label
:
'全款金额'
,
required
:
tru
e
,
required
:
fals
e
,
fullWidth
:
false
,
fullWidth
:
false
,
targetNameKey
:
'sellerName'
,
targetNameKey
:
'sellerName'
,
sourceNameKey
:
'staffName'
,
sourceNameKey
:
'staffName'
,
...
@@ -656,7 +678,7 @@ export default {
...
@@ -656,7 +678,7 @@ export default {
{
{
key
:
'evalPrice'
,
key
:
'evalPrice'
,
label
:
'评估价'
,
label
:
'评估价'
,
required
:
tru
e
,
required
:
fals
e
,
fullWidth
:
false
,
fullWidth
:
false
,
targetNameKey
:
'sellerName'
,
targetNameKey
:
'sellerName'
,
sourceNameKey
:
'staffName'
,
sourceNameKey
:
'staffName'
,
...
@@ -853,7 +875,64 @@ export default {
...
@@ -853,7 +875,64 @@ export default {
]
]
this
.
$refs
.
notice
.
open
()
this
.
$refs
.
notice
.
open
()
},
},
comfirm
()
{
nextPage
()
{
if
(
!
this
.
formData
.
paymentType
)
{
uni
.
showToast
({
title
:
'请选择合同类型'
,
icon
:
'none'
})
return
}
const
formFieldsRequired
=
this
.
formFields
.
filter
(
field
=>
field
.
required
)
for
(
const
field
of
formFieldsRequired
)
{
const
value
=
this
.
formData
[
field
.
targetKey
]
if
(
!
value
||
value
===
0
||
value
===
'0'
)
{
uni
.
showToast
({
title
:
`请填写
${
field
.
label
}
`
,
icon
:
'none'
})
return
}
}
const
formFields1Required
=
this
.
formFields1
.
filter
(
field
=>
field
.
required
)
for
(
const
field
of
formFields1Required
)
{
const
value
=
this
.
formData
[
field
.
targetKey
]
if
(
!
value
)
{
uni
.
showToast
({
title
:
`请填写
${
field
.
label
}
`
,
icon
:
'none'
})
return
}
}
const
formFields2Required
=
this
.
formFields2
.
filter
(
field
=>
field
.
required
)
for
(
const
field
of
formFields2Required
)
{
const
value
=
this
.
formData
[
field
.
targetKey
]
if
(
!
value
)
{
uni
.
showToast
({
title
:
`请填写
${
field
.
label
}
`
,
icon
:
'none'
})
return
}
}
if
(
!
this
.
formData
.
idCardFrontUrl
)
{
uni
.
showToast
({
title
:
'请上传身份证正面照片'
,
icon
:
'none'
})
return
}
if
(
!
this
.
formData
.
idCardBackUrl
)
{
uni
.
showToast
({
title
:
'请上传身份证反面照片'
,
icon
:
'none'
})
return
}
this
.
comfirmPage
=
true
},
comfirm
:
debounce
(
function
(
e
)
{
console
.
log
(
'this.formData'
,
this
.
formData
)
console
.
log
(
'this.formData'
,
this
.
formData
)
if
(
this
.
formData
.
paymentType
==
2
)
{
if
(
this
.
formData
.
paymentType
==
2
)
{
delete
this
.
formData
.
depositPrice
delete
this
.
formData
.
depositPrice
...
@@ -878,7 +957,7 @@ export default {
...
@@ -878,7 +957,7 @@ export default {
})
})
}
}
})
})
},
},
500
),
// 计算尾款:尾款 = 评估价 - 定金
// 计算尾款:尾款 = 评估价 - 定金
calculateFinalPrice
()
{
calculateFinalPrice
()
{
console
.
log
(
' 计算尾款:尾款 = 评估价 - 定金'
,
this
.
formData
)
console
.
log
(
' 计算尾款:尾款 = 评估价 - 定金'
,
this
.
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