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
fa72c88b
Commit
fa72c88b
authored
May 06, 2021
by
Võ Quang Thành Đạt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
d52af517
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
38 additions
and
7 deletions
+38
-7
index.vue
src/components/artist-information/bank-account/index.vue
+1
-5
index.ts
src/i18n/vi/index.ts
+6
-0
index.vue
src/pages/cap-nhat-thong-tin-nghe-sy/index.vue
+1
-1
updateInformationArtist.ts
...ges/cap-nhat-thong-tin-nghe-sy/updateInformationArtist.ts
+30
-1
No files found.
src/components/artist-information/bank-account/index.vue
View file @
fa72c88b
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
round
round
color=
"primary"
color=
"primary"
icon=
"mdi-delete-outline"
icon=
"mdi-delete-outline"
@
click=
"$emit('confirmDeleteAccBank', item)"
@
click=
"$emit('confirmDeleteAccBank', item
.rowIndex
)"
>
>
</q-btn>
</q-btn>
<q-btn
flat
round
color=
"primary"
icon=
"mdi-circle-edit-outline"
>
<q-btn
flat
round
color=
"primary"
icon=
"mdi-circle-edit-outline"
>
...
@@ -85,10 +85,6 @@
...
@@ -85,10 +85,6 @@
</div>
</div>
</div> -->
</div> -->
</div>
</div>
<!-- <AddNewBankAccountDialog
v-model:is-open-dialog="isOpenDialog"
@click:CloseBtn="!isOpenDialog"
></AddNewBankAccountDialog> -->
</div>
</div>
</template>
</template>
...
...
src/i18n/vi/index.ts
View file @
fa72c88b
...
@@ -438,6 +438,12 @@ export default {
...
@@ -438,6 +438,12 @@ export default {
default
:
'Mặc định'
,
default
:
'Mặc định'
,
action
:
'Chức năng'
,
action
:
'Chức năng'
,
},
},
confirmActionsTitle
:
{
confirmDeleteAccBankTitle
:
'Xác nhận'
,
confirmDeleteAccBankContent
:
'Bạn có chắc muốn xoá tài khoản này không?'
,
confirmDeleteAccBankBtnLabel
:
'Huỷ'
,
},
},
},
hotProduct
:
{
hotProduct
:
{
tableColumnsProduct
:
{
tableColumnsProduct
:
{
...
...
src/pages/cap-nhat-thong-tin-nghe-sy/index.vue
View file @
fa72c88b
...
@@ -80,7 +80,7 @@
...
@@ -80,7 +80,7 @@
<BankAccount
<BankAccount
:bank-accounts=
"bankAccounts"
:bank-accounts=
"bankAccounts"
@
confirmDeleteAccBank=
"confirmDeleteAccBank"
@
confirmDeleteAccBank=
"confirmDeleteAccBank"
@
click:addBankBtn=
"
isOpenAddAccountBankDialog = true
"
@
click:addBankBtn=
"
openDialogAddAccBank
"
></BankAccount>
></BankAccount>
</q-tab-panel>
</q-tab-panel>
<q-tab-panel
name=
"hotProduct"
>
<q-tab-panel
name=
"hotProduct"
>
...
...
src/pages/cap-nhat-thong-tin-nghe-sy/updateInformationArtist.ts
View file @
fa72c88b
...
@@ -10,6 +10,9 @@ import { API_PATHS, config } from 'src/assets/configurations';
...
@@ -10,6 +10,9 @@ import { API_PATHS, config } from 'src/assets/configurations';
import
{
useRoute
}
from
'vue-router'
;
import
{
useRoute
}
from
'vue-router'
;
import
{
AxiosResponse
}
from
'axios'
;
import
{
AxiosResponse
}
from
'axios'
;
import
moment
from
'moment'
;
import
moment
from
'moment'
;
import
{
i18n
}
from
'src/boot/i18n'
;
import
{
Dialog
}
from
'quasar'
;
import
{
import
{
ArtistInfoType
,
ArtistInfoType
,
FieldType
,
FieldType
,
...
@@ -228,7 +231,31 @@ export default defineComponent({
...
@@ -228,7 +231,31 @@ export default defineComponent({
};
};
const
confirmDeleteAccBank
=
(
value
:
number
)
=>
{
const
confirmDeleteAccBank
=
(
value
:
number
)
=>
{
console
.
log
(
value
,
'valueeee'
);
Dialog
.
create
({
title
:
i18n
.
global
.
t
(
'artist.bankAccount.confirmActionsTitle.confirmDeleteAccBankTitle'
),
message
:
i18n
.
global
.
t
(
'artist.bankAccount.confirmActionsTitle.confirmDeleteAccBankContent'
),
cancel
:
i18n
.
global
.
t
(
'artist.bankAccount.confirmActionsTitle.confirmDeleteAccBankBtnLabel'
),
color
:
'negative'
,
}).
onOk
(()
=>
{
deleteAccBank
(
value
);
});
};
const
openDialogAddAccBank
=
()
=>
{
accountNumber
.
value
=
null
;
cardNumber
.
value
=
null
;
bankName
.
value
=
null
;
cardType
.
value
=
undefined
;
isDefault
.
value
=
2
;
isOpenAddAccountBankDialog
.
value
=
true
;
};
const
deleteAccBank
=
(
index
:
number
)
=>
{
bankAccounts
.
value
.
splice
(
index
,
1
);
};
};
const
selectedFile
=
(
value
:
BannerType
)
=>
{
const
selectedFile
=
(
value
:
BannerType
)
=>
{
banners
.
value
.
push
(
value
);
banners
.
value
.
push
(
value
);
...
@@ -297,6 +324,8 @@ export default defineComponent({
...
@@ -297,6 +324,8 @@ export default defineComponent({
confirmDeleteAccBank
,
confirmDeleteAccBank
,
selectedFile
,
selectedFile
,
isOpenDialogEmbed
,
isOpenDialogEmbed
,
deleteAccBank
,
openDialogAddAccBank
,
};
};
},
},
});
});
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