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
fd8fdb8f
Commit
fd8fdb8f
authored
Jul 14, 2021
by
Tình Trương
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
ff3b09e8
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
31 additions
and
26 deletions
+31
-26
index.vue
src/components/add-update-post/index.vue
+0
-2
index.vue
src/components/configSystem/index.vue
+25
-18
index.ts
src/i18n/vi/index.ts
+2
-2
index.vue
src/pages/cau-hinh-trang-tinh/index.vue
+1
-1
routes.ts
src/router/routes.ts
+3
-3
No files found.
src/components/add-update-post/index.vue
View file @
fd8fdb8f
...
...
@@ -282,8 +282,6 @@
</q-tab-panels>
</div>
</div>
<div
class=
"row q-col-gutter-sm"
></div>
</q-card-section>
<q-card-actions
align=
"right"
>
<div>
...
...
src/components/configSystem/index.vue
View file @
fd8fdb8f
...
...
@@ -4,7 +4,7 @@
:model-value=
"isOpened"
@
update:model-value=
"$emit('update:isOpened', $event)"
>
<q-card
style=
"min
-width: 80rem"
bordered
>
<q-card
class=
"full-width"
style=
"max
-width: 80rem"
bordered
>
<q-form
greedy
@
submit
.
prevent=
"
...
...
@@ -25,7 +25,10 @@
</q-card-section>
<q-separator
/>
<q-card-section>
<q-card-section
class=
"overflow-auto"
style=
"max-height: calc(100vh - 15rem)"
>
<div
class=
"row q-col-gutter-sm"
>
<div
class=
"col-6"
>
<q-input
...
...
@@ -51,17 +54,17 @@
clearable
></q-input>
</div>
<div
class=
"col-12"
>
<div
class=
"col-12
q-pb-md
"
>
<div>
<q-editor
:model-value=
"content"
@
update:model-value=
"$emit('update:content', $event)"
ref=
"editorRef"
placeholder=
"Nội dung *"
style=
"min-height: 32rem"
toolbar-text-color=
"white"
toolbar-toggle-color=
"yellow-8"
toolbar-bg=
"primary"
style=
"height: 20rem"
:toolbar=
"[
[
{
...
...
@@ -153,10 +156,13 @@
</div>
</div>
</q-card-section>
<q-separator
/>
<q-card-actions
align=
"right"
>
<div>
<q-btn
color=
"grey"
no-caps
class=
"q-mr-sm"
style=
"width: 90px"
:label=
"$t('listConfigSystem.crudActions.cancel')"
@
click=
"$emit('update:isOpened', false)"
...
...
@@ -168,6 +174,7 @@
style=
"width: 90px"
:label=
"$t('listConfigSystem.crudActions.save')"
/>
</div>
</q-card-actions>
</q-form>
</q-card>
...
...
src/i18n/vi/index.ts
View file @
fd8fdb8f
...
...
@@ -958,12 +958,12 @@ export default {
},
},
//Cấu hình
chính sác
h
//Cấu hình
trang tĩn
h
listConfigSystem
:
{
add
:
'Thêm'
,
toolTipMessageUpdate
:
'Cập nhập'
,
toolTipMessageDelete
:
'Xóa'
,
title
:
'Cấu hình
hệ thống
'
,
title
:
'Cấu hình
Trang tĩnh
'
,
titleColumnsTable
:
{
stt
:
'STT'
,
namePage
:
'Tên cấu hình'
,
...
...
src/pages/cau-hinh-
he-thong
/index.vue
→
src/pages/cau-hinh-
trang-tinh
/index.vue
View file @
fd8fdb8f
...
...
@@ -87,7 +87,7 @@
<td>
<div
class=
"ellipsis-3-lines"
>
<div
v-html=
"!item.row.content ? '' : item.row.content"
></div>
<q-tooltip
:offset=
"[10, 10]"
max-width=
"
2
0%"
<q-tooltip
:offset=
"[10, 10]"
max-width=
"
3
0%"
><div
v-html=
"!item.row.content ? '' : item.row.content"
></div
></q-tooltip>
</div>
...
...
src/router/routes.ts
View file @
fd8fdb8f
...
...
@@ -19,7 +19,7 @@ export enum Pages {
menu
=
'menu'
,
listBooking
=
'danh-sach-booking'
,
work
=
'cong-viec'
,
configSystem
=
'cau-hinh-
he-thong
'
,
configSystem
=
'cau-hinh-
trang-tinh
'
,
news
=
'cau-hinh-tin-tuc'
,
hotProduct
=
'cau-hinh-san-pham-noi-bat'
,
}
...
...
@@ -120,8 +120,8 @@ const routes: RouteRecordRaw[] = [
name
:
Pages
.
work
,
},
{
path
:
'cau-hinh-
he-thong
'
,
component
:
()
=>
import
(
'pages/cau-hinh-
he-thong
/index.vue'
),
path
:
'cau-hinh-
trang-tinh
'
,
component
:
()
=>
import
(
'pages/cau-hinh-
trang-tinh
/index.vue'
),
name
:
Pages
.
configSystem
,
},
{
...
...
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