feat:【antd】【crm】优化 backlog 的整体代码

This commit is contained in:
YunaiV
2025-09-30 13:08:46 +08:00
parent f381f934e8
commit 0d1901abdb
11 changed files with 21 additions and 10 deletions

View File

@@ -53,6 +53,7 @@ const [Grid] = useVbenVxeGrid({
},
rowConfig: {
keyField: 'id',
isHover: true,
},
toolbarConfig: {
refresh: true,

View File

@@ -53,7 +53,7 @@ const [Grid] = useVbenVxeGrid({
allowClear: true,
options: AUDIT_STATUS,
},
defaultValue: 10,
defaultValue: AUDIT_STATUS[0]!.value,
},
],
},
@@ -75,6 +75,7 @@ const [Grid] = useVbenVxeGrid({
},
rowConfig: {
keyField: 'id',
isHover: true,
},
toolbarConfig: {
refresh: true,

View File

@@ -27,6 +27,7 @@ function handleProcessDetail(row: CrmContractApi.Contract) {
function handleContractDetail(row: CrmContractApi.Contract) {
push({ name: 'CrmContractDetail', params: { id: row.id } });
}
/** 打开客户详情 */
function handleCustomerDetail(row: CrmContractApi.Contract) {
push({ name: 'CrmCustomerDetail', params: { id: row.id } });
@@ -53,7 +54,7 @@ const [Grid] = useVbenVxeGrid({
allowClear: true,
options: CONTRACT_EXPIRY_TYPE,
},
defaultValue: 1,
defaultValue: CONTRACT_EXPIRY_TYPE[0]!.value,
},
],
},
@@ -75,6 +76,7 @@ const [Grid] = useVbenVxeGrid({
},
rowConfig: {
keyField: 'id',
isHover: true,
},
toolbarConfig: {
refresh: true,

View File

@@ -53,6 +53,7 @@ const [Grid] = useVbenVxeGrid({
},
rowConfig: {
keyField: 'id',
isHover: true,
},
toolbarConfig: {
refresh: true,

View File

@@ -31,7 +31,7 @@ const [Grid] = useVbenVxeGrid({
allowClear: true,
options: SCENE_TYPES,
},
defaultValue: 1,
defaultValue: SCENE_TYPES[0]!.value,
},
],
},
@@ -53,6 +53,7 @@ const [Grid] = useVbenVxeGrid({
},
rowConfig: {
keyField: 'id',
isHover: true,
},
toolbarConfig: {
refresh: true,

View File

@@ -31,7 +31,7 @@ const [Grid] = useVbenVxeGrid({
allowClear: true,
options: CONTACT_STATUS,
},
defaultValue: 1,
defaultValue: CONTACT_STATUS[0]!.value,
},
{
fieldName: 'sceneType',
@@ -41,7 +41,7 @@ const [Grid] = useVbenVxeGrid({
allowClear: true,
options: SCENE_TYPES,
},
defaultValue: 1,
defaultValue: SCENE_TYPES[0]!.value,
},
],
},
@@ -63,6 +63,7 @@ const [Grid] = useVbenVxeGrid({
},
rowConfig: {
keyField: 'id',
isHover: true,
},
toolbarConfig: {
refresh: true,

View File

@@ -49,7 +49,7 @@ const [Grid] = useVbenVxeGrid({
allowClear: true,
options: AUDIT_STATUS,
},
defaultValue: 10,
defaultValue: AUDIT_STATUS[0]!.value,
},
],
},
@@ -70,6 +70,7 @@ const [Grid] = useVbenVxeGrid({
},
rowConfig: {
keyField: 'id',
isHover: true,
},
toolbarConfig: {
refresh: true,

View File

@@ -49,7 +49,7 @@ const [Grid] = useVbenVxeGrid({
allowClear: true,
options: RECEIVABLE_REMIND_TYPE,
},
defaultValue: 1,
defaultValue: RECEIVABLE_REMIND_TYPE[0]!.value,
},
],
},
@@ -70,6 +70,7 @@ const [Grid] = useVbenVxeGrid({
},
rowConfig: {
keyField: 'id',
isHover: true,
},
toolbarConfig: {
refresh: true,