|
|
|
|
@ -32,11 +32,12 @@
|
|
|
|
|
<view v-for="(item, index) in myaddresslist" :key="index" class="sitem">
|
|
|
|
|
<view class="lcon">
|
|
|
|
|
<view class="sname">
|
|
|
|
|
<!-- <text>{{item.userName}}({{item.userCode}})</text> -->
|
|
|
|
|
<text>{{ item.departCode?retType(item.departCode,1):''}}</text>
|
|
|
|
|
<text> {{ item.departCode?retType(item.departCode,1):''}}</text>
|
|
|
|
|
<text style="margin-left: 15rpx;"> {{ item.workshop?item.workshop:''}}</text>
|
|
|
|
|
<text style="margin-left: 15rpx;"> {{ item.location?item.location:''}}</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="sinfo">
|
|
|
|
|
{{item.workshop+item.location+item.address}}
|
|
|
|
|
{{ item.address}}
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="opecon">
|
|
|
|
|
@ -51,8 +52,6 @@
|
|
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<u-toast ref="uToast" />
|
|
|
|
|
|
|
|
|
|
<!-- 添加 -->
|
|
|
|
|
<!-- 弹框 -->
|
|
|
|
|
<uni-popup ref="share" type="share">
|
|
|
|
|
@ -152,11 +151,6 @@
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
handleImageError(e,index){
|
|
|
|
|
console.log(e,index);
|
|
|
|
|
this.icon= require("@/static/images/icon.png");
|
|
|
|
|
this.$forceUpdate();
|
|
|
|
|
},
|
|
|
|
|
async delDo(id){
|
|
|
|
|
var _this=this;
|
|
|
|
|
try{
|
|
|
|
|
@ -271,7 +265,6 @@
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
console.log("address",this.address);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
@ -357,8 +350,8 @@
|
|
|
|
|
this.clistall[i].isChecked = false;
|
|
|
|
|
});
|
|
|
|
|
this.clistnow = this.clistall.filter((p) => {
|
|
|
|
|
//filter过滤的意思,这个是过滤函数,将每一项符合结果的值返回到personList
|
|
|
|
|
return ( p.address.indexOf(this.searchKey) !== -1 );
|
|
|
|
|
//filter过滤的意思,这个是过滤函数,将每一项符合结果的值返回到List
|
|
|
|
|
return ( p.address && p.address.indexOf(this.searchKey) !== -1 );
|
|
|
|
|
});
|
|
|
|
|
this.$forceUpdate();
|
|
|
|
|
}
|
|
|
|
|
@ -538,7 +531,6 @@
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
color: rgb(29, 29, 29);
|
|
|
|
|
padding: 24rpx;
|
|
|
|
|
justify-content:space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
display: flex;
|
|
|
|
|
.tip{
|
|
|
|
|
|