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 8bd1f4c5
authored
Jun 10, 2026
by
Jaxon
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V5.8.2_zls' into 'SAAS+V5.8.2'
Saas+v5.8.2 zls See merge request
!719
2 parents
a1cd2988
d8bb8b20
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
27 deletions
src/components/d2-table/index.vue
src/views/orderManage/carDamage.vue
src/views/orderManage/order.vue
src/views/orderManage/orderList.vue
src/components/d2-table/index.vue
View file @
8bd1f4c
...
@@ -141,8 +141,7 @@
...
@@ -141,8 +141,7 @@
<el-tag
v-if=
"hasValue(sub, scope.row)"
:type=
"getSchemaTagOptions(sub, scope.row).type"
>
<el-tag
v-if=
"hasValue(sub, scope.row)"
:type=
"getSchemaTagOptions(sub, scope.row).type"
>
{{
getSchemaTagOptions
(
sub
,
scope
.
row
).
label
}}
{{
getSchemaTagOptions
(
sub
,
scope
.
row
).
label
}}
</el-tag>
</el-tag>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</div>
</div>
</
template
>
</
template
>
...
@@ -256,7 +255,9 @@
...
@@ -256,7 +255,9 @@
<el-tag
v-if=
"hasValue(item, scope.row)"
:type=
"getSchemaTagOptions(item, scope.row).type"
>
<el-tag
v-if=
"hasValue(item, scope.row)"
:type=
"getSchemaTagOptions(item, scope.row).type"
>
{{
getSchemaTagOptions
(
item
,
scope
.
row
).
label
}}
{{
getSchemaTagOptions
(
item
,
scope
.
row
).
label
}}
</el-tag>
</el-tag>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</div>
</div>
</
template
>
</
template
>
...
@@ -866,4 +867,4 @@ export default {
...
@@ -866,4 +867,4 @@ export default {
margin-bottom
:
8px
;
margin-bottom
:
8px
;
}
}
}
}
</
style
>
\ No newline at end of file
\ No newline at end of file
</
style
>
src/views/orderManage/carDamage.vue
View file @
8bd1f4c
...
@@ -1030,8 +1030,6 @@ export default {
...
@@ -1030,8 +1030,6 @@ export default {
pageSize
:
20
,
pageSize
:
20
,
currentPage
:
1
,
currentPage
:
1
,
approvalVisible
:
false
,
approvalVisible
:
false
,
/** 请求序列号:防止快速查询时旧请求覆盖新数据 */
_searchSeq
:
0
,
}
;
}
;
}
,
}
,
computed
:
{
computed
:
{
...
@@ -1506,13 +1504,11 @@ export default {
...
@@ -1506,13 +1504,11 @@ export default {
this
.
getList
();
this
.
getList
();
}
,
}
,
getList
()
{
getList
()
{
const
seq
=
++
this
.
_searchSeq
let
params
=
this
.
getParams
();
let
params
=
this
.
getParams
();
let
eventParams
=
deepClone
({
...
this
.
page
,
...
params
}
);
let
eventParams
=
deepClone
({
...
this
.
page
,
...
params
}
);
if
(
eventParams
?.
zyVoucherStatus
==
1
)
if
(
eventParams
?.
zyVoucherStatus
==
1
)
eventParams
.
status
=
13
;
eventParams
.
status
=
13
;
getList
(
eventParams
).
then
((
res
)
=>
{
getList
(
eventParams
).
then
((
res
)
=>
{
if
(
seq
!==
this
.
_searchSeq
)
return
this
.
tableData
=
res
.
list
.
map
((
item
)
=>
{
this
.
tableData
=
res
.
list
.
map
((
item
)
=>
{
item
.
paySuccessDate
=
item
.
paySuccessDate
item
.
paySuccessDate
=
item
.
paySuccessDate
?
Util
.
dateFormate
(
item
.
paySuccessDate
,
"YYYY-MM-DD HH:mm:ss"
)
?
Util
.
dateFormate
(
item
.
paySuccessDate
,
"YYYY-MM-DD HH:mm:ss"
)
...
@@ -1525,13 +1521,11 @@ export default {
...
@@ -1525,13 +1521,11 @@ export default {
}
);
}
);
}
,
}
,
getOrderCount
()
{
getOrderCount
()
{
const
seq
=
++
this
.
_searchSeq
let
params
=
this
.
getParams
();
let
params
=
this
.
getParams
();
let
eventParams
=
deepClone
({
...
params
}
);
let
eventParams
=
deepClone
({
...
params
}
);
if
(
eventParams
?.
zyVoucherStatus
==
1
)
if
(
eventParams
?.
zyVoucherStatus
==
1
)
eventParams
.
status
=
13
;
eventParams
.
status
=
13
;
getOrderCount
(
eventParams
).
then
((
res
)
=>
{
getOrderCount
(
eventParams
).
then
((
res
)
=>
{
if
(
seq
!==
this
.
_searchSeq
)
return
this
.
totalCount
=
res
.
totalPriceCount
;
this
.
totalCount
=
res
.
totalPriceCount
;
}
);
}
);
}
,
}
,
...
...
src/views/orderManage/order.vue
View file @
8bd1f4c
...
@@ -966,8 +966,6 @@ export default {
...
@@ -966,8 +966,6 @@ export default {
pageSize
:
20
,
pageSize
:
20
,
currentPage
:
1
,
currentPage
:
1
,
approvalVisible
:
false
,
approvalVisible
:
false
,
/** 请求序列号:防止快速查询时旧请求覆盖新数据 */
_searchSeq
:
0
,
}
;
}
;
}
,
}
,
computed
:
{
computed
:
{
...
@@ -1360,7 +1358,6 @@ export default {
...
@@ -1360,7 +1358,6 @@ export default {
this
.
getList
();
this
.
getList
();
}
,
}
,
getList
()
{
getList
()
{
const
seq
=
++
this
.
_searchSeq
let
params
=
this
.
getParams
();
let
params
=
this
.
getParams
();
params
=
{
params
=
{
...
this
.
page
,
...
this
.
page
,
...
@@ -1368,7 +1365,6 @@ export default {
...
@@ -1368,7 +1365,6 @@ export default {
}
;
}
;
// console.log(params)
// console.log(params)
getList
(
params
).
then
((
res
)
=>
{
getList
(
params
).
then
((
res
)
=>
{
if
(
seq
!==
this
.
_searchSeq
)
return
this
.
tableData
=
res
.
list
.
map
((
item
)
=>
{
this
.
tableData
=
res
.
list
.
map
((
item
)
=>
{
item
.
paySuccessDate
=
item
.
paySuccessDate
item
.
paySuccessDate
=
item
.
paySuccessDate
?
Util
.
dateFormate
(
item
.
paySuccessDate
,
"YYYY-MM-DD HH:mm:ss"
)
?
Util
.
dateFormate
(
item
.
paySuccessDate
,
"YYYY-MM-DD HH:mm:ss"
)
...
@@ -1387,13 +1383,11 @@ export default {
...
@@ -1387,13 +1383,11 @@ export default {
}
);
}
);
}
,
}
,
getOrderCount
()
{
getOrderCount
()
{
const
seq
=
++
this
.
_searchSeq
let
params
=
this
.
getParams
();
let
params
=
this
.
getParams
();
params
=
{
params
=
{
...
params
,
...
params
,
}
;
}
;
getOrderCount
(
params
).
then
((
res
)
=>
{
getOrderCount
(
params
).
then
((
res
)
=>
{
if
(
seq
!==
this
.
_searchSeq
)
return
this
.
totalCount
=
res
.
totalPriceCount
;
this
.
totalCount
=
res
.
totalPriceCount
;
}
);
}
);
}
,
}
,
...
...
src/views/orderManage/orderList.vue
View file @
8bd1f4c
...
@@ -142,9 +142,7 @@ export default {
...
@@ -142,9 +142,7 @@ export default {
light
:
[]
light
:
[]
},
},
/** 路由带入:匹配完成后清空 */
/** 路由带入:匹配完成后清空 */
pendingLegacyLeaf
:
null
,
pendingLegacyLeaf
:
null
/** 请求序列号:防止快速切换时旧请求覆盖新数据 */
_loadScenesSeq
:
0
}
}
},
},
computed
:
{
computed
:
{
...
@@ -276,13 +274,11 @@ export default {
...
@@ -276,13 +274,11 @@ export default {
if
(
category
===
"renewal"
)
{
if
(
category
===
"renewal"
)
{
return
return
}
}
const
seq
=
++
this
.
_loadScenesSeq
this
.
scenesLoading
=
category
===
"light"
this
.
scenesLoading
=
category
===
"light"
this
.
rightsScenesLoading
=
category
===
"rights"
this
.
rightsScenesLoading
=
category
===
"rights"
try
{
try
{
if
(
category
===
"light"
)
{
if
(
category
===
"light"
)
{
const
res
=
await
sceneListWithOrder
({
bizTypeCode
:
"1"
})
const
res
=
await
sceneListWithOrder
({
bizTypeCode
:
"1"
})
if
(
seq
!==
this
.
_loadScenesSeq
)
return
const
arr
=
normalizeSceneResponse
(
res
)
const
arr
=
normalizeSceneResponse
(
res
)
const
mapped
=
arr
.
map
(
s
=>
buildSceneLeafItem
(
s
,
"light"
))
const
mapped
=
arr
.
map
(
s
=>
buildSceneLeafItem
(
s
,
"light"
))
this
.
sceneSubs
.
light
=
mapped
.
length
?
mapped
:
[...
FALLBACK_LIGHT
]
this
.
sceneSubs
.
light
=
mapped
.
length
?
mapped
:
[...
FALLBACK_LIGHT
]
...
@@ -291,12 +287,10 @@ export default {
...
@@ -291,12 +287,10 @@ export default {
sceneListWithOrder
({
bizTypeCode
:
"2"
,
businessType
:
1
}),
sceneListWithOrder
({
bizTypeCode
:
"2"
,
businessType
:
1
}),
sceneListWithOrder
({
bizTypeCode
:
"2"
,
businessType
:
2
})
sceneListWithOrder
({
bizTypeCode
:
"2"
,
businessType
:
2
})
])
])
if
(
seq
!==
this
.
_loadScenesSeq
)
return
this
.
rightsScenesForEquity
=
normalizeSceneResponse
(
res1
)
this
.
rightsScenesForEquity
=
normalizeSceneResponse
(
res1
)
this
.
rightsScenesForWarranty
=
normalizeSceneResponse
(
res2
)
this
.
rightsScenesForWarranty
=
normalizeSceneResponse
(
res2
)
}
}
}
catch
(
e
)
{
}
catch
(
e
)
{
if
(
seq
!==
this
.
_loadScenesSeq
)
return
if
(
category
===
"light"
)
{
if
(
category
===
"light"
)
{
this
.
sceneSubs
.
light
=
[...
FALLBACK_LIGHT
]
this
.
sceneSubs
.
light
=
[...
FALLBACK_LIGHT
]
}
else
{
}
else
{
...
@@ -304,10 +298,8 @@ export default {
...
@@ -304,10 +298,8 @@ export default {
this
.
rightsScenesForWarranty
=
[]
this
.
rightsScenesForWarranty
=
[]
}
}
}
finally
{
}
finally
{
if
(
seq
===
this
.
_loadScenesSeq
)
{
this
.
scenesLoading
=
false
this
.
scenesLoading
=
false
this
.
rightsScenesLoading
=
false
this
.
rightsScenesLoading
=
false
}
}
}
},
},
ensureLeafInCategory
()
{
ensureLeafInCategory
()
{
...
...
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