CardView düzenlemesi

This commit is contained in:
Sedat Öztürk 2026-01-19 22:20:20 +03:00
parent 138b49a7b0
commit 5009e72374
7 changed files with 6010 additions and 6012 deletions

File diff suppressed because it is too large Load diff

View file

@ -179,13 +179,13 @@
"resourceName": "Platform", "resourceName": "Platform",
"key": "App.Hr", "key": "App.Hr",
"en": "Hr", "en": "Hr",
"tr": k" "tr": nsan Kaynakları"
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "App.Crm", "key": "App.Crm",
"en": "Crm", "en": "Crm",
"tr": "Müşteri İlişkileri" "tr": "Müşteri"
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",

View file

@ -847,7 +847,7 @@
"name": "Garanti BBVA - Levent Şubesi", "name": "Garanti BBVA - Levent Şubesi",
"address1": "Büyükdere Cad. No: 199", "address1": "Büyükdere Cad. No: 199",
"address2": "Kule 3 Kat: 12", "address2": "Kule 3 Kat: 12",
"country": "TR", "country": "Türkiye",
"city": null, "city": null,
"district": null, "district": null,
"postalCode": "34394", "postalCode": "34394",
@ -859,7 +859,7 @@
"name": "Akbank - Ümraniye Sanayi Şubesi", "name": "Akbank - Ümraniye Sanayi Şubesi",
"address1": "Sanayi Mah. Alemdağ Cad. No: 45", "address1": "Sanayi Mah. Alemdağ Cad. No: 45",
"address2": "", "address2": "",
"country": "TR", "country": "Türkiye",
"city": null, "city": null,
"district": null, "district": null,
"postalCode": "34773", "postalCode": "34773",

View file

@ -2828,7 +2828,7 @@
"birthDate": "2020-10-29", "birthDate": "2020-10-29",
"gender": "Male", "gender": "Male",
"maritalStatus": "Married", "maritalStatus": "Married",
"country": "TR", "country": "Türkiye",
"city": "TR.34", "city": "TR.34",
"district": "Ümraniye", "district": "Ümraniye",
"township": "Esenşehir", "township": "Esenşehir",
@ -2868,7 +2868,7 @@
"birthDate": "2015-10-30", "birthDate": "2015-10-30",
"gender": "Female", "gender": "Female",
"maritalStatus": "Single", "maritalStatus": "Single",
"country": "TR", "country": "Türkiye",
"city": "TR.06", "city": "TR.06",
"district": "Güdül", "district": "Güdül",
"township": "Güdül", "township": "Güdül",
@ -2908,7 +2908,7 @@
"birthDate": "2010-10-31", "birthDate": "2010-10-31",
"gender": "Male", "gender": "Male",
"maritalStatus": "Married", "maritalStatus": "Married",
"country": "TR", "country": "Türkiye",
"city": "TR.11", "city": "TR.11",
"district": "Merkez", "district": "Merkez",
"township": "Merkezköyler", "township": "Merkezköyler",
@ -2948,7 +2948,7 @@
"birthDate": "2000-11-01", "birthDate": "2000-11-01",
"gender": "Female", "gender": "Female",
"maritalStatus": "Single", "maritalStatus": "Single",
"country": "TR", "country": "Türkiye",
"city": "", "city": "",
"district": "", "district": "",
"township": "", "township": "",
@ -2988,7 +2988,7 @@
"birthDate": "1999-11-02", "birthDate": "1999-11-02",
"gender": "Male", "gender": "Male",
"maritalStatus": "Married", "maritalStatus": "Married",
"country": "TR", "country": "Türkiye",
"city": "TR.34", "city": "TR.34",
"district": "Kadıköy", "district": "Kadıköy",
"township": "Bostancı", "township": "Bostancı",
@ -3028,7 +3028,7 @@
"birthDate": "1995-11-03", "birthDate": "1995-11-03",
"gender": "Female", "gender": "Female",
"maritalStatus": "Single", "maritalStatus": "Single",
"country": "TR", "country": "Türkiye",
"city": "TR.35", "city": "TR.35",
"district": "Kemalpaşa", "district": "Kemalpaşa",
"township": "Ören", "township": "Ören",
@ -3068,7 +3068,7 @@
"birthDate": "1980-11-04", "birthDate": "1980-11-04",
"gender": "Male", "gender": "Male",
"maritalStatus": "Married", "maritalStatus": "Married",
"country": "TR", "country": "Türkiye",
"city": "TR.06", "city": "TR.06",
"district": "Altındağ", "district": "Altındağ",
"township": "Telsizler", "township": "Telsizler",
@ -3108,7 +3108,7 @@
"birthDate": "1989-11-05", "birthDate": "1989-11-05",
"gender": "Female", "gender": "Female",
"maritalStatus": "Married", "maritalStatus": "Married",
"country": "TR", "country": "Türkiye",
"city": "TR.11", "city": "TR.11",
"district": "Osmaneli", "district": "Osmaneli",
"township": "Merkezköyler", "township": "Merkezköyler",
@ -3148,7 +3148,7 @@
"birthDate": "1992-11-06", "birthDate": "1992-11-06",
"gender": "Female", "gender": "Female",
"maritalStatus": "Single", "maritalStatus": "Single",
"country": "TR", "country": "Türkiye",
"city": "TR.45", "city": "TR.45",
"district": "Demirci", "district": "Demirci",
"township": "Durhasan", "township": "Durhasan",
@ -3188,7 +3188,7 @@
"birthDate": "1984-11-07", "birthDate": "1984-11-07",
"gender": "Male", "gender": "Male",
"maritalStatus": "Married", "maritalStatus": "Married",
"country": "TR", "country": "Türkiye",
"city": "TR.34", "city": "TR.34",
"district": "Beykoz", "district": "Beykoz",
"township": "Polonezköy", "township": "Polonezköy",
@ -4439,7 +4439,7 @@
"SectorName": "Ambalaj", "SectorName": "Ambalaj",
"TaxNumber": 1234567890, "TaxNumber": 1234567890,
"TaxOffice": "İstanbul Vergi Dairesi", "TaxOffice": "İstanbul Vergi Dairesi",
"Country": "TR", "country": "Türkiye",
"City": "TR.34", "City": "TR.34",
"District": "Beykoz", "District": "Beykoz",
"Township": "Çubuklu", "Township": "Çubuklu",
@ -4477,7 +4477,7 @@
"SectorName": "Cam, Çimento ve Toprak", "SectorName": "Cam, Çimento ve Toprak",
"TaxNumber": 987654321, "TaxNumber": 987654321,
"TaxOffice": null, "TaxOffice": null,
"Country": "TR", "country": "Türkiye",
"City": "TR.34", "City": "TR.34",
"District": "Çekmeköy", "District": "Çekmeköy",
"Township": "Taşdelen", "Township": "Taşdelen",
@ -4515,7 +4515,7 @@
"SectorName": "Bilişim Teknolojileri", "SectorName": "Bilişim Teknolojileri",
"TaxNumber": 1122334455, "TaxNumber": 1122334455,
"TaxOffice": null, "TaxOffice": null,
"Country": "TR", "country": "Türkiye",
"City": "TR.34", "City": "TR.34",
"District": "Eyüp", "District": "Eyüp",
"Township": "Rami", "Township": "Rami",
@ -4553,7 +4553,7 @@
"SectorName": "Ambalaj", "SectorName": "Ambalaj",
"TaxNumber": 6677889900, "TaxNumber": 6677889900,
"TaxOffice": null, "TaxOffice": null,
"Country": "TR", "country": "Türkiye",
"City": "TR.06", "City": "TR.06",
"District": "Kızılcahamam", "District": "Kızılcahamam",
"Township": "Kızılcahamam", "Township": "Kızılcahamam",
@ -4591,7 +4591,7 @@
"SectorName": "Bilişim Teknolojileri", "SectorName": "Bilişim Teknolojileri",
"TaxNumber": 987654321, "TaxNumber": 987654321,
"TaxOffice": null, "TaxOffice": null,
"Country": "TR", "country": "Türkiye",
"City": "TR.06", "City": "TR.06",
"District": "Yenimahalle", "District": "Yenimahalle",
"Township": "Ostim", "Township": "Ostim",
@ -4629,7 +4629,7 @@
"SectorName": "Bilişim Teknolojileri", "SectorName": "Bilişim Teknolojileri",
"TaxNumber": 1234567890, "TaxNumber": 1234567890,
"TaxOffice": null, "TaxOffice": null,
"Country": "TR", "country": "Türkiye",
"City": "TR.34", "City": "TR.34",
"District": "Beyoğlu", "District": "Beyoğlu",
"Township": "Cihangir", "Township": "Cihangir",
@ -5146,7 +5146,7 @@
"description": "Ana depo alanı", "description": "Ana depo alanı",
"employeeCode": "EMP-001", "employeeCode": "EMP-001",
"warehouseTypeName": "Hammaddeler", "warehouseTypeName": "Hammaddeler",
"country": "TR", "country": "Türkiye",
"isMainWarehouse": true, "isMainWarehouse": true,
"capacity": 10000, "capacity": 10000,
"isActive": true, "isActive": true,
@ -5158,7 +5158,7 @@
"description": "Yedek parçaların depolandığı alan", "description": "Yedek parçaların depolandığı alan",
"employeeCode": "EMP-002", "employeeCode": "EMP-002",
"warehouseTypeName": "Mamuller", "warehouseTypeName": "Mamuller",
"country": "TR", "country": "Türkiye",
"isMainWarehouse": false, "isMainWarehouse": false,
"capacity": 5000, "capacity": 5000,
"isActive": true, "isActive": true,

View file

@ -9,7 +9,6 @@ using Erp.MailQueue;
using Erp.Notifications.Application; using Erp.Notifications.Application;
using Erp.Platform.Classrooms; using Erp.Platform.Classrooms;
using Erp.Platform.EntityFrameworkCore; using Erp.Platform.EntityFrameworkCore;
using Erp.Reports;
using Erp.SqlQueryManager; using Erp.SqlQueryManager;
using Erp.Platform.Extensions; using Erp.Platform.Extensions;
using Erp.Platform.FileManagement; using Erp.Platform.FileManagement;

View file

@ -26,7 +26,6 @@ import CardViewDx, {
Paging, Paging,
Pager, Pager,
Toolbar, Toolbar,
ToolbarItem,
Selection, Selection,
FilterPanel, FilterPanel,
} from 'devextreme-react/card-view' } from 'devextreme-react/card-view'
@ -122,8 +121,6 @@ const CardView = (props: CardViewProps) => {
} }
}, [searchParams]) }, [searchParams])
const layout = layoutTypes.cardView
const { createSelectDataSource } = useListFormCustomDataSource({ gridRef: cardViewRef as any }) const { createSelectDataSource } = useListFormCustomDataSource({ gridRef: cardViewRef as any })
const { getBandedColumns } = useListFormColumns({ const { getBandedColumns } = useListFormColumns({
gridDto, gridDto,

View file

@ -11,6 +11,7 @@ import { MULTIVALUE_DELIMITER } from '@/constants/app.constant'
import { TreeListRef } from 'devextreme-react/cjs/tree-list' import { TreeListRef } from 'devextreme-react/cjs/tree-list'
import { GanttRef } from 'devextreme-react/cjs/gantt' import { GanttRef } from 'devextreme-react/cjs/gantt'
import { SchedulerRef } from 'devextreme-react/cjs/scheduler' import { SchedulerRef } from 'devextreme-react/cjs/scheduler'
import { CardViewRef } from 'devextreme-react/cjs/card-view'
const filteredGridPanelColor = 'rgba(10, 200, 10, 0.5)' // kullanici tanimli filtre ile filtrelenmis gridin paneline ait renk const filteredGridPanelColor = 'rgba(10, 200, 10, 0.5)' // kullanici tanimli filtre ile filtrelenmis gridin paneline ait renk
@ -23,6 +24,7 @@ const useListFormCustomDataSource = ({
| MutableRefObject<TreeListRef<any, any> | undefined> | MutableRefObject<TreeListRef<any, any> | undefined>
| MutableRefObject<GanttRef | undefined> | MutableRefObject<GanttRef | undefined>
| MutableRefObject<SchedulerRef | undefined> | MutableRefObject<SchedulerRef | undefined>
| MutableRefObject<CardViewRef | undefined>
}) => { }) => {
const createSelectDataSource = useCallback( const createSelectDataSource = useCallback(
( (