4.1 同步发版内容到天梯
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
import React, { useState } from 'react';
|
||||
import { Button, Image } from "antd";
|
||||
import PdfModal from '@/utils/PdfModal/PdfModal';
|
||||
import { downloadFile } from '@/utils/DownloadUtils';
|
||||
/*返回图片或下载链接*/
|
||||
interface Props {
|
||||
format?: any,
|
||||
@ -23,7 +24,6 @@ const Picture: React.FC<Props> = (props) => {
|
||||
return (<Image
|
||||
height={200}
|
||||
src={`/api/doc/v1.0/files/download?fileId=${id}`}
|
||||
// src={`/api/core-service-ebtp-updownload/v1/attachment/download/oid/${id}`}
|
||||
/>)
|
||||
} else if (format == 'pdf') {
|
||||
return <Button type="link" onClick={() => {
|
||||
@ -32,9 +32,9 @@ const Picture: React.FC<Props> = (props) => {
|
||||
setPdfVisible(true);
|
||||
}}>{name}</Button>
|
||||
} else {
|
||||
if(id){
|
||||
return <a href={`/api/core-service-ebtp-updownload/v1/attachment/download/oid/${id}`} target="view_window">{name}</a>
|
||||
}else{
|
||||
if (id) {
|
||||
return <a onClick={() => downloadFile({ uid: id })} target="view_window">{name}</a>
|
||||
} else {
|
||||
return '未上传'
|
||||
}
|
||||
}
|
||||
|
@ -37,7 +37,6 @@ const RightSample101: React.FC<RightSampleProps> = (props) => {
|
||||
column={1}
|
||||
>
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} contentStyle={{ width: "40%" }} label={"营业执照"}>
|
||||
{/* <a href={"/api/core-service-ebtp-updownload/v1/attachment/download/oid/" + entity.commitAtt} target="view_window">营业执照</a> */}
|
||||
<Picture format={entity.fileFormat} id={entity.commitAtt} name={'营业执照'} />
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} contentStyle={{ width: "40%" }} label={"被引用次数"}>{entity.count}</Descriptions.Item>
|
||||
|
@ -39,15 +39,9 @@ const RightSample101: React.FC<RightSampleProps> = (props) => {
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} contentStyle={{ width: "40%" }} label={"法定代表人(执行事务合伙人)"}>{entity.representativeName}</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} contentStyle={{ width: "40%" }} label={"法定代表人身份证号"}>{entity.idCard}</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} contentStyle={{ width: "40%" }} label={"法定代表人身份证人像面复印件"}>
|
||||
{/* <a href={"/api/core-service-ebtp-updownload/v1/attachment/download/oid/" + entity.copyOfHeadPicture} target="view_window">
|
||||
法定代表人身份证人像面复印件
|
||||
</a> */}
|
||||
<Picture format={entity.copyOfHeadPictureFileFormat} id={entity.copyOfHeadPicture} name={'法定代表人身份证人像面复印件'} />
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} contentStyle={{ width: "40%" }} label={"法定代表人身份国徽面复印件"}>
|
||||
{/* <a href={"/api/core-service-ebtp-updownload/v1/attachment/download/oid/" + entity.copyOfNationalEmblem} target="view_window">
|
||||
法定代表人身份国徽面复印件
|
||||
</a> */}
|
||||
<Picture format={entity.copyOfNationalEmblemFileFormat} id={entity.copyOfNationalEmblem} name={'法定代表人身份国徽面复印件'} />
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} contentStyle={{ width: "40%" }} label={"被引用次数"}>{entity.count}</Descriptions.Item>
|
||||
|
@ -38,9 +38,6 @@ const RightSample101: React.FC<RightSampleProps> = (props) => {
|
||||
column={1}
|
||||
>
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} contentStyle={{ width: "40%" }} label={"增值税一般纳税人证明文件"}>
|
||||
{/* <a href={"/api/core-service-ebtp-updownload/v1/attachment/download/oid/"+entity.commitAtt} target="view_window">
|
||||
增值税一般纳税人证明文件
|
||||
</a> */}
|
||||
<Picture format={entity.fileFormat} id={entity.commitAtt} name={'增值税一般纳税人证明文件'} />
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} contentStyle={{ width: "40%" }} label={"被引用次数"}>{entity.count}</Descriptions.Item>
|
||||
|
@ -42,9 +42,6 @@ const RightSample101: React.FC<RightSampleProps> = (props) => {
|
||||
<Descriptions.Item label={"开户银行地址"}>{entity.bankAddress}</Descriptions.Item>
|
||||
<Descriptions.Item label={"银行账号"}>{entity.bankAccount}</Descriptions.Item>
|
||||
<Descriptions.Item label={"银行开户证明扫描件"}>
|
||||
{/* <a href={"/api/core-service-ebtp-updownload/v1/attachment/download/oid/" + entity.bankFile } target="view_window">
|
||||
银行开户证明扫描件
|
||||
</a> */}
|
||||
<Picture format={entity.fileFormat} id={entity.bankFile} name={'银行开户证明扫描件'} />
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item label={"被引用次数"}>{entity.count}</Descriptions.Item>
|
||||
|
@ -39,9 +39,6 @@ const RightSample101: React.FC<RightSampleProps> = (props) => {
|
||||
>
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} contentStyle={{ width: "40%" }} label={"银行资信等级"}>{entity.bankRating}</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} contentStyle={{ width: "40%" }} label={"银行资信证明"}>
|
||||
{/* <a href={"/api/core-service-ebtp-updownload/v1/attachment/download/oid/" + entity.bankRatingFile} target="view_window">
|
||||
银行资信证明
|
||||
</a> */}
|
||||
<Picture format={entity.fileFormat} id={entity.bankRatingFile} name={'银行资信证明'} />
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} contentStyle={{ width: "40%" }} label={"被引用次数"}>{entity.count}</Descriptions.Item>
|
||||
|
@ -95,8 +95,6 @@ const RightSample20X: React.FC<RightSampleProps> = (props) => {
|
||||
return (
|
||||
<>
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} contentStyle={{ width: "40%" }} label={item.commitName == null || item.commitName == '' ? "承诺文件" : item.commitName}>
|
||||
{/* <a href={"/api/core-service-ebtp-updownload/v1/attachment/download/oid/" + item.commitAtt}
|
||||
target="view_window">{item[column.defaultName] == null || item[column.defaultName] == '' ? "承诺文件" : item[column.defaultName]}</a> */}
|
||||
<Picture
|
||||
format={item.fileFormat}
|
||||
id={item.commitAtt}
|
||||
|
@ -55,7 +55,6 @@ const RightSample101: React.FC<RightSampleProps> = (props) => {
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} contentStyle={{ width: "40%" }} label={"主营业务收入(万元)"}>{entity.incomeMain}</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} contentStyle={{ width: "40%" }} label={"其他业务收入(万元)"}>{entity.incomeOther}</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} contentStyle={{ width: "40%" }} label={"财务审计报告"}>
|
||||
{/* <a href={"/api/core-service-ebtp-updownload/v1/attachment/download/oid/" + entity.auditReport } target="view_window">财务报告{entity.year}</a> */}
|
||||
<Picture
|
||||
format={entity.auditReportFileFormat}
|
||||
id={entity.auditReport}
|
||||
@ -63,7 +62,6 @@ const RightSample101: React.FC<RightSampleProps> = (props) => {
|
||||
/>
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} contentStyle={{ width: "40%" }} label={"电子税务局系统查询截图"}>
|
||||
{/* <a href={"/api/core-service-ebtp-updownload/v1/attachment/download/oid/" + entity.financialPic } target="view_window">电子税务局系统查询截图{entity.year}</a> */}
|
||||
<Picture
|
||||
format={entity.financialPicFileFormat}
|
||||
id={entity.financialPic}
|
||||
|
@ -51,7 +51,6 @@ const RightSample101: React.FC<RightSampleProps> = (props) => {
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} contentStyle={{ width: "40%" }} label={"有效期至"}>{entity.term}</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} contentStyle={{ width: "40%" }} label={"公开查询网址"}>{entity.url}</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} contentStyle={{ width: "40%" }} label={"证书文件"}>
|
||||
{/* <a href={"/api/core-service-ebtp-updownload/v1/attachment/download/oid/" + entity.cerDoc } target="view_window">{entity.cerName}</a> */}
|
||||
<Picture
|
||||
format={entity.fileFormat}
|
||||
id={entity.cerDoc}
|
||||
|
@ -55,23 +55,18 @@ const RightSample101: React.FC<RightSampleProps> = (props) => {
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} label={"是否框架合同"}>{entity.isFrame == 1 ? '是' : '否'}</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} label={"合同关键页"} span={2}>
|
||||
<Picture format={entity.contractKeyPageFileFormat} id={entity.contractKeyPage} name={entity.supplierName + entity.contractName + '关键页'} />
|
||||
{/* <a href={"/api/core-service-ebtp-updownload/v1/attachment/download/oid/" + entity.contractKeyPage } target="view_window">{entity.supplierName+entity.contractName}关键页</a> */}
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} label={"框架合同订单文件"} span={2}>
|
||||
<Picture format={entity.contractOrderPageFileFormat} id={entity.contractOrderPage} name={entity.supplierName + entity.contractName + '订单文件'} />
|
||||
{/* <a href={"/api/core-service-ebtp-updownload/v1/attachment/download/oid/" + entity.contractOrderPage } target="view_window">{entity.supplierName+entity.contractName}订单文件</a> */}
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} label={"合同发票文件"} span={2}>
|
||||
<Picture format={entity.contractInvoicePageFileFormat} id={entity.contractInvoicePage} name={'合同发票文件'} />
|
||||
{/* <a href={"/api/core-service-ebtp-updownload/v1/attachment/download/oid/" + entity.contractInvoicePage } target="view_window">合同发票文件</a> */}
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} label={"框架合同结算单据"} span={2}>
|
||||
<Picture format={entity.contractBlancePageFileFormat} id={entity.contractBlancePage} name={'框架合同结算单据'} />
|
||||
{/* <a href={"/api/core-service-ebtp-updownload/v1/attachment/download/oid/" + entity.contractBlancePage } target="view_window">框架合同结算单据</a> */}
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} label={"框架合同其他证明文件"} span={2}>
|
||||
<Picture format={entity.contractBlancePageFileFormat} id={entity.contractOtherDoc} name={'框架合同其他证明文件'} />
|
||||
{/* <a href={"/api/core-service-ebtp-updownload/v1/attachment/download/oid/" + entity.contractOtherDoc } target="view_window">框架合同其他证明文件</a> */}
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} label={"被引用次数"} span={2}>{entity.count}</Descriptions.Item>
|
||||
</Descriptions>
|
||||
|
@ -1,12 +1,12 @@
|
||||
import React, {useEffect, useState} from 'react';
|
||||
import {getProMethod} from '@/utils/session';
|
||||
import React, { useEffect, useState } from 'react';
|
||||
import { getProMethod } from '@/utils/session';
|
||||
import {
|
||||
getData101,
|
||||
getData108,
|
||||
getData7,
|
||||
getData8
|
||||
} from "@/pages/Evaluation/BiddingDocumentsDecrypt/components/page/service";
|
||||
import {Descriptions, message, Spin} from "antd";
|
||||
import { Descriptions, message, Spin } from "antd";
|
||||
import Picture from './Picture';
|
||||
|
||||
interface RightSampleProps {
|
||||
@ -18,7 +18,7 @@ interface RightSampleProps {
|
||||
*发票信息
|
||||
* */
|
||||
const RightSample101: React.FC<RightSampleProps> = (props) => {
|
||||
const {ParmID} = props;
|
||||
const { ParmID } = props;
|
||||
//获取采购方式
|
||||
const proMethod = getProMethod()
|
||||
//页面文字
|
||||
@ -29,40 +29,39 @@ const RightSample101: React.FC<RightSampleProps> = (props) => {
|
||||
if (ParmID == undefined || ParmID == '' || ParmID == null) {
|
||||
|
||||
} else {
|
||||
getData7({ids: ParmID}).then((res) => {
|
||||
getData7({ ids: ParmID }).then((res) => {
|
||||
setsp(true);
|
||||
if (res?.success == true) {
|
||||
let data = res?.data;
|
||||
if (data != null && data != undefined && data.length > 0) {
|
||||
let tableList = [];
|
||||
for (let entity of data||[]) {
|
||||
for (let entity of data || []) {
|
||||
const e = (
|
||||
<>
|
||||
<Descriptions
|
||||
bordered
|
||||
column={2}
|
||||
>
|
||||
<Descriptions.Item labelStyle={{width: "20%"}} contentStyle={{width: "40%"}} label={"发票类型"}>{entity.invoiceType}</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{width: "20%"}} contentStyle={{width: "40%"}} label={"发票内容"}>{entity.invoiceContent}</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{width: "20%"}} contentStyle={{width: "40%"}} label={"抬头名称"}>{entity.invoiceTitle}</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{width: "20%"}} contentStyle={{width: "40%"}} label={"发票代码"}>{entity.invoiceCode}</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{width: "20%"}} contentStyle={{width: "40%"}} label={"发票号码"}>{entity.invoiceNo}</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{width: "20%"}} contentStyle={{width: "40%"}} label={"发票不含税额(元)"}>{entity.invoiceNotTax}</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{width: "20%"}} contentStyle={{width: "40%"}} label={"发票税额(元)"}>{entity.invoiceTax}</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{width: "20%"}} contentStyle={{width: "40%"}} label={"发票价税合计(元)"}>{entity.invoiceAmount}</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{width: "20%"}} contentStyle={{width: "40%"}} label={"开票时间"} span={2}>{entity.invoiceDate}</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{width: "20%"}} contentStyle={{width: "40%"}} label={"发票文件"} span={2}>
|
||||
{/* <a href={"/api/core-service-ebtp-updownload/v1/attachment/download/oid/" + entity.invoiceDoc } target="view_window">发票文件</a> */}
|
||||
<Picture
|
||||
format={entity.fileFormat}
|
||||
id={entity.invoiceDoc}
|
||||
name={'发票文件'}
|
||||
/>
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{width: "20%"}} contentStyle={{width: "40%"}} label={"被引用次数"}>{entity.count}</Descriptions.Item>
|
||||
</Descriptions>
|
||||
<br/>
|
||||
</>
|
||||
<Descriptions
|
||||
bordered
|
||||
column={2}
|
||||
>
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} contentStyle={{ width: "40%" }} label={"发票类型"}>{entity.invoiceType}</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} contentStyle={{ width: "40%" }} label={"发票内容"}>{entity.invoiceContent}</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} contentStyle={{ width: "40%" }} label={"抬头名称"}>{entity.invoiceTitle}</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} contentStyle={{ width: "40%" }} label={"发票代码"}>{entity.invoiceCode}</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} contentStyle={{ width: "40%" }} label={"发票号码"}>{entity.invoiceNo}</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} contentStyle={{ width: "40%" }} label={"发票不含税额(元)"}>{entity.invoiceNotTax}</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} contentStyle={{ width: "40%" }} label={"发票税额(元)"}>{entity.invoiceTax}</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} contentStyle={{ width: "40%" }} label={"发票价税合计(元)"}>{entity.invoiceAmount}</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} contentStyle={{ width: "40%" }} label={"开票时间"} span={2}>{entity.invoiceDate}</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} contentStyle={{ width: "40%" }} label={"发票文件"} span={2}>
|
||||
<Picture
|
||||
format={entity.fileFormat}
|
||||
id={entity.invoiceDoc}
|
||||
name={'发票文件'}
|
||||
/>
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item labelStyle={{ width: "20%" }} contentStyle={{ width: "40%" }} label={"被引用次数"}>{entity.count}</Descriptions.Item>
|
||||
</Descriptions>
|
||||
<br />
|
||||
</>
|
||||
);
|
||||
tableList.push(e);
|
||||
|
||||
@ -72,7 +71,7 @@ const RightSample101: React.FC<RightSampleProps> = (props) => {
|
||||
} else {
|
||||
message.warn("请求出错请您稍后再试!");
|
||||
}
|
||||
setTimeout(()=>{setsp(false)},1000);
|
||||
setTimeout(() => { setsp(false) }, 1000);
|
||||
});
|
||||
}
|
||||
}, [ParmID]);
|
||||
|
@ -1,7 +1,7 @@
|
||||
import React, { useEffect, useState } from "react";
|
||||
import { Button, Card, Col, List, message, Modal, Pagination, Row, Spin, Tree } from "antd";
|
||||
import PDF from 'react-pdf-js'
|
||||
import { checkFileExist, getFieleTree, getFileNode } from '../service'
|
||||
import { getFieleTree, getFileNode } from '../service'
|
||||
import ProTable from "@ant-design/pro-table";
|
||||
import { DownloadOutlined } from "@ant-design/icons/lib";
|
||||
import { getProMethod, getRoomId } from "@/utils/session";
|
||||
|
@ -96,14 +96,6 @@ export async function setEndTime (param?:any){
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
//检验文档中心是否存在该文档
|
||||
export async function checkFileExist(fileId?:any) {
|
||||
return request('/api/core-service-ebtp-updownload/v1/attachment/find/bid/'+fileId,{
|
||||
method:'GET' ,
|
||||
})
|
||||
|
||||
}
|
||||
//设置解密时限
|
||||
export async function endTimeUp(params?: any) {
|
||||
return request(`/api/biz-service-ebtp-resps/v1/tdoc/updateTdocDecryptEndDate`,{
|
||||
|
Reference in New Issue
Block a user