|
@@ -52,11 +52,29 @@ const BusinessDetail =React.createClass({
|
|
|
title: '联系人',
|
|
|
dataIndex: 'contacts',
|
|
|
key: 'contacts',
|
|
|
+ render:(text,record)=>{
|
|
|
+ return <div>
|
|
|
+ {
|
|
|
+ !record.readOnly?
|
|
|
+ <span>{text}</span>:
|
|
|
+ <span>***</span>
|
|
|
+ }
|
|
|
+ </div>
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
title: '联系电话',
|
|
|
dataIndex: 'contactMobile',
|
|
|
key: 'contactMobile',
|
|
|
+ render:(text,record)=>{
|
|
|
+ return <div>
|
|
|
+ {
|
|
|
+ !record.readOnly?
|
|
|
+ <span>{text}</span>:
|
|
|
+ <span>***</span>
|
|
|
+ }
|
|
|
+ </div>
|
|
|
+ }
|
|
|
}, {
|
|
|
title: '操作',
|
|
|
dataIndex: 'ooo',
|
|
@@ -91,7 +109,7 @@ const BusinessDetail =React.createClass({
|
|
|
thedata = {};
|
|
|
};
|
|
|
this.setState({
|
|
|
- businessGlossoryIds: thedata.businessGlossoryId,
|
|
|
+ businessProjectName: thedata.businessProjectName,
|
|
|
followSituations: thedata.followSituation,
|
|
|
customerStatuss: thedata.customerStatus,
|
|
|
followTimes: thedata.followTime,
|
|
@@ -127,7 +145,7 @@ const BusinessDetail =React.createClass({
|
|
|
pageNo: pageNo || 1,
|
|
|
pageSize: this.state.paginationst.pageSize,
|
|
|
uid: this.props.ids, //名称1
|
|
|
- businessGlossoryId: this.state.businessGlossoryId,
|
|
|
+ businessProjectId:this.props.data.businessProjectId
|
|
|
},
|
|
|
success: function(data) {
|
|
|
let theArr = [];
|
|
@@ -139,6 +157,8 @@ const BusinessDetail =React.createClass({
|
|
|
for(let i = 0; i < data.data.list.length; i++) {
|
|
|
let thisdata = data.data.list[i];
|
|
|
theArr.push({
|
|
|
+ key:i,
|
|
|
+ readOnly:thisdata.readOnly,
|
|
|
followId: thisdata.followId,
|
|
|
followTime: thisdata.followTime,
|
|
|
identifyName: thisdata.identifyName,
|
|
@@ -177,7 +197,7 @@ const BusinessDetail =React.createClass({
|
|
|
crossDomain: false,
|
|
|
url: globalConfig.context + '/api/admin/customer/toUpdateBusiness',
|
|
|
data: {
|
|
|
- businessId: e.businessId
|
|
|
+ businessId: e.businessId,
|
|
|
},
|
|
|
success: function(data) {
|
|
|
let thisData = data.data;
|
|
@@ -188,7 +208,7 @@ const BusinessDetail =React.createClass({
|
|
|
thisData = {};
|
|
|
};
|
|
|
this.setState({
|
|
|
- businessGlossoryId: thisData.businessGlossoryId,
|
|
|
+ businessProjectName: thisData.businessProjectName,
|
|
|
identifyName: thisData.identifyName,
|
|
|
uid: thisData.uid,
|
|
|
businessId: thisData.businessId,
|
|
@@ -253,7 +273,7 @@ const BusinessDetail =React.createClass({
|
|
|
<FormItem className="half-item"
|
|
|
{...formItemLayout}
|
|
|
label="意向业务名称" >
|
|
|
- <span>{getCompanyIntention(this.state.businessGlossoryId)}</span>
|
|
|
+ <span>{this.state.businessProjectName}</span>
|
|
|
</FormItem>
|
|
|
<FormItem className="half-item"
|
|
|
{...formItemLayout}
|