dev_cs_new
杨树明 6 years ago
parent fc2c3a846e
commit 422dc75f6e

@ -30,7 +30,7 @@ let currentValue;
const Option = Select.Option; const Option = Select.Option;
const RadioGroup = Radio.Group; const RadioGroup = Radio.Group;
const confirm = Modal.confirm;
// 处理整点 半点 // 处理整点 半点
// 取传入时间往后的第一个半点 // 取传入时间往后的第一个半点
export function handleDateStrings(dateString) { export function handleDateStrings(dateString) {
@ -1462,14 +1462,14 @@ export default class TPMsettings extends Component {
} }
) )
} }
if(thiss.state.file !== undefined){ if(this.state.file !== undefined){
console.log("763") console.log("763")
// thiss.deleteAttachment(thiss.state.file); // thiss.deleteAttachment(thiss.state.file);
thiss.setState({ this.setState({
file:file file:file
}) })
}else { }else {
thiss.setState({ this.setState({
file:file file:file
}) })
} }

@ -837,7 +837,6 @@ class Newshixuns extends Component {
} }
render() { render() {
const { getFieldDecorator } = this.props.form; const { getFieldDecorator } = this.props.form;
const thiss=this;
let {testcoderunmode ,systemenvironment,languagewrite,deleteisnot, fileList,TimePickervalue, scope_partmenttype, opensmail, newshixunlist, name, scope_partment, departmentslist, postapplyvisible, sendsure_applyvalue, postapplytitle, shixun_nametype, main_types, trainee_types, SelectTheCommandtype, opers, datalisttype, onSearchvalue} = this.state; let {testcoderunmode ,systemenvironment,languagewrite,deleteisnot, fileList,TimePickervalue, scope_partmenttype, opensmail, newshixunlist, name, scope_partment, departmentslist, postapplyvisible, sendsure_applyvalue, postapplytitle, shixun_nametype, main_types, trainee_types, SelectTheCommandtype, opers, datalisttype, onSearchvalue} = this.state;
let options let options
if (departmentslist != undefined) { if (departmentslist != undefined) {
@ -871,14 +870,14 @@ class Newshixuns extends Component {
} }
) )
} }
if(thiss.state.file !== undefined){ if(this.state.file !== undefined){
console.log("763") console.log("763")
// thiss.deleteAttachment(thiss.state.file); // thiss.deleteAttachment(thiss.state.file);
thiss.setState({ this.setState({
file:file file:file
}) })
}else { }else {
thiss.setState({ this.setState({
file:file file:file
}) })
} }

Loading…
Cancel
Save