1
0
forked from test/crm

fix: enable resize column

This commit is contained in:
Shariq Ansari 2024-03-12 11:08:58 +05:30
parent 4c877fd0f3
commit a9c979b5d2
14 changed files with 21 additions and 0 deletions

View File

@ -9,6 +9,7 @@
}),
selectable: options.selectable,
showTooltip: options.showTooltip,
resizeColumn: options.resizeColumn,
}"
row-key="name"
>
@ -105,6 +106,7 @@ const props = defineProps({
default: () => ({
selectable: true,
showTooltip: true,
resizeColumn: false,
totalCount: 0,
rowCount: 0,
}),

View File

@ -10,6 +10,7 @@
}),
selectable: options.selectable,
showTooltip: options.showTooltip,
resizeColumn: options.resizeColumn,
}"
row-key="name"
>
@ -130,6 +131,7 @@ const props = defineProps({
default: () => ({
selectable: true,
showTooltip: true,
resizeColumn: false,
totalCount: 0,
rowCount: 0,
}),

View File

@ -7,6 +7,7 @@
getRowRoute: (row) => ({ name: 'Deal', params: { dealId: row.name } }),
selectable: options.selectable,
showTooltip: options.showTooltip,
resizeColumn: options.resizeColumn,
}"
row-key="name"
>
@ -166,6 +167,7 @@ const props = defineProps({
default: () => ({
selectable: true,
showTooltip: true,
resizeColumn: false,
totalCount: 0,
rowCount: 0,
}),

View File

@ -6,6 +6,7 @@
onRowClick: (row) => emit('showEmailTemplate', row.name),
selectable: options.selectable,
showTooltip: options.showTooltip,
resizeColumn: options.resizeColumn,
}"
row-key="name"
>
@ -121,6 +122,7 @@ const props = defineProps({
default: () => ({
selectable: true,
showTooltip: true,
resizeColumn: false,
totalCount: 0,
rowCount: 0,
}),

View File

@ -7,6 +7,7 @@
getRowRoute: (row) => ({ name: 'Lead', params: { leadId: row.name } }),
selectable: options.selectable,
showTooltip: options.showTooltip,
resizeColumn: options.resizeColumn,
}"
row-key="name"
>
@ -175,6 +176,7 @@ const props = defineProps({
default: () => ({
selectable: true,
showTooltip: true,
resizeColumn: false,
totalCount: 0,
rowCount: 0,
}),

View File

@ -9,6 +9,7 @@
}),
selectable: options.selectable,
showTooltip: options.showTooltip,
resizeColumn: options.resizeColumn,
}"
row-key="name"
>
@ -115,6 +116,7 @@ const props = defineProps({
default: () => ({
selectable: true,
showTooltip: true,
resizeColumn: false,
totalCount: 0,
rowCount: 0,
}),

View File

@ -6,6 +6,7 @@
onRowClick: (row) => emit('showTask', row.name),
selectable: options.selectable,
showTooltip: options.showTooltip,
resizeColumn: options.resizeColumn,
}"
row-key="name"
>
@ -145,6 +146,7 @@ const props = defineProps({
default: () => ({
selectable: true,
showTooltip: true,
resizeColumn: false,
totalCount: 0,
rowCount: 0,
}),

View File

@ -19,6 +19,7 @@
:columns="callLogs.data.columns"
:options="{
showTooltip: false,
resizeColumn: true,
rowCount: callLogs.data.row_count,
totalCount: callLogs.data.total_count,
}"

View File

@ -24,6 +24,7 @@
:columns="contacts.data.columns"
:options="{
showTooltip: false,
resizeColumn: true,
rowCount: contacts.data.row_count,
totalCount: contacts.data.total_count,
}"

View File

@ -25,6 +25,7 @@
:columns="deals.data.columns"
:options="{
showTooltip: false,
resizeColumn: true,
rowCount: deals.data.row_count,
totalCount: deals.data.total_count,
}"

View File

@ -24,6 +24,7 @@
:columns="emailTemplates.data.columns"
:options="{
showTooltip: false,
resizeColumn: true,
rowCount: emailTemplates.data.row_count,
totalCount: emailTemplates.data.total_count,
}"

View File

@ -26,6 +26,7 @@
:columns="leads.data.columns"
:options="{
showTooltip: false,
resizeColumn: true,
rowCount: leads.data.row_count,
totalCount: leads.data.total_count,
}"

View File

@ -28,6 +28,7 @@
:columns="organizations.data.columns"
:options="{
showTooltip: false,
resizeColumn: true,
rowCount: organizations.data.row_count,
totalCount: organizations.data.total_count,
}"

View File

@ -24,6 +24,7 @@
:columns="tasks.data.columns"
:options="{
showTooltip: false,
resizeColumn: true,
rowCount: tasks.data.row_count,
totalCount: tasks.data.total_count,
}"