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
751da4b1
Commit
751da4b1
authored
May 08, 2021
by
Tình Trương
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
e9783f94
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
type.ts
src/assets/type.ts
+0
-2
index.vue
src/pages/don-vi-chu-quan/index.vue
+3
-1
No files found.
src/assets/type.ts
View file @
751da4b1
import
{
type
}
from
'os'
;
export
type
PaginationResponse
<
DataType
>
=
{
pageIndex
:
null
|
number
;
pageSize
:
null
|
number
;
...
...
src/pages/don-vi-chu-quan/index.vue
View file @
751da4b1
...
...
@@ -259,7 +259,7 @@ export default defineComponent({
const
unitNameKeyword
=
ref
(
''
);
const
fieldsOptions
:
Ref
<
FieldType
[]
>
=
ref
([]);
const
totalPage
=
ref
(
1
);
const
fieldSelected
:
Ref
<
number
|
undefined
>
=
ref
();
const
fieldSelected
:
Ref
<
FieldType
|
undefined
>
=
ref
();
const
addUnitDialogIsOpened
=
ref
(
false
);
const
updateUnitDialogIsOpened
=
ref
(
false
);
const
unitField
:
Ref
<
FieldType
[]
|
undefined
>
=
ref
(
undefined
);
...
...
@@ -281,6 +281,8 @@ export default defineComponent({
params
:
{
pageIndex
:
pageIndex
.
value
,
pageSize
:
pageSize
.
value
,
name
:
unitNameKeyword
.
value
,
fields
:
fieldSelected
.
value
?.
id
,
},
}))
as
AxiosResponse
<
BaseResponseBody
<
PaginationResponse
<
ArtistOwner
>>>
;
if
(
response
.
data
.
error
.
code
===
config
.
API_RES_CODE
.
OK
.
code
)
{
...
...
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