Commit 36f2a00d by zhaochengxiang

增加序号

parent c4a22290
......@@ -88,6 +88,17 @@ const TaskReportModal = (props) => {
item.ellipsis = true;
})
if (data) {
data.title = [{
title: '序号',
dataIndex: 'key',
render: (text, record, index) => {
return (index+1).toString();
},
width:80
}, ...(data.title||[])];
}
data && (data.datas||[]).forEach(item => {
(_scopes||[]).forEach(_item => {
if (_item.scopeId === Number(item.scope)) {
......
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