outaozhen 5 anni fa
parent
commit
95c158930c

+ 1 - 2
src/pages/Staff/Employee/components/ChangeTreeSelect/index.jsx

@@ -3,7 +3,6 @@ import { TreeSelect } from 'antd'
 
 const ChangeTreeSelect = props => {
   const { defaultValue, refinstance, options, onSave } = props
-  console.log(options)
   const [selectedObj, setSelectedObj] = useState({ value: defaultValue, label: '' })
   const handleOnChange = (value, option) => {
     let local = ''
@@ -20,7 +19,7 @@ const ChangeTreeSelect = props => {
   return (
     <div>
       <TreeSelect
-        className="zh-width-100P"
+        className="w-full"
         placeholder="请选择上司"
         treeDefaultExpandAll
         allowClear

+ 1 - 1
src/pages/Staff/Employee/components/EmployeeDetail/EmployeeForm.jsx

@@ -18,7 +18,7 @@ const EmployeeForm = props => {
     {
       dataIndex: 'departmentId',
       label: '办事处',
-      span: 12,
+      span: 24,
       editCellType: 'treeSelect'
     },
     {