diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 0000000..ce358e4 --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..6560a98 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,36 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..cf64fc2 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,7 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..e674d91 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/org-chart-frant.iml b/.idea/org-chart-frant.iml new file mode 100644 index 0000000..d6ebd48 --- /dev/null +++ b/.idea/org-chart-frant.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..198aa37 --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,535 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + true + DEFINITION_ORDER + + + + + + + + + + + + + + + + + + ActionScript specificJavaScript + + + Android + + + Ant + + + Batch Applications + + + CFML + + + CSS + + + Class structureJava + + + Code quality toolsCSS + + + Code quality toolsJavaScript + + + Code style issuesJava + + + CoffeeScript + + + CorrectnessLintAndroid + + + Cucumber + + + Error handlingJava + + + Faces Model + + + Flow type checkerJavaScript + + + FreeMarker + + + General + + + GeneralCoffeeScript + + + GeneralJavaScript + + + Google Web Toolkit + + + GrailsGroovy + + + Groovy + + + HTML + + + Hibernate + + + IconsUsabilityLintAndroid + + + ImportsJava + + + Inheritance issuesJava + + + Internationalization + + + InternationalizationJava + + + InternationalizationLintAndroid + + + Invalid elementsCSS + + + J2ME issuesJava + + + JSON and JSON5 + + + JSP + + + Java + + + Java 8Java language level migration aidsJava + + + Java interop issuesKotlin + + + Java language level migration aidsJava + + + JavaFX + + + JavaScript + + + JavadocJava + + + Kotlin + + + LintAndroid + + + LintLintAndroid + + + Manifest + + + Markdown + + + MessagesCorrectnessLintAndroid + + + Node.jsJavaScript + + + OSGi + + + OtherGroovy + + + Pages Navigation Model + + + Plugin DevKit + + + PortabilityJava + + + Potentially confusing code constructsGroovy + + + Probable bugsJava + + + Properties Files + + + Properties FilesJava + + + RELAX NG + + + RESTful Web Service + + + Resource managementJava + + + SQL + + + Sass/SCSS + + + SecurityLintAndroid + + + SetupSpring CoreSpring + + + Spring + + + Spring BootSpring + + + Spring CoreSpring + + + Struts + + + Struts 1Struts + + + Struts 2Struts + + + Style issuesKotlin + + + TestNGJava + + + Threading issuesJava + + + TypeScript + + + UI Form + + + UsabilityLintAndroid + + + Validity issuesGroovy + + + Velocity + + + Verbose or redundant code constructsJava + + + VisibilityJava + + + Vue + + + Web Services + + + XML + + + XMLSpring CoreSpring + + + XPath + + + YAML + + + + + + + + + + + + + + + + + + + + + + + + + + + this.handleFormChange({ fclass: value })} + onChange={(value) => { + const requestData = { + fclass: value, + root: undefined, + level: '2', + fisvitual: '0', + }; + this.handleFormChange(requestData); + this.getNodeTreeNode( + `/api/bs/hrmorganization/orgchart/getSubCompanyTree?fclass=${value}`, + false, + ); + this.props.changeFclass(requestData); + }} > {this.state.fclasslist.map((item) => ( - + ))} - 根节点: - - - - - 显示层级: - + dropdownStyle={{ maxHeight: 400, overflow: 'auto' }} + placeholder="请选择根节点" + onChange={this.onRootChange} + loadData={this.onRootLoadData} + treeData={rootTreeData} + /> - - this.handleFormChange({ fisvitual: e.target.checked ? '1' : '0', @@ -163,18 +243,44 @@ export class TopBar extends React.Component { > 显示虚拟组织 + + + + 部门层级: + + + + + + + + this.setState({ open: false })} + > +

+ 提示:版本记录耗时较长,请谨慎操作(仅记录当前维度的数据版本) +

+

主题:

+