fix: icon
This commit is contained in:
parent
e38c76e7d3
commit
d5698e9454
4 changed files with 10 additions and 8 deletions
|
|
@ -558,7 +558,8 @@ async function triggerChangeStatus(id: string, status: string) {
|
||||||
return await new Promise((resolve, reject) => {
|
return await new Promise((resolve, reject) => {
|
||||||
dialog({
|
dialog({
|
||||||
color: status !== 'INACTIVE' ? 'warning' : 'info',
|
color: status !== 'INACTIVE' ? 'warning' : 'info',
|
||||||
icon: status !== 'INACTIVE' ? 'mdi-alert' : 'mdi-comment-alert',
|
icon:
|
||||||
|
status !== 'INACTIVE' ? 'mdi-alert' : 'mdi-message-processing-outline',
|
||||||
title: t('confirmChangeStatusTitle'),
|
title: t('confirmChangeStatusTitle'),
|
||||||
actionText:
|
actionText:
|
||||||
status !== 'INACTIVE' ? t('switchOffLabel') : t('switchOnLabel'),
|
status !== 'INACTIVE' ? t('switchOffLabel') : t('switchOnLabel'),
|
||||||
|
|
|
||||||
|
|
@ -363,7 +363,8 @@ async function triggerChangeStatus(id: string, status: string) {
|
||||||
return await new Promise((resolve, reject) => {
|
return await new Promise((resolve, reject) => {
|
||||||
dialog({
|
dialog({
|
||||||
color: status !== 'INACTIVE' ? 'warning' : 'info',
|
color: status !== 'INACTIVE' ? 'warning' : 'info',
|
||||||
icon: status !== 'INACTIVE' ? 'mdi-alert' : 'mdi-comment-alert',
|
icon:
|
||||||
|
status !== 'INACTIVE' ? 'mdi-alert' : 'mdi-message-processing-outline',
|
||||||
title: t('confirmChangeStatusTitle'),
|
title: t('confirmChangeStatusTitle'),
|
||||||
actionText:
|
actionText:
|
||||||
status !== 'INACTIVE' ? t('switchOffLabel') : t('switchOnLabel'),
|
status !== 'INACTIVE' ? t('switchOffLabel') : t('switchOnLabel'),
|
||||||
|
|
@ -654,8 +655,8 @@ watch(
|
||||||
? customerStats.map((v) => ({
|
? customerStats.map((v) => ({
|
||||||
count:
|
count:
|
||||||
v.name === 'CORP'
|
v.name === 'CORP'
|
||||||
? statsCustomerType?.CORP ?? 0
|
? (statsCustomerType?.CORP ?? 0)
|
||||||
: statsCustomerType?.PERS ?? 0,
|
: (statsCustomerType?.PERS ?? 0),
|
||||||
label:
|
label:
|
||||||
v.name === 'CORP'
|
v.name === 'CORP'
|
||||||
? 'customerLegalEntity'
|
? 'customerLegalEntity'
|
||||||
|
|
@ -1667,7 +1668,7 @@ watch(
|
||||||
{
|
{
|
||||||
icon: 'mdi-clock-outline',
|
icon: 'mdi-clock-outline',
|
||||||
value: props.row.dateOfBirth
|
value: props.row.dateOfBirth
|
||||||
? calculateAge(props.row.dateOfBirth) ?? ''
|
? (calculateAge(props.row.dateOfBirth) ?? '')
|
||||||
: '',
|
: '',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
|
||||||
|
|
@ -715,7 +715,8 @@ async function triggerChangeStatus(
|
||||||
return await new Promise((resolve, reject) => {
|
return await new Promise((resolve, reject) => {
|
||||||
dialog({
|
dialog({
|
||||||
color: status !== 'INACTIVE' ? 'warning' : 'info',
|
color: status !== 'INACTIVE' ? 'warning' : 'info',
|
||||||
icon: status !== 'INACTIVE' ? 'mdi-alert' : 'mdi-comment-alert',
|
icon:
|
||||||
|
status !== 'INACTIVE' ? 'mdi-alert' : 'mdi-message-processing-outline',
|
||||||
title: t('confirmChangeStatusTitle'),
|
title: t('confirmChangeStatusTitle'),
|
||||||
actionText:
|
actionText:
|
||||||
status !== 'INACTIVE' ? t('switchOffLabel') : t('switchOnLabel'),
|
status !== 'INACTIVE' ? t('switchOffLabel') : t('switchOnLabel'),
|
||||||
|
|
|
||||||
|
|
@ -14,11 +14,10 @@ const menu = [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: 'personnel-management',
|
value: 'personnel-management',
|
||||||
icon: 'isax-frame5',
|
icon: 'fa6-solid:building-user',
|
||||||
color: 'cyan',
|
color: 'cyan',
|
||||||
title: 'mainPersonnelTitle',
|
title: 'mainPersonnelTitle',
|
||||||
caption: 'mainPersonnelCaption',
|
caption: 'mainPersonnelCaption',
|
||||||
isax: true,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: 'customer-management',
|
value: 'customer-management',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue