dengzhiguo 6 years ago
parent
commit
af6062f190

+ 34 - 14
js/component/manageCenter/achievement/sichuan/sichuan.jsx

@@ -233,7 +233,7 @@ class Achievement extends React.Component {
 	                ownerName: thisData.ownerName,//所有权人
 	                publisherName: thisData.publisherName,//联系人
 	                telephone: thisData.telephone,//联系方式
-	                reserveButtMode:thisData.reserveButtMode,//拟对接方式
+	                reserveButtMode: (thisData.reserveButtMode||thisData.reserveButtMode==0)?thisData.reserveButtMode.toString():undefined,//拟对接方式
 	                introduce: thisData.introduce,//技术成果内容
 	                pIntroduce: thisData.pIntroduce,//企业简介
 				});
@@ -419,7 +419,11 @@ class Achievement extends React.Component {
 										}}
 									/>
 								</FormItem>
-								<FormItem className="half-item" {...formItemLayout} label="行业领域">
+								<FormItem className="half-item" {...formItemLayout} label={
+										<span>
+											<strong style={{ color: '#f00' }}>*</strong>行业领域
+										</span>
+									}>
 									<Select
 										value={this.state.industry}
 										onChange={(e) => {
@@ -444,7 +448,11 @@ class Achievement extends React.Component {
 										}}
 									/>
 								</FormItem>
-								<FormItem className="half-item" {...formItemLayout} label="所有权人">
+								<FormItem className="half-item" {...formItemLayout} label={
+										<span>
+											<strong style={{ color: '#f00' }}>*</strong>所有权人
+										</span>
+									}>
 									<Input
 										placeholder="所有权人"
 										value={this.state.ownerName}
@@ -453,16 +461,24 @@ class Achievement extends React.Component {
 										}}
 									/>
 								</FormItem>
-								<FormItem className="half-item" {...formItemLayout} label="项目负责人">
+								<FormItem className="half-item" {...formItemLayout} label={
+										<span>
+											<strong style={{ color: '#f00' }}>*</strong>项目负责人
+										</span>
+									}>
 									<Input
-										placeholder="联系人"
+										placeholder="项目负责人"
 										value={this.state.publisherName}
 										onChange={(e) => {
 											this.setState({ publisherName: e.target.value });
 										}}
 									/>
 								</FormItem>
-								<FormItem className="half-item" {...formItemLayout} label="联系电话">
+								<FormItem className="half-item" {...formItemLayout} label={
+										<span>
+											<strong style={{ color: '#f00' }}>*</strong>联系方式
+										</span>
+									}>
 									<Input
 										placeholder="联系电话"
 										value={this.state.telephone}
@@ -472,14 +488,18 @@ class Achievement extends React.Component {
 									/>
 								</FormItem>
 								<FormItem className="half-item" {...formItemLayout} label="拟对接方式">
-									<Input
-										placeholder="拟对接方式"
-										value={this.state.reserveButtMode}
-										onChange={(e) => {
-											this.setState({ reserveButtMode: e.target.value });
-										}}
-									/>
-								</FormItem>
+										<Select
+											value={this.state.reserveButtMode}
+											onChange={(e) => {
+												this.setState({ reserveButtMode: e });
+											}}
+											placeholder="请选择对接方式"
+										>
+											<Select.Option value="0">直接对接</Select.Option>
+											<Select.Option value="1">技术合作</Select.Option>
+											
+										</Select>
+									</FormItem>
 								<div className="clearfix">
 									<FormItem
 										labelCol={{ span: 3 }}

+ 2 - 1
js/component/manageCenter/demand/sichuan/sichuan.jsx

@@ -201,7 +201,7 @@ class Achievement extends React.Component {
 	reset() {
 		this.state.seachName = '';
 		this.state.seachNames = '';
-		this.state.reserveButtUnit = '';
+		this.state.seachReserveButtUnit = '';
 		this.loadData(1);
 	}
 	tableRowClick(record, index) {
@@ -312,6 +312,7 @@ class Achievement extends React.Component {
 	                visible: false,
 	            });
                 this.loadData();
+                this.resets();
             } else {
                 message.warning(data.error[0].message);
             };

+ 13 - 22
js/component/manageCenter/demand/sichuan/sichuanman.jsx

@@ -43,7 +43,7 @@ class Achievement extends React.Component {
                 pageNo: pageNo || 1,
                 pageSize: this.state.pagination.pageSize,
                 type:1,
-                name:this.state.seachOrgName,//企业名称
+                orgName:this.state.seachOrgName,//企业名称
                 
             },
             success: function (data) {
@@ -312,29 +312,20 @@ class Achievement extends React.Component {
 		this.loadData(1);
 	}
 	resets(){
-		this.state.name = '',//需求名称
-        this.state.industry = undefined,//行业
-        this.state.investmentCost = '',//经费投入
-        this.state.reserveButtUnit = '',//拟对接单位
-        this.state.reserveButtMode = '',//拟对接方式
-        this.state.reserveSolveMode = '',//拟解决方式
-        this.state.publisherName = '',//联系人
-        this.state.telephone = '',//联系方式
-        this.state.summary = '',
-        this.state.introduce = '',//需求内容
-        this.state.Pname = '',//企业名称
-        this.state.nature = undefined,//企业特质
-        this.state.feature = '',//企业特征
-        this.state.ProvinceCity =undefined,//省
-        this.state.zipCode = '',//邮政编码
-        this.state.legalPerson = '',//法人名称
-        this.state.website = '',//企业网址
-        this.state.email = '',//企业邮箱
-        this.state.Pintroduce = ''//企业简介
-        this.state.address = ''//企业简介
+    	this.state.Pname= '',//企业名称
+    	this.state.ProvinceCity= undefined,//省
+    	this.state.publisherName= '',//联系人
+        this.state.telephone= '',//联系方式
+    	this.state.email= '',//企业邮箱
+    	this.state.address= '',//详细地址
+    	this.state.pintroduce= '',//企业简介
+    	this.state.remarks= '',//企业情况
+    	this.state.feature= '',//企业特征
+    	this.state.introduce= '',//人才需求
+        this.state.investmentCost= ''//经费投入
+        
 	}
 	render() {
-		console.log(this.state.ProvinceCity);
 		const rowSelection = {
 			selectedRowKeys: this.state.selectedRowKeys,
 			onChange: (selectedRowKeys, selectedRows) => {

+ 7 - 1
js/component/manageCenter/order/myOrder/servicesOrder/addService.jsx

@@ -1314,7 +1314,13 @@ const NewService = Form.create()(React.createClass({
 												            <FormItem
 												                labelCol={{ span: 4 }}
 												                wrapperCol={{ span: 18 }}
-												                label="合同扫描件" >
+												                label={
+												                	<span>
+																		<strong style={{ color: '#f00' }}>*</strong>合同扫描件
+																	</span> 
+												                }
+												                >
+												            	
 												                <PicturesWall
 												                    fileList={this.getOrgCodeUrl}
 												                    pictureUrl={this.state.orgCodeUrl} />