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 a7414d67
authored
Jan 08, 2026
by
cen
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat: 更新签署人类型和优化合同详情组件
1 parent
1e15453c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
61 deletions
src/common/constants.js
src/views/usedCarManagement/operateManagement/components/contract/detail.vue
src/views/usedCarManagement/reportManagement/index.vue
src/common/constants.js
View file @
a7414d6
...
@@ -1814,6 +1814,7 @@ export const paymentMethodOpt = [
...
@@ -1814,6 +1814,7 @@ export const paymentMethodOpt = [
{
confId
:
"2"
,
confValue
:
"冲账"
}
{
confId
:
"2"
,
confValue
:
"冲账"
}
]
]
export
const
signerTypeOpt
=
[
export
const
signerTypeOpt
=
[
{
confId
:
0
,
confValue
:
"个人-企业"
},
{
confId
:
0
,
confValue
:
"个人"
},
{
confId
:
1
,
confValue
:
"企业-企业"
}
{
confId
:
1
,
confValue
:
"企业委托"
},
{
confId
:
2
,
confValue
:
"企业"
}
]
]
src/views/usedCarManagement/operateManagement/components/contract/detail.vue
View file @
a7414d6
...
@@ -9,31 +9,27 @@
...
@@ -9,31 +9,27 @@
<div
class=
"detail-content"
>
<div
class=
"detail-content"
>
<div
<div
class=
"form_div"
class=
"form_div"
v-if=
"item.infoData && item.infoData.length"
v-if=
"item.infoData && item.infoData.length"
>
>
<el-form
<el-form
:ref=
"item.childRef"
:ref=
"item.childRef"
class=
"edit-sub-block"
class=
"edit-sub-block"
label-width=
"175px"
label-width=
"175px"
:inline=
"true"
:inline=
"true"
:model=
"detailInfo"
:model=
"detailInfo"
:rules=
"rules"
:rules=
"rules"
>
>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<template
v-for=
"(item, key) in item.infoData"
>
<template
v-for=
"(item, key) in item.infoData"
>
<el-col
:span=
"item.col ? item.col : 12"
:key=
"key"
>
<el-col
:span=
"item.col ? item.col : 12"
:key=
"key"
>
<el-form-item
<el-form-item
:label=
"item.title + ':'"
:label=
"item.title + ':'"
:prop=
"item.key"
:prop=
"item.key"
>
>
<template
v-if=
"item.type == 'imgList'"
>
<template
v-if=
"item.type == 'imgList'"
>
<div
<div
class=
"photo-box"
class=
"photo-box"
v-if=
"
v-if=
"
detailInfo[item.key] &&
detailInfo[item.key] &&
detailInfo[item.key].length
detailInfo[item.key].length
"
"
>
>
<glsx-preview
<glsx-preview
:key=
"preIndex"
:key=
"preIndex"
:image-url-arr=
"
:image-url-arr=
"
...
@@ -45,8 +41,7 @@
...
@@ -45,8 +41,7 @@
...picOptions,
...picOptions,
type: item.type
type: item.type
}"
}"
limit="1"
limit="1">
</glsx-preview>
>
</glsx-preview>
</div>
</div>
<template
v-else
>
-
</
template
>
<template
v-else
>
-
</
template
>
</template>
</template>
...
@@ -57,8 +52,7 @@
...
@@ -57,8 +52,7 @@
:placeholder=
"`请输入$
{item.label}`"
:placeholder=
"`请输入$
{item.label}`"
:maxlength="item.maxLength || ''"
:maxlength="item.maxLength || ''"
size="small"
size="small"
class="edit-form-item"
class="edit-form-item">
</el-input>
>
</el-input>
</
template
>
</
template
>
<
template
v-else-if=
"item.type == 'date'"
>
<
template
v-else-if=
"item.type == 'date'"
>
<el-date-picker
<el-date-picker
...
@@ -67,8 +61,7 @@
...
@@ -67,8 +61,7 @@
:placeholder=
"item.label"
:placeholder=
"item.label"
size=
"small"
size=
"small"
class=
"edit-form-item"
class=
"edit-form-item"
:picker-options=
"item.pickerOptions"
:picker-options=
"item.pickerOptions"
>
>
</el-date-picker>
</el-date-picker>
</
template
>
</
template
>
<
template
v-else-if=
"item.type == 'textarea'"
>
<
template
v-else-if=
"item.type == 'textarea'"
>
...
@@ -79,8 +72,7 @@
...
@@ -79,8 +72,7 @@
v-model=
"detailInfo[item.key]"
v-model=
"detailInfo[item.key]"
:maxlength=
"item.maxLength"
:maxlength=
"item.maxLength"
:show-word-limit=
"item.showLimit || false"
:show-word-limit=
"item.showLimit || false"
class=
"edit-form-item"
class=
"edit-form-item"
>
>
</el-input>
</el-input>
</
template
>
</
template
>
<
template
v-else-if=
"item.type == 'select'"
>
<
template
v-else-if=
"item.type == 'select'"
>
...
@@ -88,14 +80,12 @@
...
@@ -88,14 +80,12 @@
v-model=
"detailInfo[item.key]"
v-model=
"detailInfo[item.key]"
:placeholder=
"`请选择$
{item.label}`"
:placeholder=
"`请选择$
{item.label}`"
size="small"
size="small"
class="edit-form-item"
class="edit-form-item">
>
<el-option
<el-option
v-for=
"item in item.options"
v-for=
"item in item.options"
:key=
"item.value"
:key=
"item.value"
:label=
"item.label"
:label=
"item.label"
:value=
"item.value"
:value=
"item.value"
>
>
</el-option>
</el-option>
</el-select>
</el-select>
</
template
>
</
template
>
...
@@ -109,8 +99,7 @@
...
@@ -109,8 +99,7 @@
:style=
"
{
:style=
"
{
background: item.className(detailInfo)
background: item.className(detailInfo)
}"
}"
class="dot"
class="dot">
</div>
>
</div>
<div
class=
"flex"
>
<div
class=
"flex"
>
{{
{{
item
.
formatter
item
.
formatter
...
@@ -127,8 +116,7 @@
...
@@ -127,8 +116,7 @@
</div>
</div>
</div>
</div>
</template>
</template>
</el-form-item></el-col
</el-form-item></el-col>
>
</template>
</template>
</el-row>
</el-row>
</el-form>
</el-form>
...
@@ -139,8 +127,7 @@
...
@@ -139,8 +127,7 @@
:has-num=
"item.hasNum"
:has-num=
"item.hasNum"
:table-params=
"item.tableParams"
:table-params=
"item.tableParams"
:table-data=
"detailInfo.oaAudits ? detailInfo.oaAudits : []"
:table-data=
"detailInfo.oaAudits ? detailInfo.oaAudits : []"
:has-page=
"false"
:has-page=
"false"
>
>
<div
slot=
"oaFlowStatusHtml"
slot-scope=
"scope"
>
<div
slot=
"oaFlowStatusHtml"
slot-scope=
"scope"
>
<div
class=
"online-status"
>
<div
class=
"online-status"
>
<span
<span
...
@@ -151,8 +138,7 @@
...
@@ -151,8 +138,7 @@
(item) => item.confId == scope.scope.oaFlowStatus
(item) => item.confId == scope.scope.oaFlowStatus
).color
).color
: ''
: ''
}"
}"
></span>
></span>
{{
{{
scope.scope.oaFlowStatus
scope.scope.oaFlowStatus
? baseData.oaFlowStatusOpt.find(
? baseData.oaFlowStatusOpt.find(
...
@@ -170,24 +156,19 @@
...
@@ -170,24 +156,19 @@
label-width=
"175px"
label-width=
"175px"
:inline=
"true"
:inline=
"true"
:model=
"detailInfo"
:model=
"detailInfo"
:rules=
"rules"
:rules=
"rules"
>
>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<
template
<
template
v-for=
"(customItem, customIndex) in detailInfo[item.key]"
v-for=
"(customItem, customIndex) in detailInfo[item.key]"
>
>
<el-col
<el-col
:span=
"customItem[item.type] ? 24 : 12"
:span=
"customItem[item.type] ? 24 : 12"
:key=
"customIndex"
:key=
"customIndex"
>
>
<el-form-item
<el-form-item
:label=
"customItem[item.fieldLabel] + ':'"
:label=
"customItem[item.fieldLabel] + ':'"
>
>
<template
v-if=
"customItem[item.type]"
>
<template
v-if=
"customItem[item.type]"
>
<div
<div
class=
"photo-box"
class=
"photo-box"
v-if=
"customItem[item.fieldValue]"
v-if=
"customItem[item.fieldValue]"
>
>
<glsx-preview
<glsx-preview
:key=
"customIndex"
:key=
"customIndex"
:image-url-arr=
"
:image-url-arr=
"
...
@@ -200,8 +181,7 @@
...
@@ -200,8 +181,7 @@
...picOptions,
...picOptions,
type: customItem.otherType
type: customItem.otherType
}"
}"
limit="1"
limit="1">
</glsx-preview>
>
</glsx-preview>
</div>
</div>
<template
v-else
>
-
</
template
>
<template
v-else
>
-
</
template
>
</template>
</template>
...
@@ -215,8 +195,7 @@
...
@@ -215,8 +195,7 @@
}}
}}
</div>
</div>
</
template
>
</
template
>
</el-form-item></el-col
</el-form-item></el-col>
>
</template>
</template>
</el-row>
</el-row>
</el-form>
</el-form>
...
@@ -228,13 +207,11 @@
...
@@ -228,13 +207,11 @@
<div
class=
"detail-content"
>
<div
class=
"detail-content"
>
<div
<div
class=
"form_div"
class=
"form_div"
v-if=
"item.subData && item.subData.length"
v-if=
"item.subData && item.subData.length"
>
>
<el-form
<el-form
class=
"edit-sub-block"
class=
"edit-sub-block"
label-width=
"175px"
label-width=
"175px"
:inline=
"true"
:inline=
"true"
>
>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<template
v-for=
"(subitem, subIndex) in item.subData"
>
<template
v-for=
"(subitem, subIndex) in item.subData"
>
<el-col
:span=
"12"
:key=
"subIndex"
>
<el-col
:span=
"12"
:key=
"subIndex"
>
...
@@ -255,8 +232,7 @@
...
@@ -255,8 +232,7 @@
:
"-"
:
"-"
}}
}}
</div>
</div>
</el-form-item></el-col
</el-form-item></el-col>
>
</
template
>
</
template
>
</el-row>
</el-row>
</el-form>
</el-form>
...
@@ -302,13 +278,10 @@
...
@@ -302,13 +278,10 @@
id: this.id
id: this.id
})
})
"
"
data-event-code=
"contract_management_detail_save"
data-event-code=
"contract_management_detail_save"
>
>
保存
保存
</el-button>
</el-button>
<el-button
size=
"small"
class=
"cancel-btn"
@
click=
"handleCancel"
<el-button
size=
"small"
class=
"cancel-btn"
@
click=
"handleCancel"
>
关闭
</el-button>
>
关闭
</el-button
>
</div>
</div>
</template>
</template>
</div>
</div>
...
@@ -536,11 +509,8 @@ export default {
...
@@ -536,11 +509,8 @@ export default {
keyA
:
"electronicContractType"
,
keyA
:
"electronicContractType"
,
formatter
:
(
row
,
index
)
=>
{
formatter
:
(
row
,
index
)
=>
{
if
(
index
==
1
)
{
if
(
index
==
1
)
{
return
row
.
electronicContractType
==
2
const
isEnterprise
=
row
.
electronicContractType
==
2
||
(
row
.
signerType
!==
0
&&
row
.
signerType
!==
1
)
?
"企业"
return
isEnterprise
?
"企业"
:
"个人"
:
row
.
signerType
==
0
?
"个人"
:
"企业"
}
else
{
}
else
{
return
row
.
electronicContractType
==
2
?
"个人"
:
"企业"
return
row
.
electronicContractType
==
2
?
"个人"
:
"企业"
}
}
...
...
src/views/usedCarManagement/reportManagement/index.vue
View file @
a7414d6
...
@@ -220,7 +220,7 @@ export default {
...
@@ -220,7 +220,7 @@ export default {
},
},
handleReset
()
{
handleReset
()
{
this
.
searchForm
=
this
.
$options
.
data
.
call
(
this
).
searchForm
this
.
searchForm
=
this
.
$options
.
data
.
call
(
this
).
searchForm
this
.
$refs
.
vehicleLedger
Table
.
refreshTable
(
true
,
true
)
this
.
$refs
.
reportManagement
Table
.
refreshTable
(
true
,
true
)
},
},
getOptionsList
()
{
getOptionsList
()
{
this
.
showFormData
.
forEach
((
item
,
index
)
=>
{
this
.
showFormData
.
forEach
((
item
,
index
)
=>
{
...
@@ -263,6 +263,18 @@ export default {
...
@@ -263,6 +263,18 @@ export default {
delete
params
.
dateValue
delete
params
.
dateValue
return
params
return
params
},
},
filterIds
()
{
const
ids
=
[]
if
(
this
.
$refs
.
reportManagementTable
.
mutiSelectArr
.
mutiSelectIndex
)
{
this
.
$refs
.
reportManagementTable
.
mutiSelectArr
.
mutiSelectIndex
.
forEach
(
(
item
)
=>
{
ids
.
push
(
item
.
id
)
}
)
}
console
.
log
(
ids
)
return
ids
},
handleExport
()
{
handleExport
()
{
const
params
=
{
const
params
=
{
method
:
"/checkReport/export"
,
method
:
"/checkReport/export"
,
...
@@ -270,6 +282,7 @@ export default {
...
@@ -270,6 +282,7 @@ export default {
server_provider_name
:
"gsc-vcp-web-facade"
,
server_provider_name
:
"gsc-vcp-web-facade"
,
...
this
.
getParams
()
...
this
.
getParams
()
}
}
params
.
idsStr
=
this
.
filterIds
().
join
(
","
)
Object
.
keys
(
params
).
forEach
((
key
)
=>
{
Object
.
keys
(
params
).
forEach
((
key
)
=>
{
if
(
if
(
params
[
key
]
===
null
||
params
[
key
]
===
null
||
...
...
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