Browse Source

更改文件位置

outaozhen 5 years ago
parent
commit
6428c3c611

+ 5 - 5
config/routes.js

@@ -73,12 +73,12 @@ export default [
                     {
                       path: '/product/lock/lockstore',
                       name: 'lockstore',
-                      component: './Product/Lock/lockstore',
+                      component: './Product/Lock/Lockstore',
                     },
                     {
                       path: '/product/lock/lockcount',
                       name: 'lockcount',
-                      component: './Product/Lock/lockcount',
+                      component: './Product/Lock/Lockcount',
                     },
                   ],
                 },
@@ -88,14 +88,14 @@ export default [
                   icon: 'icon-cloud',
                   routes: [
                     {
-                      path: '/product/cloud/build',
+                      path: '/product/cloud/building',
                       name: 'build',
-                      component: './Product/Cloud/build',
+                      component: './Product/Cloud/Building',
                     },
                     {
                       path: '/product/cloud/curing',
                       name: 'curing',
-                      component: './Product/Cloud/curing',
+                      component: './Product/Cloud/Curing',
                     },
                   ],
                 },

+ 1 - 1
src/basic

@@ -1 +1 @@
-Subproject commit 5ccf301342abade5ff0b1d34c830bf41cbf5dc71
+Subproject commit 5720d2fcd920829b2ec02196281d5bc5a0a0ec07

+ 0 - 0
src/components/PopContent/ContanctForm.jsx


+ 3 - 3
src/components/PopContactForm/index.jsx

@@ -17,7 +17,7 @@ import { connect } from 'dva'
 import SvgIcon from '@/components/SvgIcon'
 import './index.scss'
 
-const Popcontactform = props => {
+const Popcontent = props => {
   // 浏览器实际宽度
   const [ clientWidth, setClientWidth ] = useState(document.body.clientWidth * 0.75)
   useEffect(() => {
@@ -349,9 +349,9 @@ const Popcontactform = props => {
   )
 }
 
-// export default Popcontactform
+// export default Popcontent
 export default connect(({ journallist, servicelist, loading }) => ({
   journalName: journallist,
   servicelistName:servicelist,
   getlist: loading.effects['journallist/fetch']
-}))(Popcontactform)
+}))(Popcontent)

+ 19 - 19
src/components/PopContactForm/index.scss

@@ -1,19 +1,19 @@
-// 弹窗左右结构
-.sheet-left-panel {
-  height: 834px;
-  overflow-x: hidden;
-  overflow-y: auto;
-}
-.sheet-right-panel {
-  height: 385px;
-  overflow-x: hidden;
-  overflow-y: auto;
-}
-.sheet-btns {
-  height: 54px;
-}
-.sheet-panel-record {
-  height: 395px;
-  overflow-x: hidden;
-  overflow-y: auto;
-}
+// 弹窗左右结构
+.sheet-left-panel {
+  height: 834px;
+  overflow-x: hidden;
+  overflow-y: auto;
+}
+.sheet-right-panel {
+  height: 385px;
+  overflow-x: hidden;
+  overflow-y: auto;
+}
+.sheet-btns {
+  height: 54px;
+}
+.sheet-panel-record {
+  height: 395px;
+  overflow-x: hidden;
+  overflow-y: auto;
+}

+ 2 - 2
src/pages/Customer/Contact/index.jsx

@@ -1,4 +1,4 @@
-import PopContactForm from '@/components/PopContactForm'
+import Popcontent from '@/components/PopContent'
 import ProTable from '@ant-design/pro-table'
 // import { PageHeaderWrapper } from '@ant-design/pro-layout';
 import { Button, Card, Tag } from 'antd'
@@ -294,7 +294,7 @@ const Contact = props => {
           </Button>
         ]}
       />
-      <PopContactForm onClose={hideDrawer} visible={visible} onCreate={onCreate} />
+      <Popcontent onClose={hideDrawer} visible={visible} onCreate={onCreate} />
     </Card>
   )
 }

+ 13 - 0
src/pages/Product/Cloud/Building/index.jsx

@@ -0,0 +1,13 @@
+import React from 'react'
+import { Card } from 'antd'
+
+const Building = () => {
+  // const { modalVisible, onCancel } = props;
+  return (
+    <Card bordered={false}>
+      Building
+    </Card>
+  )
+}
+
+export default Building

+ 13 - 0
src/pages/Product/Cloud/Curing/index.jsx

@@ -0,0 +1,13 @@
+import React from 'react'
+import { Card } from 'antd'
+
+const Curing = () => {
+  // const { modalVisible, onCancel } = props;
+  return (
+    <Card bordered={false}>
+      Curing
+    </Card>
+  )
+}
+
+export default Curing

+ 0 - 12
src/pages/Product/Cloud/build.jsx

@@ -1,12 +0,0 @@
-import React from 'react'
-import { Modal } from 'antd'
-
-class Build extends React.Component{
-    render(){
-      return(
-        <div>build</div>
-      )
-    }
-}
-
-export default Build

+ 0 - 11
src/pages/Product/Cloud/curing.jsx

@@ -1,11 +0,0 @@
-import React from 'react'
-
-class Curing extends React.Component{
-    render(){
-      return(
-        <div>curing</div>
-      )
-    }
-}
-
-export default Curing

+ 14 - 0
src/pages/Product/Lock/Lockcount/index.jsx

@@ -0,0 +1,14 @@
+import React from 'react'
+import { Card } from 'antd'
+
+const Lockcount = () => {
+  // const { modalVisible, onCancel } = props;
+  return (
+    <Card bordered={false}>
+      Lockcount
+    </Card>
+  )
+}
+
+export default Lockcount
+

+ 13 - 0
src/pages/Product/Lock/Lockstore/index.jsx

@@ -0,0 +1,13 @@
+import React from 'react'
+import { Card } from 'antd'
+
+const Lockstore = () => {
+  // const { modalVisible, onCancel } = props;
+  return (
+    <Card bordered={false}>
+      Lockstore
+    </Card>
+  )
+}
+
+export default Lockstore

+ 0 - 14
src/pages/Product/Lock/lockcount.jsx

@@ -1,14 +0,0 @@
-import React from 'react'
-import { PageHeaderWrapper } from '@ant-design/pro-layout'
-import { Card } from 'antd'
-
-class Lockcount extends React.Component{
-  render(){
-    return(
-      <PageHeaderWrapper>
-        <Card bordered={false}>lockcount</Card>
-      </PageHeaderWrapper>
-    )
-  }
-}
-export default Lockcount

+ 0 - 17
src/pages/Product/Lock/lockstore.jsx

@@ -1,17 +0,0 @@
-import React from 'react'
-import { PageHeaderWrapper } from '@ant-design/pro-layout'
-import { Card } from 'antd'
-// import { createFromIconfontCN } from '@ant-design/icons';
-// const IconFont = createFromIconfontCN({
-//   scriptUrl: '//at.alicdn.com/t/font_2276974_y914krojop.js',
-// });
-
-class Lockstore extends React.Component{
-  render(){
-    return(
-      <Card bordered={false}>lockstore</Card>
-    )
-  }
-}
-
-export default Lockstore