9.28 修改procurementTypeDict
This commit is contained in:
@ -4,7 +4,7 @@ import { getPayandreply, getDetail } from './service';
|
|||||||
import '@/assets/ld_style.less';
|
import '@/assets/ld_style.less';
|
||||||
import { getProId, getProMethod, getDicData } from '@/utils/session';
|
import { getProId, getProMethod, getDicData } from '@/utils/session';
|
||||||
import FileDown from '@/utils/Download';
|
import FileDown from '@/utils/Download';
|
||||||
import { getURLInformation, proTableValueEnum } from '@/utils/CommonUtils';
|
import { getURLInformation, multipleTypeTransform, proTableValueEnum } from '@/utils/CommonUtils';
|
||||||
import { btnAuthority } from '@/utils/authority';
|
import { btnAuthority } from '@/utils/authority';
|
||||||
import ProTable from '@ant-design/pro-table';
|
import ProTable from '@ant-design/pro-table';
|
||||||
|
|
||||||
@ -235,7 +235,7 @@ const Index: React.FC<{}> = () => {
|
|||||||
{
|
{
|
||||||
title: bidSectTypeDict,
|
title: bidSectTypeDict,
|
||||||
dataIndex: 'procurementTypeDict',
|
dataIndex: 'procurementTypeDict',
|
||||||
valueEnum: proTableValueEnum(dictData['procurement_type=entrust']),
|
render: (_: any, record: any) => multipleTypeTransform(record.procurementTypeDict, proTableValueEnum(dictData['procurement_type=entrust'])),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: bidcontactName,
|
title: bidcontactName,
|
||||||
|
@ -193,7 +193,7 @@ const Index: React.FC<{}> = () => {
|
|||||||
dataIndex: 'procurementTypeDict',
|
dataIndex: 'procurementTypeDict',
|
||||||
search: false,
|
search: false,
|
||||||
width: '5%',
|
width: '5%',
|
||||||
valueEnum: proTableValueEnum(dictData['procurement_type=entrust'])
|
render: (_: any, record: any) => multipleTypeTransform(record.procurementTypeDict, proTableValueEnum(dictData['procurement_type=entrust'])),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '采购方式',
|
title: '采购方式',
|
||||||
|
@ -2,7 +2,7 @@ import React, { useState, useEffect } from 'react';
|
|||||||
import { Button, Table, Space, Modal, Collapse, Pagination } from 'antd';
|
import { Button, Table, Space, Modal, Collapse, Pagination } from 'antd';
|
||||||
import FileDown from '@/utils/Download';
|
import FileDown from '@/utils/Download';
|
||||||
import { getDicData } from '@/utils/session';
|
import { getDicData } from '@/utils/session';
|
||||||
import { getURLInformation, proTableValueEnum } from '@/utils/CommonUtils';
|
import { getURLInformation, multipleTypeTransform, proTableValueEnum } from '@/utils/CommonUtils';
|
||||||
import { getDetail, getOpen } from './service';
|
import { getDetail, getOpen } from './service';
|
||||||
import { btnAuthority } from '@/utils/authority';
|
import { btnAuthority } from '@/utils/authority';
|
||||||
import ProTable from '@ant-design/pro-table';
|
import ProTable from '@ant-design/pro-table';
|
||||||
@ -114,7 +114,7 @@ const Index: React.FC<IndexProps> = (props) => {
|
|||||||
{
|
{
|
||||||
title: '包件分类',
|
title: '包件分类',
|
||||||
dataIndex: 'procurementTypeDict',
|
dataIndex: 'procurementTypeDict',
|
||||||
valueEnum: proTableValueEnum(dictData['procurement_type=entrust']),
|
render: (_: any, record: any) => multipleTypeTransform(record.procurementTypeDict, proTableValueEnum(dictData['procurement_type=entrust'])),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '包件联系人',
|
title: '包件联系人',
|
||||||
|
Reference in New Issue
Block a user