Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
usedCarAuction
/
aus
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 ad8e3fb3
authored
May 08, 2026
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
联调修改
1 parent
005102a7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
24 additions
and
16 deletions
aus-front/admin/src/api/VehicleController.ts
aus-front/admin/src/views/auction/auction/AuctionForm.vue
aus-front/admin/src/views/detection/inspector/DetectionInspectorPage.vue
aus-front/admin/src/views/detection/order/DetectionOrderPage.vue
aus-front/admin/src/views/discount/coupon/components/ManualIssuanceModal.vue
aus-front/admin/src/views/discount/record/DiscountRecordPage.vue
aus-front/admin/src/views/vehicle/appraise/AppraiseVehiclePricePage.vue
aus-front/admin/src/api/VehicleController.ts
View file @
ad8e3fb
...
...
@@ -85,8 +85,8 @@ export class VehicleController{
/**
*/
static
getVehicleCountByState
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
any
>>
{
return
axios
.
get
(
'vehicle/getVehicleCountByState'
);
static
getVehicleCountByState
(
axios
:
AxiosStatic
,
params
:
any
):
Promise
<
AxiosResponse
<
any
>>
{
return
axios
.
get
(
'vehicle/getVehicleCountByState'
,
params
);
}
/**
...
...
aus-front/admin/src/views/auction/auction/AuctionForm.vue
View file @
ad8e3fb
...
...
@@ -319,7 +319,6 @@ export default class AuctionForm extends FormComponent<Auction> {
this
.
formState
.
aucvehDuration
=
30
;
this
.
resetDelayUnit
=
'second'
;
this
.
resetDelayDurationUnit
=
'second'
;
this
.
formState
.
beforeEndMinute
=
5
;
this
.
formState
.
delayMinute
=
3
;
break
;
...
...
@@ -328,12 +327,12 @@ export default class AuctionForm extends FormComponent<Auction> {
AuctionController
.
getAuctionDetailById
(
this
.
axios
,
this
.
auctionId
).
then
(
res
=>
{
const
auction
:
Auction
=
res
.
data
;
// @ts-ignore
auction
.
cities
=
auction
.
cities
.
map
(
item
=>
[
item
.
slice
(
0
,
2
)
+
'0000'
,
item
]);
auction
.
cities
=
auction
.
cities
?
.
map
(
item
=>
[
item
.
slice
(
0
,
2
)
+
'0000'
,
item
]);
this
.
objectToKeys
(
auction
.
accountTags
,
'tagId'
);
const
durationMinute
=
dayjs
(
auction
.
auctionEndTime
).
diff
(
auction
.
auctionStartTime
)
/
60000
;
this
.
duration
=
(
durationMinute
%
60
)
===
0
?
'hour'
:
'minute'
;
auction
.
durationMinute
=
this
.
duration
===
'hour'
?
durationMinute
/
60
:
durationMinute
;
const
extraJson
=
JSON
.
parse
(
auction
.
extraJson
||
'{}'
);
const
extraJson
=
JSON
.
parse
(
auction
.
extraJson
||
'{}'
);
this
.
formState
=
reactive
<
Auction
>
({
...
auction
,
auctionMode
:
auction
.
auctionMode
?.
toString
()
||
'1'
,
...
...
aus-front/admin/src/views/detection/inspector/DetectionInspectorPage.vue
View file @
ad8e3fb
...
...
@@ -60,6 +60,9 @@
:pagination=
"pageState"
:row-key=
"record => record.id"
:scroll=
"{ y: 'calc(100vh - 288px)' }"
>
<
template
#
bodyCell=
"{ column, record }"
>
<template
v-if=
"column.key === 'regionName'"
>
<span>
{{
`${record.provinceName
}
-${record.regionName
}
`
}}
<
/span
>
<
/template
>
<
template
v
-
if
=
"column.key === 'status'"
>
<
a
-
switch
@
change
=
"handleEnableDisable(record)"
v
-
model
:
checked
=
"record.status"
/>
<
span
style
=
"padding-left: 8px;"
>
{{
record
.
status
?
'启用'
:
'禁用'
}}
<
/span
>
...
...
@@ -174,7 +177,7 @@ export default class DetectionInspectorPage extends PaginationComponent<Vehicle>
return
this
.
pagination
;
}
/**
/**
* 初始化配置
*/
created
():
void
{
...
...
aus-front/admin/src/views/detection/order/DetectionOrderPage.vue
View file @
ad8e3fb
...
...
@@ -240,6 +240,7 @@ export default class DetectionOrderPage extends PaginationComponent<Vehicle> {
this
.
selectIds
=
[];
this
.
selectedItems
=
[];
this
.
pageReload
();
this
.
getinspectOrderCountByStatus
()
}
//重置查询条件
...
...
@@ -247,6 +248,7 @@ export default class DetectionOrderPage extends PaginationComponent<Vehicle> {
this
.
selectIds
=
[];
this
.
selectedItems
=
[];
this
.
pageReset
();
this
.
getinspectOrderCountByStatus
()
}
// 新增工单 编辑
...
...
@@ -280,6 +282,7 @@ export default class DetectionOrderPage extends PaginationComponent<Vehicle> {
}
this
.
loading
=
true
;
this
.
pagination
.
reload
().
then
(
res
=>
{
}).
finally
(()
=>
this
.
loading
=
false
);
this
.
getinspectOrderCountByStatus
()
}
onSelectChange
(
selectedRowKeys
:
number
[],
selectedRows
:
[]):
void
{
...
...
aus-front/admin/src/views/discount/coupon/components/ManualIssuanceModal.vue
View file @
ad8e3fb
...
...
@@ -182,6 +182,7 @@ export default class ManualIssuanceModal extends Vue {
emits
:
{
handleOk
:
(
accounts
:
Account
[])
=>
{
modal
.
destroy
();
console
.
log
(
1111111
)
if
(
!
this
.
form
.
accounts
)
{
this
.
form
.
accounts
=
[];
}
...
...
@@ -207,11 +208,11 @@ export default class ManualIssuanceModal extends Vue {
formRef
.
validate
().
then
(()
=>
{
DiscountController
.
couponManualIssuance
(
this
.
axios
,
{
templateId
:
this
.
form
.
templateId
,
// applicableType: this.form.applicableType
,
accountIds
:
this
.
form
.
accounts
?.
map
(
account
=>
account
.
accountId
)
??
[],
// accountTags: this.form.accountTags ??
[],
targetType
:
this
.
form
.
applicableType
===
'ACCOUNT'
?
2
:
this
.
form
.
applicableType
===
'TAG'
?
3
:
1
,
tagIds
:
this
.
form
.
applicableType
===
'TAG'
?
this
.
form
.
accountTags
?.
map
(
val
=>
val
.
value
)
:
[],
targetPhoneNumbers
:
this
.
form
.
applicableType
===
'ACCOUNT'
?
this
.
form
.
accounts
?.
map
(
account
=>
account
.
mobile
)
:
[],
remark
:
this
.
form
.
remark
,
}
).
then
((
res
)
=>
{
}
).
then
((
res
)
=>
{
let
{
code
,
data
,
message
:
msg
}
=
res
.
data
;
if
(
code
!==
'200'
)
{
message
.
error
(
msg
||
"提交失败"
);
...
...
@@ -221,7 +222,7 @@ export default class ManualIssuanceModal extends Vue {
this
.
$emit
(
"submitted"
);
this
.
dialogVisible
=
false
;
}
)
}
);
}
}
...
...
aus-front/admin/src/views/discount/record/DiscountRecordPage.vue
View file @
ad8e3fb
...
...
@@ -22,7 +22,7 @@
较上一周期
{{
(
recordStat
.
distributionCountChange
??
''
)
!==
''
?
`${recordStat.distributionCountChange > 0 ? '+' : recordStat.distributionCountChange < 0 ? '-' : ''
}
${recordStat.distributionCountChange
}
%`
:
'-'
}}
<
/div
>
<
/div
>
<
/div
>
<
/a-col
>
<
a
-
col
:
span
=
"4"
>
...
...
@@ -35,7 +35,7 @@
<
div
class
=
"record-stat-value"
>
{{
recordStat
.
verifiedCount
}}
<
/div
>
<
div
class
=
"record-stat-sub"
>
核销率:
{{
(
recordStat
.
verificationRate
??
''
)
!==
''
?
`${recordStat.verificationRate
}
%`
:
'-'
}}
<
/div
>
<
/div
>
<
/div
>
<
/a-col
>
<
a
-
col
:
span
=
"4"
>
...
...
@@ -159,7 +159,7 @@
size
=
"small"
>
查看订单
<
/a-button
>
<
a
-
button
type
=
"link"
v
-
if
=
"record.couponStatus === 2"
@
click
=
"handleVehicleProfile(record)"
size
=
"small"
>
车辆档案
<
/a-button
>
<
a
-
button
type
=
"link"
v
-
if
=
"
(record.couponStatus === 3 || record.couponStatus === 4) && record.distributionType === 2
"
@
click
=
"handleReissue(record)"
<
a
-
button
type
=
"link"
v
-
if
=
"
record.canReissue
"
@
click
=
"handleReissue(record)"
size
=
"small"
>
重新发放
<
/a-button
>
<
/template
>
<
/template
>
...
...
@@ -343,7 +343,7 @@ export default class DiscountActivityPage extends PaginationComponent<Vehicle> {
}
// 手动发放
handleAdd
()
{
handleAdd
()
{
const
modalRef
:
any
=
(
this
.
$refs
as
any
)?.
manualIssuanceModalRef
;
if
(
modalRef
?.
openByRecord
)
{
modalRef
.
openByRecord
({
}
);
...
...
aus-front/admin/src/views/vehicle/appraise/AppraiseVehiclePricePage.vue
View file @
ad8e3fb
...
...
@@ -63,7 +63,7 @@ export default class AppraiseVehiclePricePage extends PaginationComponent<Vehicl
@
Security
.
Getter
hasPrivilege
;
tabKey
=
"
TO_BE_PRICED
"
;
tabKey
=
""
;
/**
* 表格列配置
*/
...
...
@@ -132,6 +132,7 @@ export default class AppraiseVehiclePricePage extends PaginationComponent<Vehicl
switch
(
this
.
tabKey
)
{
case
""
:
this
.
pagination
.
addDefaultFilter
(
'vehicleState'
,
[
'TO_BE_PRICED'
,
'PRICED'
],
Operator
.
in
);
this
.
pagination
.
removeData
(
'auditState'
);
break
;
case
"TO_BE_PRICED"
:
this
.
pagination
.
addDefaultFilter
(
'vehicleState'
,
[
'TO_BE_PRICED'
],
Operator
.
in
);
...
...
@@ -151,6 +152,7 @@ export default class AppraiseVehiclePricePage extends PaginationComponent<Vehicl
break
;
}
this
.
loading
=
true
;
this
.
pageReset
();
this
.
pagination
.
reload
().
then
(
res
=>
{
// this.loadVehicleCount();
}).
finally
(()
=>
this
.
loading
=
false
);
...
...
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