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
3d91afd4
Commit
3d91afd4
authored
May 08, 2021
by
Tình Trương
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://103.147.34.20:30081/son.nguyen/quasar-web-base
parents
d9f6bfde
51520254
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
65 additions
and
112 deletions
+65
-112
PersonalInformation.ts
...t-information/personal-information/PersonalInformation.ts
+5
-6
index.vue
src/pages/cap-nhat-thong-tin-nghe-sy/index.vue
+2
-5
updateInformationArtist.ts
...ges/cap-nhat-thong-tin-nghe-sy/updateInformationArtist.ts
+58
-101
No files found.
src/components/artist-information/personal-information/PersonalInformation.ts
View file @
3d91afd4
import
{
defineComponent
,
ref
,
Ref
}
from
'vue'
;
import
{
defineComponent
,
ref
}
from
'vue'
;
import
{
i18n
}
from
'src/boot/i18n'
;
import
{
isEmail
}
from
'../../../boot/functions'
;
import
{
isMobilePhone
}
from
'../../../boot/functions'
;
...
...
@@ -6,7 +6,7 @@ import UploadImage from '../../upload-image/index.vue';
export
default
defineComponent
({
props
:
{
id
:
{
type
:
Number
,
required
:
true
},
artistCode
:
{
type
:
String
,
required
:
true
},
avatar
:
{
type
:
String
,
required
:
true
},
fullName
:
{
type
:
String
,
required
:
true
},
...
...
@@ -126,11 +126,11 @@ export default defineComponent({
'artist.artistInformation.validateMessages.requireArtistLevel'
),
];
const
selectedFile
=
(
value
:
FileList
)
=>
{
const
selectedFile
=
(
value
:
FileList
)
=>
{
console
.
log
(
value
);
console
.
log
(
URL
.
createObjectURL
(
value
[
0
]));
}
}
;
const
upload
=
ref
(
null
);
const
uploadBanner
=
()
=>
{
// eslint-disable-next-line
...
...
@@ -155,7 +155,6 @@ export default defineComponent({
upload
,
uploadBanner
,
selectedFile
,
};
},
emits
:
[
...
...
src/pages/cap-nhat-thong-tin-nghe-sy/index.vue
View file @
3d91afd4
...
...
@@ -28,9 +28,7 @@
:label=
"$t('artist.artistInformation.tabLabel.hotProduct')"
/>
</q-tabs>
<q-separator
/>
<q-tab-panels
v-model=
"tab"
animated
>
<q-tab-panel
name=
"information"
>
<PersonalInformation
...
...
@@ -76,12 +74,11 @@
:stories=
"stories"
></VabAccount>
</q-tab-panel>
<q-tab-panel
name=
"bankAccount"
>
<BankAccount
:bank-accounts=
"bankAccounts"
@
confirmDeleteAccBank=
"confirmDeleteAccBank"
@
click:addBankBtn=
"
openDialogAddAccBank
"
@
click:addBankBtn=
"
isOpenAddAccountBankDialog = true
"
@
clickEditAccBankBtn=
"openDialogEditAccBank"
></BankAccount>
</q-tab-panel>
...
...
@@ -130,7 +127,7 @@
@
click:CloseBtnAddHotProduct=
"openAddHotProduct = false"
></AddHotProductDialog>
<UpdateHotProduct
:dataUpdate=
"DataUpdatHotProduct"
:dataUpdate=
"DataUpdat
e
HotProduct"
@
UpdateData=
"UpdateData($event)"
@
click:CloseBtnUpdateHotProduct=
"openUpdateHotProduct = false"
v-model:open-update-hot-product=
"openUpdateHotProduct"
...
...
src/pages/cap-nhat-thong-tin-nghe-sy/updateInformationArtist.ts
View file @
3d91afd4
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