Browse Source

管理端知识产权页面链接添加

yee 7 years ago
parent
commit
bd0711333d

+ 7 - 1
js/component/manageCenter/servicesManage/highTech/fosterDesc/content.less

@@ -21,7 +21,7 @@
             }
             .progress-bar {
                 display: inline-block;
-                width: 30%;
+                width: 22%;
                 height: 12px;
                 background: #eee;
                 border-radius: 6px;
@@ -78,6 +78,12 @@
             font-size: 12px;
             margin-left: 20px;
         }
+        .link {
+            float: right;
+            a {
+                margin-right: 20px;
+            }
+        }
     }
     .user-search {
         input {

+ 6 - 0
js/component/manageCenter/servicesManage/highTech/fosterDesc/intellectual.jsx

@@ -197,6 +197,12 @@ const Intellectual = React.createClass({
                             saveProportion(this.state.proportion.id, this.props.data.uid, 'intellectualProperty', this.state.proportion.intellectualProperty);
                             this.setState({ proportion: this.state.proportion });
                         }} />
+                    <span className="link">
+                        <a href="http://www2.soopat.com/Home/IIndex" target="_blank">SOOPAT</a>
+                        <a href="http://www.baiten.cn/" target="_blank">佰腾网</a>
+                        <a href="http://www.sipo.gov.cn/" target="_blank">国家知识产权局</a>
+                        <a href="http://www.ccopyright.com.cn/" target="_blank">中国版权保护中心</a>
+                    </span>
                 </div>
                 <div className="user-search">
                     <span>开始日期:</span>

+ 6 - 5
js/component/sign/account.jsx

@@ -18,7 +18,8 @@ const LoginContent = Form.create()(React.createClass({
             passwordDirty: false,
             getCodeButton: true,
             loading: false,
-            mCodeText: '获取验证码'
+            mCodeText: '获取验证码',
+            vCodeUrl: globalConfig.context + '/open/getVCode'
         };
     },
     handleSubmit(e) {
@@ -48,7 +49,7 @@ const LoginContent = Form.create()(React.createClass({
                         }, 5000);
                     } else {
                         message.warning(data.error[0].message);
-                        document.getElementById('VCode').src = globalConfig.context + '/open/getVCode?t=' + Math.random();
+                        this.reloadVCode();
                     }
                 }.bind(this)).always(function () {
                     this.setState({
@@ -142,8 +143,8 @@ const LoginContent = Form.create()(React.createClass({
         }
         callback();
     },
-    reloadVCode(e) {
-        e.target.src = globalConfig.context + '/open/getVCode?t=' + Math.random();
+    reloadVCode() {
+        this.state.vCodeUrl = globalConfig.context + '/open/getVCode?t=' + Math.random();
     },
     render() {
         const { getFieldDecorator } = this.props.form;
@@ -223,7 +224,7 @@ const LoginContent = Form.create()(React.createClass({
                                 </Col>
                                 <Col span={8}>
                                     <div className="acc-getVcode">
-                                        <img id="VCode" src={globalConfig.context + '/open/getVCode'} alt="" onClick={this.reloadVCode} />
+                                        <img id="VCode" src={this.state.vCodeUrl} alt="点击刷新验证码" onClick={this.reloadVCode} />
                                     </div>
                                 </Col>
                             </Row>

+ 6 - 5
js/component/sign/groupAccount.jsx

@@ -15,7 +15,8 @@ const Group = Form.create()(React.createClass({
             passwordDirty: false,
             getCodeButton: true,
             loading: false,
-            mCodeText: '获取验证码'
+            mCodeText: '获取验证码',
+            vCodeUrl: globalConfig.context + '/open/getVCode'
         };
     },
     handleSubmit(e) {
@@ -47,7 +48,7 @@ const Group = Form.create()(React.createClass({
                         }, 5000);
                     } else {
                         message.warning(data.error[0].message);
-                        document.getElementById('VCode').src = globalConfig.context + '/open/getVCode?t=' + Math.random();
+                        this.reloadVCode();
                     }
                 }.bind(this)).always(function () {
                     this.setState({
@@ -141,8 +142,8 @@ const Group = Form.create()(React.createClass({
         }
         callback();
     },
-    reloadVCode(e) {
-        e.target.src = globalConfig.context + '/open/getVCode?t=' + Math.random();
+    reloadVCode() {
+        this.state.vCodeUrl = globalConfig.context + '/open/getVCode?t=' + Math.random();
     },
     render() {
         const { getFieldDecorator } = this.props.form;
@@ -220,7 +221,7 @@ const Group = Form.create()(React.createClass({
                             </Col>
                             <Col span={8}>
                                 <div className="acc-getVcode">
-                                    <img id="VCode" src={globalConfig.context + '/open/getVCode'} alt="" onClick={this.reloadVCode} />
+                                    <img id="VCode" src={this.state.vCodeUrl} alt="点击刷新验证码" onClick={this.reloadVCode} />
                                 </div>
                             </Col>
                         </Row>