|
|
@@ -5,8 +5,8 @@
|
|
|
<view class="flex-space title">
|
|
|
客户
|
|
|
</view>
|
|
|
- <view class="address-des_bx content-box" @click="copyCustom(detailInfo)">
|
|
|
- <view>
|
|
|
+ <view class="address-des_bx content-box">
|
|
|
+ <view @click.stop="goCustom(detailInfo)">
|
|
|
<view style="overflow:hidden;text-overflow:ellipsis;white-space: nowrap;width:450upx;"> {{ detailInfo.customName }} {{ detailInfo.customMobile }}</view>
|
|
|
<view style="margin-bottom:20upx;color:#333333">店长 {{ detailInfo.customSuper.name||''}}</view>
|
|
|
<view>
|
|
|
@@ -14,9 +14,10 @@
|
|
|
<block v-if="!$util.isEmpty(detailInfo.showAddress) && detailInfo.showAddress != detailInfo.customAddress">({{detailInfo.showAddress}})</block>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view>
|
|
|
- <i @click.stop="callUp(detailInfo.customMobile)" class="iconfont icondianhua1"></i>
|
|
|
- <i @click.stop="navigateTo(detailInfo.lat,detailInfo.long,detailInfo.customName)" class="iconfont icondianhua" style="font-size:53upx;margin-left:40upx;margin-right:25upx;color:#3385ff;"></i>
|
|
|
+ <view style="position: relative;">
|
|
|
+ <i @click.stop="callUp(detailInfo.customMobile)" class="iconfont icondianhua1"></i>
|
|
|
+ <i @click.stop="navigateTo(detailInfo.lat,detailInfo.long,detailInfo.customName)" class="iconfont icondianhua" style="font-size:53upx;margin-left:40upx;margin-right:25upx;color:#3385ff;"></i>
|
|
|
+ <button class="admin-button-com bule" @click.stop="copyCustom(detailInfo)" style="position: absolute;right:25upx;top:90upx;width:140upx;height:70upx;line-height:50upx;">复制</button>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
@@ -271,7 +272,10 @@
|
|
|
<div class="module-com input-line-wrap" @click="dealRemark(detailInfo.remark)">
|
|
|
<tui-list-cell class="line-cell" :hover="false">
|
|
|
<div class="tui-title">备注</div>
|
|
|
- <div>{{ detailInfo.remark }}</div>
|
|
|
+ <div>
|
|
|
+ {{ detailInfo.remark }}
|
|
|
+ <i class="iconfont iconbianji" style="font-size:25upx;margin-left:20upx;"></i>
|
|
|
+ </div>
|
|
|
</tui-list-cell>
|
|
|
</div>
|
|
|
</view>
|
|
|
@@ -709,6 +713,9 @@ export default {
|
|
|
type:2
|
|
|
})
|
|
|
},
|
|
|
+ goCustom(){
|
|
|
+ this.$util.pageTo({url: '/pagesClient/member/detail?id='+this.detailInfo.customId})
|
|
|
+ },
|
|
|
copyCustom(detailInfo){
|
|
|
let customName = detailInfo.customName
|
|
|
let customMobile = detailInfo.customMobile
|
|
|
@@ -720,13 +727,13 @@ export default {
|
|
|
let val = address+"\n"+customName+" "+customMobile
|
|
|
const self = this
|
|
|
// #ifdef MP-WEIXIN
|
|
|
- self.$msg('APP上才能用复制功能')
|
|
|
+ self.$msg('APP上才能发起复制,请下载APP')
|
|
|
// #endif
|
|
|
// #ifdef APP-PLUS
|
|
|
uni.setClipboardData({
|
|
|
data: val,
|
|
|
success: function() {
|
|
|
- self.$msg("复制成功")
|
|
|
+ self.$msg("客户资料复制成功")
|
|
|
}
|
|
|
})
|
|
|
// #endif
|