Sfoglia il codice sorgente

软件锁抽屉、弹窗等业务组件目录调整,放到对应栏目下

outaozhen 5 anni fa
parent
commit
440311ef26

+ 0 - 0
src/components/PopContent/index.scss


src/components/PopContent/Locks/LockForm.jsx → src/pages/Product/Lock/Lockstore/components/LocksDetail/LockForm.jsx


src/components/PopContent/Locks/LockLowerList.jsx → src/pages/Product/Lock/Lockstore/components/LocksDetail/LockLowerList.jsx


src/components/PopContent/Locks/LockRecover.jsx → src/pages/Product/Lock/Lockstore/components/LocksDetail/LockRecover.jsx


src/components/PopContent/Locks/LockRemarks.jsx → src/pages/Product/Lock/Lockstore/components/LocksDetail/LockRemarks.jsx


src/components/PopContent/Locks/LockReplace.jsx → src/pages/Product/Lock/Lockstore/components/LocksDetail/LockReplace.jsx


src/components/PopContent/Locks/LockSales.jsx → src/pages/Product/Lock/Lockstore/components/LocksDetail/LockSales.jsx


+ 1 - 1
src/components/PopContent/Locks/LockTabList.jsx

@@ -11,7 +11,7 @@ import LockRemarks from './LockRemarks'
 
 const LockTabList = props => {
   const { longleLog, clientId, longleId } = props
-  console.log(clientId)
+  // console.log(clientId)
   const [state, setState] = useState({
     visible: false
   })

src/components/PopContent/Locks/LockUpgrade.jsx → src/pages/Product/Lock/Lockstore/components/LocksDetail/LockUpgrade.jsx


+ 3 - 4
src/components/PopContent/Locks/index.jsx

@@ -1,12 +1,11 @@
 import React, { useState, useEffect } from 'react'
-import '../index.scss'
 import { Drawer, Row, Col } from 'antd'
 import useAutoTable from '@/hooks/useAutoTable'
 import consts from '@/consts'
 import { apiSoftwareDetail } from '@/services/lock'
-import LockForm from '@/components/PopContent/Locks/LockForm'
-import LockLowerList from '@/components/PopContent/Locks/LockLowerList'
-import LockTabList from '@/components/PopContent/Locks/LockTabList'
+import LockForm from '@/pages/Product/Lock/Lockstore/components/LocksDetail/LockForm.jsx'
+import LockLowerList from '@/pages/Product/Lock/Lockstore/components/LocksDetail/LockLowerList'
+import LockTabList from '@/pages/Product/Lock/Lockstore/components/LocksDetail/LockTabList'
 import { connect } from 'dva'
 
 const Index = props => {

+ 2 - 2
src/pages/Product/Lock/Lockstore/index.jsx

@@ -4,7 +4,7 @@ import ProTable from '@ant-design/pro-table'
 import useAutoTable from '@/hooks/useAutoTable'
 import consts from '@/consts'
 import { queryLock } from '@/services/lock'
-import Locks from '@/components/PopContent/Locks'
+import LocksDetail from '@/pages/Product/Lock/Lockstore/components/LocksDetail'
 import { useDebounceFn } from 'ahooks'
 import { useModal } from '@/components/Modal'
 
@@ -68,7 +68,7 @@ const Lockstore = props => {
         height: '100vh',
         overflowY: 'hidden'
       },
-      children: <Locks id={id} />
+      children: <LocksDetail id={id} />
     })
     toggleDrawer()
   }