Commit 6e6dd507 authored by 黄奎's avatar 黄奎

页面修改

parent 44528d6e
...@@ -804,6 +804,19 @@ var tripUtils = { ...@@ -804,6 +804,19 @@ var tripUtils = {
); );
} }
}, },
//跳转到B2B页面
GotoB2BPage2(B2BDomain, ConfigId, tcid) {
if (B2BDomain) {
var url = "http://" + B2BDomain;
window.open(
url + "/#/details/" +
encodeURIComponent(ConfigId) +
"/" +
tcid ,
"_blank"
);
}
},
//获取B2B连接 //获取B2B连接
GetB2BUrl(B2BDomain, ConfigId, tcid) { GetB2BUrl(B2BDomain, ConfigId, tcid) {
var url = ""; var url = "";
......
...@@ -477,8 +477,8 @@ ...@@ -477,8 +477,8 @@
{{subItem.aName}} {{subItem.Departure_time}} {{subItem.aName}} {{subItem.Departure_time}}
- -
{{subItem.dName}} {{subItem.Arrival_time}} {{subItem.dName}} {{subItem.Arrival_time}}
<span v-if="subItem.FlightState==1" class="TCL-greenType">【OK】</span> <span v-if="subItem.FlightState==1" class="TCL-greenType">【OK】</span>
<span v-else class="TCL-redType">{{$t('visa.v_zanding')}}</span> <span v-else class="TCL-redType">{{$t('visa.v_zanding')}}</span>
</span> </span>
</div> </div>
</template> </template>
...@@ -1893,7 +1893,11 @@ ...@@ -1893,7 +1893,11 @@
goB2B(ConfigId, tcid, type) { goB2B(ConfigId, tcid, type) {
var B2BDomain = this.CurrentUserInfo.B2BDomain; var B2BDomain = this.CurrentUserInfo.B2BDomain;
if (type == 1) { if (type == 1) {
this.$tripUtils.GotoB2BPage(B2BDomain, ConfigId, tcid); if (this.CurrentUserInfo.RB_Group_id == 81) {
this.$tripUtils.GotoB2BPage2(B2BDomain, ConfigId, tcid);
} else {
this.$tripUtils.GotoB2BPage(B2BDomain, ConfigId, tcid);
}
} else { } else {
this.$tripUtils.GotoB2CPage(B2BDomain, ConfigId, tcid); this.$tripUtils.GotoB2CPage(B2BDomain, ConfigId, tcid);
} }
......
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