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
ce16c95b
Commit
ce16c95b
authored
Jul 24, 2023
by
yaya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:bugfix
parent
5ede839c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
3 deletions
+11
-3
src/utils/request.js
src/utils/request.js
+1
-1
src/views/goods/infoSet.vue
src/views/goods/infoSet.vue
+2
-1
src/views/goods/list.vue
src/views/goods/list.vue
+8
-1
No files found.
src/utils/request.js
View file @
ce16c95b
...
@@ -82,7 +82,7 @@ service.interceptors.response.use(
...
@@ -82,7 +82,7 @@ service.interceptors.response.use(
Message
({
Message
({
message
:
'
登录连接超时(后台不能连接,请联系系统管理员)
'
,
message
:
'
登录连接超时(后台不能连接,请联系系统管理员)
'
,
type
:
'
error
'
,
type
:
'
error
'
,
duration
:
5
*
1000
duration
:
10
*
1000
})
})
return
Promise
.
reject
(
error
)
return
Promise
.
reject
(
error
)
})
})
...
...
src/views/goods/infoSet.vue
View file @
ce16c95b
...
@@ -176,7 +176,7 @@
...
@@ -176,7 +176,7 @@
<
el
-
radio
:
label
=
"
0
"
>
否
<
/el-radio
>
<
el
-
radio
:
label
=
"
0
"
>
否
<
/el-radio
>
<
/el-radio-group
>
<
/el-radio-group
>
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
备注
"
prop
=
"
remark
"
>
<
el
-
form
-
item
label
=
"
备注
:
"
prop
=
"
remark
"
>
<
el
-
input
<
el
-
input
v
-
model
=
"
goodsParams.remark
"
v
-
model
=
"
goodsParams.remark
"
:
rows
=
"
5
"
:
rows
=
"
5
"
...
@@ -351,6 +351,7 @@ export default {
...
@@ -351,6 +351,7 @@ export default {
this
.
blobSecond
=
''
this
.
blobSecond
=
''
this
.
src
=
''
this
.
src
=
''
this
.
compositeImageSrc
=
''
this
.
compositeImageSrc
=
''
this
.
categoryIds
=
[]
}
,
}
,
// 选择图片结果
// 选择图片结果
fileChange
(
e
)
{
fileChange
(
e
)
{
...
...
src/views/goods/list.vue
View file @
ce16c95b
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<template
slot-scope=
"props"
>
<template
slot-scope=
"props"
>
<el-form
label-position=
"left"
class=
"table-expand"
>
<el-form
label-position=
"left"
class=
"table-expand"
>
<el-form-item
label=
"钱币图片"
>
<el-form-item
label=
"钱币图片"
>
<img
:src=
"props.row.topImage
"
class=
"gallery"
>
<img
v-for=
"pic in props.row.imageList"
:src=
"pic"
:key=
"pic
"
class=
"gallery"
>
</el-form-item>
</el-form-item>
<el-form-item
label=
"钱币价格"
>
<el-form-item
label=
"钱币价格"
>
<span>
{{
props
.
row
.
price
}}
</span>
<span>
{{
props
.
row
.
price
}}
</span>
...
@@ -85,6 +85,7 @@
...
@@ -85,6 +85,7 @@
}
}
.table-expand
{
.table-expand
{
font-size
:
0
;
font-size
:
0
;
margin-left
:
15px
;
}
}
.table-expand
label
{
.table-expand
label
{
width
:
100px
;
width
:
100px
;
...
@@ -133,6 +134,12 @@ export default {
...
@@ -133,6 +134,12 @@ export default {
this
.
listLoading
=
true
this
.
listLoading
=
true
listGoods
(
this
.
listQuery
).
then
(
response
=>
{
listGoods
(
this
.
listQuery
).
then
(
response
=>
{
this
.
list
=
response
.
data
.
data
.
items
this
.
list
=
response
.
data
.
data
.
items
this
.
list
=
(
response
.
data
.
data
.
items
||
[]).
map
((
e
,
index
)
=>
{
return
{
...
e
,
imageList
:
e
.
topImage
?
[
e
.
topImage
].
concat
(
e
.
images
)
:
e
.
images
}
})
this
.
total
=
response
.
data
.
data
.
total
this
.
total
=
response
.
data
.
data
.
total
this
.
listLoading
=
false
this
.
listLoading
=
false
}).
catch
(()
=>
{
}).
catch
(()
=>
{
...
...
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