Commit d093bda7 authored by zhengke's avatar zhengke

修改

parent bbc6c194
...@@ -190,7 +190,7 @@ ...@@ -190,7 +190,7 @@
</div> </div>
</div> </div>
<div> <div>
<span class="openGroup opbd" @click="goToOpenTravel('TravelManager6',item)"> <span class="openGroup opbd" @click="goToOpenTravel(item)">
<el-tooltip class="item" effect="dark" content="开团" placement="top-start" popper-class="max-w250"> <el-tooltip class="item" effect="dark" content="开团" placement="top-start" popper-class="max-w250">
<i class="iconfont icon-nav-hangzheng"></i> <i class="iconfont icon-nav-hangzheng"></i>
</el-tooltip> </el-tooltip>
...@@ -557,7 +557,15 @@ ...@@ -557,7 +557,15 @@
}); });
}, },
//开团或修改 //开团或修改
goToOpenTravel(path, item) { goToOpenTravel(item) {
var routeName = this.$route.name;
var path='';
if (routeName == 'newQuotation') {
path='TravelManager6'
}
if (routeName == 'newQuotation2') {
path='TravelManager5'
}
if (item.ID > 0) { if (item.ID > 0) {
this.$router.push({ this.$router.push({
name: path, name: path,
......
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