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
a2cedca1
Commit
a2cedca1
authored
May 07, 2021
by
Võ Quang Thành Đạt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UPDATE
parent
b3cb7ebb
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22390 additions
and
48 deletions
+22390
-48
package-lock.json
package-lock.json
+22381
-27
EditBankAcc.ts
...information/bank-account/edit-bank-account/EditBankAcc.ts
+1
-1
index.vue
src/components/artist-information/bank-account/index.vue
+4
-4
updateInformationArtist.ts
...ges/cap-nhat-thong-tin-nghe-sy/updateInformationArtist.ts
+4
-16
No files found.
package-lock.json
View file @
a2cedca1
This diff is collapsed.
Click to expand it.
src/components/artist-information/bank-account/edit-bank-account/EditBankAcc.ts
View file @
a2cedca1
...
@@ -83,7 +83,7 @@ export default defineComponent({
...
@@ -83,7 +83,7 @@ export default defineComponent({
Notify
.
create
({
Notify
.
create
({
type
:
'positive'
,
type
:
'positive'
,
message
:
i18n
.
global
.
t
(
message
:
i18n
.
global
.
t
(
'artist.dialogLabel.validateMessages.
add
Access'
'artist.dialogLabel.validateMessages.
edit
Access'
),
),
});
});
let
bankFilter
=
{};
let
bankFilter
=
{};
...
...
src/components/artist-information/bank-account/index.vue
View file @
a2cedca1
...
@@ -49,19 +49,19 @@
...
@@ -49,19 +49,19 @@
<q-td
style=
"padding: 0; height: 100%"
>
<q-td
style=
"padding: 0; height: 100%"
>
<div
align=
"center"
>
<div
align=
"center"
>
<q-btn
<q-btn
@
click=
"$emit('clickEditAccBankBtn', item.row, item.rowIndex)"
flat
flat
round
round
color=
"primary"
color=
"primary"
icon=
"mdi-delete-outline"
icon=
"mdi-circle-edit-outline"
@
click=
"$emit('confirmDeleteAccBank', item.rowIndex)"
>
>
</q-btn>
</q-btn>
<q-btn
<q-btn
@
click=
"$emit('clickEditAccBankBtn', item.row, item.rowIndex)"
flat
flat
round
round
color=
"primary"
color=
"primary"
icon=
"mdi-circle-edit-outline"
icon=
"mdi-delete-outline"
@
click=
"$emit('confirmDeleteAccBank', item.rowIndex)"
>
>
</q-btn>
</q-btn>
</div>
</div>
...
...
src/pages/cap-nhat-thong-tin-nghe-sy/updateInformationArtist.ts
View file @
a2cedca1
...
@@ -30,6 +30,8 @@ import {
...
@@ -30,6 +30,8 @@ import {
CardBankType
,
CardBankType
,
TypeCardType
,
TypeCardType
,
}
from
'src/assets/type'
;
}
from
'src/assets/type'
;
import
{
Router
}
from
'src/router'
;
import
{
Pages
}
from
'src/router/routes'
;
export
default
defineComponent
({
export
default
defineComponent
({
components
:
{
components
:
{
...
@@ -127,11 +129,6 @@ export default defineComponent({
...
@@ -127,11 +129,6 @@ export default defineComponent({
//state accountBank
//state accountBank
const
accountNumber
:
Ref
<
string
|
null
|
undefined
>
=
ref
();
const
cardNumber
:
Ref
<
string
|
null
|
undefined
>
=
ref
();
const
bank
:
Ref
<
number
|
null
>
=
ref
(
null
);
const
cardType
:
Ref
<
number
|
null
>
=
ref
(
null
);
const
isDefault
:
Ref
<
number
|
undefined
>
=
ref
(
1
);
const
rowBankAccIdx
:
Ref
<
number
>
=
ref
(
0
);
const
rowBankAccIdx
:
Ref
<
number
>
=
ref
(
0
);
const
rowDataAccBank
:
Ref
<
BankAccountType
|
null
>
=
ref
(
null
);
const
rowDataAccBank
:
Ref
<
BankAccountType
|
null
>
=
ref
(
null
);
...
@@ -285,11 +282,6 @@ export default defineComponent({
...
@@ -285,11 +282,6 @@ export default defineComponent({
openAddHotProduct
.
value
=
true
;
openAddHotProduct
.
value
=
true
;
};
};
const
openDialogAddAccBank
=
()
=>
{
const
openDialogAddAccBank
=
()
=>
{
accountNumber
.
value
=
null
;
cardNumber
.
value
=
null
;
bank
.
value
=
null
;
cardType
.
value
=
null
;
isDefault
.
value
=
2
;
isOpenAddAccountBankDialog
.
value
=
true
;
isOpenAddAccountBankDialog
.
value
=
true
;
};
};
const
deleteAccBank
=
(
index
:
number
)
=>
{
const
deleteAccBank
=
(
index
:
number
)
=>
{
...
@@ -317,7 +309,7 @@ export default defineComponent({
...
@@ -317,7 +309,7 @@ export default defineComponent({
isOpenEditAccountBankDialog
.
value
=
true
;
isOpenEditAccountBankDialog
.
value
=
true
;
};
};
const
editAccBank
=
(
value
:
BankAccountType
)
=>
{
const
editAccBank
=
(
value
:
BankAccountType
)
=>
{
console
.
log
(
value
,
'editAccBankeditAccBankeditAccBankeditAccBank'
);
//
console.log(value, 'editAccBankeditAccBankeditAccBankeditAccBank');
bankAccounts
.
value
[
rowBankAccIdx
.
value
]
=
value
;
bankAccounts
.
value
[
rowBankAccIdx
.
value
]
=
value
;
isOpenEditAccountBankDialog
.
value
=
false
;
isOpenEditAccountBankDialog
.
value
=
false
;
};
};
...
@@ -385,6 +377,7 @@ export default defineComponent({
...
@@ -385,6 +377,7 @@ export default defineComponent({
},
},
}))
as
AxiosResponse
<
BaseResponseBody
<
unknown
>>
;
}))
as
AxiosResponse
<
BaseResponseBody
<
unknown
>>
;
if
(
response
.
data
.
error
.
code
===
config
.
API_RES_CODE
.
OK
.
code
)
{
if
(
response
.
data
.
error
.
code
===
config
.
API_RES_CODE
.
OK
.
code
)
{
await
Router
.
push
({
name
:
Pages
.
artist
});
Notify
.
create
({
Notify
.
create
({
type
:
'positive'
,
type
:
'positive'
,
message
:
i18n
.
global
.
t
(
'artist.actionMessages.editNewUserAccess'
),
message
:
i18n
.
global
.
t
(
'artist.actionMessages.editNewUserAccess'
),
...
@@ -458,9 +451,6 @@ export default defineComponent({
...
@@ -458,9 +451,6 @@ export default defineComponent({
isOpenAddAccountBankDialog
,
isOpenAddAccountBankDialog
,
openAddHotProduct
,
openAddHotProduct
,
clickBtn
,
clickBtn
,
accountNumber
,
cardNumber
,
isDefault
,
addAccBank
,
addAccBank
,
schedules
,
schedules
,
formatSchedules
,
formatSchedules
,
...
@@ -472,8 +462,6 @@ export default defineComponent({
...
@@ -472,8 +462,6 @@ export default defineComponent({
openDialogAddHotProduct
,
openDialogAddHotProduct
,
cardBankOptions
,
cardBankOptions
,
typeBankOptions
,
typeBankOptions
,
bank
,
cardType
,
isOpenEditAccountBankDialog
,
isOpenEditAccountBankDialog
,
openDialogEditAccBank
,
openDialogEditAccBank
,
editAccBank
,
editAccBank
,
...
...
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