Commit a155993d authored by 左玲玲's avatar 左玲玲 😬

1559

parent 7d9e91dc
...@@ -10,21 +10,23 @@ function getcolumns(setdrawer, valtype, itemId) { ...@@ -10,21 +10,23 @@ function getcolumns(setdrawer, valtype, itemId) {
colProps: { span: 8 }, colProps: { span: 8 },
render: (_, row) => { render: (_, row) => {
return ( return (
<a <Tooltip title={row.contractNo}>
className="table-cell" <a
onClick={() => { className="table-cell"
setdrawer && setdrawer((s) => ({ onClick={() => {
...s, setdrawer && setdrawer((s) => ({
open: true, ...s,
item: row, open: true,
val: 'only', item: row,
title: '合同详情', val: 'only',
type: 'detail' title: '合同详情',
})); type: 'detail'
}} }));
> }}
{row.contractNo} >
</a> {row.contractNo}
</a>
</Tooltip>
); );
} }
}, },
......
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