liting2017 6 年 前
コミット
c02140b70c

+ 1 - 1
js/component/account/demand/demandDetaiel.jsx

@@ -10,7 +10,7 @@ import {
 
 } from 'antd';
 
-import {  getIndustryCategory } from '@/DicIndustryList.js';
+import {  getIndustryCategory } from '@/industryList.js';
 import {  splitUrl, getDemandType,getReleaseStateList,getReleasePositionList } from '@/tools.js';
 
 const DemandDetail = Form.create()(React.createClass({

+ 0 - 1
js/component/account/index/leftMenu.jsx

@@ -67,7 +67,6 @@ const LeftTab = React.createClass({
 		if (window.location.hash) {
 			let current = window.location.hash.substr(2),
 				open = [];
-				console.log(current)
 			if (!current.length) {
 				window.location.hash = 'normal';
 				this.setState({

+ 3 - 5
js/component/administration/business/businessProject.jsx

@@ -314,10 +314,9 @@ const BusinessProject=Form.create()(React.createClass({
 				name: this.state.name,//业务名称
 				categoryId: this.state.categoryId,//业务品类
 				price: this.state.price,//市场价
-				activityPrice:this.state.activityPrice,//最低折扣
-				memberPrice:this.state.memberPrice,//会员价
-				offset:this.state.offset,
-				activityPrice:this.state.activityPrice,//活动价
+				activityPrice:this.state.activityPrice?this.state.activityPrice:'0',//最低折扣
+				memberPrice:this.state.memberPrice?this.state.memberPrice:'0',//会员价
+				offset:this.state.offset?this.state.offset:'0',
 				activityFlag:this.state.activityFlag,//活动生效标识
 				province:this.state.ProvinceCity?this.state.ProvinceCity[0]:'',//是否全国
 				city:this.state.ProvinceCity?this.state.ProvinceCity[1]:'',
@@ -368,7 +367,6 @@ const BusinessProject=Form.create()(React.createClass({
 						activityPrice:thisdata.activityPrice,//最低折扣
 						memberPrice:thisdata.memberPrice,//会员价
 						offset:thisdata.offset,
-						activityPrice:thisdata.activityPrice,//活动价
 						activityFlag:thisdata.activityFlag?thisdata.activityFlag.toString():'',//活动生效标识
 						ProvinceCity:ProvinceCityArr,
 						introduce:thisdata.introduce,

+ 1 - 1
js/component/administration/demand/demandDetaiel.jsx

@@ -10,7 +10,7 @@ import {
 	Form
 } from 'antd';
 
-import {  getIndustryCategory } from '@/DicIndustryList.js';
+import {  getIndustryCategory } from '@/industryList.js';
 import {  splitUrl, getDemandType,getReleaseStateList,getReleasePositionList } from '@/tools.js';
 
 

+ 4 - 3
js/component/administration/demand/techDemand.jsx

@@ -24,6 +24,7 @@ const DemandList = React.createClass({
                 pageSize: this.state.pagination.pageSize,
                 employerName: this.state.employerNameSearch,//客户名称
                 name: this.state.nameSearch,
+                auditStatus:this.state.auditStatusSearch,
                 demandType: this.state.demandTypeSearch ? Number(this.state.demandTypeSearch) : undefined,
                 status: this.state.statusSearch ? Number(this.state.statusSearch) : undefined,
                 startDate: this.state.releaseDate[0],
@@ -210,7 +211,7 @@ const DemandList = React.createClass({
     reset() {
         this.state.nameSearch = '';
         this.state.demandTypeSearch = undefined;
-        this.state.auditStatus = undefined;
+        this.state.auditStatusSearch = undefined;
         this.state.statusSearch = undefined;
         this.state.employerNameSearch='';
         this.state.releaseDate = [];
@@ -249,8 +250,8 @@ const DemandList = React.createClass({
                         {this.state.demandTypeOption}
                     </Select>
                     <Select placeholder="发布状态" style={{ width: 120 }}
-                        value={this.state.auditStatus}
-                        onChange={(e) => { this.setState({ auditStatus: e }) }}>
+                        value={this.state.auditStatusSearch}
+                        onChange={(e) => { this.setState({ auditStatusSearch: e }) }}>
                         <Select.Option value="0" >草稿</Select.Option>
                         <Select.Option value="1" >发布审核</Select.Option>
                         <Select.Option value="2" >已发布</Select.Option>