Commit d6050451 authored by youjie's avatar youjie

分享

parent 078e1fea
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
</el-tooltip> </el-tooltip>
</div> </div>
<div style="margin-right: 10px;"> <div style="margin-right: 10px;">
<el-tooltip v-if="scope.row.IsActivation==0" class="item" effect="dark" :content="$t('op.ShareInviteCode')" placement="top-start" > <el-tooltip v-if="scope.row.IsActivation==0&&customerStatus==2" class="item" effect="dark" :content="$t('op.ShareInviteCode')" placement="top-start" >
<el-popover width="180" trigger="click"> <el-popover width="180" trigger="click">
<div class="w150" v-loading="wxLoading"> <div class="w150" v-loading="wxLoading">
<img style=" <img style="
...@@ -166,7 +166,7 @@ ...@@ -166,7 +166,7 @@
import addCustomerContact from "./addCustomerContact"; import addCustomerContact from "./addCustomerContact";
export default { export default {
props: ["customerId"], props: ["customerId","customerStatus"],
components: {addCustomerContact}, components: {addCustomerContact},
data() { data() {
return { return {
......
...@@ -631,7 +631,7 @@ ...@@ -631,7 +631,7 @@
circle></el-button> circle></el-button>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" :content="$t('hotel.suplier_contact')" placement="top-start"> <el-tooltip class="item" effect="dark" :content="$t('hotel.suplier_contact')" placement="top-start">
<el-button style="padding:4px" @click.stop="customerId=item.customerId,showContact=true" type="danger" icon="el-icon-s-custom" <el-button style="padding:4px" @click.stop="customerId=item.customerId,customerStatus=item.customerStatus,showContact=true" type="danger" icon="el-icon-s-custom"
circle></el-button> circle></el-button>
</el-tooltip> </el-tooltip>
</td> </td>
...@@ -1033,7 +1033,7 @@ ...@@ -1033,7 +1033,7 @@
@success="getList"></TeamMemberList> @success="getList"></TeamMemberList>
<!-- 联系人 --> <!-- 联系人 -->
<CustomerContactList v-if="showContact" :customerId="customerId" @close="showContact=false,customerId=null" <CustomerContactList v-if="showContact" :customerStatus="customerStatus" :customerId="customerId" @close="showContact=false,customerId=null"
@success="getList"></CustomerContactList> @success="getList"></CustomerContactList>
</div> </div>
...@@ -1240,7 +1240,8 @@ ...@@ -1240,7 +1240,8 @@
{ Name: this.$t('objFill.v101.activity.col3.t4'),Id: 0 }, { Name: this.$t('objFill.v101.activity.col3.t4'),Id: 0 },
{ Name: this.$t('objFill.v102.yijihuo'),Id: 1 }, { Name: this.$t('objFill.v102.yijihuo'),Id: 1 },
{ Name: this.$t('objFill.v102.weijihuo'),Id: 2 }, { Name: this.$t('objFill.v102.weijihuo'),Id: 2 },
] ],
customerStatus: 0,
} }
}, },
methods: { methods: {
......
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