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 a956fa18
authored
Feb 27, 2026
by
yancanhua
Committed by
章家宝
Mar 11, 2026
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 轮询出价模式
1 parent
fd48787e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
65 additions
and
2 deletions
aus-front/admin/src/views/auction/auction/AuctionForm.vue
aus-front/admin/src/views/auction/auction/AuctionPage.vue
aus-front/admin/src/views/auction/auction/AuctionForm.vue
View file @
a956fa1
...
@@ -14,6 +14,12 @@
...
@@ -14,6 +14,12 @@
<a-form-item
label=
"简要描述"
name=
"shortName"
:rules=
"[
{ required: true, message: '请输入简要描述!' }]">
<a-form-item
label=
"简要描述"
name=
"shortName"
:rules=
"[
{ required: true, message: '请输入简要描述!' }]">
<a-input
v-model:value=
"formState.shortName"
placeholder=
"请输入简要描述"
:maxlength=
"4"
/>
<a-input
v-model:value=
"formState.shortName"
placeholder=
"请输入简要描述"
:maxlength=
"4"
/>
</a-form-item>
</a-form-item>
<a-form-item
v-if=
"formState.auctionType =='LIGHT'"
label=
"明拍模式"
name=
"auctionMode"
>
<a-radio-group
v-model:value=
"formState.auctionMode"
>
<a-radio
value=
"1"
>
普通模式
</a-radio>
<a-radio
value=
"2"
>
轮询出价模式
</a-radio>
</a-radio-group>
</a-form-item>
<a-form-item
label=
"保证金"
name=
"deposit"
:rules=
"[
{ required: true, message: '请输入保证金!' }]">
<a-form-item
label=
"保证金"
name=
"deposit"
:rules=
"[
{ required: true, message: '请输入保证金!' }]">
<a-input-number
v-model:value=
"formState.deposit"
addon-after=
"元"
:min=
"0"
:max=
"999999"
:maxlength=
"6"
@
blur=
"showDepositTip"
placeholder=
"请输入保证金"
/>
<a-input-number
v-model:value=
"formState.deposit"
addon-after=
"元"
:min=
"0"
:max=
"999999"
:maxlength=
"6"
@
blur=
"showDepositTip"
placeholder=
"请输入保证金"
/>
</a-form-item>
</a-form-item>
...
@@ -46,6 +52,46 @@
...
@@ -46,6 +52,46 @@
<m-select
v-model:value=
"formState.user"
:options=
"users"
show-search
option-filter-prop=
"userName"
<m-select
v-model:value=
"formState.user"
:options=
"users"
show-search
option-filter-prop=
"userName"
:field-names=
"{ label: 'realName', value: 'userId' }"
placeholder=
"请选择拍卖管理员"
></m-select>
:field-names=
"{ label: 'realName', value: 'userId' }"
placeholder=
"请选择拍卖管理员"
></m-select>
</a-form-item>
</a-form-item>
<a-form-item
v-if=
"formState.auctionMode == '2'"
label=
"结束后自动跳转延期"
name=
"delay"
:rules=
"[{ required: true, message: '请输入结束后自动跳转延期时间!' }]"
>
<a-input-number
style=
"width: 100%"
v-model:value=
"formState.delay"
:min=
"0"
:step=
"1"
:max=
"9999"
:maxlength=
"4"
addon-after=
"秒"
placeholder=
"请输入结束后自动跳转延期时间"
/>
</a-form-item>
<a-form-item
v-if=
"formState.auctionMode == '2'"
label=
"接近保留价提醒阈值"
name=
"nearReservePriceThreshold"
:rules=
"[{ required: true, message: '请输入接近保留价提醒阈值!' }]"
>
<a-input-number
style=
"width: 100%"
v-model:value=
"formState.nearReservePriceThreshold"
:min=
"0"
:step=
"1"
:max=
"9999"
:maxlength=
"4"
addon-after=
"元"
placeholder=
"请输入接近保留价提醒阈值"
/>
</a-form-item>
<a-form-item
v-if=
"formState.auctionMode == '2'"
label=
"系统&用户加价重置延时"
name=
"resetDelay"
:rules=
"[{ required: true, message: '请输入重置延时!' }]"
>
<a-input-number
v-model:value=
"formState.resetDelay"
:min=
"1"
:max=
"99999"
:maxlength=
"5"
style=
"width: 100%"
placeholder=
"请输入重置延时"
>
<
template
#
addonAfter
>
<a-select
v-model:value=
"formState.resetDelayUnit"
style=
"width: 80px"
>
<a-select-option
value=
"second"
>
秒
</a-select-option>
<a-select-option
value=
"minute"
>
分
</a-select-option>
</a-select>
</
template
>
</a-input-number>
</a-form-item>
<a-form-item
v-if=
"formState.auctionMode == '2'"
label=
"分段延时规则"
name=
"resetDelayDuration"
>
<span
style=
"line-height: 32px;"
>
在倒计时剩余
</span>
<a-input-number
v-model:value=
"formState.resetDelayDuration"
:min=
"1"
:max=
"99999"
:maxlength=
"5"
style=
"width: 48%"
placeholder=
"请输入"
>
<
template
#
addonAfter
>
<a-select
v-model:value=
"formState.resetDelayDurationUnit"
style=
"width: 80px"
>
<a-select-option
value=
"second"
>
秒
</a-select-option>
<a-select-option
value=
"minute"
>
分
</a-select-option>
</a-select>
</
template
>
</a-input-number>
<span
style=
"line-height: 32px;"
>
内出价,才会重置倒计时
</span>
</a-form-item>
<a-form-item
label=
"允许参拍标签"
name=
"accountTags"
>
<a-form-item
label=
"允许参拍标签"
name=
"accountTags"
>
<a-select
v-model:value=
"formState.accountTags"
mode=
"multiple"
label-in-value
placeholder=
"不选择表示所有用户可见"
option-filter-prop=
"label"
show-search
>
<a-select
v-model:value=
"formState.accountTags"
mode=
"multiple"
label-in-value
placeholder=
"不选择表示所有用户可见"
option-filter-prop=
"label"
show-search
>
<a-select-option
v-for=
"item in tags"
:value=
"item.tagId"
:key=
"item.tagId"
:label=
"item.tagName"
>
<a-select-option
v-for=
"item in tags"
:value=
"item.tagId"
:key=
"item.tagId"
:label=
"item.tagName"
>
...
@@ -266,6 +312,15 @@ export default class AuctionForm extends FormComponent<Auction> {
...
@@ -266,6 +312,15 @@ export default class AuctionForm extends FormComponent<Auction> {
case
'add'
:
case
'add'
:
this
.
formState
=
reactive
<
Auction
>
(
new
Auction
());
this
.
formState
=
reactive
<
Auction
>
(
new
Auction
());
this
.
formState
.
auctionType
=
'LIGHT'
;
this
.
formState
.
auctionType
=
'LIGHT'
;
this
.
formState
.
auctionMode
=
'1'
;
this
.
formState
.
extraJson
=
{
delay
:
''
,
nearReservePriceThreshold
:
''
,
resetDelay
:
''
,
resetDelayUnit
:
'second'
,
resetDelayDuration
:
''
,
resetDelayDurationUnit
:
'second'
};
this
.
formState
.
beforeEndMinute
=
5
;
this
.
formState
.
beforeEndMinute
=
5
;
this
.
formState
.
delayMinute
=
3
;
this
.
formState
.
delayMinute
=
3
;
break
;
break
;
...
...
aus-front/admin/src/views/auction/auction/AuctionPage.vue
View file @
a956fa1
...
@@ -71,9 +71,13 @@
...
@@ -71,9 +71,13 @@
<!-- {{ record.auctionName }}-->
<!-- {{ record.auctionName }}-->
<!-- </router-link>-->
<!-- </router-link>-->
<!-- </template>-->
<!-- </template>-->
<
template
v-if=
"column.key === 'auctionType'"
>
{{
$t
(
'enum.auction.auctionType.'
+
record
.
auctionType
)
}}
<
template
v-if=
"column.key === 'auctionMode'"
>
{{
record
.
auctionMode
==
'1'
?
'普通模式'
:
record
.
auctionMode
==
'2'
?
'轮询出价模式'
:
'-'
}}
</
template
>
</
template
>
<!-- <template v-if="column.key === 'auctionType'">
{{ $t('enum.auction.auctionType.' + record.auctionType) }}
</template> -->
<
template
v-if=
"column.key === 'auctionState'"
>
<
template
v-if=
"column.key === 'auctionState'"
>
<auction-state-tag
:auction-state=
"record.auctionState"
></auction-state-tag>
<auction-state-tag
:auction-state=
"record.auctionState"
></auction-state-tag>
</
template
>
</
template
>
...
@@ -119,6 +123,8 @@ export default class AuctionPage extends PaginationComponent<Auction> {
...
@@ -119,6 +123,8 @@ export default class AuctionPage extends PaginationComponent<Auction> {
selectIds
:
number
[]
=
[];
selectIds
:
number
[]
=
[];
selectedItems
:
Auction
[]
=
[];
selectedItems
:
Auction
[]
=
[];
auctionModeList
=
[{
label
:
'普通模式'
,
value
:
'LIGHT'
},
{
label
:
'轮询出价模式'
,
value
:
'LIGHT_POOLLING_BIDS'
}]
/**
/**
* 表格列配置
* 表格列配置
*/
*/
...
@@ -131,6 +137,7 @@ export default class AuctionPage extends PaginationComponent<Auction> {
...
@@ -131,6 +137,7 @@ export default class AuctionPage extends PaginationComponent<Auction> {
},
},
{
title
:
'拍场ID'
,
dataIndex
:
'auctionId'
,
key
:
'auctionId'
,
width
:
90
,
resizable
:
true
,
ellipsis
:
true
,
sorter
:
true
},
{
title
:
'拍场ID'
,
dataIndex
:
'auctionId'
,
key
:
'auctionId'
,
width
:
90
,
resizable
:
true
,
ellipsis
:
true
,
sorter
:
true
},
{
title
:
'拍场名称'
,
dataIndex
:
'auctionName'
,
key
:
'auctionName'
,
width
:
240
,
resizable
:
true
,
ellipsis
:
true
,
sorter
:
true
},
{
title
:
'拍场名称'
,
dataIndex
:
'auctionName'
,
key
:
'auctionName'
,
width
:
240
,
resizable
:
true
,
ellipsis
:
true
,
sorter
:
true
},
{
title
:
'明拍模式'
,
dataIndex
:
'auctionMode'
,
key
:
'auctionMode'
,
width
:
120
},
{
title
:
'车辆数量'
,
dataIndex
:
'vehicleCount'
,
key
:
'vehicleCount'
,
align
:
'right'
,
width
:
100
,
resizable
:
true
,
ellipsis
:
true
,
sorter
:
true
},
{
title
:
'车辆数量'
,
dataIndex
:
'vehicleCount'
,
key
:
'vehicleCount'
,
align
:
'right'
,
width
:
100
,
resizable
:
true
,
ellipsis
:
true
,
sorter
:
true
},
{
title
:
'已拍数量'
,
dataIndex
:
'auctionedCount'
,
key
:
'auctionedCount'
,
align
:
'right'
,
width
:
100
,
resizable
:
true
,
ellipsis
:
true
,
sorter
:
true
},
{
title
:
'已拍数量'
,
dataIndex
:
'auctionedCount'
,
key
:
'auctionedCount'
,
align
:
'right'
,
width
:
100
,
resizable
:
true
,
ellipsis
:
true
,
sorter
:
true
},
{
title
:
'拍卖日期'
,
dataIndex
:
'auctionDate'
,
key
:
'auctionDate'
,
width
:
100
,
resizable
:
true
,
ellipsis
:
true
,
sorter
:
true
},
{
title
:
'拍卖日期'
,
dataIndex
:
'auctionDate'
,
key
:
'auctionDate'
,
width
:
100
,
resizable
:
true
,
ellipsis
:
true
,
sorter
:
true
},
...
@@ -173,6 +180,7 @@ export default class AuctionPage extends PaginationComponent<Auction> {
...
@@ -173,6 +180,7 @@ export default class AuctionPage extends PaginationComponent<Auction> {
this
.
init
(
this
.
axios
,
AuctionController
.
PAGE_AUCTION
);
this
.
init
(
this
.
axios
,
AuctionController
.
PAGE_AUCTION
);
this
.
buildQueryForm
({
this
.
buildQueryForm
({
auctionName
:
[
null
,
{
label
:
'拍场名称'
,
field
:
'auctionName'
,
operator
:
Operator
.
like
}],
auctionName
:
[
null
,
{
label
:
'拍场名称'
,
field
:
'auctionName'
,
operator
:
Operator
.
like
}],
auctionMode
:
[
null
,
{
label
:
'明拍模式'
,
type
:
'select'
,
placeholder
:
'请选择明拍模式'
,
field
:
'auctionMode'
,
optionItems
:
this
.
auctionModeList
,
operator
:
Operator
.
eq
}],
auctionId
:
[
null
,
{
label
:
'拍场ID'
,
field
:
'auctionId'
,
operator
:
Operator
.
eq
}],
auctionId
:
[
null
,
{
label
:
'拍场ID'
,
field
:
'auctionId'
,
operator
:
Operator
.
eq
}],
auctionStartTime
:
[
null
,
{
label
:
'拍场开始时间'
,
field
:
'auctionStartTime'
,
operator
:
Operator
.
dateBetween
,
type
:
'date-range'
}],
auctionStartTime
:
[
null
,
{
label
:
'拍场开始时间'
,
field
:
'auctionStartTime'
,
operator
:
Operator
.
dateBetween
,
type
:
'date-range'
}],
createTime
:
[
null
,
{
label
:
'提交审核时间'
,
field
:
'createTime'
,
operator
:
Operator
.
dateBetween
,
type
:
'date-range'
}],
createTime
:
[
null
,
{
label
:
'提交审核时间'
,
field
:
'createTime'
,
operator
:
Operator
.
dateBetween
,
type
:
'date-range'
}],
...
...
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