样式优化整合
This commit is contained in:
@ -2,6 +2,7 @@ import React, { useState, useRef } from 'react';
|
||||
import { Space, Button, message, Modal, Form, Input, Spin } from 'antd';
|
||||
import '@/assets/ld_style.less';
|
||||
import ProTable from '@ant-design/pro-table';
|
||||
import tableProps from '@/utils/tableProps';
|
||||
import { getQuestion, addQuestion, dellQuestion, changeQuestion, changeResult, getExpert } from './service';
|
||||
import { getRoomId, getRoomStatus } from '@/utils/session';
|
||||
import { btnAuthority } from '@/utils/authority';
|
||||
@ -200,7 +201,7 @@ const Index: React.FC<{}> = () => {
|
||||
});
|
||||
})
|
||||
}
|
||||
pagination={{ defaultPageSize: 10 }}//默认显示条数
|
||||
{...tableProps}
|
||||
toolBarRender={false}
|
||||
search={false}
|
||||
bordered
|
||||
|
@ -3,6 +3,7 @@ import { Button, Card, Col, List, message, Modal, Pagination, Row, Spin, Tree }
|
||||
import PDF from 'react-pdf-js'
|
||||
import { getFieleTree, getFileNode } from '../service'
|
||||
import ProTable from "@ant-design/pro-table";
|
||||
import tableProps from '@/utils/tableProps';
|
||||
import { DownloadOutlined } from "@ant-design/icons/lib";
|
||||
import { getProMethod, getRoomId } from "@/utils/session";
|
||||
import '../index.less';
|
||||
@ -334,6 +335,7 @@ const viewOfTenderDocuments: React.FC<{}> = () => {
|
||||
dataSource={zipListTable}
|
||||
// request={params => }
|
||||
rowKey={"id"}
|
||||
{...tableProps}
|
||||
/>
|
||||
: []}
|
||||
{displayBox == "structure" ?
|
||||
@ -344,6 +346,7 @@ const viewOfTenderDocuments: React.FC<{}> = () => {
|
||||
columns={structureColumns}
|
||||
dataSource={structureData}
|
||||
rowKey={() => Math.random()}
|
||||
{...tableProps}
|
||||
/>
|
||||
{(structureDataMore != null && structureDataMore != "") ?
|
||||
<ProTable
|
||||
@ -352,6 +355,7 @@ const viewOfTenderDocuments: React.FC<{}> = () => {
|
||||
columns={structureColumnsMore}
|
||||
dataSource={structureDataMore}
|
||||
rowKey={() => Math.random()}
|
||||
{...tableProps}
|
||||
/>
|
||||
: ""}
|
||||
</>
|
||||
|
@ -3,6 +3,7 @@ import { Button, Card, Col, List, message, Modal, Pagination, Row, Spin, Tree }
|
||||
import PDF from 'react-pdf-js'
|
||||
import { getDataList, getFieleTree, getFieleTree4List, getFileNode } from '../service'
|
||||
import ProTable from "@ant-design/pro-table";
|
||||
import tableProps from '@/utils/tableProps';
|
||||
import { DownloadOutlined } from "@ant-design/icons/lib";
|
||||
import '../index.less';
|
||||
import styles from '../index.less';
|
||||
@ -355,6 +356,7 @@ const viewOfTenderDocumentsSecond: React.FC<{}> = () => {
|
||||
dataSource={zipListTable}
|
||||
// request={params => }
|
||||
rowKey={"id"}
|
||||
{...tableProps}
|
||||
/>
|
||||
: null}
|
||||
{displayBox == "structure" ?
|
||||
@ -365,6 +367,7 @@ const viewOfTenderDocumentsSecond: React.FC<{}> = () => {
|
||||
columns={structureColumns}
|
||||
dataSource={structureData}
|
||||
rowKey={Math.random().toString()}
|
||||
{...tableProps}
|
||||
/>
|
||||
{(structureDataMore != null && structureDataMore != "") ?
|
||||
<ProTable
|
||||
@ -373,6 +376,7 @@ const viewOfTenderDocumentsSecond: React.FC<{}> = () => {
|
||||
columns={structureColumnsMore}
|
||||
dataSource={structureDataMore}
|
||||
rowKey={Math.random().toString()}
|
||||
{...tableProps}
|
||||
/>
|
||||
: null}
|
||||
</>
|
||||
|
@ -5,6 +5,7 @@ import ProForm, {
|
||||
ProFormDateTimePicker,
|
||||
} from '@ant-design/pro-form';
|
||||
import ProTable from "@ant-design/pro-table";
|
||||
import tableProps from '@/utils/tableProps';
|
||||
import {
|
||||
AlertOutlined,
|
||||
ClockCircleOutlined,
|
||||
@ -458,9 +459,7 @@ const BiddingDocumentsDecrypt: React.FC<BiddingDocumentsDecryptProps> = (props)
|
||||
}
|
||||
]}
|
||||
dataSource={item.registerInfoVOList}
|
||||
pagination={{
|
||||
defaultPageSize: 10
|
||||
}}
|
||||
{...tableProps}
|
||||
/>
|
||||
)}
|
||||
/>
|
||||
|
@ -2,6 +2,7 @@ import React, { useEffect, useRef, useState } from 'react';
|
||||
import '@/utils/lq.style.less';
|
||||
import { Button, Input, Form, Modal, DatePicker, Checkbox, message, Card } from 'antd';
|
||||
import ProTable from '@ant-design/pro-table';
|
||||
import tableProps from '@/utils/tableProps';
|
||||
import { datePickerDisabledDate, datePickerDisabledTime, dateTimeFormatter, echoDateTimeFormatter, saveDateTimeFormatter, showTimeDefaultValue } from '@/utils/DateUtils';
|
||||
import { evaluationquestionIinsert, evaluationquestionSend, evaluationquestionUpdate, getAssessroomSuppliers } from '../service';
|
||||
import { commonMessage, saveMessage } from '@/utils/MessageUtils';
|
||||
@ -420,7 +421,7 @@ const ClarificationOfTheBid: React.FC = () => {
|
||||
request={params => queryingPagingData('/api/biz-service-ebtp-tender/v1/evaluationquestion/list', 'post', params)}
|
||||
search={false}
|
||||
options={false}
|
||||
pagination={{ defaultPageSize: 10 }}
|
||||
{...tableProps}
|
||||
toolBarRender={() => [
|
||||
<Button key="added" onClick={added} type="primary" hidden={String(assessRoomData?.status) === "3" || btnAuthority(["ebtp-expert"])}>
|
||||
新增
|
||||
|
@ -2,6 +2,7 @@ import React, { useEffect, useRef, useState } from 'react';
|
||||
import '@/utils/lq.style.less';
|
||||
import { Button, Input, Form, Modal, DatePicker, Checkbox, message, Card } from 'antd';
|
||||
import ProTable from '@ant-design/pro-table';
|
||||
import tableProps from '@/utils/tableProps';
|
||||
import { datePickerDisabledDate, datePickerDisabledTime, dateTimeFormatter, echoDateTimeFormatter, saveDateTimeFormatter, showTimeDefaultValue } from '@/utils/DateUtils';
|
||||
import { evaluationquestionIinsert, evaluationquestionSend, evaluationquestionUpdate, getAssessroomSuppliers } from '../service';
|
||||
import { commonMessage, saveMessage } from '@/utils/MessageUtils';
|
||||
@ -420,7 +421,7 @@ const ClarificationOfTheBid: React.FC = () => {
|
||||
request={params => queryingPagingData('/api/biz-service-ebtp-tender/v1/evaluationquestion/list', 'post', params)}
|
||||
search={false}
|
||||
options={false}
|
||||
pagination={{ defaultPageSize: 10 }}
|
||||
{...tableProps}
|
||||
toolBarRender={() => [
|
||||
<Button key="added" onClick={added} type="primary" hidden={String(assessRoomData?.status) === "3" || btnAuthority(["ebtp-agency-project-manager", "ebtp-purchase"])}>
|
||||
新增
|
||||
|
@ -2,6 +2,7 @@ import React, { useRef, useState } from 'react';
|
||||
import '@/utils/lq.style.less';
|
||||
import { Button, Input, Form, Modal, Collapse, message, Card } from 'antd';
|
||||
import ProTable from '@ant-design/pro-table';
|
||||
import tableProps from '@/utils/tableProps';
|
||||
import { queryingPagingData } from '@/utils/PageUtils';
|
||||
import { evaluationquestionSupplierSend, evaluationquestionUpdate } from '../service';
|
||||
import { commonMessage, saveMessage } from '@/utils/MessageUtils';
|
||||
@ -282,7 +283,7 @@ const ChallengeListInTheIndex: React.FC<{}> = () => {
|
||||
search={false}
|
||||
options={false}
|
||||
size="small"
|
||||
pagination={{ defaultPageSize: 10 }}
|
||||
{...tableProps}
|
||||
/>
|
||||
<InquiryBox
|
||||
visible={visibleSend}
|
||||
|
Reference in New Issue
Block a user