|
@@ -15,6 +15,8 @@
|
|
<view class="left flex">
|
|
<view class="left flex">
|
|
<uni-icons type="search" size="24"></uni-icons>
|
|
<uni-icons type="search" size="24"></uni-icons>
|
|
<text class="search-val"> {{searchVal?searchVal:'搜索名片'}}</text>
|
|
<text class="search-val"> {{searchVal?searchVal:'搜索名片'}}</text>
|
|
|
|
+ <uni-icons type="closeempty" size="24" @click.native.stop="delSearchVal"
|
|
|
|
+ v-if="searchVal"></uni-icons>
|
|
</view>
|
|
</view>
|
|
<view class="right">
|
|
<view class="right">
|
|
<uni-icons type="mic" size="24" @click.stop="micOpen"></uni-icons>
|
|
<uni-icons type="mic" size="24" @click.stop="micOpen"></uni-icons>
|
|
@@ -48,19 +50,19 @@
|
|
<view v-for='(item,index) in cardHolderList' @longpress="longpress" class="content3 flex">
|
|
<view v-for='(item,index) in cardHolderList' @longpress="longpress" class="content3 flex">
|
|
<view class="left">
|
|
<view class="left">
|
|
<view class="top flex-row-center">
|
|
<view class="top flex-row-center">
|
|
- <image :src="item.cardManagementInfo.headSculpture" mode="widthFix" class="img"></image>
|
|
|
|
|
|
+ <image :src="item.headSculpture" mode="widthFix" class="img"></image>
|
|
</view>
|
|
</view>
|
|
<view class="bottom flex flex-evenly">
|
|
<view class="bottom flex flex-evenly">
|
|
- <uni-icons type="home" size="20"></uni-icons>
|
|
|
|
|
|
+ <uni-icons @click="toHome(item)" type="home" size="20"></uni-icons>
|
|
<text @click='switchType(item)'>{{item.classify?item.classifyName:'默'}}</text>
|
|
<text @click='switchType(item)'>{{item.classify?item.classifyName:'默'}}</text>
|
|
<uni-icons @click='share(item)' type="redo" size="20" color=''></uni-icons>
|
|
<uni-icons @click='share(item)' type="redo" size="20" color=''></uni-icons>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="right">
|
|
<view class="right">
|
|
<view class="row1 flex">
|
|
<view class="row1 flex">
|
|
- <text>{{item.cardManagementInfo.name}}</text>
|
|
|
|
|
|
+ <text>{{item.name}}</text>
|
|
<text class="line"></text>
|
|
<text class="line"></text>
|
|
- <text>{{item.cardManagementInfo.post}}</text>
|
|
|
|
|
|
+ <text>{{item.post}}</text>
|
|
<u-checkbox-group v-if='islongPress' placement="column"
|
|
<u-checkbox-group v-if='islongPress' placement="column"
|
|
@change="checkboxChange($event,index)">
|
|
@change="checkboxChange($event,index)">
|
|
<u-checkbox :name='index+1' :checked='item.checked' :customStyle="{marginBottom: '8px'}">
|
|
<u-checkbox :name='index+1' :checked='item.checked' :customStyle="{marginBottom: '8px'}">
|
|
@@ -68,15 +70,15 @@
|
|
</u-checkbox-group>
|
|
</u-checkbox-group>
|
|
</view>
|
|
</view>
|
|
<view class="row2">
|
|
<view class="row2">
|
|
- {{item.cardManagementInfo.companyName}}
|
|
|
|
|
|
+ {{item.companyName}}
|
|
</view>
|
|
</view>
|
|
<view class="row3" @click="toMap">
|
|
<view class="row3" @click="toMap">
|
|
<uni-icons type="redo" size="20"></uni-icons>
|
|
<uni-icons type="redo" size="20"></uni-icons>
|
|
- <text>{{item.cardManagementInfo.province}}{{item.cardManagementInfo.city}}{{item.cardManagementInfo.area}}{{item.cardManagementInfo.detailedAddress}}</text>
|
|
|
|
|
|
+ <text>{{item.province}}{{item.city}}{{item.area}}{{item.detailedAddress}}</text>
|
|
</view>
|
|
</view>
|
|
<view class="row3">
|
|
<view class="row3">
|
|
<uni-icons type="redo" size="20"></uni-icons>
|
|
<uni-icons type="redo" size="20"></uni-icons>
|
|
- <text>{{item.cardManagementInfo.phone}}</text>
|
|
|
|
|
|
+ <text>{{item.phone}}</text>
|
|
</view>
|
|
</view>
|
|
<view @click='remarkEdit(item)' class="row3">
|
|
<view @click='remarkEdit(item)' class="row3">
|
|
<uni-icons type="redo" size="20"></uni-icons>
|
|
<uni-icons type="redo" size="20"></uni-icons>
|
|
@@ -101,7 +103,7 @@
|
|
<view style='text-align:right;'>
|
|
<view style='text-align:right;'>
|
|
<uni-icons @click='qrcodeShow=false' type="close" size="20"></uni-icons>
|
|
<uni-icons @click='qrcodeShow=false' type="close" size="20"></uni-icons>
|
|
</view>
|
|
</view>
|
|
- <image :src="currectData.cardManagementInfo.qrCode" mode=""></image>
|
|
|
|
|
|
+ <image :src="currectData.qrCode" mode=""></image>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
</view>
|
|
</view>
|
|
@@ -191,6 +193,15 @@
|
|
// }
|
|
// }
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ toHome(item){
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url: "/pages/mySet/myHome?id="+item.personalHomeId
|
|
|
|
+ })
|
|
|
|
+ },
|
|
|
|
+ delSearchVal() {
|
|
|
|
+ this.searchVal = ""
|
|
|
|
+ this.mescroll.resetUpScroll()
|
|
|
|
+ },
|
|
toUrl(){
|
|
toUrl(){
|
|
console.log(this.currectData)
|
|
console.log(this.currectData)
|
|
this.popupshow=false
|
|
this.popupshow=false
|
|
@@ -232,7 +243,6 @@
|
|
},
|
|
},
|
|
del(){
|
|
del(){
|
|
this.delShow=true
|
|
this.delShow=true
|
|
-
|
|
|
|
},
|
|
},
|
|
|
|
|
|
longpress(){
|
|
longpress(){
|
|
@@ -352,7 +362,8 @@
|
|
this.$request.baseRequest('admin.unimall.cardHolderInfo', 'list',{
|
|
this.$request.baseRequest('admin.unimall.cardHolderInfo', 'list',{
|
|
page:page.num,
|
|
page:page.num,
|
|
limit:page.size,
|
|
limit:page.size,
|
|
- commonId:uni.getStorageSync("userInfo").id
|
|
|
|
|
|
+ commonId:uni.getStorageSync("userInfo").id,
|
|
|
|
+ searchContent:this.searchVal
|
|
}, failres => {
|
|
}, failres => {
|
|
console.log('res+++++', failres.errmsg)
|
|
console.log('res+++++', failres.errmsg)
|
|
this.$refs.uToast.show({
|
|
this.$refs.uToast.show({
|