yee пре 7 година
родитељ
комит
a44f35da5b
1 измењених фајлова са 8 додато и 6 уклоњено
  1. 8 6
      js/component/manageCenter/servicesManage/contract/contractDetail.jsx

+ 8 - 6
js/component/manageCenter/servicesManage/contract/contractDetail.jsx

@@ -5,7 +5,7 @@ import ajax from 'jquery/src/ajax/xhr.js';
 import $ from 'jquery/src/ajax';
 import moment from 'moment';
 import { copyrightStateList } from '../../../dataDic.js';
-import { companySearch, getCopyrightState, getPatentType, getPatentState, gethighTechState, getTechnologyState } from '../../../tools.js';
+import { companySearch, getContractState, getCopyrightState, getPatentType, getPatentState, getCognizanceState, getTechnologyState } from '../../../tools.js';
 
 const ContractDetailForm = Form.create()(React.createClass({
     getInitialState() {
@@ -20,7 +20,7 @@ const ContractDetailForm = Form.create()(React.createClass({
                     title: '申请状态',
                     dataIndex: 'status',
                     key: 'status',
-                    render: (text) => { return getCopyrightState(text) }
+                    render: (text) => { return getContractState(text) }
                 }, {
                     title: '处理时间',
                     dataIndex: 'recordTimeFormattedDate',
@@ -129,7 +129,7 @@ const ContractDetailForm = Form.create()(React.createClass({
                     title: '申请状态',
                     dataIndex: 'state',
                     key: 'state',
-                    render: (text) => { return gethighTechState(text) },
+                    render: (text) => { return getCognizanceState(text) },
                     width: 200
                 }, {
                     title: '证书编号',
@@ -614,10 +614,12 @@ const ContractDetailForm = Form.create()(React.createClass({
                     >
                         {getFieldDecorator('principals')(
                             <Select
+                                placeholder="请选择审核人"
+                                notFoundContent="未找到"
+                                style={{ width: 260 }}
                                 showSearch
-                                style={{ width: 200 }}
-                                filterOption={companySearch}
-                                placeholder="选择负责人">
+                                multiple
+                                filterOption={companySearch} >
                                 {this.props.authorOption}
                             </Select>
                         )}