5.12 上传投标文件参数修改
This commit is contained in:
6
src/components/Upload/react-resumable.js
vendored
6
src/components/Upload/react-resumable.js
vendored
@ -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) {
|
||||
|
Reference in New Issue
Block a user