Compare commits

..

No commits in common. "512b7e428a5d48603dd3abee9ce618e7417e97d6" and "314285a0e8af737094fb8d20ea5290048b79056e" have entirely different histories.

2 changed files with 3 additions and 7 deletions

View File

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

View File

@ -36,8 +36,8 @@ const Page = () => {
checked={v==='0'?true:false} checked={v==='0'?true:false}
/> />
}, },
{ 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: 'stationCode', dataIndex: 'stationCode', width: 140,align:"center", },
{ {
title: '操作', key: 'operation', width: 240, fixed: 'right',align: 'center', title: '操作', key: 'operation', width: 240, fixed: 'right',align: 'center',
render: (value, row, index) => (<CrudOpRender_text edit={true} del={true} command={(cmd) => () => command(cmd)(row)} />) render: (value, row, index) => (<CrudOpRender_text edit={true} del={true} command={(cmd) => () => command(cmd)(row)} />)