Commit 7b6871ac authored by huangyuanyuan's avatar huangyuanyuan

自主定制添加跳转

parent 9f820bc8
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
<td>{{item.planPrice}}</td> <td>{{item.planPrice}}</td>
<td> <td>
<el-tooltip class="item" effect="dark" content="下单" placement="top"> <el-tooltip class="item" effect="dark" content="下单" placement="top">
<el-button @click="PlaceOrder('productQuery',item.tcnum)" type="primary" class='zidingyiFz' icon="el-icon-goods" circle ></el-button> <el-button v-if="item.planUseStatus==2" @click="PlaceOrder('productQuery',item.tcnum)" type="primary" class='zidingyiFz' icon="el-icon-goods" circle ></el-button>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" content="删除" placement="top"> <el-tooltip class="item" effect="dark" content="删除" placement="top">
<el-button @click="Delete(item)" type="danger" class='zidingyiFz' icon="el-icon-delete" circle ></el-button> <el-button @click="Delete(item)" type="danger" class='zidingyiFz' icon="el-icon-delete" circle ></el-button>
......
...@@ -17,6 +17,11 @@ ...@@ -17,6 +17,11 @@
.TravelInfoList .info_details p{ .TravelInfoList .info_details p{
padding:4px 0; padding:4px 0;
} }
.TravelInfoList .underline:hover{
text-decoration: underline;
cursor: pointer;
font-family: "PIngFangR";
}
</style> </style>
<template> <template>
<div class="TravelInfoList flexOne"> <div class="TravelInfoList flexOne">
...@@ -31,7 +36,7 @@ ...@@ -31,7 +36,7 @@
<!-- <div style="margin: 10px 0;" class="fz14 color333">{{$t('adm.adm_Validaccount')}}:<span class="colorE95252">{{UseNum}}</span>&nbsp;&nbsp;&nbsp;&nbsp;账号限额:<span class="colorE95252">{{TotalNum}}</span></div> --> <!-- <div style="margin: 10px 0;" class="fz14 color333">{{$t('adm.adm_Validaccount')}}:<span class="colorE95252">{{UseNum}}</span>&nbsp;&nbsp;&nbsp;&nbsp;账号限额:<span class="colorE95252">{{TotalNum}}</span></div> -->
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0"> <table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
<tr> <tr>
<th>团期ID</th> <th width="150">团期ID</th>
<th>部门名称</th> <th>部门名称</th>
<th>销售姓名</th> <th>销售姓名</th>
<th>公司名称</th> <th>公司名称</th>
...@@ -39,7 +44,7 @@ ...@@ -39,7 +44,7 @@
</tr> </tr>
<tr v-for="(item,index) in DataList" :key="index" v-loading='loading'> <tr v-for="(item,index) in DataList" :key="index" v-loading='loading'>
<td>{{item.tcid}}</td> <td><span @click="goUrl('TravelControlListSale',item.tcnum)" class="underline">{{item.tcnum}}({{item.tcid}})</span></td>
<td>{{item.departmentName}}</td> <td>{{item.departmentName}}</td>
<td>{{item.salseName}}</td> <td>{{item.salseName}}</td>
<td>{{item.companyName}}</td> <td>{{item.companyName}}</td>
...@@ -88,12 +93,13 @@ import moment from "moment" ...@@ -88,12 +93,13 @@ import moment from "moment"
}, },
methods: { methods: {
goUrl (path,tcmun) {
this.$router.push({ name: path,query:{"tcmun":tcmun,blank: "y"} })
},
getList() { //获取数据 getList() { //获取数据
this.loading=true, this.loading=true,
this.apiJavaPost("/api/dmc/travelCoupom/getTravelCoupomPlanList",{customId:this.customId}, res => { this.apiJavaPost("/api/dmc/travelCoupom/getTravelCoupomPlanList",{customId:this.customId}, res => {
console.log("res",res);
this.loading = false; this.loading = false;
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
this.DataList = res.data.data.pageData; this.DataList = res.data.data.pageData;
......
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