liting2017 7 роки тому
батько
коміт
e0b393e62e
34 змінених файлів з 1175 додано та 435 видалено
  1. 22 0
      js/component/dataDic.js
  2. 27 28
      js/component/manageCenter/achievement/achievementOrder.jsx
  3. 36 2
      js/component/manageCenter/achievement/content.jsx
  4. 60 17
      js/component/manageCenter/achievement/leftTab.jsx
  5. 5 3
      js/component/manageCenter/achievement/techAchievement.jsx
  6. 160 6
      js/component/manageCenter/customer/content.jsx
  7. 54 50
      js/component/manageCenter/customer/leftTab.jsx
  8. 38 2
      js/component/manageCenter/demand/content.jsx
  9. 60 17
      js/component/manageCenter/demand/leftTab.jsx
  10. 5 5
      js/component/manageCenter/demand/techDemand.jsx
  11. 33 0
      js/component/manageCenter/idea/content.jsx
  12. 55 54
      js/component/manageCenter/idea/leftTab.jsx
  13. 6 1
      js/component/manageCenter/leftTab.less
  14. 13 0
      js/component/manageCenter/module.jsx
  15. 30 0
      js/component/manageCenter/publicMenu.jsx
  16. 5 3
      js/component/manageCenter/servicesManage/contract/contract.jsx
  17. 5 3
      js/component/manageCenter/servicesManage/copyright/copyright.jsx
  18. 5 4
      js/component/manageCenter/servicesManage/highTech/highTechApply.jsx
  19. 0 1
      js/component/manageCenter/servicesManage/highTech/highTechFoster.jsx
  20. 93 82
      js/component/manageCenter/servicesManage/leftTab.jsx
  21. 5 3
      js/component/manageCenter/servicesManage/technology/applyManage.jsx
  22. 1 1
      js/component/manageCenter/servicesManage/technology/content.jsx
  23. 10 36
      js/component/manageCenter/set/content.jsx
  24. 56 66
      js/component/manageCenter/set/leftTab.jsx
  25. 22 1
      js/component/manageCenter/set/userManagementS/addjurisdiction.jsx
  26. 17 1
      js/component/manageCenter/set/userManagementS/jurisdiction.jsx
  27. 4 0
      js/component/manageCenter/set/userManagementS/roles.jsx
  28. 4 0
      js/component/manageCenter/set/userManagementS/user.jsx
  29. 43 3
      js/component/manageCenter/topTab.jsx
  30. 6 6
      js/component/manageCenter/userManage/leftTab.jsx
  31. 200 1
      js/component/manageCenter/userOrder/content.jsx
  32. 62 19
      js/component/manageCenter/userOrder/leftTab.jsx
  33. 14 1
      js/component/tools.js
  34. 19 19
      template/template.html

+ 22 - 0
js/component/dataDic.js

@@ -1734,4 +1734,26 @@ module.exports = {
 	        key: "付款"
 	    }
     ],
+     //接口类型
+    urlType:[
+	    {
+	        value: "0",
+	        key: "导航"
+	    }, {
+	        value: "1",
+	        key: "一级菜单"
+	    }, {
+	        value: "2",
+	        key: "二级菜单"
+	    }
+    ],
+    actives:[
+		    {value:'客户管理',key:'myClient'},
+			{value:'科技服务项目',key:'services'},
+			{value:'科技成果管理',key:'achievement'},
+			{value:'科技需求管理',key:'demand'},
+			{value:'科技思想管理',key:'idea'},
+			{value:'用户订单管理',key:'userOrder'},
+			{value:'系统设置',key:'system'}
+		]
 };

+ 27 - 28
js/component/manageCenter/achievement/achievementOrder.jsx

@@ -156,20 +156,20 @@ const AchievementDetail = React.createClass({
                         className="demand-order-content">
                         <Spin spinning={this.state.loading}>
                             <Row>
-                                <Col span={2}>订单编号:</Col>
-                                <Col span={10}>{theData.serialNumber}</Col>
-                                <Col span={2}>订单状态:</Col>
-                                <Col span={10}>{getOrderStatus(theData.status)}</Col>
+                                <Col span={3} style={{textAlign:'right'}}>订单编号:</Col>
+                                <Col span={9}>{theData.serialNumber}</Col>
+                                <Col span={3} style={{textAlign:'right'}}>订单状态:</Col>
+                                <Col span={9}>{getOrderStatus(theData.status)}</Col>
                             </Row>
                             <Row>
-                                <Col span={2}>成果编号:</Col>
-                                <Col span={10}>{theData.achievementSerialNumber}</Col>
-                                <Col span={2}>成果名称:</Col>
-                                <Col span={10}>{theData.name}</Col>
+                                <Col span={3} style={{textAlign:'right'}}>成果编号:</Col>
+                                <Col span={9}>{theData.achievementSerialNumber}</Col>
+                                <Col span={3} style={{textAlign:'right'}}>成果名称:</Col>
+                                <Col span={9}>{theData.name}</Col>
                             </Row>
                             <Row>
-                                <Col span={2}>成果状态:</Col>
-                                <Col span={10}>{(() => {
+                                <Col span={3} style={{textAlign:'right'}}>成果状态:</Col>
+                                <Col span={9}>{(() => {
                                     if (theData.deletedSign == 1) {
                                         return "已删除"
                                     } else if (theData.auditStatus != 3) {
@@ -178,16 +178,16 @@ const AchievementDetail = React.createClass({
                                         return "正常"
                                     }
                                 })()}</Col>
-                                <Col span={3}>订单所有人:</Col>
+                                <Col span={3} style={{textAlign:'right'}}>订单所有人:</Col>
                                 <Col span={9}>{theData.theName}</Col>
                             </Row>
                             <Row>
-                                <Col span={2}>接单时间:</Col>
-                                <Col span={10}>{theData.createTimeFormattedDate}</Col>
+                                <Col span={3} style={{textAlign:'right'}}>接单时间:</Col>
+                                <Col span={9}>{theData.createTimeFormattedDate}</Col>
                             </Row>
                             <Row>
-                                <Col span={2}>订单金额:</Col>
-                                <Col span={10}>
+                                <Col span={3} style={{textAlign:'right'}}>订单金额:</Col>
+                                <Col span={9}>
                                     {theData.bargainingMode == 0 ? <div>
                                         <span>价格面议</span>
                                     </div> : <InputNumber
@@ -195,8 +195,8 @@ const AchievementDetail = React.createClass({
                                             onChange={(e) => { this.setState({ transferPrice: e }) }} />}
                                     <span> 万元</span>
                                 </Col>
-                                <Col span={2}>支付金额:</Col>
-                                <Col span={10}>
+                                <Col span={3} style={{textAlign:'right'}}>支付金额:</Col>
+                                <Col span={9}>
                                     <InputNumber style={{ width: '160px' }}
                                         value={this.state.paymentValue}
                                         onChange={(e) => { this.setState({ paymentValue: e }) }} />
@@ -204,15 +204,14 @@ const AchievementDetail = React.createClass({
                                 </Col>
                             </Row>
                             <Row>
-                                <Col span={2}>支付方式:</Col>
-                                <Col span={8}>
+                                <Col span={3} style={{textAlign:'right'}}>支付方式:</Col>
+                                <Col span={9}>
                                     <Input
                                         value={this.state.paymentType}
                                         onChange={(e) => { this.setState({ paymentType: e.target.value }) }} />
                                 </Col>
-                                <Col span={2}></Col>
-                                <Col span={2}>订单流水:</Col>
-                                <Col span={8}>
+                                <Col span={3} style={{textAlign:'right'}}>订单流水:</Col>
+                                <Col span={9}>
                                     <Input value={this.state.paymentId}
                                         onChange={(e) => { this.setState({ paymentId: e.target.value }) }} />
                                 </Col>
@@ -222,8 +221,8 @@ const AchievementDetail = React.createClass({
                                 dataSource={this.state.dataSource}
                                 pagination={false} />
                             <Row style={{ marginTop: '20px' }}>
-                                <Col span={2}>状态:</Col>
-                                <Col span={10}>
+                                <Col span={3} style={{textAlign:'right'}}>状态:</Col>
+                                <Col span={9}>
                                     <Select style={{ width: 160 }}
                                         value={this.state.orderStatus}
                                         onChange={(e) => { this.setState({ orderStatus: e }); }}>
@@ -236,8 +235,8 @@ const AchievementDetail = React.createClass({
                                         })()}
                                     </Select>
                                 </Col>
-                                <Col span={2}>时间:</Col>
-                                <Col span={10}>
+                                <Col span={3} style={{textAlign:'right'}}>时间:</Col>
+                                <Col span={9}>
                                     <DatePicker style={{ width: '150px' }}
                                         showTime
                                         format="YYYY-MM-DD HH:mm:ss"
@@ -249,13 +248,13 @@ const AchievementDetail = React.createClass({
                                 </Col>
                             </Row>
                             <Row>
-                                <Col span={2}>备注:</Col>
+                                <Col span={3} style={{textAlign:'right'}}>备注:</Col>
                                 <Col span={20}>
                                     <Input value={this.state.comment} onChange={(e) => { this.setState({ comment: e.target.value }); }} />
                                 </Col>
                             </Row>
                             <Row>
-                                <Col span={2}></Col>
+                                <Col span={3}></Col>
                                 <Col span={20}>
                                     <Button style={{ marginRight: '20px' }} type="primary" onClick={this.handleSubmit}>保存</Button>
                                     <Button className="set-submit" type="ghost" onClick={this.handleCancel}>取消</Button>

+ 36 - 2
js/component/manageCenter/achievement/content.jsx

@@ -16,12 +16,12 @@ class Content extends Component {
         if (window.location.hash) {
             this.getKey(window.location.hash.substr(1));
         } else {
-            this.getKey("orgTechAchievement");
+            this.getKey("techAchievementManage");
         };
     }
     getKey(key) {
         switch (key) {
-            case 'orgTechAchievement':
+            case 'techAchievementManage':
                 require.ensure([], () => {
                     const TechAchievement = require('./techAchievement').default;
                     this.setState({
@@ -31,6 +31,40 @@ class Content extends Component {
                     });
                 });
                 break;
+            //新增空白    
+            case 'myTechAchievement':
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: Module,
+                    });
+                });
+                break;
+             case 'techAchievementQuery':
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: Module,
+                    });
+                });
+                break;
+            case 'techAchievementAudit':
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: Module,
+                    });
+                });
+                break;
+            case 'techAchievementPublish':
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: Module,
+                    });
+                });
+                break;
+            //-------//    
             case 'userTechAchievement':
                 require.ensure([], () => {
                     const TechAchievement = require('./techAchievement').default;

+ 60 - 17
js/component/manageCenter/achievement/leftTab.jsx

@@ -3,12 +3,12 @@ import { Menu, Icon } from 'antd';
 import '../leftTab.less';
 const SubMenu = Menu.SubMenu;
 const MenuItemGroup = Menu.ItemGroup;
-
+import {getMenu} from '../publicMenu.jsx'
 
 const LeftTab = React.createClass({
     getInitialState() {
         return {
-            current: 'orgTechAchievement'
+            current: ''
         };
     },
     handleClick(e) {
@@ -18,28 +18,71 @@ const LeftTab = React.createClass({
         });
     },
     componentWillMount() {
-        if (window.location.hash) {
-            this.state.current = window.location.hash.substr(1);
+    	let me_=this;
+        var ids=window.location.href.indexOf('rid=')
+        var idk=window.location.href.substr(ids+4)
+        var rid=idk.split('#')
+        var menu=getMenu(rid);
+        let cur,sub;
+        if(menu[0].subMenus.length){
+        	 cur=menu[0].subMenus[0].url.split('#');
+        	 sub=menu[0].url;
+        }else{
+        	 cur=menu[0].url.split('#');
+        	 sub=''
+        };
+        this.setState({
+        	current:cur[1],
+        	subKey:sub
+        });
+        var htmlMenu=[];
+        for(var j=0;j<menu.length;j++){
+        	if(menu[j].subMenus.length){
+        		htmlMenu.push(
+				<SubMenu key={menu[j].url} title={<span>{menu[j].name}</span>}>
+					{
+						menu[j].subMenus.map(function(item){
+							let urls=item.url.split('#');
+							return <Menu.Item key={urls[1]}>{item.name}</Menu.Item>
+						})
+					}
+				</SubMenu>
+				);
+        	}else{
+        		let urlt=menu[j].url.split('#');
+        		htmlMenu.push(
+        			<Menu.Item key={urlt[1]}>{menu[j].name}</Menu.Item>
+        		)
+        	}
+        };
+        this.setState({
+        	htmlMenus:htmlMenu
+	    })
+        const _me = this;
+        if (window.location.hash&&menu[0].subMenus.length) {
+            let theKey = window.location.hash.substr(1);
+            menu.map(function (item1) {
+	                item1.subMenus.map(function (item2) {
+	                	let urls=item2.url.split('#')
+	                    if (theKey == urls[1]) {
+	                        _me.state.subKey = item1.url
+	                    };
+	                });
+            });
+            this.state.current = theKey;
+        }else{
+        	this.state.current = window.location.hash.substr(1);
         };
     },
     render() {
         return (
             <Menu onClick={this.handleClick}
                 selectedKeys={[this.state.current]}
+                defaultOpenKeys={[this.state.subKey]}
                 mode="vertical"
-                className="account-left" >
-                <Menu.Item key="orgTechAchievement">
-                    组织科技成果列表
-                </Menu.Item>
-                <Menu.Item key="userTechAchievement">
-                    个人科技成果列表
-                </Menu.Item>
-                <Menu.Item key="orgAchievementOrder">
-                    组织成果订单列表
-                </Menu.Item>
-                <Menu.Item key="userAchievementOrder">
-                    个人成果订单列表
-                </Menu.Item>
+                className="account-left"  
+                mode="inline">
+                {this.state.htmlMenus}
             </Menu>
         );
     },

+ 5 - 3
js/component/manageCenter/achievement/techAchievement.jsx

@@ -216,9 +216,11 @@ const AchievementList = React.createClass({
     },
     tableRowClick(record, index) {
         this.state.RowData = record;
-        this.setState({
-            showDesc: true
-        });
+        if(index!=undefined){
+        	this.setState({
+            	showDesc: true
+        	});
+        }
     },
     delectRow() {
         let deletedIds = [];

+ 160 - 6
js/component/manageCenter/customer/content.jsx

@@ -15,12 +15,12 @@ class Content extends Component {
         if (window.location.hash) {
             this.getKey(window.location.hash.substr(1));
         } else {
-            this.getKey("myClient");
+            this.getKey("myOrganization");
         };
     }
     getKey(key) {
         switch (key) {          	
-            case 'myClient':
+            case 'myOrganization':
                 require.ensure([], () => {
                     const MyClient = require('./customerData/myClient').default;
                     this.setState({
@@ -30,7 +30,7 @@ class Content extends Component {
                 });
                 break;           
            
-            case 'companyCustomer':
+            case 'organizationQuery':
                 require.ensure([], () => {
 	                const CompanyCustomer = require('./customerData/companyCustomer').default;
 	                this.setState({
@@ -38,7 +38,7 @@ class Content extends Component {
 	                });
           	    });
           	    break;
-          	case 'individualCustomer':
+          	case 'myPersonal':
                 require.ensure([], () => {
                     const IndividualCustomer = require('./individualCustomer/individualCustomer').default;
                     this.setState({
@@ -47,7 +47,7 @@ class Content extends Component {
                     });
                 });
                 break;          
-            case 'queryCustomer':
+            case 'personalQuery':
                 require.ensure([], () => {
 	                const QueryCustomer = require('./individualCustomer/queryCustomer').default;
 	                this.setState({
@@ -64,7 +64,7 @@ class Content extends Component {
                 });
       	    });
       	    break;
-      	    case 'serviceQuery':
+      	    case 'businessQuery':
             require.ensure([], () => {
                 const ServiceQuery = require('./customerService/serviceQuery').default;
                 this.setState({
@@ -96,7 +96,161 @@ class Content extends Component {
                 });
       	    });
       	    break;
+      	    
+      	    //新增空白    
+      	    //我的客户
+            case 'myInvestment': //我的投资机构
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;
+            case 'myExpert': //我的专家
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;
+            case 'myConsultant': //我的咨询师
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break; 
+              //客户查询  
+            case 'investmentQuery': //投资机构查询
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;
+            case 'expertQuery': //专家查询
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;
+            case 'consultantQuery': //咨询师查询
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;
+              //客户管理  
+            case 'organizationManage': //单位客户管理
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;
+            case 'personalManage': //个人客户管理
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;
+            case 'investmentManage': //投资机构管理
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;
+            case 'expertManage': //专家管理
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;
+            case 'consultantManage': //咨询师管理
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break; 
+            //客户审核
+            case 'identityAudit': //实名认证审核
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;
+            case 'expertAudit': //专家申请审核
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;
+            case 'memberAudit': //会员申请审核
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break; 
+            //客户发布
+            case 'investmentPublish': //投资机构发布
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;
+            case 'expertPublish': //专家发布
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;
+            case 'consultantPublish': //咨询师发布
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break; 
+            //客户业务
+            case 'businessManage': //业务管理
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;
+            
         };
+        
         window.location.hash = key;
     }
     render() {

+ 54 - 50
js/component/manageCenter/customer/leftTab.jsx

@@ -3,19 +3,14 @@ import { Menu, Icon } from 'antd';
 import '../leftTab.less';
 const SubMenu = Menu.SubMenu;
 const MenuItemGroup = Menu.ItemGroup;
+import {getMenu} from '../publicMenu.jsx'
 
 
 const LeftTab = React.createClass({
     getInitialState() {
         return {
-            current: 'myClient', 
-            subKey: 'sub1', 
-            keyList: [
-                { key: 'sub1', value: ['myClient','companyCustomer'] },
-                { key: 'sub2', value: ['individualCustomer','queryCustomer'] },
-                { key: 'sub3', value: ['myBusiness', 'serviceQuery'] },
-                { key: 'sub4', value: ['visitStatistics', 'statusStatistics','followStatistics'] },
-            ]
+            current: '', 
+            subKey: '', 
         };
     },
     handleClick(e) {
@@ -25,17 +20,60 @@ const LeftTab = React.createClass({
         });
     },
     componentWillMount() {
+    	let me_=this;
+        var ids=window.location.href.indexOf('rid=')
+        var idk=window.location.href.substr(ids+4)
+        var rid=idk.split('#')
+        var menu=getMenu(rid);
+        let cur,sub;
+        if(menu[0].subMenus.length){
+        	 cur=menu[0].subMenus[0].url.split('#');
+        	 sub=menu[0].url;
+        }else{
+        	 cur=menu[0].url.split('#');
+        	 sub=''
+        };
+        this.setState({
+        	current:cur[1],
+        	subKey:sub
+        });
+        var htmlMenu=[];
+        for(var j=0;j<menu.length;j++){
+        	if(menu[j].subMenus.length){
+        		htmlMenu.push(
+				<SubMenu key={menu[j].url} title={<span>{menu[j].name}</span>}>
+					{
+						menu[j].subMenus.map(function(item){
+							let urls=item.url.split('#');
+							return <Menu.Item key={urls[1]}>{item.name}</Menu.Item>
+						})
+					}
+				</SubMenu>
+				);
+        	}else{
+        		let urlt=menu[j].url.split('#');
+        		htmlMenu.push(
+        			<Menu.Item key={urlt[1]}>{menu[j].name}</Menu.Item>
+        		)
+        	}
+        };
+        this.setState({
+        	htmlMenus:htmlMenu
+	    })
         const _me = this;
-        if (window.location.hash) {
+        if (window.location.hash&&menu[0].subMenus.length) {
             let theKey = window.location.hash.substr(1);
-            this.state.keyList.map(function (item1) {
-                item1.value.map(function (item2) {
-                    if (theKey == item2) {
-                        _me.state.subKey = item1.key
-                    };
-                });
+            menu.map(function (item1) {
+	                item1.subMenus.map(function (item2) {
+	                	let urls=item2.url.split('#')
+	                    if (theKey == urls[1]) {
+	                        _me.state.subKey = item1.url
+	                    };
+	                });
             });
             this.state.current = theKey;
+        }else{
+        	this.state.current = window.location.hash.substr(1);
         };
     },
     render() {
@@ -46,41 +84,7 @@ const LeftTab = React.createClass({
                 mode="vertical"
                 className="account-left"
                 mode="inline" >
-	            <SubMenu key="sub1" title={<span>单位客户</span>}>	            	
-		                <Menu.Item key="myClient">
-		                    我的单位客户
-		                </Menu.Item>                              
-		                <Menu.Item key="companyCustomer">
-		                    单位客户查询
-		                </Menu.Item>		           
-		        </SubMenu> 
-		        <SubMenu key="sub2" title={<span>个人客户</span>}>	            	
-		                <Menu.Item key="individualCustomer">
-		                    我的个人客户
-		                </Menu.Item>               	               
-		                <Menu.Item key="queryCustomer">
-		                    个人客户查询
-		                </Menu.Item>		           
-		        </SubMenu>
-		        <SubMenu key="sub3" title={<span>客户业务</span>}>		            
-		                <Menu.Item key="myBusiness">
-		                    我的业务
-		                </Menu.Item>               
-		                <Menu.Item key="serviceQuery">
-		                    业务查询
-		                </Menu.Item>	               		           
-		        </SubMenu>
-		        <SubMenu key="sub4" title={<span>统计分析</span>}>		            
-		                <Menu.Item key="visitStatistics">
-		                    客户拜访统计
-		                </Menu.Item>               
-		                <Menu.Item key="statusStatistics">
-		                    业务客户状态统计
-		                </Menu.Item>
-		                <Menu.Item key="followStatistics">
-		                    业务跟进进度统计
-		                </Menu.Item>
-		        </SubMenu>
+	        	{this.state.htmlMenus}
             </Menu>
         );
     },

+ 38 - 2
js/component/manageCenter/demand/content.jsx

@@ -16,12 +16,12 @@ class Content extends Component {
         if (window.location.hash) {
             this.getKey(window.location.hash.substr(1));
         } else {
-            this.getKey("orgTechDemand");
+            this.getKey("techDemandManage");
         };
     }
     getKey(key) {
         switch (key) {
-            case 'orgTechDemand':
+            case 'techDemandManage':
                 require.ensure([], () => {
                     const TechDemand = require('./techDemand').default;
                     this.setState({
@@ -61,6 +61,42 @@ class Content extends Component {
                     });
                 });
                 break;
+            
+            //新增空白    
+            case 'myTechDemand':
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: Module,
+                    });
+                });
+                break;
+             case 'techDemandQuery':
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: Module,
+                    });
+                });
+                break;
+            case 'techDemandAudit':
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: Module,
+                    });
+                });
+                break;
+            case 'techDemandPublish':
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: Module,
+                    });
+                });
+                break;
+            //-------//  
+                
         };
         window.location.hash = key;
     }

+ 60 - 17
js/component/manageCenter/demand/leftTab.jsx

@@ -3,12 +3,12 @@ import { Menu, Icon } from 'antd';
 import '../leftTab.less';
 const SubMenu = Menu.SubMenu;
 const MenuItemGroup = Menu.ItemGroup;
-
+import {getMenu} from '../publicMenu.jsx'
 
 const LeftTab = React.createClass({
     getInitialState() {
         return {
-            current: 'orgTechDemand'
+            current: ''
         };
     },
     handleClick(e) {
@@ -17,30 +17,73 @@ const LeftTab = React.createClass({
             current: e.key,
         });
     },
-    componentWillMount() {
-        if (window.location.hash) {
-            this.state.current = window.location.hash.substr(1);
+   componentWillMount() {
+    	let me_=this;
+        var ids=window.location.href.indexOf('rid=')
+        var idk=window.location.href.substr(ids+4)
+        var rid=idk.split('#')
+        var menu=getMenu(rid);
+        let cur,sub;
+        if(menu[0].subMenus.length){
+        	 cur=menu[0].subMenus[0].url.split('#');
+        	 sub=menu[0].url;
+        }else{
+        	 cur=menu[0].url.split('#');
+        	 sub=''
+        };
+        this.setState({
+        	current:cur[1],
+        	subKey:sub
+        });
+        var htmlMenu=[];
+        for(var j=0;j<menu.length;j++){
+        	if(menu[j].subMenus.length){
+        		htmlMenu.push(
+				<SubMenu key={menu[j].url} title={<span>{menu[j].name}</span>}>
+					{
+						menu[j].subMenus.map(function(item){
+							let urls=item.url.split('#');
+							return <Menu.Item key={urls[1]}>{item.name}</Menu.Item>
+						})
+					}
+				</SubMenu>
+				);
+        	}else{
+        		let urlt=menu[j].url.split('#');
+        		htmlMenu.push(
+        			<Menu.Item key={urlt[1]}>{menu[j].name}</Menu.Item>
+        		)
+        	}
+        };
+        this.setState({
+        	htmlMenus:htmlMenu
+	    })
+        const _me = this;
+        if (window.location.hash&&menu[0].subMenus.length) {
+            let theKey = window.location.hash.substr(1);
+            menu.map(function (item1) {
+	                item1.subMenus.map(function (item2) {
+	                	let urls=item2.url.split('#')
+	                    if (theKey == urls[1]) {
+	                        _me.state.subKey = item1.url
+	                    };
+	                });
+            });
+            this.state.current = theKey;
+        }else{
+        	this.state.current = window.location.hash.substr(1);
         };
     },
     render() {
         return (
             <Menu onClick={this.handleClick}
                 selectedKeys={[this.state.current]}
+                defaultOpenKeys={[this.state.subKey]}
                 mode="vertical"
                 className="account-left"
+                mode="inline"
             >
-                <Menu.Item key="orgTechDemand">
-                    组织科技需求列表
-                </Menu.Item>
-                <Menu.Item key="userTechDemand">
-                    个人科技需求列表
-                </Menu.Item>
-                <Menu.Item key="orgDemandOrder">
-                    组织需求订单列表
-                </Menu.Item>
-                <Menu.Item key="userDemandOrder">
-                    个人需求订单列表
-                </Menu.Item>
+               {this.state.htmlMenus}
             </Menu>
         );
     },

+ 5 - 5
js/component/manageCenter/demand/techDemand.jsx

@@ -344,12 +344,12 @@ const DemandList = React.createClass({
         };
     },
     tableRowClick(record, index) {
-    	console.log(record);
-    	console.log(index);
         this.state.RowData = record;
-        this.setState({
-            showDesc: true
-        });
+        if(index!=undefined){
+        	this.setState({
+           	 showDesc: true
+        	});
+        }
     },
     delectRow() {
         let deletedIds = [];

+ 33 - 0
js/component/manageCenter/idea/content.jsx

@@ -101,6 +101,39 @@ class Content extends Component {
                     });
                 });
                 break;
+            //新增科技政策
+            case 'techPolicyManage': //科技政策管理
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: Module,
+                    });
+                });
+                break;
+            case 'techPolicyAudit': //科技政策审核
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: Module,
+                    });
+                });
+                break;
+            case 'techPolicyPublish': //科技政策发布
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: Module,
+                    });
+                });
+                break; 
+            case 'techPolicyQuery': //科技政策查询
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: Module,
+                    });
+                });
+                break;
         };
         window.location.hash = key;
     }

+ 55 - 54
js/component/manageCenter/idea/leftTab.jsx

@@ -3,19 +3,13 @@ import { Menu, Icon } from 'antd';
 import '../leftTab.less';
 const SubMenu = Menu.SubMenu;
 const MenuItemGroup = Menu.ItemGroup;
-
+import {getMenu} from '../publicMenu.jsx'
 
 const LeftTab = React.createClass({
     getInitialState() {
         return {
-            current: 'star',
-            subKey: 'sub1',
-            keyList: [
-                { key: 'sub1', value: ['star', 'lecture'] },
-                { key: 'sub2', value: ['flash', 'localPolicy', 'nationalPolicy', 'contact','jitao'] },
-                { key: 'sub3', value: ['activity','activityUserList'] },
-                { key: 'sub10', value: ['banner'] }
-            ]
+            current: '',
+            subKey: '',
         };
     },
     handleClick(e) {
@@ -25,17 +19,61 @@ const LeftTab = React.createClass({
         });
     },
     componentWillMount() {
+    	let me_=this;
+        var ids=window.location.href.indexOf('rid=')
+        var idk=window.location.href.substr(ids+4)
+        var rid=idk.split('#')
+        var menu=getMenu(rid);
+        let cur,sub;
+        if(menu[0].subMenus.length){
+        	 cur=menu[0].subMenus[0].url.split('#');
+        	 sub=menu[0].url;
+        }else{
+        	 cur=menu[0].url.split('#');
+        	 sub=''
+        };
+        this.setState({
+        	current:cur[1],
+        	subKey:sub
+        });
+        var htmlMenu=[];
+        console.log(menu)      
+        for(var j=0;j<menu.length;j++){
+        	if(menu[j].subMenus.length){
+        		htmlMenu.push(
+				<SubMenu key={menu[j].url} title={<span>{menu[j].name}</span>}>
+					{
+						menu[j].subMenus.map(function(item){
+							let urls=item.url.split('#');
+							return <Menu.Item key={urls[1]}>{item.name}</Menu.Item>
+						})
+					}
+				</SubMenu>
+				);
+        	}else{
+        		let urlt=menu[j].url.split('#');
+        		htmlMenu.push(
+        			<Menu.Item key={urlt[1]}>{menu[j].name}</Menu.Item>
+        		)
+        	}
+        };
+        this.setState({
+        	htmlMenus:htmlMenu
+	    })
         const _me = this;
-        if (window.location.hash) {
+        if (window.location.hash&&menu[0].subMenus.length) {
             let theKey = window.location.hash.substr(1);
-            this.state.keyList.map(function (item1) {
-                item1.value.map(function (item2) {
-                    if (theKey == item2) {
-                        _me.state.subKey = item1.key
-                    };
-                });
+            menu.map(function (item1) {
+	                item1.subMenus.map(function (item2) {
+	                	let urls=item2.url.split('#')
+	                    if (theKey == urls[1]) {
+	                        _me.state.subKey = item1.url
+	                    };
+	                });
             });
             this.state.current = theKey;
+        }else{
+        	this.state.current = window.location.hash.substr(1);
         };
     },
     render() {
@@ -46,44 +84,7 @@ const LeftTab = React.createClass({
                 mode="vertical"
                 className="account-left"
                 mode="inline" >
-                <SubMenu key="sub1" title={<span>大咖说</span>}>
-                    <Menu.Item key="star">
-                        科技明星
-                    </Menu.Item>
-                    <Menu.Item key="lecture">
-                        科技讲堂
-                    </Menu.Item>
-                </SubMenu>
-                <SubMenu key="sub2" title={<span>策源地</span>}>
-                    <Menu.Item key="flash">
-                        科技快讯
-                    </Menu.Item>
-                    <Menu.Item key="nationalPolicy">
-                        国家政策
-                    </Menu.Item>
-                    <Menu.Item key="localPolicy">
-                        地方政策
-                    </Menu.Item>
-                    <Menu.Item key="jitao">
-                        技淘动态
-                    </Menu.Item>
-                    <Menu.Item key="contact">
-                        交易问题
-                    </Menu.Item>
-                </SubMenu>
-                <SubMenu key="sub3" title={<span>活动圈</span>}>
-                    <Menu.Item key="activity">
-                        活动圈
-                    </Menu.Item>
-                    <Menu.Item key="activityUserList">
-                        报名用户列表
-                    </Menu.Item>
-                </SubMenu>
-                <SubMenu key="sub10" title={<span>广告图</span>}>
-                    <Menu.Item key="banner">
-                        广告图管理
-                    </Menu.Item>
-                </SubMenu>
+                {this.state.htmlMenus}
             </Menu>
         );
     }

+ 6 - 1
js/component/manageCenter/leftTab.less

@@ -45,4 +45,9 @@
         //     border-right: none;
         // }
     }
-}
+}
+.containers{
+    padding: 10px;
+    background: #ffffff;
+    
+}

+ 13 - 0
js/component/manageCenter/module.jsx

@@ -0,0 +1,13 @@
+import React from 'react';
+import './leftTab.less';
+const Module=React.createClass({
+	render(){
+		return(
+			<div className='containers'>
+				等待开放
+			</div>
+		)
+	}
+})
+
+export default Module;

+ 30 - 0
js/component/manageCenter/publicMenu.jsx

@@ -0,0 +1,30 @@
+import ajax from 'jquery/src/ajax/xhr.js'
+import $ from 'jquery/src/ajax';
+
+var menuArr=[];
+module.exports={
+	getMenu:function(index){
+		$.ajax({
+    		method: "get",
+            dataType: "json",
+            crossDomain: false,
+            async:false,
+            url: globalConfig.context + "/api/admin/selectMenuList",
+            data: {
+            	navId:index[0]
+            },
+            success:function(data){
+            	if (!data.data) {
+	                if (data.error && data.error.length) {
+	                    message.warning(data.error[0].message);
+	                    return;
+	                };
+	            };
+	            menuArr=data.data;
+	            return menuArr;
+			}
+		})
+		return menuArr;
+	}	
+}
+	

+ 5 - 3
js/component/manageCenter/servicesManage/contract/contract.jsx

@@ -302,9 +302,11 @@ const Contract = React.createClass({
                 showAdd: true
             });
         } else {
-            this.setState({
-                showDesc: true
-            });
+        	if(index!=undefined){
+        		this.setState({
+               		 showDesc: true
+           		 });
+        	}
         };
     },
     delectRow() {

+ 5 - 3
js/component/manageCenter/servicesManage/copyright/copyright.jsx

@@ -304,9 +304,11 @@ const copyright = React.createClass({
     },
     tableRowClick(record, index) {
         this.state.RowData = record;
-        this.setState({
-            showDesc: true
-        });
+        if(index!=undefined){
+        	this.setState({
+           	   showDesc: true
+       		});
+        }
     },
     delectRow() {
         let deletedIds = [];

+ 5 - 4
js/component/manageCenter/servicesManage/highTech/highTechApply.jsx

@@ -8,7 +8,6 @@ import ajax from 'jquery/src/ajax/xhr.js';
 import $ from 'jquery/src/ajax';
 import moment from 'moment';
 import './highTechFoster.less';
-
 const CognizanceDescFrom = Form.create()(React.createClass({
     loadData(uid, cid, year) {
         this.setState({
@@ -1135,9 +1134,11 @@ const Cognizance = React.createClass({
     },
     tableRowClick(record, index) {
         this.state.RowData = record;
-        this.setState({
-            showDesc: true
-        });
+        if(index!=undefined){
+	        this.setState({
+	            showDesc: true
+	        });
+        }
     },
     addClick() {
         this.setState({

+ 0 - 1
js/component/manageCenter/servicesManage/highTech/highTechFoster.jsx

@@ -7,7 +7,6 @@ import $ from 'jquery/src/ajax';
 import moment from 'moment';
 import './highTechFoster.less';
 import FosterDesc from './fosterDesc/content.jsx';
-
 const Patent = React.createClass({
     loadData(pageNo) {
         this.state.data = [];

+ 93 - 82
js/component/manageCenter/servicesManage/leftTab.jsx

@@ -3,59 +3,114 @@ import { Menu, Icon } from 'antd';
 import '../leftTab.less';
 const SubMenu = Menu.SubMenu;
 const MenuItemGroup = Menu.ItemGroup;
-
+import {getMenu} from '../publicMenu.jsx'
 
 const LeftTab = React.createClass({
     getInitialState() {
         return {
-            current: 'contract',
-            subKey: 'sub1',
-            keyList: [
-                { key: 'sub1', value: ['contract'] },
-                { key: 'sub2', value: ['comprehensive', 'payment', 'correction', 'express', 'applyFee'] },
-                { key: 'sub3', value: ['copyright'] },
-                { key: 'sub4', value: ['highTechApply', 'highTechFoster'] },
-                { key: 'sub5', value: ['applyManage', 'websiteManage'] }
-            ]
+            current: '',
+            subKey: '',
         };
     },
+    current(e){
+    	let menuArr=this.state.menu;
+    	let curr;
+    	menuArr.map(function(item){
+        		if(e==item.url){
+        			curr=item.subMenus[0].url.split('#') 
+        		}
+        })
+    	return curr;
+    },
     handleClick(e) {
+    	let menuArr=this.state.menu;
+    	let path=e.keyPath[1];
         if (this.state.subKey !== e.keyPath[1]) {
-            switch (e.keyPath[1]) {
-                case 'sub1':
-                    location.href = globalConfig.context + '/admin/servicesManage/contract.html#' + e.key;
-                    break;
-                case 'sub2':
-                    location.href = globalConfig.context + '/admin/servicesManage/patent.html#' + e.key;
-                    break;
-                case 'sub3':
-                    location.href = globalConfig.context + '/admin/servicesManage/copyright.html#' + e.key;
-                    break;
-                case 'sub4':
-                    location.href = globalConfig.context + '/admin/servicesManage/highTech.html#' + e.key;
-                    break;
-                case 'sub5':
-                    location.href = globalConfig.context + '/admin/servicesManage/technology.html#' + e.key;
-                    break;
-            }
+        	let urls= this.current(path);
+        	location.href=globalConfig.context +urls[0]+'?rid='+this.state.idtt+'#' + e.key;
         };
         this.props.handlekey(e.key);
         this.setState({
-            current: e.key,
-        });
+	        	subKey:path,
+	            current: e.key,
+	        });
     },
-    componentWillMount() {
+   componentWillMount() {
+    	let me_=this;
+        var ids=window.location.href.indexOf('rid=')
+        var idk=window.location.href.substr(ids+4)
+        var rid=idk.split('#')
+        var menu=getMenu(rid);
+        let sub;
+        let curr=rid[1];
+        for(var i=0;i<menu.length;i++){
+        	menu[i].subMenus.map(function(atem){
+        		if(atem.url.indexOf(curr)>0){
+        			sub=menu[i].url 
+        		}
+        	})
+        }
+        let cur,subs;
+        if(menu[0].subMenus.length){
+        	 cur=menu[0].subMenus[0].url.split('#');
+        	 subs=menu[0].url;
+        }else{
+        	 cur=menu[0].url.split('#');
+        	 subs=''
+        };
+        if(sub!=undefined){
+        	this.setState({
+	        	menu:menu,
+	        	current:rid[1],
+	        	subKey:sub,
+	        	idtt:rid[0]
+        	});
+        }else{
+        	this.setState({
+	        	menu:menu,
+	        	current:cur[1],
+        		subKey:subs,
+	        	idtt:rid[0]
+        	});
+        }
+        
+        var htmlMenu=[];
+        for(var j=0;j<menu.length;j++){
+        	if(menu[j].subMenus.length){
+        		htmlMenu.push(
+				<SubMenu key={menu[j].url} title={<span>{menu[j].name}</span>}>
+					{
+						menu[j].subMenus.map(function(item){
+							let urls=item.url.split('#');
+							return <Menu.Item key={urls[1]}>{item.name}</Menu.Item>
+						})
+					}
+				</SubMenu>
+				);
+        	}else{
+        		let urlt=menu[j].url.split('#');
+        		htmlMenu.push(
+        			<Menu.Item key={urlt[1]}>{menu[j].name}</Menu.Item>
+        		)
+        	}
+        };
+        this.setState({
+        	htmlMenus:htmlMenu
+	    })
         const _me = this;
-        if (window.location.hash) {
+        if (window.location.hash&&menu[0].subMenus.length) {
             let theKey = window.location.hash.substr(1);
-            this.state.keyList.map(function (item1) {
-                item1.value.map(function (item2) {
-                    if (theKey == item2) {
-                        _me.state.subKey = item1.key
-                    };
-                });
+            menu.map(function (item1) {
+	                item1.subMenus.map(function (item2) {
+	                	let urls=item2.url.split('#')
+	                    if (theKey == urls[1]) {
+	                        _me.state.subKey = item1.url
+	                    };
+	                });
             });
             this.state.current = theKey;
+        }else{
+        	this.state.current = window.location.hash.substr(1);
         };
     },
     render() {
@@ -66,51 +121,7 @@ const LeftTab = React.createClass({
                 mode="vertical"
                 className="account-left"
                 mode="inline" >
-                <SubMenu key="sub1" title={<span>合同申请管理</span>}>
-                    <Menu.Item key="contract">
-                        合同申请管理
-                    </Menu.Item>
-                </SubMenu>
-                <SubMenu key="sub2"
-                    title={<div>专利申请管理</div>}>
-                    <Menu.Item key="comprehensive">
-                        专利综合管理
-                    </Menu.Item>
-                    <Menu.Item key="payment">
-                        待缴费专利管理
-                    </Menu.Item>
-                    <Menu.Item key="correction">
-                        补正审查通知管理
-                    </Menu.Item>
-                    <Menu.Item key="express">
-                        专利纸件收发登记
-                    </Menu.Item>
-                    <Menu.Item key="applyFee">
-                        专利申请费用管理
-                    </Menu.Item>
-                </SubMenu>
-                <SubMenu key="sub3" title={<span>软著申请管理</span>}>
-                    <Menu.Item key="copyright">
-                        软著申请管理
-                    </Menu.Item>
-                </SubMenu>
-                <SubMenu key="sub4"
-                    title={<div>高企认定管理</div>}>
-                    <Menu.Item key="highTechApply">
-                        高企认定申请
-                    </Menu.Item>
-                    <Menu.Item key="highTechFoster">
-                        高企认定培育
-                    </Menu.Item>
-                </SubMenu>
-                <SubMenu key="sub5" title={<span>科技项目申报管理</span>}>
-                    <Menu.Item key="applyManage">
-                        申报管理
-                    </Menu.Item>
-                    <Menu.Item key="websiteManage">
-                        科技部门网址管理
-                    </Menu.Item>
-                </SubMenu>
+               {this.state.htmlMenus}
             </Menu>
         );
     }

+ 5 - 3
js/component/manageCenter/servicesManage/technology/applyManage.jsx

@@ -352,9 +352,11 @@ const ApplyManage = React.createClass({
     },
     tableRowClick(record, index) {
         this.state.RowData = record;
-        this.setState({
-            showDesc: true
-        });
+        if(index!=undefined){
+        	this.setState({
+            	showDesc: true
+        	});
+        }
     },
     addClick() {
         this.setState({

+ 1 - 1
js/component/manageCenter/servicesManage/technology/content.jsx

@@ -10,7 +10,7 @@ const Content = React.createClass({
     getInitialState() {
         return {
             loading: false,
-            leftKey: 'comprehensive',
+            leftKey: 'websiteManage',
         };
     },
     handlekey(key) {

+ 10 - 36
js/component/manageCenter/set/content.jsx

@@ -15,45 +15,11 @@ class Content extends Component {
         if (window.location.hash) {
             this.getKey(window.location.hash.substr(1));
         } else {
-            this.getKey('member');
+            this.getKey('organization');
         };
     }
     getKey(key) {
         switch (key) {
-            case 'member':
-                require.ensure([], () => {
-                    const Member = require('./userManagement/member').default;
-                    this.setState({
-                        component: <Member />                      
-                    });
-                });
-                break;           
-           
-            case 'permission':
-                require.ensure([], () => {
-	                const Permission = require('./userManagement/permission').default;
-	                this.setState({
-	                    component:<Permission />,	                    	                  
-	                });
-          	    });
-          	    break;
-          	case 'role':
-                require.ensure([], () => {
-                    const Role = require('./userManagement/role').default;
-                    this.setState({
-                        component: <Role />                      
-                      
-                    });
-                });
-                break;  
-            case 'site':
-	            require.ensure([], () => {
-	                const Site = require('./userManagement/site').default;
-	                this.setState({
-	                    component: <Site />,
-	                });
-	            });
-            break;
       	    case 'organization':
             require.ensure([], () => {
                 const Organization = require('./organization/organization').default;
@@ -78,6 +44,14 @@ class Content extends Component {
                 	});
                 });
             break; 
+            case 'businessQuery':
+            require.ensure([], () => {
+                const Module = require('../module').default;
+                this.setState({
+                    component:<Module />	    
+                	});
+                });
+            break; 
             case 'user':
                 require.ensure([], () => {
                     const User = require('./userManagementS/user').default;
@@ -95,7 +69,7 @@ class Content extends Component {
 	                });
           	    });
           	    break;
-          	case 'jurisdiction':
+          	case 'permission':
                 require.ensure([], () => {
                     const Jurisdiction = require('./userManagementS/jurisdiction').default;
                     this.setState({

+ 56 - 66
js/component/manageCenter/set/leftTab.jsx

@@ -5,19 +5,13 @@ import './content.less';
 import '../content.less';
 const SubMenu = Menu.SubMenu;
 const MenuItemGroup = Menu.ItemGroup;
+import {getMenu} from '../publicMenu.jsx'
 
 const LeftTab = React.createClass({
     getInitialState() {
         return {
-            current: 'member', 
-            subKey: 'sub1', 
-            keyList: [
-                { key: 'sub1', value: ['member','permission','role','site'] },
-                { key: 'sub2', value: ['organization'] },
-                { key: 'sub3', value: ['businessCategory', 'businessProject'] },
-                { key: 'sub4', value: ['user','roles','jurisdiction'] },
-                { key: 'sub5', value: ['systemMessage','remindMessage','jitaoMessage','butlerMessage'] },
-            ]
+            current: '', 
+            subKey: '', 
         };
     },
     handleClick(e) {
@@ -26,18 +20,61 @@ const LeftTab = React.createClass({
             current: e.key,
         });
     },
-    componentWillMount(){
-         const _me = this;
-        if (window.location.hash) {
+    componentWillMount() {
+    	let me_=this;
+        var ids=window.location.href.indexOf('rid=')
+        var idk=window.location.href.substr(ids+4)
+        var rid=idk.split('#')
+        var menu=getMenu(rid);
+        let cur,sub;
+        if(menu[0].subMenus.length){
+        	 cur=menu[0].subMenus[0].url.split('#');
+        	 sub=menu[0].url;
+        }else{
+        	 cur=menu[0].url.split('#');
+        	 sub=''
+        };
+        this.setState({
+        	current:cur[1],
+        	subKey:sub
+        });
+        var htmlMenu=[];
+        for(var j=0;j<menu.length;j++){
+        	if(menu[j].subMenus.length){
+        		htmlMenu.push(
+				<SubMenu key={menu[j].url} title={<span>{menu[j].name}</span>}>
+					{
+						menu[j].subMenus.map(function(item){
+							let urls=item.url.split('#');
+							return <Menu.Item key={urls[1]}>{item.name}</Menu.Item>
+						})
+					}
+				</SubMenu>
+				);
+        	}else{
+        		let urlt=menu[j].url.split('#');
+        		htmlMenu.push(
+        			<Menu.Item key={urlt[1]}>{menu[j].name}</Menu.Item>
+        		)
+        	}
+        };
+        this.setState({
+        	htmlMenus:htmlMenu
+	    })
+        const _me = this;
+        if (window.location.hash&&menu[0].subMenus.length) {
             let theKey = window.location.hash.substr(1);
-            this.state.keyList.map(function (item1) {
-                item1.value.map(function (item2) {
-                    if (theKey == item2) {
-                        _me.state.subKey = item1.key
-                    };
-                });
+            menu.map(function (item1) {
+	                item1.subMenus.map(function (item2) {
+	                	let urls=item2.url.split('#')
+	                    if (theKey == urls[1]) {
+	                        _me.state.subKey = item1.url
+	                    };
+	                });
             });
             this.state.current = theKey;
+        }else{
+        	this.state.current = window.location.hash.substr(1);
         };
     },
     render() {
@@ -48,54 +85,7 @@ const LeftTab = React.createClass({
                 mode="inline"
                 className="account-left"
                 >
-	            <SubMenu key="sub1" title={<span>用户管理</span>}>	
-	            		<Menu.Item key="member">
-		                    管理员列表
-		                </Menu.Item>
-		                <Menu.Item key="permission">
-		                    权限控制
-		                </Menu.Item>
-		                <Menu.Item key="role">
-		                    角色控制
-		                </Menu.Item>
-		                 <Menu.Item key="site" style={{display:'none'}}>
-                		    站点设置
-                		</Menu.Item>
-		        </SubMenu> 
-		        <SubMenu key="sub2" title={<span>组织机构管理</span>}>	            	
-		                <Menu.Item key="organization">
-		                    组织机构
-		                </Menu.Item>               	               		           
-		        </SubMenu>
-		        <SubMenu key="sub3" title={<span>业务品种管理</span>}>		            
-		                <Menu.Item key="businessCategory">
-		                    业务品类管理
-		                </Menu.Item>               
-		                <Menu.Item key="businessProject">
-		                    业务项目管理
-		                </Menu.Item>	               		           
-		        </SubMenu>
-		        <SubMenu key="sub4" title={<span>新开发用户管理</span>}>	
-	            		<Menu.Item key="user">
-		                    用户信息
-		                </Menu.Item> 
-		                <Menu.Item key="roles">
-		                    角色信息
-		                </Menu.Item>                              
-		                <Menu.Item key="jurisdiction">
-		                    权限信息
-		                </Menu.Item>		           
-		        </SubMenu>
-		        <SubMenu key="sub5" title={<span>推送消息</span>}>	
-	            		<Menu.Item key="systemMessage">
-		                    系统消息
-		                </Menu.Item> 
-		                                              
-		                <Menu.Item key="jitaoMessage">
-		                    技淘智推
-		                </Menu.Item>
-		                 
-		        </SubMenu>
+	            {this.state.htmlMenus}
             </Menu>
         );
     }

+ 22 - 1
js/component/manageCenter/set/userManagementS/addjurisdiction.jsx

@@ -3,7 +3,7 @@ import { Icon,  Modal, message,  AutoComplete,Spin, Input, Select, Button, Form,
 import ajax from 'jquery/src/ajax/xhr.js';
 import $ from 'jquery/src/ajax';
 import './userMangagement.less';
-import {} from '../../../dataDic.js';
+import {urlType} from '../../../dataDic.js';
 const Option = AutoComplete.Option;
 
 const Addjurisdiction = Form.create()(React.createClass({
@@ -23,6 +23,10 @@ const Addjurisdiction = Form.create()(React.createClass({
 				return false;
 			}
 		}
+    	if(!this.state.urlType){			
+				message.warning('请选择接口类型')
+				return false;
+		}
     	let api=this.props.userDetaile?'/api/admin/updateById':'/api/admin/addSupPermission';
         this.props.form.validateFields((err, values) => { 
             if (!err) {
@@ -38,6 +42,7 @@ const Addjurisdiction = Form.create()(React.createClass({
                     	id:this.state.ids,
                         name:this.state.name, //接口名称
 						url:this.state.url,//接口路径
+						type:this.state.urlType,
 						superId:this.state.auto,//接口上级模板功能
                     }
                 }).done(function (data) { 
@@ -133,6 +138,7 @@ const Addjurisdiction = Form.create()(React.createClass({
                 this.setState({
                 	ids:thisData.id,
                 	name:thisData.name, //接口名称
+                	urlType:thisData.type.toString(),
 					url:thisData.url,//接口路径
 					preModule:thisData.preModule,//接口上级模板功能
                 	createId:thisData.createId,
@@ -167,6 +173,7 @@ const Addjurisdiction = Form.create()(React.createClass({
 		if(!nextProps.userDetaile){
 			this.state.name='';
 			this.state.url='';
+			this.state.urlType=undefined;
    		}else{
     		this.loaduser(nextProps.datauser)
     	   }     
@@ -208,6 +215,20 @@ const Addjurisdiction = Form.create()(React.createClass({
 				                                    onChange={(e)=>{this.setState({url:e.target.value})}} required="required"/>
 					                    		<span className="mandatory">*</span>	
 					                    </FormItem>
+					                    <FormItem className="half-middle"
+					                            {...formItemLayout}
+					                            label="接口类型" >   
+			                                    <Select placeholder="选择接口类型" style={{width:'230px'}}
+						                            value={this.state.urlType}
+						                            onChange={(e) => { this.setState({ urlType: e }) }}>
+						                            {
+					                                    urlType.map(function (item) {
+					                                            return <Select.Option key={item.value} >{item.key}</Select.Option>
+					                                    })
+					                                }
+							                    </Select> 
+					                    		<span className="mandatory">*</span>	
+					                    </FormItem>
 				                    </div>
 				                    <div className="clearfix" style={{display:this.props.userDetaile?'block':'none'}}>
 				                    	<FormItem className="half-middle"

+ 17 - 1
js/component/manageCenter/set/userManagementS/jurisdiction.jsx

@@ -5,7 +5,7 @@ import $ from 'jquery/src/ajax';
 import { Form, Radio, Icon, Button, Input, Select, Popconfirm, Spin, Table, Switch, message, DatePicker, Modal, Upload } from 'antd';
 import Addjurisdiction from "./addjurisdiction.jsx"
 import './userMangagement.less'
-import { techAuditStatusList, station, post } from '../../../dataDic.js';
+import { techAuditStatusList, station, post,urlType } from '../../../dataDic.js';
 
 const Jurisdiction = Form.create()(React.createClass({
 	loadData(pageNo) {
@@ -137,6 +137,7 @@ const Jurisdiction = Form.create()(React.createClass({
 	addNextURL(e) {
 		this.state.name = '';
 		this.state.url = '';
+		this.state.urlType = undefined;
 		this.setState({
 			ids: e.id,
 			preName: e.name,
@@ -157,6 +158,7 @@ const Jurisdiction = Form.create()(React.createClass({
 			data: {
 				superId: this.state.preName,
 				name: this.state.name, //接口名称
+				type:this.state.urlType,//接口类型
 				url: this.state.url //接口路径
 			}
 		}).done(function(data) {
@@ -222,6 +224,20 @@ const Jurisdiction = Form.create()(React.createClass({
 				                                    onChange={(e)=>{this.setState({url:e.target.value})}} required="required"/>
 					                    		<span className="mandatory">*</span>	
 					                    </FormItem>
+					                     <FormItem className="half-middle"
+					                            {...formItemLayout}
+					                            label="接口类型" >   
+			                                    <Select placeholder="选择接口类型" style={{width:'230px'}}
+						                            value={this.state.urlType}
+						                            onChange={(e) => { this.setState({ urlType: e }) }}>
+						                            {
+					                                    urlType.map(function (item) {
+					                                            return <Select.Option key={item.value} >{item.key}</Select.Option>
+					                                    })
+					                                }
+							                    </Select> 
+					                    		<span className="mandatory">*</span>	
+					                    </FormItem>
 			                   		    <FormItem className="half-middle"
 					                            {...formItemLayout}
 					                            label="上级功能模块" >   

+ 4 - 0
js/component/manageCenter/set/userManagementS/roles.jsx

@@ -43,6 +43,10 @@ const Roles=Form.create()(React.createClass({
                     this.state.pagination.current = data.data.pageNo;
                     this.state.pagination.total = data.data.totalCount;
                 };
+                if(!data.data.list.length){
+					this.state.pagination.current=0
+					this.state.pagination.total=0
+				}
                 this.setState({
                     dataSource: theArr,
                     pagination: this.state.pagination,

+ 4 - 0
js/component/manageCenter/set/userManagementS/user.jsx

@@ -64,6 +64,10 @@ const User = Form.create()(React.createClass({
 					this.state.pagination.current = data.data.pageNo ? data.data.pageNo : '0';
 					this.state.pagination.total = data.data.totalCount ? data.data.totalCount : '0';
 				};
+				if(!data.data.list.length){
+					this.state.pagination.current=0
+					this.state.pagination.total=0
+				}
 				this.setState({
 					dataSource: theArr,
 					pagination: this.state.pagination,

+ 43 - 3
js/component/manageCenter/topTab.jsx

@@ -1,7 +1,7 @@
 import React from 'react';
 import { Row, Col, Icon, Modal, Button, Spin, Select, Input, message, Badge, Table, Tabs, Tag } from 'antd';
 import { getProvince } from '../NewDicProvinceList.js';
-import { companySearch } from '../tools.js';
+import { companySearch ,getActives} from '../tools.js';
 import './topTab.less';
 import ajax from 'jquery/src/ajax/xhr.js'
 import $ from 'jquery/src/ajax';
@@ -426,6 +426,44 @@ const TopTab = React.createClass({
         if (this.props.active) {
             this.loadData();
         };
+        this.mainMenu();
+    },
+    //主菜单请求
+    mainMenu(){
+    	this.setState({
+    		loading:true
+    	});
+    	$.ajax({
+    		method: "get",
+            dataType: "json",
+            crossDomain: false,
+            url: globalConfig.context + "/api/admin/selectNavList",
+            data: {
+            	
+            },
+            success:function(data){
+            	if (!data.data) {
+	                if (data.error && data.error.length) {
+	                    message.warning(data.error[0].message);
+	                    return;
+	                };
+	            };
+	            let menu=data.data;
+	            var htmlMenu=[];
+	            for(var i=0;i<menu.length;i++){
+		            htmlMenu.push(
+		            	<Col key={i} className={this.props.active === getActives(menu[i].name) ? 'active' : ''} span={3}><a href={globalConfig.context + menu[i].url+'?rid='+menu[i].id}>{menu[i].name}</a></Col>,
+		            )
+	            }
+	            this.setState({
+	            	htmlMenus:htmlMenu
+	            })
+            }.bind(this),
+    	}).always(function(data){
+    		this.setState({
+    			loading:false
+    		})
+    	}.bind(this))
     },
     loadData() {
         this.setState({
@@ -493,14 +531,16 @@ const TopTab = React.createClass({
                 </div>
                 <div className="acc-top-tab">
                     <Row>
-                        {/*<Col style={{ display: window.showUserManage ? 'block' : 'none' }} className={this.props.active === 'userManage' ? 'active' : ''} span={2}><a href={globalConfig.context + "/admin/userManage.html"}>用户管理</a></Col>*/}
-                        <Col style={{ display: window.showCustomer ? 'block' : 'none' }} className={this.props.active === 'myClient' ? 'active' : ''} span={3}><a href={globalConfig.context + "/admin/customer.html" }>客户管理</a></Col>
+                       {/*<Col style={{ display: window.showUserManage ? 'block' : 'none' }} className={this.props.active === 'userManage' ? 'active' : ''} span={2}><a href={globalConfig.context + "/admin/userManage.html"}>用户管理</a></Col>*/}
+                        {/*<Col style={{ display: window.showCustomer ? 'block' : 'none' }} className={this.props.active === 'myClient' ? 'active' : ''} span={3}><a href={globalConfig.context + "/admin/customer.html" }>客户管理</a></Col>
                         <Col style={{ display: window.showServices ? 'block' : 'none' }} className={this.props.active === 'services' ? 'active' : ''} span={3}><a href={globalConfig.context + "/admin/servicesManage/contract.html"}>科技服务管理</a></Col>
                         <Col style={{ display: window.showAchievement ? 'block' : 'none' }} className={this.props.active === 'achievement' ? 'active' : ''} span={3}><a href={globalConfig.context + "/admin/achievement.html"}>科技成果管理</a></Col>                       
                         <Col style={{ display: window.showDemand ? 'block' : 'none' }} className={this.props.active === 'demand' ? 'active' : ''} span={3}><a href={globalConfig.context + "/admin/demand.html"}>科技需求管理</a></Col>
                         <Col style={{ display: window.showIdea ? 'block' : 'none' }} className={this.props.active === 'idea' ? 'active' : ''} span={3}><a href={globalConfig.context + "/admin/idea.html"}>科技思想管理</a></Col>
                         <Col style={{ display: window.showUserOrderList ? 'block' : 'none' }} className={this.props.active === 'userOrder' ? 'active' : ''} span={3}><a href={globalConfig.context + "/admin/userOrder.html"}>用户订单管理</a></Col>
                         <Col style={{ display: window.showSystem ? 'block' : 'none' }} className={this.props.active === 'system' ? 'active' : ''} span={3}><a href={globalConfig.context + "/admin/set.html"}>系统设置</a></Col>
+                   */}
+    				{this.state.htmlMenus} 
                     </Row>
                 </div>
                 <UserModal showDesc={this.state.userModalShow} closeDesc={this.closeUserModal} />

+ 6 - 6
js/component/manageCenter/userManage/leftTab.jsx

@@ -28,22 +28,22 @@ const LeftTab = React.createClass({
                 selectedKeys={[this.state.current]}
                 mode="vertical"
                 className="account-left" >
-                <Menu.Item style={{ display: window.showUserList ? 'block' : 'none' }} key="userList">
+                <Menu.Item key="userList">
                     个人用户列表
                 </Menu.Item>
-                <Menu.Item style={{ display: window.showOrgList ? 'block' : 'none' }} key="orgList">
+                <Menu.Item key="orgList">
                     组织用户列表
                 </Menu.Item>
-                <Menu.Item style={{ display: window.showCustomer ? 'block' : 'none' }} key="customerList">
+                <Menu.Item key="customerList">
                     我的客户列表
                 </Menu.Item>
-                <Menu.Item style={{ display: window.showCustomer ? 'block' : 'none' }} key="levelSet">
+                <Menu.Item key="levelSet">
                     会员等级设置
                 </Menu.Item>
-                <Menu.Item style={{ display: window.showCustomer ? 'block' : 'none' }} key="customerSearch">
+                <Menu.Item key="customerSearch">
                     客户查询
                 </Menu.Item>
-                <Menu.Item style={{ display: window.showCustomer ? 'block' : 'none' }} key="highTechSearch">
+                <Menu.Item key="highTechSearch">
                     高企查询
                 </Menu.Item>
             </Menu>

+ 200 - 1
js/component/manageCenter/userOrder/content.jsx

@@ -16,7 +16,7 @@ class Content extends Component {
         if (window.location.hash) {
             this.getKey(window.location.hash.substr(1));
         } else {
-            this.getKey("membership");
+            this.getKey("myService");
         };
     }
     getKey (key) {
@@ -57,6 +57,205 @@ class Content extends Component {
                     });
                 });
                 break;
+            //订单新增空白
+            //我的订单
+            case 'myService': //科技服务订单
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;
+            case 'myActivity': //活动报名订单
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;
+            case 'myMember': //会员服务订单
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;
+            case 'myAchievement': //科技成果交易订单
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;
+            case 'myDemand': //科技需求交易订单
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;
+            case 'myExpert': //科技专家约见订单
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break; 
+            //订单管理
+            case 'serviceManage': //科技服务订单
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;
+            case 'activityManage': //活动报名订单
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;
+            case 'memberManage': //会员服务订单
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;
+            case 'achievementManage': //科技成果交易订单
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;
+            case 'demandManage': //科技需求交易订单
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;
+            case 'expertManage': //科技专家约见订单
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break; 
+            //合同单管理    
+            case 'myContract': //我的合同单
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;
+            case 'contractQuery': //合同单查询
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;
+            case 'contractManage': //合同单管理
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;
+            //项目单管理
+            case 'myProject': //我的项目单
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;
+            case 'projectQuery': //项目单查询
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;
+            case 'projectManage': //项目单管理
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;
+            //结算订单管理
+            case 'mySettlement': //我的结算订单	 
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;
+            case 'settlementQuery': //结算订单查询
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;
+            case 'settlementManage': //结算订单管理
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;
+            //结算流水管理
+            case 'myBill': //我的结算流水	 
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;
+            case 'BillQuery': //结算流水查询
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;
+            case 'BillManage': //结算流水管理
+                require.ensure([], () => {
+                    const Module = require('../module').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+            	break;
         };
         window.location.hash = key;
     }

+ 62 - 19
js/component/manageCenter/userOrder/leftTab.jsx

@@ -3,12 +3,13 @@ import { Menu, Icon } from 'antd';
 import '../leftTab.less';
 const SubMenu = Menu.SubMenu;
 const MenuItemGroup = Menu.ItemGroup;
-
+import {getMenu} from '../publicMenu.jsx'
 
 const LeftTab = React.createClass({
     getInitialState () {
         return {
-            current: 'membership',
+            current: '',
+            subKey:''
         };
     },
     handleClick (e) {
@@ -17,32 +18,74 @@ const LeftTab = React.createClass({
             current: e.key,
         });
     },
-    componentWillMount () {
-        if (window.location.hash) {
-            this.state.current = window.location.hash.substr(1);
+    componentWillMount() {
+    	let me_=this;
+        var ids=window.location.href.indexOf('rid=')
+        var idk=window.location.href.substr(ids+4)
+        var rid=idk.split('#')
+        var menu=getMenu(rid);
+        let cur,sub;
+        if(menu[0].subMenus.length){
+        	 cur=menu[0].subMenus[0].url.split('#');
+        	 sub=menu[0].url;
+        }else{
+        	 cur=menu[0].url.split('#');
+        	 sub=''
+        };
+        this.setState({
+        	current:cur[1],
+        	subKey:sub
+        });
+        var htmlMenu=[];
+        for(var j=0;j<menu.length;j++){
+        	if(menu[j].subMenus.length){
+        		htmlMenu.push(
+				<SubMenu key={menu[j].url} title={<span>{menu[j].name}</span>}>
+					{
+						menu[j].subMenus.map(function(item){
+							let urls=item.url.split('#');
+							return <Menu.Item key={urls[1]}>{item.name}</Menu.Item>
+						})
+					}
+				</SubMenu>
+				);
+        	}else{
+        		let urlt=menu[j].url.split('#');
+        		htmlMenu.push(
+        			<Menu.Item key={urlt[1]}>{menu[j].name}</Menu.Item>
+        		)
+        	}
+        };
+        this.setState({
+        	htmlMenus:htmlMenu
+	    })
+        const _me = this;
+        if (window.location.hash&&menu[0].subMenus.length) {
+            let theKey = window.location.hash.substr(1);
+            menu.map(function (item1) {
+	                item1.subMenus.map(function (item2) {
+	                	let urls=item2.url.split('#')
+	                    if (theKey == urls[1]) {
+	                        _me.state.subKey = item1.url
+	                    };
+	                });
+            });
+            this.state.current = theKey;
+        }else{
+        	this.state.current = window.location.hash.substr(1);
         };
     },
     render () {
         return (
             <Menu onClick={this.handleClick}
                 selectedKeys={[this.state.current]}
+                defaultOpenKeys={[this.state.subKey]}
                 mode="vertical"
-                className="account-left" >
-                <Menu.Item key="membership">
-                    会员服务订单
-                </Menu.Item>
-                <Menu.Item key="consult">
-                    专家咨询订单
-                </Menu.Item>
-                <Menu.Item key="orgAchievementOrder">
-                    组织成果订单
-                </Menu.Item>
-                <Menu.Item key="userAchievementOrder">
-                    个人成果订单
-                </Menu.Item>
+                className="account-left" 
+            	mode="inline">
+                {this.state.htmlMenus}
             </Menu>
         );
     },
 });
-
 export default LeftTab;

+ 14 - 1
js/component/tools.js

@@ -59,7 +59,8 @@ import {
     gameState,
     messageType,
     designated,
-    featured
+    featured,
+    actives
 } from './dataDic.js';
 
 import { provinceList} from './NewDicProvinceList.js';
@@ -1051,4 +1052,16 @@ module.exports = {
         }
     
 	},
+	getActives:function(e){
+   		 if (e) {
+            let theType = '';
+            actives.map(function (item) {
+                if (item.value == e) {
+                    theType = item.key;
+                };
+            });
+            return theType;
+        }
+    
+	},
 }

+ 19 - 19
template/template.html

@@ -10,25 +10,25 @@
 
 
     <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/latest/css/bootstrap-theme.min.css">
-    <!--<script>
-           window.userData = {
-               mobile: "13600000000",
-               nickname: "Lina",
-               number: "80000",
-               type: "0",
-               email: "test@aft.com",
-               createTime: "123456789000",
-               lvl: "0"
-           };
-           window.adminData = {};
-           window.globalConfig = {
-               //context: "//aft.hnzhiming.com:8080/aft",
-               context: "//127.0.0.1:8080/aft",
-               staticHost: "//aft.hnzhiming.com",
-               uploadPath: "/data/wwwroot/aft/upload",
-               uploadPrivatePath: "/data/upload"
-           };
-    </script>-->
+    <script>
+//         window.userData = {
+//             mobile: "13600000000",
+//             nickname: "Lina",
+//             number: "80000",
+//             type: "0",
+//             email: "test@aft.com",
+//             createTime: "123456789000",
+//             lvl: "0"
+//         };
+//         window.adminData = {};
+//         window.globalConfig = {
+//             //context: "//aft.hnzhiming.com:8080/aft",
+//             context: "//127.0.0.1:8080/aft",
+//             staticHost: "//aft.hnzhiming.com",
+//             uploadPath: "/data/wwwroot/aft/upload",
+//             uploadPrivatePath: "/data/upload"
+//         };
+    </script>
 </head>
 
 <body>