|
@@ -1,15 +1,31 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
<div class="customer-head">
|
|
|
- <div class="customer-back">
|
|
|
+ <div class="customer-back" v-if="!home">
|
|
|
<el-button
|
|
|
type="danger"
|
|
|
style="border: none;background: none;color: red"
|
|
|
icon="el-icon-arrow-left"
|
|
|
- @click="backToList"
|
|
|
+ @click="backToList(0)"
|
|
|
>返回列表
|
|
|
</el-button>
|
|
|
</div>
|
|
|
+ <div class="customer-back" v-else>
|
|
|
+ <el-button
|
|
|
+ type="danger"
|
|
|
+ style="border: none;background: none;color: red"
|
|
|
+ icon="el-icon-arrow-left"
|
|
|
+ @click="backToList(1)"
|
|
|
+ >返回列表
|
|
|
+ </el-button>
|
|
|
+ <el-button
|
|
|
+ type="danger"
|
|
|
+ style="border: none;background: none;color: red"
|
|
|
+ icon="el-icon-arrow-left"
|
|
|
+ @click="backToList(2)"
|
|
|
+ >返回台账
|
|
|
+ </el-button>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<containerTitle title="委托信息" style="margin-top: 50px"></containerTitle>
|
|
|
<basic-container>
|
|
@@ -552,6 +568,9 @@ export default {
|
|
|
props: {
|
|
|
id: {
|
|
|
type: String
|
|
|
+ },
|
|
|
+ home: {
|
|
|
+ type: Boolean
|
|
|
}
|
|
|
},
|
|
|
data() {
|
|
@@ -1750,8 +1769,16 @@ export default {
|
|
|
this.tableData.splice(this.tableData.length - 1, 0, {leas: 1111})
|
|
|
},
|
|
|
//返回主列表
|
|
|
- backToList() {
|
|
|
- this.$emit('backToList')
|
|
|
+ backToList(value) {
|
|
|
+ if (value === 0){
|
|
|
+ this.$emit('backToList')
|
|
|
+ }else if(value === 1){
|
|
|
+ this.$emit('backToList',true)
|
|
|
+ }else if (value === 2){
|
|
|
+ this.$router.push({
|
|
|
+ path: '/landTransportation/reportAnalysis/index'
|
|
|
+ });
|
|
|
+ }
|
|
|
},
|
|
|
//删除途径地址
|
|
|
deleteAddress(scope) {
|