dengzhiguo 7 年 前
コミット
67f5e7034d
共有2 個のファイルを変更した2 個の追加2 個の削除を含む
  1. 1 1
      js/component/manageCenter/customer/myClient.jsx
  2. 1 1
      js/component/manageCenter/topTab.jsx

+ 1 - 1
js/component/manageCenter/customer/myClient.jsx

@@ -142,7 +142,7 @@ const AchievementList = Form.create()(React.createClass({
             success: function (data) {            	
                 let theArr = [];
                 let ad;
-                if (data.data.list=="") {
+                if (data.error.length || data.data.list=="") {
                     if (data.error && data.error.length) {
                         message.warning(data.error[0].message);
                     };                   

+ 1 - 1
js/component/manageCenter/topTab.jsx

@@ -494,7 +494,7 @@ const TopTab = React.createClass({
                 <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.showSystem ? 'block' : 'none' }} className={this.props.active === 'myClient' ? 'active' : ''} span={2}><a href={globalConfig.context + "/admin/customer.html"}>客户管理</a></Col>
+                        <Col style={{ display: window.showCustomer ? 'block' : 'none' }} className={this.props.active === 'myClient' ? 'active' : ''} span={2}><a href={globalConfig.context + "/admin/customer.html"}>客户管理</a></Col>
                         <Col style={{ display: window.showServices ? 'block' : 'none' }} className={this.props.active === 'services' ? 'active' : ''} span={2}><a href={globalConfig.context + "/admin/servicesManage/contract.html"}>科技服务管理</a></Col>
                         <Col style={{ display: window.showAchievement ? 'block' : 'none' }} className={this.props.active === 'achievement' ? 'active' : ''} span={2}><a href={globalConfig.context + "/admin/achievement.html"}>科技成果管理</a></Col>                       
                         <Col style={{ display: window.showDemand ? 'block' : 'none' }} className={this.props.active === 'demand' ? 'active' : ''} span={2}><a href={globalConfig.context + "/admin/demand.html"}>科技需求管理</a></Col>