Commit c8205b41 authored by 卢均锐's avatar 卢均锐

fix: [18466] 营销操作日志列表修改rowkey

parent 705cfece
......@@ -281,7 +281,9 @@ const OperationLog: React.FC = () => {
key={_tableKey}
currentRef={ref}
columns={_columns}
tableProps={{ rowKey: 'id' }}
tableProps={{ rowKey: (record) => {
return `${record[_actionKey]}_${(record?.operateTime || record?.createTime)}_${record?.status || record?.statusName}`;
} }}
fetchTableData={(params) => fetchTableData(params)}
formilyLayouts={{
justify: 'space-between'
......
......@@ -15,6 +15,7 @@ export const schema_1: ISchema = {
'x-component-props': {
placeholder: '搜索',
align: 'flex-left',
allowClear: true,
},
},
[FORM_FILTER_PATH]: {
......@@ -68,6 +69,7 @@ export const schema_2: ISchema = {
'x-component-props': {
placeholder: '搜索',
align: 'flex-left',
allowClear: true,
},
},
[FORM_FILTER_PATH]: {
......@@ -121,6 +123,7 @@ export const schema_3: ISchema = {
'x-component-props': {
placeholder: '搜索',
align: 'flex-left',
allowClear: true,
},
},
[FORM_FILTER_PATH]: {
......@@ -174,6 +177,7 @@ export const schema_4: ISchema = {
'x-component-props': {
placeholder: '搜索',
align: 'flex-left',
allowClear: true,
},
},
[FORM_FILTER_PATH]: {
......@@ -227,6 +231,7 @@ export const schema_5: ISchema = {
'x-component-props': {
placeholder: '搜索',
align: 'flex-left',
allowClear: true,
},
},
[FORM_FILTER_PATH]: {
......@@ -281,6 +286,7 @@ export const schema_6 = searchName => {
'x-component-props': {
placeholder: '搜索',
align: 'flex-left',
allowClear: true,
},
},
[FORM_FILTER_PATH]: {
......@@ -335,6 +341,7 @@ export const schema_7: ISchema = {
'x-component-props': {
placeholder: '搜索',
align: 'flex-left',
allowClear: true,
},
},
[FORM_FILTER_PATH]: {
......@@ -388,6 +395,7 @@ export const schema_8: ISchema = {
'x-component-props': {
placeholder: '搜索',
align: 'flex-left',
allowClear: true,
},
},
[FORM_FILTER_PATH]: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment