Commit 3dba06ca authored by XieZhiXiong's avatar XieZhiXiong

chore: 展示序号

parent ba2cb421
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: XieZhiXiong * @Author: XieZhiXiong
* @Date: 2021-06-11 16:40:26 * @Date: 2021-06-11 16:40:26
* @LastEditors: XieZhiXiong * @LastEditors: XieZhiXiong
* @LastEditTime: 2021-06-11 16:43:17 * @LastEditTime: 2021-06-18 17:01:46
* @Description: Card 列表组件 * @Description: Card 列表组件
*/ */
import React, { useEffect, useState } from 'react'; import React, { useEffect, useState } from 'react';
...@@ -89,6 +89,7 @@ const MemberDocTableList = <T,>(props: IProps<T>) => { ...@@ -89,6 +89,7 @@ const MemberDocTableList = <T,>(props: IProps<T>) => {
{...rest} {...rest}
> >
<PolymericTable <PolymericTable
rowKey="inspectTime"
dataSource={list.data} dataSource={list.data}
columns={columns} columns={columns}
loading={loading} loading={loading}
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: XieZhiXiong * @Author: XieZhiXiong
* @Date: 2021-05-21 16:45:32 * @Date: 2021-05-21 16:45:32
* @LastEditors: XieZhiXiong * @LastEditors: XieZhiXiong
* @LastEditTime: 2021-06-11 17:20:51 * @LastEditTime: 2021-06-18 17:04:06
* @Description: 会员档案信息 * @Description: 会员档案信息
*/ */
import React, { useEffect, useState } from 'react'; import React, { useEffect, useState } from 'react';
...@@ -119,6 +119,7 @@ const MemberArchiveInfo = () => { ...@@ -119,6 +119,7 @@ const MemberArchiveInfo = () => {
{ {
title: '序号', title: '序号',
dataIndex: 'id', dataIndex: 'id',
render: (text, record, index) => index + 1,
}, },
{ {
title: '考察主题', title: '考察主题',
...@@ -160,7 +161,7 @@ const MemberArchiveInfo = () => { ...@@ -160,7 +161,7 @@ const MemberArchiveInfo = () => {
const AppraisalColumns: EditableColumns<AppraisalListItemType>[] = [ const AppraisalColumns: EditableColumns<AppraisalListItemType>[] = [
{ {
title: '序号', title: '序号',
dataIndex: 'id', render: (text, record, index) => index + 1,
}, },
{ {
title: '考评主题', title: '考评主题',
...@@ -204,7 +205,7 @@ const MemberArchiveInfo = () => { ...@@ -204,7 +205,7 @@ const MemberArchiveInfo = () => {
const RectifyColumns: EditableColumns<RectifyListItemType>[] = [ const RectifyColumns: EditableColumns<RectifyListItemType>[] = [
{ {
title: '序号', title: '序号',
dataIndex: 'id', render: (text, record, index) => index + 1,
}, },
{ {
title: '整改主题', title: '整改主题',
......
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