Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
quasar-web-base
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nguyễn Hải Sơn
quasar-web-base
Commits
dab1f5f0
Commit
dab1f5f0
authored
Jul 19, 2021
by
Tình Trương
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
1e2b8a23
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
10 deletions
+5
-10
updateHotProduc.ts
...ts/artist-information/UpdateHotProduct/updateHotProduc.ts
+0
-1
HotProduct.ts
src/components/artist-information/hot-product/HotProduct.ts
+4
-9
index.vue
src/components/artist-information/hot-product/index.vue
+1
-0
No files found.
src/components/artist-information/UpdateHotProduct/updateHotProduc.ts
View file @
dab1f5f0
...
@@ -50,7 +50,6 @@ export default defineComponent({
...
@@ -50,7 +50,6 @@ export default defineComponent({
embeddedUrl
.
value
=
props
.
dataUpdate
?.
embeddedUrl
as
string
;
embeddedUrl
.
value
=
props
.
dataUpdate
?.
embeddedUrl
as
string
;
status
.
value
=
props
.
dataUpdate
?.
status
as
number
;
status
.
value
=
props
.
dataUpdate
?.
status
as
number
;
urlFileLocal
.
value
=
props
.
dataUpdate
?.
imageUrl
as
string
;
urlFileLocal
.
value
=
props
.
dataUpdate
?.
imageUrl
as
string
;
imageAPI
.
value
=
imageAPI
.
value
=
// eslint-disable-next-line @typescript-eslint/restrict-plus-operands
// eslint-disable-next-line @typescript-eslint/restrict-plus-operands
configImg
.
API_IMAGE_ENDPOINT
+
props
.
dataUpdate
?.
imageUrl
;
configImg
.
API_IMAGE_ENDPOINT
+
props
.
dataUpdate
?.
imageUrl
;
...
...
src/components/artist-information/hot-product/HotProduct.ts
View file @
dab1f5f0
...
@@ -15,19 +15,13 @@ export default defineComponent({
...
@@ -15,19 +15,13 @@ export default defineComponent({
setup
(
_
,
context
)
{
setup
(
_
,
context
)
{
const
configImg
=
config
;
const
configImg
=
config
;
const
userTableColumnsHotProduct
=
[
const
userTableColumnsHotProduct
=
[
{
name
:
'STT'
,
required
:
true
,
label
:
'STT'
,
align
:
'center'
,
sortable
:
false
,
},
{
{
name
:
'name'
,
name
:
'name'
,
field
:
'name'
,
field
:
'name'
,
required
:
true
,
required
:
true
,
label
:
i18n
.
global
.
t
(
'artist.hotProduct.tableColumnsProduct.name'
),
label
:
i18n
.
global
.
t
(
'artist.hotProduct.tableColumnsProduct.name'
),
align
:
'center'
,
headerStyle
:
'text-align: center !important;'
,
align
:
'left'
,
sortable
:
false
,
sortable
:
false
,
},
},
{
{
...
@@ -45,7 +39,8 @@ export default defineComponent({
...
@@ -45,7 +39,8 @@ export default defineComponent({
field
:
'embeddedUrl'
,
field
:
'embeddedUrl'
,
required
:
true
,
required
:
true
,
label
:
i18n
.
global
.
t
(
'artist.hotProduct.tableColumnsProduct.urlEmbed'
),
label
:
i18n
.
global
.
t
(
'artist.hotProduct.tableColumnsProduct.urlEmbed'
),
align
:
'center'
,
headerStyle
:
'text-align: center !important;'
,
align
:
'left'
,
sortable
:
false
,
sortable
:
false
,
},
},
{
{
...
...
src/components/artist-information/hot-product/index.vue
View file @
dab1f5f0
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
:no-data-label=
"$t('emptyData')"
:no-data-label=
"$t('emptyData')"
row-key=
"name"
row-key=
"name"
separator=
"cell"
separator=
"cell"
wrap-cells
hide-pagination
hide-pagination
>
>
<template
v-slot:body-cell-status=
"rowData"
>
<template
v-slot:body-cell-status=
"rowData"
>
...
...
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