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 2f54a668
authored
Sep 23, 2025
by
wangzhihui
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
合同管理
1 parent
40dd6da6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
324 additions
and
2 deletions
src/common/constants.js
src/router/modules/920_usedCarManagement.js
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/index.vue
src/views/usedCarManagement/operateManagement/index.vue
src/common/constants.js
View file @
2f54a66
...
@@ -1541,3 +1541,38 @@ export const evaluationStatusOptMap = {
...
@@ -1541,3 +1541,38 @@ export const evaluationStatusOptMap = {
100
:
"#8C8C8C"
,
100
:
"#8C8C8C"
,
1
:
"#EB4E4E"
1
:
"#EB4E4E"
}
}
// 合同类型
export
const
electronicContractTypeOpt
=
[
{
confId
:
"1"
,
confValue
:
"二手车买卖合同"
},
{
confId
:
"3"
,
confValue
:
"二手车车辆交接单"
},
{
confId
:
"2"
,
confValue
:
"二手车代保管协议"
},
{
confId
:
"4"
,
confValue
:
"确认交接单"
}
]
//合同流转状态
export
const
electronicContractStatusOpt
=
[
{
confId
:
"0"
,
confValue
:
"合同创建"
},
{
confId
:
"1"
,
confValue
:
"合同签署中"
},
{
confId
:
"2"
,
confValue
:
"合同签署完成"
},
{
confId
:
"7"
,
confValue
:
"合同拒签"
},
{
confId
:
"3"
,
confValue
:
"合同撤回"
}
]
//付款状态
export
const
payStatusOpt
=
[
{
confId
:
"40"
,
confValue
:
"已支付-定金"
,
color
:
"#2CCA74"
},
{
confId
:
"50"
,
confValue
:
"已支付-尾款"
,
color
:
"#2CCA74"
},
{
confId
:
"50"
,
confValue
:
"已支付-全款"
,
color
:
"#2CCA74"
},
{
confId
:
"100"
,
confValue
:
"已完成"
,
color
:
"#8C8C8C"
},
{
confId
:
"1"
,
confValue
:
"已驳回"
,
color
:
"#EB4E4E"
}
]
// 拆分支付
export
const
splitPayOpt
=
[
{
confId
:
"1"
,
confValue
:
"是"
},
{
confId
:
"0"
,
confValue
:
"否"
}
]
//企微审批状态
export
const
oaFlowStatusOpt
=
[
{
confId
:
"1"
,
confValue
:
"审批中"
,
color
:
"#FDB757"
},
{
confId
:
"2"
,
confValue
:
"已通过"
,
color
:
"#2CCA74"
},
{
confId
:
"3"
,
confValue
:
"已驳回"
,
color
:
"#EB4E4E"
},
{
confId
:
"4"
,
confValue
:
"已撤销"
,
color
:
"#8C8C8C"
}
]
src/router/modules/920_usedCarManagement.js
View file @
2f54a66
...
@@ -108,7 +108,14 @@ export const routerName = {
...
@@ -108,7 +108,14 @@ export const routerName = {
authId
:
"9200301"
,
authId
:
"9200301"
,
parentId
:
"92003"
,
parentId
:
"92003"
,
label
:
"详情"
,
label
:
"详情"
,
handle
:
"handleDetail"
handle
:
"handleDetail"
,
addRoutePath
:
[
{
authId
:
"9200303"
,
name
:
"详情"
,
parentId
:
"92002"
}
]
},
},
{
{
authId
:
"9200302"
,
authId
:
"9200302"
,
...
@@ -135,6 +142,21 @@ export const routerName = {
...
@@ -135,6 +142,21 @@ export const routerName = {
],
],
component
:
_import
(
"usedCarManagement/operateManagement/index"
)
component
:
_import
(
"usedCarManagement/operateManagement/index"
)
},
},
9200303
:
{
path
:
"/detail"
,
name
:
"detail"
,
meta
:
{
title
:
"合同详情"
,
authId
:
"9200204"
,
parentId
:
"92002"
,
cache
:
false
,
sideHidden
:
false
,
activePath
:
"/operateManagement"
},
component
:
_import
(
"usedCarManagement/operateManagement/components/contract/detail"
)
},
92004
:
{
92004
:
{
path
:
"/vehicleManagement"
,
path
:
"/vehicleManagement"
,
name
:
"vehicleManagement"
,
name
:
"vehicleManagement"
,
...
@@ -203,5 +225,5 @@ export const routerName = {
...
@@ -203,5 +225,5 @@ export const routerName = {
},
},
auth
:
[],
auth
:
[],
component
:
_import
(
"usedCarManagement/vehicleManagement/detail"
)
component
:
_import
(
"usedCarManagement/vehicleManagement/detail"
)
}
,
}
}
}
src/views/usedCarManagement/evaluationManagement/index.vue
View file @
2f54a66
<!--
* @Author: 'wangzhihui' '1733904062@qq.com'
* @Date: 2025-09-18 14:34:53
* @LastEditors: 'wangzhihui' '1733904062@qq.com'
* @LastEditTime: 2025-09-22 21:12:42
* @FilePath: \dj-car-life-system\src\views\usedCarManagement\evaluationManagement\index.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<!-- 评估管理 -->
<!-- 评估管理 -->
<
template
>
<
template
>
<d2-container
class=
"evaluation-wrap"
>
<d2-container
class=
"evaluation-wrap"
>
...
...
src/views/usedCarManagement/operateManagement/components/contract/detail.vue
0 → 100644
View file @
2f54a66
<!-- 合同详情 -->
src/views/usedCarManagement/operateManagement/components/contract/index.vue
0 → 100644
View file @
2f54a66
This diff is collapsed.
Click to expand it.
src/views/usedCarManagement/operateManagement/components/inputRange.vue
0 → 100644
View file @
2f54a66
<
template
>
<div
class=
"range"
>
<div
:class=
"[
' el-date-editor',
'el-range-editor',
'el-input__inner',
'el-date-editor--daterange',
'el-range-editor--small',
pickerVisible ? 'is-active' : ''
]"
@
click=
"handleRangeClick"
@
mouseleave=
"showClose = false"
@
mousemove=
"handleMove"
ref=
"reference"
>
<template
v-if=
"infinity"
>
<el-input-number
class=
"el-range-input hide-btn"
:placeholder=
"startPlaceholder"
v-model=
"userInput[0]"
@
blur=
"handleBlur(0)"
></el-input-number>
<span
class=
"el-range-separator"
>
至
</span>
<el-input-number
class=
"el-range-input hide-btn"
:placeholder=
"endPlaceholder"
v-model=
"userInput[1]"
@
blur=
"handleBlur(1)"
></el-input-number>
</
template
>
<
template
v-else
>
<el-input
v-model=
"userInput[0]"
:placeholder=
"startPlaceholder"
@
blur=
"handleBlur(0)"
@
input=
"handleStartInput"
class=
"el-range-input"
></el-input>
<span
class=
"el-range-separator"
>
至
</span>
<el-input
v-model=
"userInput[1]"
:placeholder=
"endPlaceholder"
@
input=
"handleEndInput"
@
focus=
"handleFocus"
@
blur=
"handleBlur(1)"
class=
"el-range-input"
></el-input>
</
template
>
<i
v-show=
"showClose"
@
click=
"handleClickIcon"
class=
"el-icon-circle-close"
></i>
</div>
<div
class=
"errorTips"
v-if=
"tipsShow"
>
最大金额需大于最小金额
</div>
</div>
</template>
<
script
>
import
{
limitPrice
}
from
'@/common/format'
export
default
{
data
()
{
return
{
pickerVisible
:
false
,
showClose
:
false
,
userInput
:
this
.
displayValue
,
oldVal
:
{
startInput
:
''
,
endInput
:
''
},
tipsShow
:
false
}
},
props
:
{
displayValue
:
Array
,
placeholder
:
String
,
startPlaceholder
:
String
,
endPlaceholder
:
String
,
infinity
:
Boolean
,
regRuleStr
:
{
type
:
String
,
default
:
'priceReg'
}
},
watch
:
{
displayValue
(
val
)
{
if
(
val
)
{
this
.
userInput
=
val
if
(
val
.
length
==
0
)
{
this
.
tipsShow
=
false
}
}
}
},
methods
:
{
handleStartInput
(
event
)
{
this
.
userInput
[
0
]
=
limitPrice
(
event
,
this
.
oldVal
.
startInput
,
20
,
2
,
''
,
''
,
this
.
regRuleStr
)
this
.
oldVal
.
startInput
=
this
.
userInput
[
0
]
},
handleEndInput
(
event
)
{
this
.
userInput
[
1
]
=
limitPrice
(
event
,
this
.
oldVal
.
endInput
,
20
,
2
,
''
,
''
,
this
.
regRuleStr
)
this
.
oldVal
.
endInput
=
this
.
userInput
[
1
]
},
handleClickIcon
(
event
)
{
this
.
userInput
[
0
]
=
null
this
.
userInput
[
1
]
=
null
this
.
tipsShow
=
false
},
valueIsEmpty
()
{
const
val
=
this
.
userInput
if
(
Array
.
isArray
(
val
))
{
for
(
let
i
=
0
,
len
=
val
.
length
;
i
<
len
;
i
++
)
{
if
(
val
[
i
])
{
return
false
}
}
}
return
true
},
handleRangeClick
()
{
this
.
pickerVisible
=
true
},
handleMove
()
{
if
(
this
.
valueIsEmpty
())
{
this
.
showClose
=
false
}
else
{
this
.
showClose
=
true
}
},
handleFocus
()
{
if
(
!
this
.
pickerVisible
)
{
this
.
pickerVisible
=
true
this
.
$emit
(
"focus"
,
this
)
}
},
handleBlur
(
index
)
{
this
.
pickerVisible
=
false
this
.
contrastValue
()
},
contrastValue
()
{
const
val
=
this
.
userInput
if
(
Array
.
isArray
(
val
))
{
if
(
val
[
0
]
==
'-'
)
{
val
[
0
]
=
null
}
if
(
val
[
1
]
==
'-'
)
{
val
[
1
]
=
null
}
if
(
val
[
0
]
&&
val
[
1
])
{
if
(
+
val
[
0
]
>
+
val
[
1
])
{
val
[
1
]
=
null
this
.
tipsShow
=
true
}
else
{
this
.
tipsShow
=
false
}
}
}
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
.range
{
.el-range-input
{
::v-deep
{
input
{
border
:
0
;
margin-top
:
-2px
;
height
:
28px
;
}
}
}
.el-icon-circle-close
{
color
:
#dcdfe6
;
margin-left
:
10px
;
}
.hide-btn
{
::v-deep
{
span
{
display
:
none
;
}
input
{
padding
:
0
;
}
}
}
.errorTips
{
color
:
red
;
//
text-align
:
center
;
font-size
:
12px
;
}
}
</
style
>
src/views/usedCarManagement/operateManagement/components/sunshine/index.vue
0 → 100644
View file @
2f54a66
<!-- 阳光激励 -->
\ No newline at end of file
\ No newline at end of file
src/views/usedCarManagement/operateManagement/index.vue
View file @
2f54a66
<!-- 运营管理 -->
<!-- 运营管理 -->
<
template
>
<div
class=
"list-wrap"
>
<div
class=
"header"
slot=
"header"
>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
>
<el-tab-pane
v-for=
"(item, index) in tabPaneList"
:label=
"item.label"
:name=
"item.name"
:key=
"index"
>
</el-tab-pane>
</el-tabs>
<components
:is=
"tabName"
:scene-type=
"activeName"
></components>
</div>
</div>
</
template
>
<
script
>
import
contract
from
"./components/contract/index.vue"
import
sunshine
from
"./components/sunshine/index.vue"
export
default
{
components
:
{
contract
,
sunshine
},
data
()
{
return
{
activeName
:
"0"
,
tabPaneList
:
[
{
label
:
"合同管理"
,
name
:
"0"
},
{
label
:
"阳光激励"
,
name
:
"1"
}
],
tabName
:
"contract"
}
},
mounted
()
{
if
(
this
.
$route
.
params
.
tabPane
)
{
this
.
activeName
=
this
.
$route
.
params
.
tabPane
this
.
tabName
=
this
.
$route
.
params
.
tabLabel
}
},
watch
:
{},
methods
:
{
handleClick
()
{
const
arr
=
{
0
:
"contract"
,
1
:
"sunshine"
}
this
.
tabName
=
arr
[
+
this
.
activeName
]
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
.list-wrap
{
padding
:
0
26px
0
20px
;
.header
{
::v-deep
.el-tabs__header
{
margin
:
0
;
padding
:
0
20px
;
}
}
}
</
style
>
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