Commit 3e1021dd authored by Mac's avatar Mac

增加一个跳转

parent bfd3a064
...@@ -644,10 +644,10 @@ ...@@ -644,10 +644,10 @@
<el-tooltip v-if="ActionMenuCode.indexOf('F_Update_TradeDate')!=-1" class="item" :content="$t('fnc.tzjyriqi')" placement="top"> <el-tooltip v-if="ActionMenuCode.indexOf('F_Update_TradeDate')!=-1" class="item" :content="$t('fnc.tzjyriqi')" placement="top">
<i v-if="msg.Conditon==2 && item.TradeDate" class="iconfont icon-tiaozheng" @click="dialogFormVisible=true,updateMsg.FrID=item.FrID,updateMsg.OTradeDate=item.TradeDate" ></i> <i v-if="msg.Conditon==2 && item.TradeDate" class="iconfont icon-tiaozheng" @click="dialogFormVisible=true,updateMsg.FrID=item.FrID,updateMsg.OTradeDate=item.TradeDate" ></i>
</el-tooltip> </el-tooltip>
<!-- <el-tooltip class="item" content="交易方式" placement="top" v-if="active==2 && istransaction == true"> <el-tooltip class="item" content="交易方式" placement="top" v-if="active==2 && istransaction == true">
<i v-if="active==2" class="iconfont icon-zhifupeizhiguanli" <i v-if="active==2" class="iconfont icon-zhifupeizhiguanli"
@click="showjiaoyi(item.FrID)"></i> @click="showjiaoyi(item.FrID)"></i>
</el-tooltip> --> </el-tooltip>
</td> </td>
</tr> </tr>
...@@ -1078,7 +1078,7 @@ export default { ...@@ -1078,7 +1078,7 @@ export default {
accountList2:[], accountList2:[],
trabeList:[],//获取的交易方式列表 trabeList:[],//获取的交易方式列表
alltransaction:[], alltransaction:[],
istransaction:true, istransaction:false,
...@@ -1094,6 +1094,9 @@ export default { ...@@ -1094,6 +1094,9 @@ export default {
if(ActionMenuCode.indexOf('F_HandWithFee')!=-1){ if(ActionMenuCode.indexOf('F_HandWithFee')!=-1){
this.HandShow=true; this.HandShow=true;
} }
if(ActionMenuCode.indexOf('F_Trademodify')!=-1){
this.istransaction=true;
}
if(this.$route.query.returnCode){ if(this.$route.query.returnCode){
this.active = this.$route.query.returnCode; this.active = this.$route.query.returnCode;
this.msg.Conditon = this.$route.query.returnCode; this.msg.Conditon = this.$route.query.returnCode;
...@@ -2010,10 +2013,10 @@ export default { ...@@ -2010,10 +2013,10 @@ export default {
} }
msg.push(obj) msg.push(obj)
}) })
this.apipost('Financial_post_SetFinanceTrabeInfo', msg, res => { this.apipost('Financial_get_SetFinanceTrabeInfo', msg, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.$message.success(res.data.message); this.$message.success(res.data.message);
this.transactionmode = true this.transactionmode = false
this.getPageList() this.getPageList()
}else{ }else{
this.Error(res.data.message); this.Error(res.data.message);
......
...@@ -689,10 +689,10 @@ Vue.component("TCIDJump", { ...@@ -689,10 +689,10 @@ Vue.component("TCIDJump", {
// 团队跳转 // 团队跳转
template: ` template: `
<div> <div>
<span style="cursor: pointer" v-if="rowData.DataType===1" @click="goUrl('TeamBalancePayment',rowData.TCID)">{{rowData.TCID}}</span> <span style="cursor: pointer" v-if="rowData.DataType===1" @click="goUrl('TeamBalancePayment',rowData.TCID,rowData)">{{rowData.TCID}}</span>
<span style="cursor: pointer" v-if="rowData.DataType===2" @click="goUrl('individualTicket',rowData.TCID)">{{rowData.TCID}}</span> <span style="cursor: pointer" v-if="rowData.DataType===2" @click="goUrl('individualTicket',rowData.TCID,rowData)">{{rowData.TCID}}</span>
<span style="cursor: pointer" v-if="rowData.DataType===3" @click="goUrlVisa('VisaProductOrder',rowData.TCID)">{{rowData.TCID}}</span> <span style="cursor: pointer" v-if="rowData.DataType===3" @click="goUrlVisa('VisaProductOrder',rowData.TCID)">{{rowData.TCID}}</span>
<span style="cursor: pointer" v-if="rowData.DataType===4" @click="goUrl('SettlementOrder',rowData.TCID)">{{rowData.TCID}}</span> <span style="cursor: pointer" v-if="rowData.DataType===4" @click="goUrl('SettlementOrder',rowData.TCID,rowData)">{{rowData.TCID}}</span>
<span style="cursor: pointer" v-if="rowData.DataType===6||rowData.DataType===7||rowData.DataType===12||rowData.DataType===13">{{rowData.TCID}}</span> <span style="cursor: pointer" v-if="rowData.DataType===6||rowData.DataType===7||rowData.DataType===12||rowData.DataType===13">{{rowData.TCID}}</span>
<span style="cursor: pointer" v-if="rowData.DataType===8">{{rowData.TCID}}</span> <span style="cursor: pointer" v-if="rowData.DataType===8">{{rowData.TCID}}</span>
<span style="cursor: pointer" v-if="rowData.DataType===9">{{rowData.TCID}}</span> <span style="cursor: pointer" v-if="rowData.DataType===9">{{rowData.TCID}}</span>
...@@ -715,11 +715,19 @@ Vue.component("TCIDJump", { ...@@ -715,11 +715,19 @@ Vue.component("TCIDJump", {
} }
}, },
methods: { methods: {
goUrl(path, id) { goUrl(path, id ,row) {
this.$router.push({ if(row.TeamType==2){//为一日游的时候跳转到一日游团控列表
path: "/" + path, this.$router.push({
query: { id: id, blank: "y" } path: "/oneDayTrip" ,
}); query: { id: id, blank: "y" }
});
}else{
this.$router.push({
path: "/" + path,
query: { id: id, blank: "y" }
});
}
}, },
goUrlVisa(path, id) { goUrlVisa(path, id) {
this.$router.push({ this.$router.push({
...@@ -732,7 +740,7 @@ Vue.component("TCIDJump", { ...@@ -732,7 +740,7 @@ Vue.component("TCIDJump", {
Vue.component("TCNUMJump", { Vue.component("TCNUMJump", {
// 团队跳转 // 团队跳转
template: `<div> template: `<div>
<span style="cursor: pointer;text-decoration:underline" v-if="rowData.DataType===1" @click="goUrl('TravelControlList',rowData.TCNUM)">{{rowData.TCNUM}}</span> <span style="cursor: pointer;text-decoration:underline" v-if="rowData.DataType===1" @click="goUrl('TravelControlList',rowData.TCNUM,rowData)">{{rowData.TCNUM}}</span>
<span style="cursor: pointer;text-decoration:underline" v-if="rowData.DataType===2" @click="goUrlExtend('SettlementOrder',rowData.TCID)">{{rowData.TCNUM}}</span> <span style="cursor: pointer;text-decoration:underline" v-if="rowData.DataType===2" @click="goUrlExtend('SettlementOrder',rowData.TCID)">{{rowData.TCNUM}}</span>
<span style="cursor: pointer;text-decoration:underline" v-if="rowData.DataType===3" @click="goUrlVisa('VisaProductOrder',rowData.TCID)">{{rowData.TCNUM}}</span> <span style="cursor: pointer;text-decoration:underline" v-if="rowData.DataType===3" @click="goUrlVisa('VisaProductOrder',rowData.TCID)">{{rowData.TCNUM}}</span>
<span style="cursor: pointer;text-decoration:underline" v-if="rowData.DataType===4" @click="goUrlExtend('SettlementOrder',rowData.TCID)">{{rowData.TCNUM}}</span> <span style="cursor: pointer;text-decoration:underline" v-if="rowData.DataType===4" @click="goUrlExtend('SettlementOrder',rowData.TCID)">{{rowData.TCNUM}}</span>
...@@ -820,11 +828,19 @@ Vue.component("TCNUMJump", { ...@@ -820,11 +828,19 @@ Vue.component("TCNUMJump", {
}); });
}, },
goUrl(path, id) { goUrl(path, id,row) {
this.$router.push({ if(row.TeamType==2){//为一日游的时候跳转到一日游团控列表
this.$router.push({
path: "/oneDayTrip" ,
query: { id: row.TCID, blank: "y" }
});
}else{
this.$router.push({
path: "/" + path, path: "/" + path,
query: { tcmun: id, blank: "y" } query: { tcmun: id, blank: "y" }
}); });
}
}, },
goUrlExtend(path, id) { goUrlExtend(path, id) {
this.$router.push({ this.$router.push({
......
...@@ -1615,6 +1615,9 @@ ...@@ -1615,6 +1615,9 @@
this.queryMsg = this.$store.state.pageCondition this.queryMsg = this.$store.state.pageCondition
} }
} }
if(this.$route.query.id){
this.queryMsg.TCID = this.$route.query.id
}
var myDate = new Date() var myDate = new Date()
var nowDate = var nowDate =
myDate.getFullYear() + myDate.getFullYear() +
......
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