Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 0471cea9
authored
Sep 29, 2025
by
wangzhihui
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
优化
1 parent
b1e75db0
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
109 additions
and
59 deletions
src/common/constants.js
src/views/usedCarManagement/evaluationManagement/components/assess.vue
src/views/usedCarManagement/evaluationManagement/components/dynamics.vue
src/views/usedCarManagement/evaluationManagement/evalOrderDetail.vue
src/views/usedCarManagement/evaluationManagement/evaluate.vue
src/views/usedCarManagement/evaluationManagement/index.vue
src/views/usedCarManagement/operateManagement/components/contract/detail.vue
src/views/usedCarManagement/operateManagement/components/contract/index.vue
src/views/usedCarManagement/operateManagement/components/inputRange.vue
src/views/usedCarManagement/operateManagement/components/sunshine/components/add.vue
src/views/usedCarManagement/operateManagement/components/sunshine/index.vue
src/common/constants.js
View file @
0471cea
...
@@ -1555,17 +1555,14 @@ export const electronicContractTypeOpt = [
...
@@ -1555,17 +1555,14 @@ export const electronicContractTypeOpt = [
]
]
//合同流转状态
//合同流转状态
export
const
electronicContractStatusOpt
=
[
export
const
electronicContractStatusOpt
=
[
{
confId
:
"0"
,
confValue
:
"合同创建"
},
{
confId
:
"1"
,
confValue
:
"合同签署中"
},
{
confId
:
"1"
,
confValue
:
"合同签署中"
},
{
confId
:
"2"
,
confValue
:
"合同签署完成"
},
{
confId
:
"2"
,
confValue
:
"合同签署完成"
}
{
confId
:
"7"
,
confValue
:
"合同拒签"
},
{
confId
:
"3"
,
confValue
:
"合同撤回"
}
]
]
//付款状态
//付款状态
export
const
payStatusOpt
=
[
export
const
payStatusOpt
=
[
{
confId
:
"1"
,
confValue
:
"定金
支付
"
},
{
confId
:
"1"
,
confValue
:
"定金"
},
{
confId
:
"2"
,
confValue
:
"尾款
支付
"
},
{
confId
:
"2"
,
confValue
:
"尾款"
},
{
confId
:
"3"
,
confValue
:
"全款
支付
"
}
{
confId
:
"3"
,
confValue
:
"全款"
}
]
]
// 拆分支付
// 拆分支付
export
const
splitPayOpt
=
[
export
const
splitPayOpt
=
[
...
@@ -1582,6 +1579,6 @@ export const oaFlowStatusOpt = [
...
@@ -1582,6 +1579,6 @@ export const oaFlowStatusOpt = [
//支付状态
//支付状态
export
const
oaFlowPaymentStatusOpt
=
[
export
const
oaFlowPaymentStatusOpt
=
[
{
confId
:
"1"
,
confValue
:
"支付成功"
,
color
:
"#2CCA74"
},
{
confId
:
"1"
,
confValue
:
"支付成功"
,
color
:
"#2CCA74"
},
{
confId
:
"
3"
,
confValue
:
"支付中"
,
color
:
"#FDB757
"
},
{
confId
:
"
2"
,
confValue
:
"支付失败"
,
color
:
"#EB4E4E
"
},
{
confId
:
"
2"
,
confValue
:
"支付失败"
,
color
:
"#EB4E4E
"
}
{
confId
:
"
3"
,
confValue
:
"支付中"
,
color
:
"#FDB757
"
}
]
]
src/views/usedCarManagement/evaluationManagement/components/assess.vue
View file @
0471cea
...
@@ -102,8 +102,8 @@ export default {
...
@@ -102,8 +102,8 @@ export default {
callback
(
new
Error
(
"请输入有效数字"
))
callback
(
new
Error
(
"请输入有效数字"
))
}
else
if
(
numValue
<=
0
)
{
}
else
if
(
numValue
<=
0
)
{
callback
(
new
Error
(
"评估价必须大于0"
))
callback
(
new
Error
(
"评估价必须大于0"
))
}
else
if
(
numValue
>
9999999
9
.99
)
{
}
else
if
(
numValue
>
9999999.99
)
{
callback
(
new
Error
(
"评估价必须小于9999999
9
.99"
))
callback
(
new
Error
(
"评估价必须小于9999999.99"
))
}
else
{
}
else
{
callback
()
callback
()
}
}
...
@@ -132,10 +132,20 @@ export default {
...
@@ -132,10 +132,20 @@ export default {
},
},
methods
:
{
methods
:
{
async
confirm
()
{
async
confirm
()
{
const
isValid
=
await
this
.
$refs
.
editFormRef
.
$refs
[
try
{
this
.
editChildRef
const
formRef
=
this
.
$refs
.
editFormRef
].
validate
()
if
(
!
formRef
||
!
formRef
.
$refs
||
!
formRef
.
$refs
[
this
.
editChildRef
])
{
console
.
error
(
"Form reference not found"
)
return
false
}
const
isValid
=
await
formRef
.
$refs
[
this
.
editChildRef
].
validate
()
console
.
log
(
isValid
,
"isValid"
)
return
isValid
return
isValid
}
catch
(
error
)
{
console
.
error
(
"Validation failed:"
,
error
)
return
false
}
}
}
}
}
}
}
...
...
src/views/usedCarManagement/evaluationManagement/components/dynamics.vue
View file @
0471cea
...
@@ -11,10 +11,13 @@
...
@@ -11,10 +11,13 @@
>
>
<div
class=
"time-box"
>
<div
class=
"time-box"
>
<div
class=
"createdBy"
>
<div
class=
"createdBy"
>
<div>
{{
item
.
opType
==
20
?
"驻店人员"
:
"总部定价师"
}}
:
<span>
{{
{{
item
.
opType
==
20
?
"驻店人员"
:
"总部定价师"
}}
:
<span>
{{
item
.
createdBy
item
.
createdBy
}}
</span>
}}
</span>
</div>
</div>
<div
class=
"time"
>
{{
item
.
quoteTime
}}
</div>
</div>
<!-- 评估师驳回 -->
<!-- 评估师驳回 -->
<template
v-if=
"item.opType == 30"
>
<template
v-if=
"item.opType == 30"
>
<div
class=
"reject-box"
>
<div
class=
"reject-box"
>
...
@@ -66,23 +69,33 @@ export default {
...
@@ -66,23 +69,33 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.dynamics-wrapper
{
.dynamics-wrapper
{
background
:
#fff
;
background
:
#fff
;
margin
:
0
20px
;
margin
:
0
20px
20px
;
.title
{
.title
{
color
:
#333333
;
color
:
#333333
;
font-size
:
16px
;
font-size
:
16px
;
padding
:
13.5px
20px
;
padding
:
13.5px
20px
;
line-height
:
23px
;
line-height
:
23px
;
border-bottom
:
1px
solid
#e5e5e5
;
border-bottom
:
1px
solid
#e5e5e5
;
font-weight
:
600
;
}
}
.timeline-box
{
.timeline-box
{
padding
:
18px
20px
;
padding
:
18px
20px
;
.time-box
{
.time-box
{
.createdBy
{
.createdBy
{
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
max-width
:
896px
;
margin-bottom
:
4px
;
margin-bottom
:
4px
;
color
:
#666666
;
color
:
#666666
;
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
400
;
font-weight
:
400
;
line-height
:
20px
;
line-height
:
20px
;
.time
{
color
:
#999999
;
font-size
:
12px
;
font-weight
:
400
;
}
span
{
span
{
color
:
#333333
;
color
:
#333333
;
font-size
:
14px
;
font-size
:
14px
;
...
@@ -103,6 +116,7 @@ export default {
...
@@ -103,6 +116,7 @@ export default {
.reason
{
.reason
{
color
:
#333333
;
color
:
#333333
;
font-weight
:
400
;
font-weight
:
400
;
max-width
:
832px
;
}
}
}
}
}
}
...
...
src/views/usedCarManagement/evaluationManagement/evalOrderDetail.vue
View file @
0471cea
...
@@ -33,7 +33,7 @@ export default {
...
@@ -33,7 +33,7 @@ export default {
left
:
50%
;
left
:
50%
;
text-align
:
center
;
text-align
:
center
;
margin-left
:
-28px
;
margin-left
:
-28px
;
padding
:
20px
;
padding
:
0
20px
20px
;
cursor
:
pointer
;
cursor
:
pointer
;
.cancel-btn
{
.cancel-btn
{
color
:
#666666
;
color
:
#666666
;
...
...
src/views/usedCarManagement/evaluationManagement/evaluate.vue
View file @
0471cea
...
@@ -49,8 +49,8 @@ export default {
...
@@ -49,8 +49,8 @@ export default {
}
}
this
.
submitData
(
params
)
this
.
submitData
(
params
)
},
},
handleSave
()
{
async
handleSave
()
{
let
isValid
=
this
.
$refs
.
assessRef
.
confirm
()
let
isValid
=
await
this
.
$refs
.
assessRef
.
confirm
()
if
(
isValid
)
{
if
(
isValid
)
{
let
params
=
{
let
params
=
{
opType
:
10
,
//10评估师报价,20客户报价,30评估师驳回
opType
:
10
,
//10评估师报价,20客户报价,30评估师驳回
...
@@ -87,7 +87,7 @@ export default {
...
@@ -87,7 +87,7 @@ export default {
left
:
50%
;
left
:
50%
;
text-align
:
center
;
text-align
:
center
;
margin-left
:
-28px
;
margin-left
:
-28px
;
padding
:
20px
;
padding
:
0
20px
20px
;
cursor
:
pointer
;
cursor
:
pointer
;
display
:
flex
;
display
:
flex
;
.save-btn
{
.save-btn
{
...
...
src/views/usedCarManagement/evaluationManagement/index.vue
View file @
0471cea
...
@@ -280,7 +280,7 @@ export default {
...
@@ -280,7 +280,7 @@ export default {
name
:
"registrationDate"
,
name
:
"registrationDate"
,
type
:
"datePicker"
,
type
:
"datePicker"
,
isClear
:
true
,
isClear
:
true
,
pickerOptions
:
"
yesterdayPicker
"
pickerOptions
:
"
rangePickerOptions
"
},
},
{
{
label
:
"上牌城市"
,
label
:
"上牌城市"
,
...
@@ -390,7 +390,7 @@ export default {
...
@@ -390,7 +390,7 @@ export default {
type
:
"datePicker"
,
type
:
"datePicker"
,
dateType
:
"datetimerange"
,
dateType
:
"datetimerange"
,
isClear
:
true
,
isClear
:
true
,
pickerOptions
:
"
yesterdayPicker
"
pickerOptions
:
"
rangePickerOptions
"
},
},
{
{
label
:
"评估单编号"
,
label
:
"评估单编号"
,
...
...
src/views/usedCarManagement/operateManagement/components/contract/detail.vue
View file @
0471cea
...
@@ -443,7 +443,7 @@ export default {
...
@@ -443,7 +443,7 @@ export default {
]
]
},
},
{
{
operateTitle
:
"操作
日志
"
,
operateTitle
:
"操作
记录
"
,
tableColumns
:
[
tableColumns
:
[
{
{
title
:
"操作人"
,
title
:
"操作人"
,
...
@@ -540,7 +540,7 @@ export default {
...
@@ -540,7 +540,7 @@ export default {
left
:
50%
;
left
:
50%
;
text-align
:
center
;
text-align
:
center
;
margin-left
:
-28px
;
margin-left
:
-28px
;
padding
:
20px
;
padding
:
0
20px
20px
;
cursor
:
pointer
;
cursor
:
pointer
;
display
:
flex
;
display
:
flex
;
.save-btn
{
.save-btn
{
...
@@ -581,9 +581,9 @@ export default {
...
@@ -581,9 +581,9 @@ export default {
}
}
}
}
.operation-wrapper
{
.operation-wrapper
{
background
:
#f
afafa
;
background
:
#f
ff
;
padding
:
0
20px
;
padding
:
0
20px
;
margin-top
:
-
20px
;
margin-top
:
20px
;
.operateTitle
{
.operateTitle
{
color
:
#333333
;
color
:
#333333
;
font-size
:
16px
;
font-size
:
16px
;
...
...
src/views/usedCarManagement/operateManagement/components/contract/index.vue
View file @
0471cea
...
@@ -275,7 +275,9 @@ export default {
...
@@ -275,7 +275,9 @@ export default {
previousOwnerName
:
""
,
previousOwnerName
:
""
,
previousOwnerPhone
:
""
,
previousOwnerPhone
:
""
,
oaFlowStatus
:
""
,
oaFlowStatus
:
""
,
splitPay
:
""
splitPay
:
""
,
oaFlowPaymentStatus
:
""
,
paymentType
:
""
},
},
showFormData
:
[
showFormData
:
[
{
{
...
@@ -305,7 +307,7 @@ export default {
...
@@ -305,7 +307,7 @@ export default {
type
:
"datePicker"
,
type
:
"datePicker"
,
dateType
:
"datetimerange"
,
dateType
:
"datetimerange"
,
isClear
:
true
,
isClear
:
true
,
pickerOptions
:
"
yesterdayPicker
"
pickerOptions
:
"
rangePickerOptions
"
},
},
{
{
label
:
"合同类型"
,
label
:
"合同类型"
,
...
@@ -370,7 +372,7 @@ export default {
...
@@ -370,7 +372,7 @@ export default {
maxlength
:
20
maxlength
:
20
},
},
{
{
label
:
"车主
电话
"
,
label
:
"车主
联系方式
"
,
name
:
"previousOwnerPhone"
,
name
:
"previousOwnerPhone"
,
type
:
"input"
,
type
:
"input"
,
isClear
:
true
,
isClear
:
true
,
...
...
src/views/usedCarManagement/operateManagement/components/inputRange.vue
View file @
0471cea
<
template
>
<
template
>
<div
class=
"range"
>
<div
class=
"range"
>
<div
:class=
"[
<div
:class=
"[
' el-date-editor',
' el-date-editor',
'el-range-editor',
'el-range-editor',
'el-input__inner',
'el-input__inner',
...
@@ -11,43 +12,52 @@
...
@@ -11,43 +12,52 @@
@
click=
"handleRangeClick"
@
click=
"handleRangeClick"
@
mouseleave=
"showClose = false"
@
mouseleave=
"showClose = false"
@
mousemove=
"handleMove"
@
mousemove=
"handleMove"
ref=
"reference"
>
ref=
"reference"
>
<template
v-if=
"infinity"
>
<template
v-if=
"infinity"
>
<el-input-number
class=
"el-range-input hide-btn"
<el-input-number
class=
"el-range-input hide-btn"
:placeholder=
"startPlaceholder"
:placeholder=
"startPlaceholder"
v-model=
"userInput[0]"
v-model=
"userInput[0]"
@
blur=
"handleBlur(0)"
></el-input-number>
@
blur=
"handleBlur(0)"
></el-input-number>
<span
class=
"el-range-separator"
>
至
</span>
<span
class=
"el-range-separator"
>
至
</span>
<el-input-number
class=
"el-range-input hide-btn"
<el-input-number
class=
"el-range-input hide-btn"
:placeholder=
"endPlaceholder"
:placeholder=
"endPlaceholder"
v-model=
"userInput[1]"
v-model=
"userInput[1]"
@
blur=
"handleBlur(1)"
></el-input-number>
@
blur=
"handleBlur(1)"
></el-input-number>
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
<el-input
v-model=
"userInput[0]"
<el-input
v-model=
"userInput[0]"
:placeholder=
"startPlaceholder"
:placeholder=
"startPlaceholder"
@
blur=
"handleBlur(0)"
@
blur=
"handleBlur(0)"
@
input=
"handleStartInput"
@
input=
"handleStartInput"
class=
"el-range-input"
></el-input>
class=
"el-range-input"
></el-input>
<span
class=
"el-range-separator"
>
至
</span>
<span
class=
"el-range-separator"
>
至
</span>
<el-input
v-model=
"userInput[1]"
<el-input
v-model=
"userInput[1]"
:placeholder=
"endPlaceholder"
:placeholder=
"endPlaceholder"
@
input=
"handleEndInput"
@
input=
"handleEndInput"
@
focus=
"handleFocus"
@
focus=
"handleFocus"
@
blur=
"handleBlur(1)"
@
blur=
"handleBlur(1)"
class=
"el-range-input"
></el-input>
class=
"el-range-input"
></el-input>
</
template
>
</
template
>
<i
v-show=
"showClose"
<i
v-show=
"showClose"
@
click=
"handleClickIcon"
@
click=
"handleClickIcon"
class=
"el-icon-circle-close"
></i>
class=
"el-icon-circle-close"
></i>
</div>
</div>
<div
class=
"errorTips"
<div
class=
"errorTips"
v-if=
"tipsShow"
>
最大金额需大于最小金额
</div>
v-if=
"tipsShow"
>
最大金额需大于最小金额
</div>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
{
limitPrice
}
from
'@/common/format'
import
{
limitPrice
}
from
"@/common/format"
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
...
@@ -55,8 +65,8 @@ export default {
...
@@ -55,8 +65,8 @@ export default {
showClose
:
false
,
showClose
:
false
,
userInput
:
this
.
displayValue
,
userInput
:
this
.
displayValue
,
oldVal
:
{
oldVal
:
{
startInput
:
''
,
startInput
:
""
,
endInput
:
''
endInput
:
""
},
},
tipsShow
:
false
tipsShow
:
false
}
}
...
@@ -70,7 +80,7 @@ export default {
...
@@ -70,7 +80,7 @@ export default {
infinity
:
Boolean
,
infinity
:
Boolean
,
regRuleStr
:
{
regRuleStr
:
{
type
:
String
,
type
:
String
,
default
:
'priceReg'
default
:
"priceReg"
}
}
},
},
watch
:
{
watch
:
{
...
@@ -85,12 +95,28 @@ export default {
...
@@ -85,12 +95,28 @@ export default {
},
},
methods
:
{
methods
:
{
handleStartInput
(
event
)
{
handleStartInput
(
event
)
{
this
.
userInput
[
0
]
=
limitPrice
(
event
,
this
.
oldVal
.
startInput
,
20
,
2
,
''
,
''
,
this
.
regRuleStr
)
this
.
userInput
[
0
]
=
limitPrice
(
event
,
this
.
oldVal
.
startInput
,
15
,
2
,
""
,
""
,
this
.
regRuleStr
)
this
.
oldVal
.
startInput
=
this
.
userInput
[
0
]
this
.
oldVal
.
startInput
=
this
.
userInput
[
0
]
},
},
handleEndInput
(
event
)
{
handleEndInput
(
event
)
{
this
.
userInput
[
1
]
=
limitPrice
(
event
,
this
.
oldVal
.
endInput
,
20
,
2
,
''
,
''
,
this
.
regRuleStr
)
this
.
userInput
[
1
]
=
limitPrice
(
event
,
this
.
oldVal
.
endInput
,
15
,
2
,
""
,
""
,
this
.
regRuleStr
)
this
.
oldVal
.
endInput
=
this
.
userInput
[
1
]
this
.
oldVal
.
endInput
=
this
.
userInput
[
1
]
},
},
handleClickIcon
(
event
)
{
handleClickIcon
(
event
)
{
...
@@ -132,10 +158,10 @@ export default {
...
@@ -132,10 +158,10 @@ export default {
contrastValue
()
{
contrastValue
()
{
const
val
=
this
.
userInput
const
val
=
this
.
userInput
if
(
Array
.
isArray
(
val
))
{
if
(
Array
.
isArray
(
val
))
{
if
(
val
[
0
]
==
'-'
)
{
if
(
val
[
0
]
==
"-"
)
{
val
[
0
]
=
null
val
[
0
]
=
null
}
}
if
(
val
[
1
]
==
'-'
)
{
if
(
val
[
1
]
==
"-"
)
{
val
[
1
]
=
null
val
[
1
]
=
null
}
}
if
(
val
[
0
]
&&
val
[
1
])
{
if
(
val
[
0
]
&&
val
[
1
])
{
...
...
src/views/usedCarManagement/operateManagement/components/sunshine/components/add.vue
View file @
0471cea
...
@@ -99,8 +99,8 @@ export default {
...
@@ -99,8 +99,8 @@ export default {
callback
(
new
Error
(
"请输入有效数字"
))
callback
(
new
Error
(
"请输入有效数字"
))
}
else
if
(
numValue
<=
0
)
{
}
else
if
(
numValue
<=
0
)
{
callback
(
new
Error
(
"激励价格必须大于0"
))
callback
(
new
Error
(
"激励价格必须大于0"
))
}
else
if
(
numValue
>
9999999
9
.99
)
{
}
else
if
(
numValue
>
9999999.99
)
{
callback
(
new
Error
(
"激励价格必须小于9999999
9
.99"
))
callback
(
new
Error
(
"激励价格必须小于9999999.99"
))
}
else
{
}
else
{
callback
()
callback
()
}
}
...
...
src/views/usedCarManagement/operateManagement/components/sunshine/index.vue
View file @
0471cea
...
@@ -163,18 +163,19 @@ export default {
...
@@ -163,18 +163,19 @@ export default {
optionLabel
:
"confValue"
,
optionLabel
:
"confValue"
,
optionsName
:
"vehicleCategoryOpt"
optionsName
:
"vehicleCategoryOpt"
},
},
{
label
:
"激励价格"
,
name
:
"sunlightInspiresPrice"
,
addHtml
:
"sunlightInspiresPriceHtml"
},
{
{
label
:
"录入时间"
,
label
:
"录入时间"
,
name
:
"createdDate"
,
name
:
"createdDate"
,
type
:
"datePicker"
,
type
:
"datePicker"
,
dateType
:
"datetimerange"
,
dateType
:
"datetimerange"
,
isClear
:
true
,
isClear
:
true
,
pickerOptions
:
"yesterdayPicker"
pickerOptions
:
"rangePickerOptions"
},
{
label
:
"激励价格"
,
name
:
"sunlightInspiresPrice"
,
addHtml
:
"sunlightInspiresPriceHtml"
}
}
],
],
baseData
:
{
baseData
:
{
...
...
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