Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_admin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quanku
qk_admin
Commits
90127c17
Commit
90127c17
authored
Jun 20, 2024
by
yaya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:增加新增拍品页面
parent
ea5c74a6
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
537 additions
and
14 deletions
+537
-14
src/api/business/sale.js
src/api/business/sale.js
+13
-1
src/router/index.js
src/router/index.js
+13
-0
src/views/sale/auctionAdd.vue
src/views/sale/auctionAdd.vue
+490
-0
src/views/sale/auctionList.vue
src/views/sale/auctionList.vue
+7
-2
src/views/sale/specialList.vue
src/views/sale/specialList.vue
+14
-11
No files found.
src/api/business/sale.js
View file @
90127c17
...
...
@@ -66,7 +66,7 @@ export function collectorItemConvertToAuction(data) {
})
}
/**
*
转拍品
*
拍品列表
* @param data
* @returns {*}
*/
...
...
@@ -77,4 +77,16 @@ export function findAuctionList(data) {
data
})
}
/**
* 专场列表
* @param data
* @returns {*}
*/
export
function
findSpecialList
(
data
)
{
return
request
({
url
:
'
/specialPerformance/findList
'
,
method
:
'
post
'
,
data
})
}
src/router/index.js
View file @
90127c17
...
...
@@ -499,6 +499,19 @@ export const asyncRouterMap = [
},
hidden
:
true
},
{
path
:
'
auctionAdd
'
,
component
:
()
=>
import
(
'
@/views/sale/auctionAdd
'
),
name
:
'
auctionAdd
'
,
meta
:
{
perms
:
[],
title
:
'
拍品编辑
'
,
icon
:
'
list
'
,
noCache
:
true
,
keepAlive
:
true
},
hidden
:
true
},
{
path
:
'
specialList
'
,
component
:
()
=>
import
(
'
@/views/sale/specialList
'
),
...
...
src/views/sale/auctionAdd.vue
0 → 100644
View file @
90127c17
This diff is collapsed.
Click to expand it.
src/views/sale/auctionList.vue
View file @
90127c17
...
...
@@ -74,10 +74,9 @@
@
click
=
"
handleToDetail(scope.row)
"
>
详情
<
/el-button
>
<
el
-
button
:
disabled
=
"
(!scope.row.editAble && scope.row.type === 2)
"
type
=
"
primary
"
size
=
"
mini
"
@
click
=
"
handleTo
Detail
(scope.row)
"
>
编辑
@
click
=
"
handleTo
Edit
(scope.row)
"
>
编辑
<
/el-button
>
<
el
-
button
:
disabled
=
"
(!scope.row.editAble && scope.row.type === 2)
"
...
...
@@ -218,6 +217,12 @@ export default {
handleToDetail
(
item
)
{
this
.
$router
.
push
({
path
:
'
/sale/AuctionDetail
'
,
query
:
{
id
:
item
.
id
}}
)
}
,
/**
* 详情
*/
handleToEdit
(
item
)
{
this
.
$router
.
push
({
path
:
'
/sale/AuctionAdd
'
,
query
:
{
id
:
item
.
id
}}
)
}
,
/**
* 删除
*/
...
...
src/views/sale/specialList.vue
View file @
90127c17
...
...
@@ -12,32 +12,35 @@
border
fit
highlight-current-row
>
<el-table-column
align=
"center"
label=
"专场标题"
min-width=
"150px"
prop=
"
nam
e"
>
<el-table-column
align=
"center"
label=
"专场标题"
min-width=
"150px"
prop=
"
titl
e"
>
<template
slot-scope=
"scope"
>
<Line2Hidden
:text=
"scope.row.
nam
e"
/>
<Line2Hidden
:text=
"scope.row.
titl
e"
/>
</
template
>
</el-table-column>
<el-table-column
align=
"center"
label=
"竞拍时间"
prop=
"updateTime"
/>
<el-table-column
align=
"center"
label=
"藏品数"
prop=
"stock"
/>
<el-table-column
align=
"center"
label=
"状态"
prop=
"stock"
/>
<el-table-column
align=
"center"
label=
"出价次数"
prop=
"stock"
/>
<el-table-column
align=
"center"
label=
"竞拍时间"
prop=
"updateTime"
width=
"150"
>
<
template
slot-scope=
"scope"
>
<span>
{{
`${scope.row.startTime
}
至 ${scope.row.endTime
}
`
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
align
=
"
center
"
label
=
"
藏品数
"
prop
=
"
itemNum
"
/>
<
el
-
table
-
column
align
=
"
center
"
label
=
"
状态
"
prop
=
"
stateName
"
/>
<
el
-
table
-
column
align
=
"
center
"
label
=
"
出价次数
"
prop
=
"
offerNum
"
/>
<
el
-
table
-
column
align
=
"
center
"
label
=
"
更新时间
"
prop
=
"
updateTime
"
/>
<
el
-
table
-
column
align
=
"
center
"
label
=
"
操作
"
width
=
"
300
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
el
-
button
:disabled=
"(!scope.row.editAble && scope.row.type === 2)"
type
=
"
primary
"
size
=
"
mini
"
@
click
=
"
handleToDetail(scope.row)
"
>
详情
<
/el-button
>
<
el
-
button
:disabled=
"(
!scope.row.editAble && scope.row.typ
e === 2)"
:
disabled
=
"
(
scope.row.stat
e === 2)
"
type
=
"
primary
"
size
=
"
mini
"
@
click
=
"
handleToDetail(scope.row)
"
>
编辑
<
/el-button
>
<
el
-
button
:disabled=
"(
!scope.row.editAble && scope.row.typ
e === 2)"
:
disabled
=
"
(
scope.row.stat
e === 2)
"
type
=
"
danger
"
size
=
"
mini
"
@
click
=
"
handleDelete(scope.row)
"
>
删除
...
...
@@ -60,7 +63,7 @@
<
script
>
import
Line2Hidden
from
'
@/components/line2Hidden
'
import
Pagination
from
'
@/components/Pagination
'
import
{
getSale
List
,
updateOnSale
,
deleteSaleItem
}
from
'
@/api/business/sale
'
import
{
findSpecial
List
,
updateOnSale
,
deleteSaleItem
}
from
'
@/api/business/sale
'
import
{
MessageBox
}
from
'
element-ui
'
export
default
{
...
...
@@ -144,7 +147,7 @@ export default {
getList
()
{
localStorage
.
setItem
(
'
systemState
'
,
''
)
this
.
listLoading
=
true
getSale
List
(
this
.
listQuery
).
then
(
response
=>
{
findSpecial
List
(
this
.
listQuery
).
then
(
response
=>
{
this
.
list
=
response
.
data
.
data
.
dataList
this
.
total
=
response
.
data
.
data
.
total
this
.
listLoading
=
false
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment