lanjianrong 5 лет назад
Родитель
Сommit
fb427510b5

+ 1 - 1
src/pages/Customer/Company/components/AddCompany/index.jsx

@@ -26,7 +26,7 @@ const AddCompanyModal = ({ reload, dataId, dataType, onConfirm, dispatch, nature
   const [showDataItem, setShowDataItem] = useState(false)
   return (
     <ModalDragForm
-      modalProps={{ zIndex: 1250 }}
+      modalProps={{ zIndex: 1250, getContainer: false }}
       formRef={formRef}
       title="添加新单位"
       {...layout}

+ 2 - 2
src/pages/workbench/Dashboard/components/RatioPanels.jsx

@@ -45,7 +45,7 @@ const renderBadge = (count, active = false) => {
 
 /** 服务环比数据Tab切换表格 */
 const ServiceRatioPanels = ({ staffIds, cyclical, dataPermission }) => {
-  // const { toggleDrawer, setDrawerProps } = useModal()
+  const { toggleDrawer, setDrawerProps } = useModal()
   const activeKeyMap = {
     0: { key: 'clientName', title: '客户', id: 'clientId' },
     1: { key: 'customerName', title: '单位', id: 'customerId' },
@@ -80,7 +80,6 @@ const ServiceRatioPanels = ({ staffIds, cyclical, dataPermission }) => {
     {
       dataIndex: activeKeyMap[state.activeKey].key,
       title: `${activeKeyMap[state.activeKey].title}名称`,
-      ellipsis: true,
       width: '15%',
       render: (text, record) => (
         <span
@@ -105,6 +104,7 @@ const ServiceRatioPanels = ({ staffIds, cyclical, dataPermission }) => {
     {
       dataIndex: 'mark',
       width: '38%',
+      ellipsis: true,
       title: '服务内容'
     },
     {