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
be32b068
Commit
be32b068
authored
Aug 03, 2021
by
Tình Trương
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
f9adb60e
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
337 additions
and
416 deletions
+337
-416
configurations.example.ts
src/assets/configurations.example.ts
+3
-0
type.ts
src/assets/type.ts
+28
-0
index.vue
...onents/add-update-cau-hinh-doi-tac-truyen-thong/index.vue
+1
-1
index.vue
src/components/hotProduct/index.vue
+111
-183
index.ts
src/i18n/vi/index.ts
+17
-24
index.vue
src/pages/cau-hinh-san-pham-noi-bat/index.vue
+177
-208
No files found.
src/assets/configurations.example.ts
View file @
be32b068
...
...
@@ -107,4 +107,7 @@ export enum API_PATHS {
addConfigPartner
=
'config/home/partner/add'
,
getDetailConfigPartner
=
'config/home/partner/detail'
,
updateConfigPartner
=
'config/home/partner/update'
,
getListConfigHotProduct
=
'config/home/product'
,
getDetailConfigHotProduct
=
'config/home/product/detail'
,
updateConfigHotProduct
=
'config/home/product/update/salient'
,
}
src/assets/type.ts
View file @
be32b068
...
...
@@ -667,3 +667,31 @@ export type addConfigPartnerConfig = {
updateBy
:
string
;
updateTime
:
string
;
};
export
type
ListConfigHotProduct
=
{
id
:
number
;
code
:
string
;
name
:
string
;
artistName
:
string
;
embeddedUrl
:
string
;
imageUrl
:
string
;
salientStatus
:
number
;
};
export
type
DetailConfigHotProduct
=
{
id
:
number
;
code
:
string
;
name
:
string
;
artistName
:
string
;
embeddedUrl
:
string
;
imageUrl
:
string
;
salientStatus
:
number
;
};
export
type
UpdateConfigHotProduct
=
{
id
:
number
;
code
:
string
;
name
:
string
;
artistName
:
string
;
embeddedUrl
:
string
;
imageUrl
:
string
;
salientStatus
:
number
;
};
src/components/add-update-cau-hinh-doi-tac-truyen-thong/index.vue
View file @
be32b068
...
...
@@ -30,7 +30,7 @@
style=
"max-height: calc(100vh - 15rem)"
>
<div
class=
"row q-col-gutter-sm"
>
<div
class=
"col-6"
>
<div
class=
"col-6
q-mt-sm
"
>
<div
class=
"row flex-center"
>
<div>
<q-card
class=
"q-mb-sm"
v-if=
"image !== null"
>
...
...
src/components/hotProduct/index.vue
View file @
be32b068
This diff is collapsed.
Click to expand it.
src/i18n/vi/index.ts
View file @
be32b068
...
...
@@ -1144,47 +1144,40 @@ export default {
toolTipMessageDelete
:
'Xóa'
,
title
:
'Cấu hình Sản phẩm nổi bật'
,
titleColumnsTable
:
{
stt
:
'STT'
,
image
:
'Ảnh sản phẩm'
,
title
:
'Tiêu đề'
,
content
:
'Nội dung'
,
location
:
'Vị trí'
,
urlTarget
:
'Url target'
,
createTime
:
'Người tạo'
,
createBy
:
'T.G tạo'
,
updateTime
:
'Người Cập nhật'
,
updateBy
:
'T.G Cập nhật'
,
status
:
'Trạng thái'
,
artistName
:
'Tên nghệ sỹ'
,
name
:
'Tên sản phẩm'
,
imageUrl
:
'Ảnh sản phẩm'
,
embeddedUrl
:
'Link Embed'
,
salientStatus
:
'Trạng thái'
,
action
:
'Chức năng'
,
},
dialogLabel
:
{
titleUpdate
:
'Cập nhật Sản phẩm nổi bật'
,
titleAdd
:
'Thêm Sản phẩm nổi bật'
,
fieldLabels
:
{
avatar
:
'Ảnh sản phẩm'
,
urlTarget
:
'Url target'
,
title
:
'Tiêu đề'
,
content
:
'Nội dung'
,
location
:
'Vị trí'
,
status
:
'Trạng thái'
,
artistName
:
'Tên nghệ sỹ *'
,
name
:
'Tên sản phẩm *'
,
embeddedUrl
:
'Link Embed *'
,
salientStatus
:
'Trạng thái'
,
},
},
validateMessages
:
{
requireTitle
:
'Vui lòng nhập Tiêu đề'
,
requireUrlTarget
:
'Vui lòng nhập Url target'
,
requireArtistName
:
'Vui lòng nhập Tên nghệ sỹ'
,
requireName
:
'Vui lòng nhập Tên sản phẩm'
,
requireEmbeddedUrl
:
'Vui lòng nhập Link embed'
,
},
crudActions
:
{
save
:
'Lưu'
,
cancel
:
'Đóng'
,
},
statusLabel
:
{
active
:
'H
oạt động
'
,
inactive
:
'
Ngừng hoạt động
'
,
active
:
'H
iển thị
'
,
inactive
:
'
Không hiển thị
'
,
},
actionMessages
:
{
addSuccess
:
'Thêm
S
ản phẩm nổi bật thành công'
,
updateSuccess
:
'Cập nhật
S
ản phẩm nổi bật thành công'
,
deleteSuccess
:
'Xóa
S
ản phẩm nổi bật thành công'
,
addSuccess
:
'Thêm
cấu hính s
ản phẩm nổi bật thành công'
,
updateSuccess
:
'Cập nhật
cấu hính s
ản phẩm nổi bật thành công'
,
deleteSuccess
:
'Xóa
cấu hình s
ản phẩm nổi bật thành công'
,
},
},
...
...
src/pages/cau-hinh-san-pham-noi-bat/index.vue
View file @
be32b068
This diff is collapsed.
Click to expand it.
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