customer-handover-details.vue 1.26 KB
Newer Older
lanbaoming's avatar
lanbaoming committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
<template>
   <div>
    <div v-for="(item, index) in info.customerHandoverDetailDtoList">
     <router-link :to="'/customer/query/' + item.customerId"><div  style="color: blue"> 客户编号{{index + 1}}{{item.customerNumber}} 客户名称{{index + 1}}{{item.customerName}} </div></router-link>
      <div>旧客户经理{{index + 1}}{{item.oldCustomerServiceName || '-'}} <span v-if="item.oldCustomerServiceDeptName">{{item.oldCustomerServiceDeptName}}</span></div>
    </div>
     <div>新客户经理:{{info.newCustomerServiceName || '-'}} <span v-if="info.newCustomerServiceDeptName">{{info.newCustomerServiceDeptName}}</span> </div>
     <div>
        申请理由:{{info.reason}}
     </div>
   </div>
</template>

<script>
import { handoverApprovalDetails} from "@/api/ecw/customer";

export default {
  name: "customer-handover-details",
  props: {
    processId: {
      type: [Number, String],
    },
    type: String,
  },
  data(){
  return {
    info:{
      customerHandoverDetailDtoList:[]
    }
  }
  },
  mounted() {
   this.handoverApprovalFn()
    },
  methods:{
    handoverApprovalFn(){
      handoverApprovalDetails({approvalId:this.processId}).then(r =>{
        this.info =r.data
      })
    }
  }
}
</script>

<style scoped>

</style>