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
6a82cfea
Commit
6a82cfea
authored
Jun 27, 2022
by
Nguyễn Đức Thắng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
e113f0f7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
11 deletions
+24
-11
configurations.example.ts
src/assets/configurations.example.ts
+3
-1
openDialogRefusedBrowser.vue
src/components/customer/openDialogRefusedBrowser.vue
+1
-1
index.vue
src/pages/khach-hang-cho-duyet/index.vue
+20
-9
No files found.
src/assets/configurations.example.ts
View file @
6a82cfea
...
...
@@ -123,5 +123,7 @@ export enum API_PATHS {
deleteConfigHotProduct
=
'config/home/product/delete/salient'
,
getLitCustomerWaiting
=
'customer/listRegister'
,
detailCustomerWaiting
=
'customer/detailRegister'
,
accountCustomerBrowsing
=
'customer/accountCustomerBrowsing'
accountCustomerBrowsing
=
'customer/accountCustomerBrowsing'
,
customerNotBrowsing
=
'customer/customerNotBrowsing'
}
src/components/customer/openDialogRefusedBrowser.vue
View file @
6a82cfea
...
...
@@ -83,7 +83,7 @@ const content: Ref<string | null> = ref(null);
const
confirmRefusedCustomer
=
async
()
=>
{
try
{
const
browserResult
=
(
await
api
({
url
:
API_PATHS
.
browserCustomer
,
url
:
API_PATHS
.
customerNotBrowsing
,
method
:
'POST'
,
data
:
{
id
:
props
.
customerId
,
...
...
src/pages/khach-hang-cho-duyet/index.vue
View file @
6a82cfea
...
...
@@ -96,16 +96,18 @@
icon=
"mdi-check-circle-outline"
@
click=
"confirmBrowserCustomer(rowData.row.id)"
>
<q-tooltip
:offset=
"[20, 10]"
>
Duyệt
tài khoản
</q-tooltip>
<q-tooltip
:offset=
"[20, 10]"
>
Duyệt
</q-tooltip>
</q-btn>
<q-btn
<q-btn
v-if=
"rowData.row.approvalStatus === 0"
flat
round
size=
"1em"
color=
"primary"
icon=
"mdi-block-helper"
@
click=
"confirmRefusedBrowserCustomer(rowData.row.id)"
>
<q-tooltip
:offset=
"[10, 10]"
>
Từ chối duyệt
</q-tooltip>
<q-tooltip
>
Từ chối
</q-tooltip>
</q-btn>
<!--
<q-btn
flat
...
...
@@ -142,16 +144,25 @@
<q-td>
<div
align=
"center"
>
<q-chip
:color=
"rowData.value === 1 ? 'positive' : 'orange'"
v-if=
"rowData.value === 0"
color=
'orange'
text-color=
"white"
size=
"sm"
>
{{
rowData
.
value
===
1
?
'Đã duyệt'
:
'Chưa duyệt'
}}
Chưa duyệt
</q-chip>
<q-chip
v-if=
"rowData.value === 2"
color=
"red"
text-color=
"white"
size=
"sm"
>
Từ chối duyệt
</q-chip>
</div>
</q-td>
</
template
>
...
...
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