|
@@ -222,7 +222,7 @@ class Operation extends Component {
|
|
|
showSaveModule: false
|
|
|
})
|
|
|
diagShowTmp(false)
|
|
|
- this.setState({ title: '',deptId:"",value:"",folderListShow:false })
|
|
|
+ this.setState({ title: '',deptId:"",value:"",folderListShow:false,folderNameVal:'未分类文件夹' })
|
|
|
this.setState({fstName:''})
|
|
|
}
|
|
|
}
|
|
@@ -376,7 +376,7 @@ class Operation extends Component {
|
|
|
const { type } = this.state;
|
|
|
if (type == 3){
|
|
|
diagShowTmp(false)
|
|
|
- this.setState({ title: '',deptId:"",value:"",folderListShow:false })
|
|
|
+ this.setState({ title: '',deptId:"",value:"",folderListShow:false,folderNameVal:'',folderId:'' })
|
|
|
}
|
|
|
}
|
|
|
setDeptId(id,name){
|
|
@@ -509,8 +509,8 @@ class Operation extends Component {
|
|
|
{<ConfirmModal
|
|
|
visible={diagShow} //改为全局控制
|
|
|
confirm={() => { this.makeSure() }}
|
|
|
- close={() => { this.closeDiagBox()}}
|
|
|
- cancel={() => {this.closeDiagBox()}}
|
|
|
+ // close={() => { this.closeDiagBox()}}
|
|
|
+ // cancel={() => {this.closeDiagBox()}}
|
|
|
okText={this.state.okText}
|
|
|
height={type==3&admin?365:type==3&!admin?275:200}
|
|
|
width={type==3?585:300}
|