洪水预报修改

lsf-dev
秦子超 2024-10-25 14:31:36 +08:00
parent 83a62f986a
commit d3b0f6502d
2 changed files with 6 additions and 2 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

@ -37,7 +37,7 @@ const Page = () => {
/>
},
{ title: '创建日期', key: 'updateTm', dataIndex: 'updateTm', width: 140,align:"center", },
{ title: '创建人', key: 'stationCode', dataIndex: 'stationCode', 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)} />)