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
fc04df0a
Commit
fc04df0a
authored
Apr 04, 2023
by
Nguyễn Đức Thắng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
41f305d5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
13 deletions
+14
-13
configurations.example.ts
src/assets/configurations.example.ts
+1
-0
index.vue
src/components/configSystem/index.vue
+2
-2
index.vue
src/pages/cau-hinh-trang-tinh/index.vue
+11
-11
No files found.
src/assets/configurations.example.ts
View file @
fc04df0a
...
...
@@ -5,6 +5,7 @@ export const config = {
// pro
API_ENDPOINT
:
'https://cms.vab.vn/api/'
,
API_IMAGE_ENDPOINT
:
'https://cms.vab.vn/file/upload/'
,
API_IMAGE_ORIGIN
:
'https://cms.vab.vn/file/upload/origin'
,
// dev
// API_ENDPOINT: 'http://103.147.34.20:10700/api/',
// API_IMAGE_ENDPOINT: 'http://103.147.34.20:10705/file/upload/',
...
...
src/components/configSystem/index.vue
View file @
fc04df0a
...
...
@@ -19,7 +19,7 @@
isUpdate
?
$t
(
'listConfigSystem.dialogLabel.titleAdd'
)
:
$t
(
'listConfigSystem.dialogLabel.titleUpdate'
)
}}
</q-item-label>
}}
</q-item-label>
</q-item-section>
</q-item>
</q-card-section>
...
...
@@ -436,7 +436,7 @@ export default defineComponent({
bodyFormData
.
append
(
'file'
,
file
);
const
response
=
(
await
api
({
headers
:
{
'Content-Type'
:
'multipart/form-data'
},
url
:
config
.
API_IMAGE_
ENDPOINT
,
// pro
url
:
config
.
API_IMAGE_
ORIGIN
,
// pro
method
:
'POST'
,
data
:
bodyFormData
,
}))
as
AxiosResponse
<
BaseResponseBody
<
FileUploadType
>>
;
...
...
src/pages/cau-hinh-trang-tinh/index.vue
View file @
fc04df0a
...
...
@@ -96,7 +96,7 @@
</q-td>
</
template
>
<
template
v-slot:body-cell-content=
"item"
>
<
!-- <
template v-slot:body-cell-content="item">
<td>
<div class="ellipsis-3-lines">
<div v-html="!item.row.content ? '' : item.row.content"></div>
...
...
@@ -105,7 +105,7 @@
></q-tooltip>
</div>
</td>
</
template
>
</template>
-->
</q-table>
</div>
<div
class=
"col-12 q-mt-sm"
>
...
...
@@ -215,15 +215,15 @@ export default defineComponent({
headerStyle
:
'text-align: center !important; width: 10%'
,
sortable
:
false
,
},
{
name
:
'content'
,
field
:
'content'
,
required
:
true
,
label
:
i18n
.
global
.
t
(
'listConfigSystem.titleColumnsTable.content'
),
headerStyle
:
'text-align: center !important; width: 32%'
,
align
:
'left'
,
sortable
:
false
,
},
//
{
//
name: 'content',
//
field: 'content',
//
required: true,
//
label: i18n.global.t('listConfigSystem.titleColumnsTable.content'),
//
headerStyle: 'text-align: center !important; width: 32%',
//
align: 'left',
//
sortable: false,
//
},
{
name
:
'action'
,
field
:
'action'
,
...
...
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