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 @@ ...@@ -14,7 +14,7 @@
<yl-descriptions v-if="leadType == 5 || leadType == 6" ref="ylDeacriptions" :tableModel="orderDescriModel" :showData="leadBaseList" /> <yl-descriptions v-if="leadType == 5 || leadType == 6" ref="ylDeacriptions" :tableModel="orderDescriModel" :showData="leadBaseList" />
</div> </div>
<!-- 跟进记录 --> <!-- 跟进记录 -->
<div class="baseTitle" > <div class="baseTitle">
<p class="title">跟进记录</p> <p class="title">跟进记录</p>
<hr /> <hr />
<div class="timestamp" v-if="this.leadFollowRecord.length > 0"> <div class="timestamp" v-if="this.leadFollowRecord.length > 0">
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
</el-timeline-item> </el-timeline-item>
</el-timeline> </el-timeline>
</div> </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="" /> <img src="@/assets/leadManage/noRecord.png" alt="" />
</div> </div>
</div> </div>
...@@ -53,6 +53,7 @@ export default { ...@@ -53,6 +53,7 @@ export default {
leadType: '', //线索类型 leadType: '', //线索类型
leadBaseList: {}, //线索详情基本信息 leadBaseList: {}, //线索详情基本信息
leadFollowRecord: [], //线索详情跟进记录 leadFollowRecord: [], //线索详情跟进记录
copySameDescri: [],
theSameDescri: [ theSameDescri: [
{ {
colList: [ colList: [
...@@ -103,10 +104,7 @@ export default { ...@@ -103,10 +104,7 @@ export default {
// 维保预约 // 维保预约
orderDescri: [ orderDescri: [
{ {
colList: [ colList: [{ thColspan: 1, tdColspan: 5, label: '试驾车辆', name: '' }]
{ thColspan: 1, tdColspan: 2, label: '车牌号', name: 'plateNum' },
{ thColspan: 1, tdColspan: 2, label: '里程数(km)', name: 'mileage' }
]
}, },
{ {
colList: [{ thColspan: 1, tdColspan: 5, label: '门店', name: 'merchantName' }] colList: [{ thColspan: 1, tdColspan: 5, label: '门店', name: 'merchantName' }]
...@@ -118,6 +116,7 @@ export default { ...@@ -118,6 +116,7 @@ export default {
this.leadId = this.$route.params.id ? this.$route.params.id : '' this.leadId = this.$route.params.id ? this.$route.params.id : ''
this.leadType = this.$route.params.type ? this.$route.params.type : '' this.leadType = this.$route.params.type ? this.$route.params.type : ''
this.getBaseDetail() this.getBaseDetail()
this.addCol()
}, },
mounted() { mounted() {
this.clientHeight = document.documentElement.clientHeight - 140 this.clientHeight = document.documentElement.clientHeight - 140
...@@ -133,10 +132,20 @@ export default { ...@@ -133,10 +132,20 @@ export default {
}, },
// 维保预约 // 维保预约
orderDescriModel() { orderDescriModel() {
return this.theSameDescri.concat(this.orderDescri) return this.copySameDescri.concat(this.orderDescri)
} }
}, },
methods: { 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() { goback() {
this.$router.push('/leadManage/index') this.$router.push('/leadManage/index')
}, },
...@@ -269,7 +278,7 @@ export default { ...@@ -269,7 +278,7 @@ export default {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: 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!