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
3844e140
Commit
3844e140
authored
Aug 29, 2023
by
yaya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:钱币设置添加暂不处理功能
parent
d8abaf84
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
3 deletions
+28
-3
src/api/business/goodsNew.js
src/api/business/goodsNew.js
+8
-0
src/views/goods/infoSet.vue
src/views/goods/infoSet.vue
+20
-3
No files found.
src/api/business/goodsNew.js
View file @
3844e140
...
...
@@ -39,3 +39,11 @@ export function deleteGood(params) {
data
:
params
})
}
export
function
holdOver
(
params
)
{
return
request
({
url
:
'
/item/holdOver
'
,
method
:
'
post
'
,
data
:
params
})
}
src/views/goods/infoSet.vue
View file @
3844e140
<
template
>
<
template
>
<div
ref=
"scrollRef"
class=
"app-container"
>
<div
ref=
"top"
:class=
"
{fixed: isFixed}" class="op-container" style="margin-bottom: 20px">
<el-button
round
type=
"danger"
@
click=
"handleDelete"
>
删除
</el-button>
<el-button
round
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
type=
"primary"
round
@
click=
"handlePublish"
>
发布
</el-button>
<el-button
type=
"primary"
style=
"margin-right: 20px"
round
@
click=
"handleEdit"
>
编辑
</el-button>
<el-button
type=
"primary"
round
@
click=
"handleEdit"
>
编辑
</el-button>
<el-button
type=
"primary"
style=
"margin-right: 20px"
@
click=
"handleNotOperate"
>
暂不处理
</el-button>
<el-button-group>
<el-button
:disabled=
"previousDisabled"
type=
"primary"
icon=
"el-icon-arrow-left"
@
click=
"handlePrevious"
>
上一个
</el-button>
...
...
@@ -184,7 +185,7 @@ import { VuePictureCut, VuePictureCutMask, VuePictureCutMenu } from 'vue-picture
import
{
getToken
}
from
'
@/utils/auth
'
import
SelectImageDialog
from
'
./components/selectImageDialog
'
import
{
listCategories
}
from
'
@/api/business/goods
'
import
{
detailGoods
,
editGoods
,
saveImageBase64
,
saveCroppingRecord
,
deleteGood
}
from
'
@/api/business/goodsNew
'
import
{
detailGoods
,
editGoods
,
saveImageBase64
,
saveCroppingRecord
,
deleteGood
,
holdOver
}
from
'
@/api/business/goodsNew
'
import
CheckLargeImageDialog
from
'
./components/CheckLargeImageDialog
'
import
CutImageDialog
from
'
./components/CutImageDialog
'
import
CutEditImageDialog
from
'
./components/CutEditImageDialog
'
...
...
@@ -345,6 +346,22 @@ export default {
this
.
compositeImageSrc
=
''
this
.
categoryIds
=
[]
},
// 暂不处理
handleNotOperate
()
{
const
params
=
{
id
:
this
.
goodsParams
.
id
}
holdOver
(
params
).
then
(
response
=>
{
this
.
$message
.
success
(
'
操作成功
'
)
this
.
handleNext
()
}).
catch
(
response
=>
{
this
.
$notify
.
error
({
title
:
'
失败
'
,
message
:
response
.
data
.
errmsg
||
'
请求失败
'
})
})
},
// 删除
handleDelete
()
{
this
.
$confirm
(
'
删除后不可恢复!
'
,
'
是否要删除该藏品?
'
,
{
...
...
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