Commit 70b6c455 authored by 黄奎's avatar 黄奎

页面修改

parent 0fc74906
......@@ -134,6 +134,9 @@
{{$t('Operation.Op_b2bView')}}</el-button>
<el-button v-if="item.TCNUMS==''" @click="delConfig(item.ID)" type="primary">
{{$t('system.table_delete')}}</el-button>
<el-button @click="SetTravelConfigShare(item.ID)" type="primary">
共享给销售</el-button>
</div>
</div>
</div>
......@@ -387,6 +390,23 @@
err => {}
);
},
//根据当前员工所在部门获取该部门及子部门员工信息
SetTravelConfigShare(ID) {
let msg = {
ID:ID,
ShareTeamType:1
};
this.apipost(
"travel_post_SetTravelConfigShareService", msg,
res => {
if (res.data.resultCode == 1) {
this.Success("设置成功!");
this.getControlList();
}
},
err => {}
);
},
goB2B(ConfigId, tcid) {
var B2BDomain = this.CurrentUserInfo.B2BDomain;
var url = "http://192.168.2.214:8084";
......
......@@ -99,10 +99,13 @@
</div>
<div class="el-col">
<div class="d7">
<el-button v-if="item.CreateBy==CurrentUserId" @click="goToOpenTravel('TravelManager5',item.ID)" type="primary">{{$t('Operation.Op_tripUpdate')}}</el-button>
<el-button v-if="item.CreateBy==CurrentUserId" @click="goToOpenTravel('TravelManager3',item.ID)" type="primary">{{$t('Operation.Op_tripUpdate')}}</el-button>
<!-- <el-button v-if="item.CreateBy==CurrentUserId" @click="goToOpenTravel('TravelManager5',item.ID)" type="primary">{{$t('Operation.Op_tripUpdate')}}</el-button> -->
<el-button @click="copyTravelInfo(item.ID)" type="primary">{{$t('Operation.Op_tripCopy')}}</el-button>
<el-button v-if="item.TCNUMS==''&&item.CreateBy==CurrentUserId" @click="delConfig(item.ID)" type="primary">{{$t('system.table_delete')}}</el-button>
<el-button @click="goUrlR('SalesconfirmationOrder',item)" type="primary">行程下载</el-button>
<!-- <el-button @click="goUrlR('SalesconfirmationOrder',item)" type="primary">行程下载</el-button> -->
<el-button @click="goUrlR('confirmationOrderDownLoad',item)" type="primary">
{{$t('Operation.Op_tripDownLoad')}}</el-button>
</div>
</div>
</div>
......
......@@ -584,8 +584,8 @@
<i class="el-icon-arrow-down el-icon--right"></i>
</span>
<el-dropdown-menu slot="dropdown" class="TC-dropdown">
<el-dropdown-item @click.native="goToOpenTravel('TravelManager5',item.ID,0)">{{$t('Operation.Op_xilieModyfi')}}</el-dropdown-item>
<el-dropdown-item @click.native="goToOpenTravel('TravelManager5',item.ID,item.TCID)">{{$t('Operation.Op_dangtuanModify')}}</el-dropdown-item>
<el-dropdown-item @click.native="goToOpenTravel('TravelManager3',item.ID,0)">{{$t('Operation.Op_xilieModyfi')}}</el-dropdown-item>
<el-dropdown-item @click.native="goToOpenTravel('TravelManager3',item.ID,item.TCID)">{{$t('Operation.Op_dangtuanModify')}}</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
<el-button @click='goUrlMake("GroupAdvertising",item.LineID,item.TCID,"团期广告")' type="primary" style="background:#67c23a; border-color:#67c23a">广告&nbsp;{{item.AdvertCount}}</el-button>
......@@ -596,7 +596,7 @@
</span>
<el-dropdown-menu slot="dropdown" class="TC-dropdown">
<el-dropdown-item @click.native="goTeamBalance(item.TCID,item.OutBranchId)">{{$t('Operation.Op_shouzhiDetail')}}</el-dropdown-item>
<el-dropdown-item @click.native="goUrlR('SalesconfirmationOrder',item.TCID,item.ID,item.StartCityID)">{{$t('Operation.Op_tripDownLoad')}}</el-dropdown-item>
<el-dropdown-item @click.native="goUrlR('confirmationOrderDownLoad',item.TCID,item.ID,item.StartCityID)">{{$t('Operation.Op_tripDownLoad')}}</el-dropdown-item>
<el-dropdown-item @click.native="removeTeamInfo(item.TCID)">{{$t('system.table_delete')}}</el-dropdown-item>
<!--2020-02-04HK注释掉审核按钮-->
<el-dropdown-item style="display:none;" v-if="item.TCState==2||item.TCState==0||item.TCState==1" @click.native="setUpPlat(item)">{{$t('Operation.Op_shangjia')}}</el-dropdown-item>
......
......@@ -415,12 +415,16 @@
if (basicData.OpenState == 1) {
basicData["AfterOpenModify"] = true;
}
if (this.$route.query.openState) {
basicData.OpenState = this.$route.query.openState;
}
//"另存"新增团期
if (SaveType == 3) {
basicData.TravelInfoIsCopy = true;
}
basicData.TeamType = this.TeamType;
basicData.IsUpdateHotel = this.PostConfig.IsUpdateHotel;
this.apipost(
"travel_post_SetTravelConfigInfo",
basicData,
......@@ -742,9 +746,6 @@
if (this.$route.query.openState) {
this.PostConfig.OpenState = this.$route.query.openState;
}
//是否有报价单
this.IsHaveOffer = tempData.IsHaveOffer;
......
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