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
e8b5066e
Commit
e8b5066e
authored
Aug 05, 2024
by
yaya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 众筹功能发布优化
parent
33b0b0e4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
4 deletions
+25
-4
src/views/sale/groupAdd.vue
src/views/sale/groupAdd.vue
+22
-1
src/views/sale/groupList.vue
src/views/sale/groupList.vue
+2
-2
src/views/sale/itemList.vue
src/views/sale/itemList.vue
+1
-1
No files found.
src/views/sale/groupAdd.vue
View file @
e8b5066e
...
@@ -117,7 +117,7 @@
...
@@ -117,7 +117,7 @@
<
/div
>
<
/div
>
<
/el-form-item
>
<
/el-form-item
>
<
/div
>
<
/div
>
<
el
-
form
-
item
label
=
"
微信群聊
"
prop
=
"
wxQrcode
"
>
<
el
-
form
-
item
label
=
"
微信群聊
"
required
>
<
el
-
upload
<
el
-
upload
:
action
=
"
uploadPath
"
:
action
=
"
uploadPath
"
:
headers
=
"
headers
"
:
headers
=
"
headers
"
...
@@ -307,6 +307,17 @@ export default {
...
@@ -307,6 +307,17 @@ export default {
}
)
}
)
}
}
}
}
const
list
=
[]
if
(
response
.
data
.
data
.
wxQrcode
)
{
list
.
push
({
url
:
response
.
data
.
data
.
wxQrcode
}
)
this
.
goods
.
wxQrcode
=
response
.
data
.
data
.
wxQrcode
}
this
.
itemChatImages
=
list
if
(
response
.
data
.
data
.
groupPurchaseStartTime
&&
response
.
data
.
data
.
groupPurchaseEndTime
)
{
this
.
timeValue
=
[
response
.
data
.
data
.
groupPurchaseStartTime
,
response
.
data
.
data
.
groupPurchaseEndTime
]
}
}
}
}
)
}
)
.
catch
(
response
=>
{
.
catch
(
response
=>
{
...
@@ -358,8 +369,18 @@ export default {
...
@@ -358,8 +369,18 @@ export default {
}
)
}
)
return
return
}
}
if
(
!
this
.
goods
.
wxQrcode
)
{
this
.
$message
({
type
:
'
error
'
,
message
:
'
请选择微信群聊图片!
'
}
)
return
}
this
.
goods
.
groupPurchaseStartTime
=
this
.
timeValue
[
0
]
this
.
goods
.
groupPurchaseStartTime
=
this
.
timeValue
[
0
]
this
.
goods
.
groupPurchaseEndTime
=
this
.
timeValue
[
1
]
this
.
goods
.
groupPurchaseEndTime
=
this
.
timeValue
[
1
]
if
(
this
.
numType
===
-
1
)
{
this
.
goods
.
buyLimitNum
=
-
1
}
this
.
$refs
.
goods
.
validate
((
valid
)
=>
{
this
.
$refs
.
goods
.
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
const
loading
=
this
.
$loading
({
const
loading
=
this
.
$loading
({
...
...
src/views/sale/groupList.vue
View file @
e8b5066e
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
<
el
-
table
-
column
align
=
"
center
"
label
=
"
销量
"
prop
=
"
selledNum
"
/>
<
el
-
table
-
column
align
=
"
center
"
label
=
"
销量
"
prop
=
"
selledNum
"
/>
<
el
-
table
-
column
align
=
"
center
"
label
=
"
众筹时间
"
prop
=
"
groupPurchaseStartTime
"
min
-
width
=
"
150px
"
>
<
el
-
table
-
column
align
=
"
center
"
label
=
"
众筹时间
"
prop
=
"
groupPurchaseStartTime
"
min
-
width
=
"
150px
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
span
class
=
"
tooltip-span
"
>
{{
`${scope.row.groupPurchaseStartTime
}
~ ${scope.row.groupPurchaseEndTime
}
`
}}
<
/span
>
<
span
class
=
"
tooltip-span
"
>
{{
`${scope.row.groupPurchaseStartTime
? `
$
{
scope
.
row
.
groupPurchaseStartTime
}
~
$
{
scope
.
row
.
groupPurchaseEndTime
}
` : '-'
}
`
}}
<
/span
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
align
=
"
center
"
label
=
"
众筹发起人
"
prop
=
"
creatorName
"
/>
<
el
-
table
-
column
align
=
"
center
"
label
=
"
众筹发起人
"
prop
=
"
creatorName
"
/>
...
@@ -73,7 +73,7 @@
...
@@ -73,7 +73,7 @@
<
el
-
table
-
column
align
=
"
center
"
label
=
"
操作
"
width
=
"
150
"
fixed
=
"
right
"
>
<
el
-
table
-
column
align
=
"
center
"
label
=
"
操作
"
width
=
"
150
"
fixed
=
"
right
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
el
-
button
<
el
-
button
:
disabled
=
"
(
!scope.row.editAble && scope.row.type === 2
)
"
:
disabled
=
"
(
scope.row.isOnSale
)
"
type
=
"
primary
"
type
=
"
primary
"
size
=
"
mini
"
size
=
"
mini
"
@
click
=
"
handleToDetail(scope.row)
"
>
编辑
@
click
=
"
handleToDetail(scope.row)
"
>
编辑
...
...
src/views/sale/itemList.vue
View file @
e8b5066e
...
@@ -369,7 +369,7 @@ export default {
...
@@ -369,7 +369,7 @@ export default {
* 开团
* 开团
*/
*/
handleToGroup
(
row
)
{
handleToGroup
(
row
)
{
this
.
$confirm
(
'
确定将该藏品
开启团购
吗?
'
,
'
提示
'
,
{
this
.
$confirm
(
'
确定将该藏品
转众筹
吗?
'
,
'
提示
'
,
{
confirmButtonText
:
'
确定
'
,
confirmButtonText
:
'
确定
'
,
cancelButtonText
:
'
取消
'
,
cancelButtonText
:
'
取消
'
,
type
:
'
warning
'
type
:
'
warning
'
...
...
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