5.12 上传投标文件参数修改

This commit is contained in:
jl-zhoujl2
2022-05-12 16:13:18 +08:00
parent fb531f8422
commit c3076d5667

View File

@ -5,7 +5,7 @@ import Resumablejs from "./resumable";
import SparkMD5 from "./spark-md5"; import SparkMD5 from "./spark-md5";
import './style.css'; import './style.css';
import { getCurrentTime, getTendererFileStatus } from './service'; import { getCurrentTime, getTendererFileStatus } from './service';
import { getProMethod } from '@/utils/session'; import { getProId } from '@/utils/session';
function getUuid() { function getUuid() {
return 'xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx'.replace(/[xy]/g, function (c) { return 'xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
@ -41,7 +41,7 @@ export default class ReactResumableJs extends React.Component {
timer: 0,// 计时器 timer: 0,// 计时器
redText: false, redText: false,
btnHide: false, btnHide: false,
proMethod: getProMethod(), projectId: getProId(),
}; };
this.resumable = null; this.resumable = null;
this.timerInterval; this.timerInterval;
@ -256,7 +256,7 @@ export default class ReactResumableJs extends React.Component {
"tdocCatalogId": this.props.currentDate.tdocCatalogId, "tdocCatalogId": this.props.currentDate.tdocCatalogId,
"tdocId": this.props.currentDate.tdocId, "tdocId": this.props.currentDate.tdocId,
"tendererId": this.props.currentDate.tendererId, "tendererId": this.props.currentDate.tendererId,
"tpId": this.state.proMethod, "tpId": this.state.projectId,
} }
getTendererFileStatus(data).then((res) => { // 判断是否已投标 getTendererFileStatus(data).then((res) => { // 判断是否已投标
if (res.code == 200) { if (res.code == 200) {