From c3076d56679b13786b9691f38edde39924921b08 Mon Sep 17 00:00:00 2001 From: jl-zhoujl2 Date: Thu, 12 May 2022 16:13:18 +0800 Subject: [PATCH] =?UTF-8?q?5.12=20=E4=B8=8A=E4=BC=A0=E6=8A=95=E6=A0=87?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=8F=82=E6=95=B0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Upload/react-resumable.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Upload/react-resumable.js b/src/components/Upload/react-resumable.js index 97cf42c..8848f1d 100644 --- a/src/components/Upload/react-resumable.js +++ b/src/components/Upload/react-resumable.js @@ -5,7 +5,7 @@ import Resumablejs from "./resumable"; import SparkMD5 from "./spark-md5"; import './style.css'; import { getCurrentTime, getTendererFileStatus } from './service'; -import { getProMethod } from '@/utils/session'; +import { getProId } from '@/utils/session'; function getUuid() { return 'xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx'.replace(/[xy]/g, function (c) { @@ -41,7 +41,7 @@ export default class ReactResumableJs extends React.Component { timer: 0,// 计时器 redText: false, btnHide: false, - proMethod: getProMethod(), + projectId: getProId(), }; this.resumable = null; this.timerInterval; @@ -256,7 +256,7 @@ export default class ReactResumableJs extends React.Component { "tdocCatalogId": this.props.currentDate.tdocCatalogId, "tdocId": this.props.currentDate.tdocId, "tendererId": this.props.currentDate.tendererId, - "tpId": this.state.proMethod, + "tpId": this.state.projectId, } getTendererFileStatus(data).then((res) => { // 判断是否已投标 if (res.code == 200) {