|
@@ -59,11 +59,11 @@ const FlowList = () => {
|
|
|
}
|
|
|
})
|
|
|
const columns = [
|
|
|
- {
|
|
|
- dataIndex: 'name',
|
|
|
- title: '项目名称',
|
|
|
- onHeaderCell: () => ({ style: { textAlign: 'center' } })
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // dataIndex: 'name',
|
|
|
+ // title: '项目名称',
|
|
|
+ // onHeaderCell: () => ({ style: { textAlign: 'center' } })
|
|
|
+ // },
|
|
|
{
|
|
|
dataIndex: 'approval',
|
|
|
title: '流程名称',
|
|
@@ -82,20 +82,21 @@ const FlowList = () => {
|
|
|
</span>
|
|
|
)
|
|
|
},
|
|
|
- {
|
|
|
- dataIndex: 'publish',
|
|
|
- title: '流程状态',
|
|
|
- valueEnum: {
|
|
|
- [PublishType.SUCCESS]: {
|
|
|
- text: '已发布',
|
|
|
- status: 'Success'
|
|
|
- },
|
|
|
- [PublishType.FAIL]: {
|
|
|
- text: '未发布',
|
|
|
- statis: 'Default'
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // dataIndex: 'publish',
|
|
|
+ // title: '流程状态',
|
|
|
+ // onHeaderCell: () => ({ style: { textAlign: 'center' } }),
|
|
|
+ // valueEnum: {
|
|
|
+ // [PublishType.SUCCESS]: {
|
|
|
+ // text: '已发布',
|
|
|
+ // status: 'Success'
|
|
|
+ // },
|
|
|
+ // [PublishType.FAIL]: {
|
|
|
+ // text: '未发布',
|
|
|
+ // statis: 'Default'
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // },
|
|
|
{
|
|
|
dataIndex: 'opreate',
|
|
|
title: '操作',
|
|
@@ -114,7 +115,7 @@ const FlowList = () => {
|
|
|
}}>
|
|
|
编辑流程名称
|
|
|
</span>
|
|
|
- <span
|
|
|
+ {/* <span
|
|
|
className="px-2 text-primary hover:cursor-pointer hover:text-blue-600"
|
|
|
onClick={() =>
|
|
|
setState({
|
|
@@ -124,15 +125,15 @@ const FlowList = () => {
|
|
|
})
|
|
|
}>
|
|
|
查看流程图
|
|
|
- </span>
|
|
|
- <span
|
|
|
+ </span> */}
|
|
|
+ {/* <span
|
|
|
className={[
|
|
|
'pl-2',
|
|
|
record.publish ? 'text-gray-500' : 'text-primary cursor-pointer'
|
|
|
].join(' ')}
|
|
|
onClick={() => !record.publish && tryPublish({ ID: record.approval.ID })}>
|
|
|
发布
|
|
|
- </span>
|
|
|
+ </span> */}
|
|
|
{/* <Popconfirm
|
|
|
title={`确认删除${record.name}吗?`}
|
|
|
okText="确认"
|