123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <template>
- <span style="color: #409EFF;cursor: pointer" @click.stop="jump">{{label}}</span>
- </template>
- <script>
- export default {
- name: "index",
- props: {
- label: String,
- value:String,
- corpType: String,
- },
- methods:{
- jump(){
- console.log(this.value,this.corpType)
- if (this.corpType == 'DD'){
- this.$router.push({
- path: '/basicData/portinformation/index',
- query: {customerName: this.value},
- });
- }else if (this.corpType == 'CD'){
- this.$router.push({
- path: '/basicData/fleetInformation/index',
- query: {customerName: this.value},
- });
- }else if (this.corpType == 'GC'){
- this.$router.push({
- path: '/basicData/factoryInformation/factoryInformation/index',
- query: {customerName: this.value},
- });
- }else if (this.corpType == 'GYS'){
- this.$router.push({
- path: '/basicData/customerManagement/supplierMaterial/index',
- query: {customerName: this.value},
- });
- }else if (this.corpType == 'GS'){
- this.$router.push({
- path: '/basicData/customerManagement/companyMaterial/index',
- query: {customerName: this.value},
- });
- }else {
- this.$router.push({
- path: '/basicData/customerInformation/index',
- query: {customerName: this.value},
- });
- }
- },
- }
- }
- </script>
- <style scoped>
- </style>
|