| | |
| | | <image src="../../../static/image/zuzhibumen.png" mode="aspectFit"></image> |
| | | <view>{{saleManage.name}}</view> |
| | | </view> |
| | | <view class="cstmr-tel"> |
| | | <!-- <view class="cstmr-tel"> |
| | | {{saleManage.company$}} | |
| | | {{saleManage.money ? saleManage.pcd$ : '--'}} | |
| | | {{saleManage.director$ ? saleManage.pcd$ : '--'}} |
| | | </view> --> |
| | | <view class="cstmr-tel"> |
| | | <view class="tel-box"> |
| | | <view>客户电话</view> |
| | | <view >{{cstmr.tel ? cstmr.tel : '--'}}</view> |
| | | </view> |
| | | <view class="tel-box"> |
| | | <view>客户详细地址</view> |
| | | <view >{{cstmr.addr ? cstmr.addr : '--'}}</view> |
| | | </view> |
| | | <view class="tel-box"> |
| | | <view>负责人</view> |
| | | <view >{{cstmr.director$ ? cstmr.director$ : '--'}}</view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view class="container"> |
| | |
| | | } |
| | | }, |
| | | onLoad(option) { |
| | | this.id = option.id |
| | | console.log(option); |
| | | this.init() |
| | | this.autoLoad('follower','') |
| | | setTimeout(()=>{ |
| | | this.getFollowers() |
| | | },500) |
| | | if (JSON.stringify(option) != "{}") { |
| | | this.id = option.id |
| | | this.init() |
| | | this.autoLoad('follower','') |
| | | setTimeout(()=>{ |
| | | this.getFollowers() |
| | | },500) |
| | | } else { |
| | | let _this = this |
| | | const eventChannel = this.getOpenerEventChannel(); |
| | | eventChannel.on('cstmr', function(data) { |
| | | _this.id = data.data |
| | | _this.init() |
| | | }) |
| | | |
| | | this.autoLoad('follower','') |
| | | setTimeout(()=>{ |
| | | |
| | | this.getFollowers() |
| | | },500) |
| | | } |
| | | |
| | | |
| | | |
| | | }, |
| | | methods: { |
| | | init() { |
| | |
| | | method: 'GET', |
| | | success(res) { |
| | | res = res.data |
| | | console.log(res); |
| | | that.saleManage = res.data |
| | | that.cstmr = res.data |
| | | that.cstmrId = that.cstmr.id |
| | |
| | | height: 35rpx; |
| | | } |
| | | .cstmr-tel { |
| | | min-height: 60rpx; |
| | | line-height: 60rpx; |
| | | font-size: 24rpx; |
| | | color: #303133; |
| | | display: flex; |
| | | } |
| | | .tel-box { |
| | | margin-top: 20rpx; |
| | | padding-right: 8rpx; |
| | | margin-left: 10rpx; |
| | | border-right: 1px solid #b1b3b8; |
| | | } |
| | | .tel-box:last-child { |
| | | border: none |
| | | } |
| | | .container { |
| | | margin-top: 10px; |