Commit 0e502760 authored by liudong1993's avatar liudong1993

1

parent 837effd9
......@@ -135,6 +135,30 @@
</el-popover>
</el-tooltip>
</div>
<div style="margin-right: 10px;">
<el-tooltip v-if="scope.row.IsActivation==1&&scope.row.MallNickName==''" class="item" effect="dark" content="分享邀请激活赞羊积分商城" placement="top-start" >
<el-popover width="180" trigger="click">
<div class="w150" v-loading="wxLoading">
<img style="
float: left;
width: 108px;
height: 108px;
margin: 10px 21px 3px;
" :src="
scope.row.wxImage === ''
? ''
: 'data:image/png;base64,' + scope.row.wxImage
" />
<p style="text-align: center; font-size: 12px; color: #666">
{{ $t("salesModule.XCX") }}
</p>
</div>
<el-button slot="reference" type="warning" style="padding:4px" icon="" @click="getZYWxCode(scope.$index)" circle>
<i class="iconfont icon-fenxiang" style="font-size: 14px;"></i>
</el-button>
</el-popover>
</el-tooltip>
</div>
<!-- <div>
<el-tooltip class="item" effect="dark" :content="$t('system.ph_shanchu')" placement="top-start">
<el-button @click.stop="EditMsg(scope.row)" style="padding:4px" type="danger" icon="el-icon-delete" circle></el-button>
......@@ -291,6 +315,27 @@
);
}
},
getZYWxCode(key) {
this.wxLoading = false;
if (this.dataList[key].wxImage === "") {
this.wxLoading = true;
this.apipost(
"erp_post_ShareZYPointsMallCode", {
ID: this.dataList[key].ID,
},
(res) => {
if (res.data.resultCode == 1) {
let url = res.data.data;
this.dataList[key].wxImage = url;
this.wxLoading = false;
} else {
this.$message.error(this.$t('objFill.erwmhqsb'));
}
},
(err) => {}
);
}
},
EditPassword(row){
this.PasswordData.ContactId=row.ID;
this.PasswordData.ContactName=row.ContactName;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment