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 dfce3813
authored
Mar 11, 2026
by
yancanhua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 轮询竞拍自测问题修改
1 parent
f807c108
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
19 deletions
aus-front/admin/src/views/auction/auction/AuctionBaseInfo.vue
aus-front/admin/src/views/auction/auction/AuctionForm.vue
aus-front/admin/src/views/auction/auction/AuctionBaseInfo.vue
View file @
dfce381
...
...
@@ -67,7 +67,7 @@
<div
v-if=
"auction.auctionMode == '2'"
class=
"auctionModeBox"
>
<a-space
:size=
"20"
class=
"mt-8 mb-8 ml-16"
>
<a-statistic
title=
"结束后自动跳转延时"
:value=
"returnExtraJsonData('
delay
')+'秒'"
:value-style=
"statisticStyle"
/>
<a-statistic
title=
"结束后自动跳转延时"
:value=
"returnExtraJsonData('
bidAucVehDuration
')+'秒'"
:value-style=
"statisticStyle"
/>
<a-statistic
title=
"系统&用户加价延时"
:value=
"returnExtraJsonData('resetDelay')+'秒'"
:value-style=
"statisticStyle"
/>
<a-statistic
title=
"接近保留价提醒阈值"
:value=
"'¥'+returnExtraJsonData('nearReservePriceThreshold') "
:value-style=
"statisticStyle"
/>
<a-statistic
title=
"分段延时规则"
:value=
"'倒计时剩余0-'+returnExtraJsonData('resetDelayDuration')+ '秒出价,倒计时重置为'+returnExtraJsonData('resetDelay')+'秒'"
:value-style=
"statisticStyle"
/>
...
...
aus-front/admin/src/views/auction/auction/AuctionForm.vue
View file @
dfce381
...
...
@@ -53,9 +53,9 @@
:field-names=
"{ label: 'realName', value: 'userId' }"
placeholder=
"请选择拍卖管理员"
></m-select>
</a-form-item>
<a-form-item
v-if=
"formState.auctionMode == '2'"
label=
"结束后自动跳转延期"
name=
"
delay
"
tooltip=
"用户在小程序端完成认证/充值或一辆车拍卖结束后,触发自动跳转前的等待时间。"
<a-form-item
v-if=
"formState.auctionMode == '2'"
label=
"结束后自动跳转延期"
name=
"
bidAucVehDuration
"
tooltip=
"用户在小程序端完成认证/充值或一辆车拍卖结束后,触发自动跳转前的等待时间。"
:rules=
"[{ required: true, message: '请输入结束后自动跳转延期时间!' }]"
>
<a-input-number
style=
"width: 100%"
v-model:value=
"formState.
delay
"
:min=
"1"
:step=
"1"
<a-input-number
style=
"width: 100%"
v-model:value=
"formState.
bidAucVehDuration
"
:min=
"1"
:step=
"1"
:max=
"60"
:maxlength=
"2"
addon-after=
"秒"
placeholder=
"请输入结束后自动跳转延期时间"
/>
</a-form-item>
...
...
@@ -83,11 +83,6 @@
<a-input-number
v-model:value=
"formState.aucvehDuration"
:min=
"1"
:max=
"99999"
:maxlength=
"5"
style=
"width: 100%"
addon-after=
"秒"
placeholder=
"请输入车辆持续时间"
></a-input-number>
</a-form-item>
<a-form-item
v-if=
"formState.auctionMode == '2'"
label=
"拍卖车辆间隔时间"
name=
"bidAucVehDuration"
:rules=
"[{ required: true, message: '请输入拍卖车辆间隔时间!' }]"
>
<a-input-number
v-model:value=
"formState.bidAucVehDuration"
:min=
"1"
:max=
"99999"
:maxlength=
"5"
style=
"width: 100%"
addon-after=
"秒"
placeholder=
"请输入拍卖车辆间隔时间"
></a-input-number>
</a-form-item>
<a-form-item
v-if=
"formState.auctionMode == '2'"
label=
"分段延时规则"
name=
"resetDelayDuration"
tooltip=
"这是对“用户加价重置倒计时”的高级补充规则,用于在最后阶段制造紧张感。校验规则: 此处设置的时长必须为正整数,且不能超过“用户加价重置倒计时”的总时长。逻辑示例: 若“用户加价重置”为20秒,此处设为10秒。那么:倒计时在 10-30秒 之间时出价,倒计时不重置。倒计时在 0-10秒 之间时出价,倒计时才会重置为20秒。"
:rules=
"[{ required: true, message: '请输入分段延时规则!' }]"
>
<span
style=
"line-height: 32px;"
>
在倒计时剩余
</span>
<a-input-number
v-model:value=
"formState.resetDelayDuration"
:min=
"1"
:max=
"formState.resetDelay-1"
...
...
@@ -295,9 +290,9 @@ export default class AuctionForm extends FormComponent<Auction> {
{
title
:
'所属门店'
,
dataIndex
:
[
'vehicle'
,
'venue'
,
'venueName'
],
key
:
'venueName'
,
align
:
'right'
,
width
:
130
,
resizable
:
true
,
ellipsis
:
true
,
sorter
:
false
},
{
title
:
'起拍价'
,
dataIndex
:
[
'vehicle'
,
'startingBidPrice'
],
key
:
'startingBidPrice'
,
align
:
'right'
,
width
:
100
,
resizable
:
true
,
ellipsis
:
true
,
sorter
:
false
},
{
title
:
'保留价'
,
dataIndex
:
[
'vehicle'
,
'reservePrice'
],
key
:
'reservePrice'
,
align
:
'right'
,
width
:
100
,
resizable
:
true
,
ellipsis
:
true
,
sorter
:
false
},
{
title
:
'预展时间'
,
dataIndex
:
'previewStartTime'
,
key
:
'previewStartTime'
,
align
:
'center'
,
fixed
:
'right'
,
width
:
192
,
resizable
:
false
,
ellipsis
:
true
,
sorter
:
false
},
{
title
:
'起拍时间'
,
dataIndex
:
'auctionStartTime'
,
key
:
'auctionStartTime'
,
align
:
'center'
,
fixed
:
'right'
,
width
:
192
,
resizable
:
false
,
ellipsis
:
true
,
sorter
:
false
},
{
title
:
'拍卖结束时间'
,
dataIndex
:
'auctionEndTime'
,
key
:
'auctionEndTime'
,
align
:
'center'
,
fixed
:
'right'
,
width
:
192
,
resizable
:
false
,
ellipsis
:
true
,
sorter
:
false
},
{
title
:
'预展时间'
,
dataIndex
:
'previewStartTime'
,
key
:
'previewStartTime'
,
align
:
'center'
,
fixed
:
'right'
,
width
:
210
,
resizable
:
false
,
ellipsis
:
true
,
sorter
:
false
},
{
title
:
'起拍时间'
,
dataIndex
:
'auctionStartTime'
,
key
:
'auctionStartTime'
,
align
:
'center'
,
fixed
:
'right'
,
width
:
210
,
resizable
:
false
,
ellipsis
:
true
,
sorter
:
false
},
{
title
:
'拍卖结束时间'
,
dataIndex
:
'auctionEndTime'
,
key
:
'auctionEndTime'
,
align
:
'center'
,
fixed
:
'right'
,
width
:
210
,
resizable
:
false
,
ellipsis
:
true
,
sorter
:
false
},
// {title: '审核状态', dataIndex: 'auditState', key: 'auditState', align: 'center', fixed: 'right', width: 100, resizable: true, ellipsis: true, sorter: true},
{
title
:
'操作'
,
key
:
'action'
,
width
:
80
,
align
:
'center'
,
fixed
:
'right'
},
];
...
...
@@ -326,11 +321,10 @@ export default class AuctionForm extends FormComponent<Auction> {
this
.
formState
.
auctionType
=
'LIGHT'
;
this
.
formState
.
auctionMode
=
'1'
;
this
.
formState
.
delay
=
'5'
;
this
.
formState
.
bidAucVehDuration
=
'5'
;
this
.
formState
.
nearReservePriceThreshold
=
'1000'
;
this
.
formState
.
resetDelay
=
'10'
;
this
.
formState
.
resetDelayDuration
=
'10'
;
this
.
formState
.
bidAucVehDuration
=
'5'
;
this
.
formState
.
aucvehDuration
=
'10'
;
this
.
resetDelayUnit
=
'second'
;
this
.
resetDelayDurationUnit
=
'second'
;
...
...
@@ -352,12 +346,11 @@ export default class AuctionForm extends FormComponent<Auction> {
this
.
formState
=
reactive
<
Auction
>
({
...
auction
,
auctionMode
:
auction
.
auctionMode
?.
toString
()
||
'1'
,
delay
:
extraJson
.
delay
||
'5'
,
bidAucVehDuration
:
extraJson
.
bidAucVehDuration
||
'5'
,
nearReservePriceThreshold
:
extraJson
.
nearReservePriceThreshold
||
'1000'
,
resetDelay
:
extraJson
.
resetDelay
||
'10'
,
resetDelayDuration
:
extraJson
.
resetDelayDuration
||
'10'
,
aucvehDuration
:
extraJson
.
aucvehDuration
||
'10'
,
bidAucVehDuration
:
extraJson
.
bidAucVehDuration
||
'10'
,
resetDelayUnit
:
extraJson
.
resetDelayUnit
||
'second'
,
resetDelayDurationUnit
:
extraJson
.
resetDelayDurationUnit
||
'second'
,
});
...
...
@@ -438,8 +431,11 @@ export default class AuctionForm extends FormComponent<Auction> {
if
(
!
this
.
hasPrivilege
(
'auction_19'
))
{
return
;
}
this
.
editableVehicle
[
vehicleId
+
filed
]
=
cloneDeep
(
this
.
formState
.
auctionVehicles
.
find
(
item
=>
vehicleId
===
item
.
vehicle
.
vehicleId
)[
filed
]);
console
.
log
(
this
.
editableVehicle
[
vehicleId
+
filed
]);
let
time
=
cloneDeep
(
this
.
formState
.
auctionVehicles
.
find
(
item
=>
vehicleId
===
item
.
vehicle
.
vehicleId
)[
filed
]);
if
(
time
.
length
==
16
)
{
time
=
time
+
':00'
;
}
this
.
editableVehicle
[
vehicleId
+
filed
]
=
time
;
}
applyInterval
():
void
{
...
...
@@ -595,11 +591,10 @@ export default class AuctionForm extends FormComponent<Auction> {
});
}
const
extraJson
=
{
delay
:
String
(
formValue
.
delay
||
0
),
bidAucVehDuration
:
String
(
formValue
.
bidAucVehDuration
||
0
),
nearReservePriceThreshold
:
String
(
formValue
.
nearReservePriceThreshold
||
0
),
resetDelay
:
String
(
formValue
.
resetDelay
||
0
),
resetDelayDuration
:
String
(
formValue
.
resetDelayDuration
||
0
),
bidAucVehDuration
:
String
(
formValue
.
bidAucVehDuration
||
0
),
aucvehDuration
:
String
(
formValue
.
aucvehDuration
||
0
),
resetDelayUnit
:
this
.
resetDelayUnit
||
'second'
,
resetDelayDurationUnit
:
this
.
resetDelayDurationUnit
||
'second'
,
...
...
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