|
@@ -154,18 +154,18 @@
|
|
|
}
|
|
|
return '';
|
|
|
},
|
|
|
- width: 200,
|
|
|
+ width: 160,
|
|
|
},
|
|
|
{
|
|
|
title: t('common.mobile'),
|
|
|
edit: true,
|
|
|
editRule: true,
|
|
|
- width: 200,
|
|
|
+ width: 160,
|
|
|
dataIndex: 'userName',
|
|
|
},
|
|
|
{
|
|
|
title: '角色',
|
|
|
- width: 150,
|
|
|
+ width: 100,
|
|
|
dataIndex: 'roleName',
|
|
|
},
|
|
|
{
|
|
@@ -303,13 +303,13 @@
|
|
|
async function onDataReceive(data) {
|
|
|
console.log('Data Received', data.record);
|
|
|
// 方式1;
|
|
|
- const { id, subNum } = data.record;
|
|
|
+ const { id, lookNum = 0, shotNum = 0 } = data.record;
|
|
|
resetFields();
|
|
|
setFieldsValue({
|
|
|
...data.record,
|
|
|
});
|
|
|
modelRef.id = id;
|
|
|
- modelRef.subNum = subNum;
|
|
|
+ modelRef.subNum = lookNum + shotNum;
|
|
|
|
|
|
searchInfo.id = id;
|
|
|
await reloadSubtable();
|