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
c80c533f
Commit
c80c533f
authored
Jul 20, 2021
by
Tình Trương
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
ebce866b
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
36 additions
and
45 deletions
+36
-45
index.vue
src/components/artist-information/AddHotProduct/index.vue
+0
-6
index.vue
src/components/artist-information/UpdateHotProduct/index.vue
+1
-7
updateHotProduc.ts
...ts/artist-information/UpdateHotProduct/updateHotProduc.ts
+8
-4
HotProduct.ts
src/components/artist-information/hot-product/HotProduct.ts
+3
-2
index.vue
src/components/artist-information/hot-product/index.vue
+11
-13
index.vue
src/pages/cap-nhat-thong-tin-nghe-sy/index.vue
+5
-5
index.vue
src/pages/nghe-sy/index.vue
+3
-3
index.vue
src/pages/them-nghe-sy/index.vue
+5
-5
No files found.
src/components/artist-information/AddHotProduct/index.vue
View file @
c80c533f
...
...
@@ -79,12 +79,6 @@
hide-bottom-space
></q-select>
</div>
<!--
<div
style=
"padding-top: 13px; padding-left: 12px"
>
<span
class=
"text-body1"
>
{{
$t
(
'userPage.dialogLabel.fieldLabels.status'
)
}}
</span>
<q-toggle
v-model=
"status"
:false-value=
"2"
:true-value=
"1"
/>
</div>
-->
</div>
</q-card-section>
<q-card-actions
align=
"right"
>
...
...
src/components/artist-information/UpdateHotProduct/index.vue
View file @
c80c533f
...
...
@@ -2,7 +2,7 @@
<q-dialog
persistent
:model-value=
"openUpdateHotProduct"
@
update:model-value=
"$emit('update:openUp
a
dateHotProduct', $event)"
@
update:model-value=
"$emit('update:openUpdateHotProduct', $event)"
>
<q-card
style=
"min-width: 38rem"
bordered
>
<q-form
greedy
@
submit=
"SubbmitDataUpdate"
>
...
...
@@ -82,12 +82,6 @@
hide-bottom-space
></q-select>
</div>
<!--
<div
style=
"padding-top: 13px; padding-left: 12px"
>
<span
class=
"text-body1"
>
{{
$t
(
'userPage.dialogLabel.fieldLabels.status'
)
}}
</span>
<q-toggle
v-model=
"status"
:false-value=
"2"
:true-value=
"1"
/>
</div>
-->
</div>
</q-card-section>
<q-card-actions
align=
"right"
>
...
...
src/components/artist-information/UpdateHotProduct/updateHotProduc.ts
View file @
c80c533f
...
...
@@ -50,9 +50,13 @@ export default defineComponent({
embeddedUrl
.
value
=
props
.
dataUpdate
?.
embeddedUrl
as
string
;
status
.
value
=
props
.
dataUpdate
?.
status
as
number
;
urlFileLocal
.
value
=
props
.
dataUpdate
?.
imageUrl
as
string
;
imageAPI
.
value
=
// eslint-disable-next-line @typescript-eslint/restrict-plus-operands
configImg
.
API_IMAGE_ENDPOINT
+
props
.
dataUpdate
?.
imageUrl
;
if
(
props
.
dataUpdate
?.
file
)
{
imageAPI
.
value
=
null
;
}
else
{
imageAPI
.
value
=
// eslint-disable-next-line @typescript-eslint/restrict-plus-operands
configImg
.
API_IMAGE_ENDPOINT
+
props
.
dataUpdate
?.
imageUrl
;
}
}
}
);
...
...
@@ -138,6 +142,6 @@ export default defineComponent({
'update:statusHotProduct'
,
'selectedFile'
,
'click:CloseBtnUpdateHotProduct'
,
'update:openUp
a
dateHotProduct'
,
'update:openUpdateHotProduct'
,
],
});
src/components/artist-information/hot-product/HotProduct.ts
View file @
c80c533f
...
...
@@ -83,8 +83,9 @@ export default defineComponent({
imageUrl
:
item
.
row
.
imageUrl
,
name
:
item
.
row
.
name
,
status
:
item
.
row
.
status
,
file
:
item
.
row
.
file
,
});
context
.
emit
(
'click:openUp
a
dateHotProduct'
);
context
.
emit
(
'click:openUpdateHotProduct'
);
};
const
clickAdd
=
()
=>
{
context
.
emit
(
'click:addHotProduct'
);
...
...
@@ -110,7 +111,7 @@ export default defineComponent({
'click:addHotProduct'
,
'reset'
,
'deleteRow'
,
'click:openUp
a
dateHotProduct'
,
'click:openUpdateHotProduct'
,
'setDataUpdate'
,
],
});
src/components/artist-information/hot-product/index.vue
View file @
c80c533f
...
...
@@ -34,7 +34,7 @@
:color=
"
rowData.value === HotProductStatus.active
? 'positive'
: '
orange
'
: '
primary
'
"
text-color=
"white"
size=
"sm"
...
...
@@ -78,18 +78,16 @@
</div>
</q-td>
</
template
>
<
template
v-slot:body-cell-imageUrl=
"rowData"
>
<q-td
style=
"padding: auto; height: 100%"
>
<div
align=
"center"
>
<q-img
style=
"width: 5rem; height: 6rem"
:src=
"
rowData.file === undefined
? configImg.API_IMAGE_ENDPOINT + rowData.value
: rowData.value
"
></q-img>
</div>
<
template
v-slot:body-cell-imageUrl=
"data"
>
<q-td
style=
"padding: auto; height: 100%; text-align: center"
>
<q-img
style=
"width: 5rem; height: 6rem"
:src=
"
!data.row.file
? configImg.API_IMAGE_ENDPOINT + data.value
: data.row.imageUrl
"
></q-img>
</q-td>
</
template
>
</q-table>
...
...
src/pages/cap-nhat-thong-tin-nghe-sy/index.vue
View file @
c80c533f
...
...
@@ -51,11 +51,11 @@
v-model:facebook=
"facebook"
v-model:facebook-message=
"facebookMessage"
v-model:instagram=
"instagram"
v-model:whatsapp=
"whatsapp"
v-model:whats
-
app=
"whatsapp"
v-model:hidden_img=
"hidden_img"
v-model:mn
N
ame=
"mnName"
v-model:mn
P
hone=
"mnPhone"
v-model:mn
E
mail=
"mnEmail"
v-model:mn
-n
ame=
"mnName"
v-model:mn
-p
hone=
"mnPhone"
v-model:mn
-e
mail=
"mnEmail"
v-model:mn-booking-phone=
"mnBookingPhone"
v-model:mn-booking-email=
"mnBookingEmail"
v-model:mn-fbmess=
"mnFbmess"
...
...
@@ -129,7 +129,7 @@
@
reset=
"resetOldData"
:DataInsertHotProduct=
"DataInsertHotProduct"
@
click:addHotProduct=
"openAddHotProduct = true"
@
click:openUp
a
dateHotProduct=
"openUpdateHotProduct = true"
@
click:openUpdateHotProduct=
"openUpdateHotProduct = true"
@
setDataUpdate=
"SetProduct($event)"
></HotProduct>
</q-tab-panel>
...
...
src/pages/nghe-sy/index.vue
View file @
c80c533f
...
...
@@ -158,9 +158,9 @@
v-model:facebook=
"facebook"
v-model:facebook-message=
"facebookMessage"
v-model:instagram=
"instagram"
v-model:whatsapp=
"whatsapp"
v-model:mn
N
ame=
"mnName"
v-model:mn
P
hone=
"mnPhone"
v-model:whats
-
app=
"whatsapp"
v-model:mn
-n
ame=
"mnName"
v-model:mn
-p
hone=
"mnPhone"
v-model:mnEmail=
"mnEmail"
v-model:mn-booking-phone=
"mnBookingPhone"
v-model:mn-booking-email=
"mnBookingEmail"
...
...
src/pages/them-nghe-sy/index.vue
View file @
c80c533f
...
...
@@ -51,11 +51,11 @@
v-model:facebook=
"facebook"
v-model:facebook-message=
"facebookMessage"
v-model:instagram=
"instagram"
v-model:whatsapp=
"whatsapp"
v-model:whats
-
app=
"whatsapp"
v-model:hidden_img=
"hidden_img"
v-model:mn
N
ame=
"mnName"
v-model:mn
P
hone=
"mnPhone"
v-model:mn
E
mail=
"mnEmail"
v-model:mn
-n
ame=
"mnName"
v-model:mn
-p
hone=
"mnPhone"
v-model:mn
-e
mail=
"mnEmail"
v-model:mn-booking-phone=
"mnBookingPhone"
v-model:mn-booking-email=
"mnBookingEmail"
v-model:mn-fbmess=
"mnFbmess"
...
...
@@ -129,7 +129,7 @@
@
reset=
"resetOldData"
:DataInsertHotProduct=
"DataInsertHotProduct"
@
click:addHotProduct=
"openAddHotProduct = true"
@
click:openUp
a
dateHotProduct=
"openUpdateHotProduct = true"
@
click:openUpdateHotProduct=
"openUpdateHotProduct = true"
@
setDataUpdate=
"SetProduct($event)"
></HotProduct>
</q-tab-panel>
...
...
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