Compare commits

...

4 Commits

Author SHA1 Message Date
李神峰 512b7e428a Merge branch 'lsf-dev' 2024-10-28 10:58:53 +08:00
秦子超 d3b0f6502d 洪水预报修改 2024-10-25 14:31:36 +08:00
秦子超 83a62f986a Merge branch 'master' of http://10.0.41.100:3000/lishenfeng/tsg-web 2024-10-25 14:16:16 +08:00
秦子超 47500bcca0 提交 2024-10-25 14:16:15 +08:00
2 changed files with 7 additions and 3 deletions

View File

@ -25,9 +25,13 @@ const ModalForm = ({ mode, record,onEdit,onSave,onSimilarSave }) => {
console.log(checked);
const onFinish = (values) => {
const userId = localStorage.getItem("userId");
const userName = localStorage.getItem("userName");
const params = {
...values,
status:checked?'0':'1'
status:checked?'0':'1',
userId:userId+'_'+userName
}
console.log(params);

View File

@ -36,8 +36,8 @@ const Page = () => {
checked={v==='0'?true:false}
/>
},
{ title: '创建日期', key: 'stationCode', dataIndex: 'stationCode', width: 140,align:"center", },
{ title: '创建人', key: 'stationCode', dataIndex: 'stationCode', width: 140,align:"center", },
{ title: '创建日期', key: 'updateTm', dataIndex: 'updateTm', width: 140,align:"center", },
{ title: '创建人', key: 'userId', dataIndex: 'userId', width: 140,align:"center",render:(v)=>v?.split('_')?.[1] },
{
title: '操作', key: 'operation', width: 240, fixed: 'right',align: 'center',
render: (value, row, index) => (<CrudOpRender_text edit={true} del={true} command={(cmd) => () => command(cmd)(row)} />)