Commit 9c27db4b by 前端

Merge branch 'xuyl_dev_v2.3.0' into 'v2.3.0'

Xuyl dev v2.3.0

See merge request !73
2 parents aa5be02d c0e089ad
......@@ -14,7 +14,7 @@
<yl-descriptions v-if="leadType == 5 || leadType == 6" ref="ylDeacriptions" :tableModel="orderDescriModel" :showData="leadBaseList" />
</div>
<!-- 跟进记录 -->
<div class="baseTitle" >
<div class="baseTitle">
<p class="title">跟进记录</p>
<hr />
<div class="timestamp" v-if="this.leadFollowRecord.length > 0">
......@@ -28,7 +28,7 @@
</el-timeline-item>
</el-timeline>
</div>
<div :style="{ 'height': clientHeight- 450 + 'px' }" class="noRecord" v-else>
<div :style="{ height: clientHeight - 450 + 'px' }" class="noRecord" v-else>
<img src="@/assets/leadManage/noRecord.png" alt="" />
</div>
</div>
......@@ -53,6 +53,7 @@ export default {
leadType: '', //线索类型
leadBaseList: {}, //线索详情基本信息
leadFollowRecord: [], //线索详情跟进记录
copySameDescri: [],
theSameDescri: [
{
colList: [
......@@ -103,10 +104,7 @@ export default {
// 维保预约
orderDescri: [
{
colList: [
{ thColspan: 1, tdColspan: 2, label: '车牌号', name: 'plateNum' },
{ thColspan: 1, tdColspan: 2, label: '里程数(km)', name: 'mileage' }
]
colList: [{ thColspan: 1, tdColspan: 5, label: '试驾车辆', name: '' }]
},
{
colList: [{ thColspan: 1, tdColspan: 5, label: '门店', name: 'merchantName' }]
......@@ -118,6 +116,7 @@ export default {
this.leadId = this.$route.params.id ? this.$route.params.id : ''
this.leadType = this.$route.params.type ? this.$route.params.type : ''
this.getBaseDetail()
this.addCol()
},
mounted() {
this.clientHeight = document.documentElement.clientHeight - 140
......@@ -133,10 +132,20 @@ export default {
},
// 维保预约
orderDescriModel() {
return this.theSameDescri.concat(this.orderDescri)
return this.copySameDescri.concat(this.orderDescri)
}
},
methods: {
addCol() {
let addcolList = {
colList: [
{ thColspan: 1, tdColspan: 2, label: '预约时间', name: 'plateNum' },
{ thColspan: 1, tdColspan: 2, label: '到店时间', name: 'mileage' }
]
}
this.copySameDescri = JSON.parse(JSON.stringify(this.theSameDescri))
this.copySameDescri.splice(3, 0, addcolList)
},
goback() {
this.$router.push('/leadManage/index')
},
......@@ -269,7 +278,7 @@ export default {
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;//img如果超出这个div会隐藏超出部分
overflow: hidden; //img如果超出这个div会隐藏超出部分
}
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!