|
@@ -1612,6 +1612,8 @@ export default {
|
|
|
},
|
|
|
// 开通严选
|
|
|
isOpenMfyxStatusHandler(item) {
|
|
|
+ if(item.BusinessCardUrl){
|
|
|
+
|
|
|
let str = `${item.MfyxStatus == "试用" ? "关闭" : "开通"}`;
|
|
|
this.$confirm(`确定要${str}个人的研选试用权限吗?`, `${str}试用`, {
|
|
|
confirmButtonText: "确定",
|
|
@@ -1634,6 +1636,16 @@ export default {
|
|
|
message: "已取消删除",
|
|
|
});
|
|
|
});
|
|
|
+ }else {
|
|
|
+ this.$alert('该联系人尚未添加名片,请点击编辑,上传名片后再开通试用', '开通试用', {
|
|
|
+ confirmButtonText: '知道了',
|
|
|
+ callback: action => {
|
|
|
+ this.$message({
|
|
|
+ type: 'info',
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
},
|
|
|
},
|
|
|
mounted() {
|