|
@@ -94,7 +94,8 @@ class CustomerProfile extends Component {
|
|
|
checkCompShow: false,
|
|
|
checkCompList: [],
|
|
|
|
|
|
- currAddress: []
|
|
|
+ currAddress: [],
|
|
|
+
|
|
|
};
|
|
|
this.queryByUidAll = this.queryByUidAll.bind(this);
|
|
|
this.update = this.update.bind(this);
|
|
@@ -309,6 +310,8 @@ class CustomerProfile extends Component {
|
|
|
interviewList: res.data.list.filter(item => !!item.prdid),
|
|
|
}
|
|
|
});
|
|
|
+ } else {
|
|
|
+ Taro.showToast({ title: "沟通情况数据获取异常", icon: "none" });
|
|
|
}
|
|
|
})
|
|
|
}
|
|
@@ -333,6 +336,14 @@ class CustomerProfile extends Component {
|
|
|
financialProperty: this.addCommas(v.data.financialProperty || 0),
|
|
|
financialRd: this.addCommas(v.data.financialRd || 0),
|
|
|
enterpriseCount: this.addCommas(v.data.enterpriseCount || 0),
|
|
|
+ earlyCommunication: '',
|
|
|
+ customerDemand: '',
|
|
|
+ interviewIdeas: '',
|
|
|
+ interviewPurpose: '',
|
|
|
+ interviewRecommend: '',
|
|
|
+ interviewFeedback: '',
|
|
|
+ followUpPlan: '',
|
|
|
+ interviewList: [],
|
|
|
}
|
|
|
let patentCount = this.countZlNum(dtailsData);
|
|
|
this.setState({
|
|
@@ -1007,6 +1018,8 @@ class CustomerProfile extends Component {
|
|
|
|
|
|
render() {
|
|
|
const { dtails, upType, info, obj, userList } = this.state;
|
|
|
+ const publicType = this.$instance.router.params.publicType;
|
|
|
+
|
|
|
return (
|
|
|
<View className="customerProfile">
|
|
|
<MessageNoticebar />
|
|
@@ -1028,10 +1041,10 @@ class CustomerProfile extends Component {
|
|
|
<Text className="bod">{dtails.nickname} </Text>
|
|
|
<Text style={{ fontSize: "12px", color: ["red", "green"][dtails.signBills] }}>{["未签单", "已签单"][dtails.signBills]}</Text>
|
|
|
</Text>
|
|
|
- {dtails.myUser === 1 && <Button className="share" plain type='primary' open-type="share">分享</Button>}
|
|
|
+ {publicType === '0' && <Button className="share" plain type='primary' open-type="share">分享</Button>}
|
|
|
{/* <View className="share">分享</View> */}
|
|
|
</View>
|
|
|
- { dtails.myUser === 1 && (
|
|
|
+ { publicType === '0' && (
|
|
|
<>
|
|
|
<View className="button">
|
|
|
<View className="but"
|
|
@@ -1079,7 +1092,7 @@ class CustomerProfile extends Component {
|
|
|
<View className="valueContent">
|
|
|
<View className="title" style={{ margin: "14rpx 0 18rpx;" }}>渠道面谈思路表</View>
|
|
|
|
|
|
- {dtails.myUser === 1 && (
|
|
|
+ {publicType === '0' && (
|
|
|
<>
|
|
|
<View className="item">
|
|
|
<View className="item-title">企业所在地省市区:</View>
|
|
@@ -1301,7 +1314,7 @@ class CustomerProfile extends Component {
|
|
|
:
|
|
|
<View className="valueContent">
|
|
|
<View className="title" style={{ margin: "14rpx 0 18rpx;" }}>企业面谈思路表</View>
|
|
|
- {dtails.myUser === 1 && (
|
|
|
+ {publicType === '0' && (
|
|
|
<>
|
|
|
<View className="item">
|
|
|
<view className="item-title">企业所在地省市区:</view>
|
|
@@ -1478,7 +1491,7 @@ class CustomerProfile extends Component {
|
|
|
|
|
|
|
|
|
<View style={{ marginTop: '60rpx' }}>
|
|
|
- {dtails.myUser === 1 && (
|
|
|
+ {publicType === '0' && (
|
|
|
<>
|
|
|
<View className="title">面谈已知企业情况</View>
|
|
|
<View className="tit" style={{ margin: '32rpx 0 20rpx;' }}>
|