Commit c894c25d authored by 华国豪's avatar 华国豪 🙄

领队相关新增 同行领队、临时领队分类

parent 024db346
...@@ -33,13 +33,10 @@ ...@@ -33,13 +33,10 @@
</style> </style>
<template> <template>
<div class="investigationYouDetail"> <div class="investigationYouDetail">
<div v-if="details.GuestTravelLableList" v-for="(item, index) in details.GuestTravelLableList" :key="index" class="item"> <div v-for="(item, index) in details.GuestTravelLableList" :key="index" class="item">
<div class="_lable" v-if="item.Name">{{item.Name}}</div> <div class="_lable" v-if="item.Name">{{item.Name}}</div>
<div :class="{_content: item.Name}">{{item.Content}}</div> <div :class="{_content: item.Name}">{{item.Content}}</div>
</div> </div>
<div v-else>
<p>未填写</p>
</div>
<el-row class="img-box" :gutter="15"> <el-row class="img-box" :gutter="15">
<el-col :span="8" v-for="(item, index) in details.NotesPics" :key="index"> <el-col :span="8" v-for="(item, index) in details.NotesPics" :key="index">
<img :src="item" @click="showImg(item)" alt> <img :src="item" @click="showImg(item)" alt>
......
...@@ -195,7 +195,7 @@ ...@@ -195,7 +195,7 @@
z-index: 20; z-index: 20;
} }
.Leader ._sanjiao_:after { .Leader ._sanjiao_:after {
content: ''; content: '';
position: absolute; position: absolute;
top: -15px; top: -15px;
left: -14px; left: -14px;
......
...@@ -2482,7 +2482,7 @@ ...@@ -2482,7 +2482,7 @@
<div class="RL_ListDiv"> <div class="RL_ListDiv">
<div class="LeaderSpan" :class="{'ckedClass':ckedIndex==index}" v-for="(item,index) in leaderListArr" <div class="LeaderSpan" :class="{'ckedClass':ckedIndex==index}" v-for="(item,index) in leaderListArr"
@click="getLeaderInfo(index,item.LeaderId)" :key="item.subCode"> @click="getLeaderInfo(index,item.LeaderId)" :key="item.subCode">
<span class="RL_LeaderName">{{item.LeaderName}}【{{item.Type==2?"领兼导":"领队"}}】</span> <span class="RL_LeaderName">{{item.LeaderName}}【{{getLeaderTypeStr(item.Type, item.LeaderGuidClass)}}】</span>
</div> </div>
</div> </div>
</div> </div>
...@@ -3217,6 +3217,17 @@ ...@@ -3217,6 +3217,17 @@
commonShouSun: commonShouSun commonShouSun: commonShouSun
}, },
methods: { methods: {
getLeaderTypeStr: function (type, clas){
if (type == 2) {
return "领兼地"
} else if (type == 1 && clas == 0) {
return "领队"
} else if (type == 1 && clas == 1) {
return "同行领队"
} else if (type == 1 && clas == 2) {
return "临时领队"
}
},
gourlTip(path,id){ gourlTip(path,id){
this.$router.push({ this.$router.push({
name: path, name: path,
......
...@@ -257,7 +257,7 @@ ...@@ -257,7 +257,7 @@
<td> <td>
<div class="link"> <div class="link">
<p v-if='!item.LeaderName' @click="goUrlT('RegistrationList',item.TCID,'报名清单')">配置领队</p> <p v-if='!item.LeaderName' @click="goUrlT('RegistrationList',item.TCID,'报名清单')">配置领队</p>
<p v-else @click="goUrlT('RegistrationList',item.TCID,'报名清单')">{{item.LeaderName}}</p> <p v-else @click="goUrlT('RegistrationList',item.TCID,'报名清单')">{{item.LeaderName}}{{getLeaderTypeStr(item.LeaderGuidClass)}}</p>
</div> </div>
</td> </td>
<td> <td>
...@@ -682,6 +682,13 @@ ...@@ -682,6 +682,13 @@
commonTeamInfo commonTeamInfo
}, },
methods: { methods: {
getLeaderTypeStr: function (clas){
if (clas == 1) {
return "(同行领队)"
} else if (clas == 2) {
return "(临时领队)"
}
},
getJourney(id, title) { getJourney(id, title) {
var that = this; var that = this;
this.tripTitle = title; this.tripTitle = title;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment