|
|
@@ -80,7 +80,7 @@
|
|
|
</span>
|
|
|
<!-- <el-button size="mini" icon="el-icon-edit"></el-button> -->
|
|
|
</el-descriptions-item>
|
|
|
-
|
|
|
+
|
|
|
<el-descriptions-item label="进线日期" label-class-name="my-label">
|
|
|
<span v-if="item!=null">
|
|
|
{{item.registerDate}}
|
|
|
@@ -153,7 +153,7 @@
|
|
|
</span>
|
|
|
<!-- <el-button size="mini" icon="el-icon-edit"></el-button> -->
|
|
|
</el-descriptions-item>
|
|
|
-
|
|
|
+
|
|
|
</el-descriptions>
|
|
|
|
|
|
<el-tabs style="margin-top:15px;" z-index = "99" type="border-card" v-model="activeName" @tab-click="handleClick">
|
|
|
@@ -166,7 +166,7 @@
|
|
|
<el-tab-pane label="订单记录" name="storeOrder">
|
|
|
<customer-store-order-list ref="storeOrder"></customer-store-order-list>
|
|
|
</el-tab-pane>
|
|
|
-
|
|
|
+
|
|
|
<el-tab-pane label="通话记录" name="voiceLogs">
|
|
|
<customer-voice-logs-list ref="voiceLogs"></customer-voice-logs-list>
|
|
|
</el-tab-pane>
|
|
|
@@ -180,7 +180,7 @@
|
|
|
<customer-his-order-list ref="hisOrder"></customer-his-order-list>
|
|
|
</el-tab-pane>
|
|
|
</el-tabs>
|
|
|
-
|
|
|
+
|
|
|
<el-dialog :title="addTag.title" :visible.sync="addTag.open" width="600px" append-to-body>
|
|
|
<add-tag ref="tag" @close="closeTag()"></add-tag>
|
|
|
</el-dialog>
|
|
|
@@ -205,7 +205,7 @@
|
|
|
|
|
|
</div>
|
|
|
</template>
|
|
|
-
|
|
|
+
|
|
|
<script>
|
|
|
import { listCustomerExt } from "@/api/crm/customerExt";
|
|
|
import customerVisitList from '../components/customerVisitList.vue';
|
|
|
@@ -270,7 +270,7 @@
|
|
|
repetition:null,
|
|
|
showDuplicate:false,
|
|
|
dCustomerId:null,
|
|
|
-
|
|
|
+
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
@@ -292,10 +292,10 @@
|
|
|
this.getDicts("crm_customer_is_receive").then((response) => {
|
|
|
this.receiveOptions = response.data;
|
|
|
});
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
mounted(){
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
methods: {
|
|
|
handleShow(repetition){
|
|
|
@@ -328,7 +328,7 @@
|
|
|
setTimeout(() => {
|
|
|
that.$refs.sms.reset(this.item.customerId,mobile);
|
|
|
}, 500);
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
closeRemark(){
|
|
|
this.addRemark.open=false;
|
|
|
@@ -351,7 +351,7 @@
|
|
|
setTimeout(() => {
|
|
|
that.$refs.tag.reset(this.item);
|
|
|
}, 500);
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
handleClick(tab, event) {
|
|
|
if(tab.name=="contacts"){
|
|
|
@@ -371,7 +371,7 @@
|
|
|
}
|
|
|
if(tab.name=="smsLogs"){
|
|
|
this.$refs.smsLogs.getData(this.item.customerId);
|
|
|
- }
|
|
|
+ }
|
|
|
if(tab.name=="hisOrder"){
|
|
|
this.$refs.hisOrder.getData(this.item.customerId);
|
|
|
}
|
|
|
@@ -400,25 +400,25 @@
|
|
|
item.value=element.value
|
|
|
}
|
|
|
});
|
|
|
-
|
|
|
+
|
|
|
});
|
|
|
}
|
|
|
this.activeName="visit"
|
|
|
setTimeout(() => {
|
|
|
that.$refs.visit.getData(customerId);
|
|
|
}, 500);
|
|
|
-
|
|
|
+
|
|
|
});
|
|
|
},
|
|
|
initDuplicate(isDuplicate,dCustomerId){
|
|
|
-
|
|
|
+
|
|
|
this.showDuplicate=isDuplicate;
|
|
|
this.dCustomerId=dCustomerId;
|
|
|
},
|
|
|
handleDuplicate(){
|
|
|
this.duplicate.open=true;
|
|
|
var that=this;
|
|
|
-
|
|
|
+
|
|
|
setTimeout(() => {
|
|
|
that.$refs.duplicateCustomer.getDetails(that.dCustomerId);
|
|
|
}, 200);
|
|
|
@@ -427,7 +427,7 @@
|
|
|
this.duplicate.open=false;
|
|
|
this.getDetails(this.customerId)
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
};
|
|
|
</script>
|
|
|
@@ -436,7 +436,7 @@
|
|
|
height: 100%;
|
|
|
background-color: #fff;
|
|
|
padding: 0px 20px;
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
.customer-title{
|
|
|
margin-bottom: 15px;
|
|
|
@@ -452,5 +452,5 @@
|
|
|
.el-descriptions-item__label.is-bordered-label{
|
|
|
font-weight: normal;
|
|
|
}
|
|
|
-
|
|
|
-</style>
|
|
|
+
|
|
|
+</style>
|