diff --git a/public/react/src/modules/tpm/TPMDataset.js b/public/react/src/modules/tpm/TPMDataset.js index a69a8df32..5745a6321 100644 --- a/public/react/src/modules/tpm/TPMDataset.js +++ b/public/react/src/modules/tpm/TPMDataset.js @@ -264,7 +264,7 @@ class TPMDataset extends Component { } onSelectChange = (selectedRowKeys, selectedRows) => { - console.log(`selectedRowKeys: ${selectedRowKeys}`, 'selectedRows: ', selectedRows); + // console.log(`selectedRowKeys: ${selectedRowKeys}`, 'selectedRows: ', selectedRows); this.setState( { selectedRowKeys @@ -278,7 +278,7 @@ class TPMDataset extends Component { this.setState({ selectedRowKeysdata:mydata, }) - console.log(mydata); + // console.log(mydata); @@ -289,9 +289,9 @@ class TPMDataset extends Component { return className; } handleChange = (info) => { - console.log("handleChange123123"); - console.log(info); -debugger + // console.log("handleChange123123"); + // console.log(info); +// debugger if(info.file.status == "done" || info.file.status == "uploading" || info.file.status === 'removed'){ let fileList = info.fileList; this.setState({ @@ -303,6 +303,8 @@ debugger } if(info.file.response){ if(info.file.response.status===-1||info.file.response.status==="-1"){ + // console.log("准备显示弹框了"); + // console.log(info); this.setState({ showmodel:true, tittest:info.file.response.message, @@ -436,11 +438,6 @@ debugger const uploadProps = { width: 600, fileList, - data:{ - attachtype: 2, - container_id:this.props.match.params.shixunId, - container_type: "Shixun", - }, multiple: false, //multiple 是否支持多选 查重的时候不能多选 不然弹许多框出来 // https://github.com/ant-design/ant-design/issues/15505 @@ -452,7 +449,7 @@ debugger onRemove: this.onAttachmentRemove, beforeUpload: (file) => { //上传前的操作 - console.log('beforeUpload', file.name); + // console.log('beforeUpload', file.name); const isLt150M = file.size / 1024 / 1024 < 150; if (!isLt150M) { this.props.showNotification('文件大小必须小于150MB!'); @@ -460,6 +457,8 @@ debugger return isLt150M; }, }; + // console.log("showmodelshowmodel"); + // console.log(this.state.showmodel); return (
@@ -467,7 +466,7 @@ debugger
{ this.state.showmodel===true? - + this.ModalSave()} tittest={this.state.tittest} modalsType={this.state.showmodel}> :"" } -
-

文件名重复

-

{this.props.tittest}

-
+ diff --git a/public/react/src/modules/tpm/tpmmodel/common.css b/public/react/src/modules/tpm/tpmmodel/common.css index db37f3406..66780b2da 100644 --- a/public/react/src/modules/tpm/tpmmodel/common.css +++ b/public/react/src/modules/tpm/tpmmodel/common.css @@ -275,4 +275,44 @@ } #log_reg_content { padding: 38px 30px 20px !important; -} \ No newline at end of file +} +.task-btn-blues{ + background:#5091FF; + color:#fff; + width:100px; + height:32px; + border-radius:4px; +} +a:hover.task-btn-blue-test{ + height:16px; + font-size:14px; + font-family:MicrosoftYaHei; + color:#FFFFff; + line-height:30px; +} +.task-btn-blue-test{ + height:16px; + font-size:14px; + font-family:MicrosoftYaHei; + color:#FFFFff; + line-height:30px; +} +.tabeltext-alignleftysl{ + font-size:14px; + color:#000000; + line-height:19px; + +} +.tabeltext-alignleftysltwo{ + font-size:14px; + color:#848282; + line-height:19px; + +} +/* 中间居中 */ +.intermediatecenter{ + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; +}