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

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

parent 024db346
......@@ -33,13 +33,10 @@
</style>
<template>
<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="{_content: item.Name}">{{item.Content}}</div>
</div>
<div v-else>
<p>未填写</p>
</div>
<el-row class="img-box" :gutter="15">
<el-col :span="8" v-for="(item, index) in details.NotesPics" :key="index">
<img :src="item" @click="showImg(item)" alt>
......
......@@ -195,7 +195,7 @@
z-index: 20;
}
.Leader ._sanjiao_:after {
content: '';
content: '';
position: absolute;
top: -15px;
left: -14px;
......
......@@ -2482,7 +2482,7 @@
<div class="RL_ListDiv">
<div class="LeaderSpan" :class="{'ckedClass':ckedIndex==index}" v-for="(item,index) in leaderListArr"
@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>
......@@ -3217,6 +3217,17 @@
commonShouSun: commonShouSun
},
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){
this.$router.push({
name: path,
......
......@@ -257,7 +257,7 @@
<td>
<div class="link">
<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>
</td>
<td>
......@@ -682,6 +682,13 @@
commonTeamInfo
},
methods: {
getLeaderTypeStr: function (clas){
if (clas == 1) {
return "(同行领队)"
} else if (clas == 2) {
return "(临时领队)"
}
},
getJourney(id, title) {
var that = this;
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