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
e56123a3
Commit
e56123a3
authored
Dec 27, 2023
by
yaya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 详情页添加倒计时
parent
d28bebd2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
8 deletions
+15
-8
src/views/consign/consignDetail.vue
src/views/consign/consignDetail.vue
+9
-2
src/views/consign/consignList.vue
src/views/consign/consignList.vue
+6
-6
No files found.
src/views/consign/consignDetail.vue
View file @
e56123a3
...
...
@@ -5,8 +5,12 @@
<div>
{{
saleId
}}
</div>
<el-button
type=
"text"
style=
"margin-left: 10px;
margin-right: auto
"
>
{{
systemStateName
}}
style=
"margin-left: 10px;"
>
{{
systemStateName
}}
</el-button>
<div
v-if=
"isHasPrice && (systemState === 1 || systemState === 8) && timeStr"
style=
"margin-left: 10px"
>
<NormalCountdown
:last=
"timeStr"
/>
</div>
<div
style=
"margin-right: auto"
/>
<div
v-if=
"systemState === 1"
style=
"margin-right: 12px"
>
<el-button
:disabled=
"isHasPrice"
...
...
@@ -171,13 +175,15 @@ import ImageValueDialog from './components/ImageValueDialog'
import
SaleConsignDialog
from
'
./components/SaleConsignDialog
'
import
FinishSettlementDialog
from
'
./components/FinishSettlementDialog
'
import
CancelConsignDialog
from
'
./components/CancelConsignDialog
'
import
NormalCountdown
from
'
./components/NormalCountdown
'
export
default
{
name
:
'
ConsignDetail
'
,
components
:
{
CancelConsignDialog
,
FinishSettlementDialog
,
SaleConsignDialog
,
ImageValueDialog
,
IdentifyValueDialog
,
CheckVideoDialog
,
CheckLargeImageDialog
}
,
components
:
{
NormalCountdown
,
CancelConsignDialog
,
FinishSettlementDialog
,
SaleConsignDialog
,
ImageValueDialog
,
IdentifyValueDialog
,
CheckVideoDialog
,
CheckLargeImageDialog
}
,
data
()
{
return
{
saleId
:
''
,
timeStr
:
''
,
systemState
:
0
,
systemStateName
:
''
,
consignDetail
:
{
}
,
...
...
@@ -215,6 +221,7 @@ export default {
return
}
this
.
saleId
=
this
.
$route
.
query
.
saleId
this
.
timeStr
=
this
.
$route
.
query
.
timeStr
const
loading
=
this
.
$loading
({
lock
:
true
,
text
:
'
Loading
'
,
...
...
src/views/consign/consignList.vue
View file @
e56123a3
...
...
@@ -270,6 +270,11 @@ export default {
this
.
list
=
response
.
data
.
data
.
dataList
this
.
total
=
response
.
data
.
data
.
total
this
.
listLoading
=
false
if
(
this
.
listQuery
.
systemState
===
'
1
'
||
this
.
listQuery
.
systemState
===
'
8
'
)
{
this
.
list
.
forEach
((
item
,
index
)
=>
{
item
.
timeStr
=
new
Date
(
item
.
countdownTime
).
getTime
()
})
}
}).
catch
((
e
)
=>
{
this
.
list
=
[]
this
.
total
=
0
...
...
@@ -281,7 +286,7 @@ export default {
*/
handleToDetail
(
item
)
{
localStorage
.
setItem
(
'
systemState
'
,
this
.
listQuery
.
systemState
)
this
.
$router
.
push
({
path
:
'
/consign/consignDetail
'
,
query
:
{
saleId
:
item
.
saleId
}})
this
.
$router
.
push
({
path
:
'
/consign/consignDetail
'
,
query
:
{
saleId
:
item
.
saleId
,
timeStr
:
item
.
timeStr
}})
},
/**
* 图文评估
...
...
@@ -309,11 +314,6 @@ export default {
})
})
},
// 取消完成寄售
handleCancelFinishDialog
()
{
this
.
finishDialogShow
=
false
this
.
finishForm
=
{}
},
/**
* 实物评估
*/
...
...
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