| | |
| | | |
| | | <el-dialog :title="title" :visible.sync="openDataScope" width="1500px" append-to-body > |
| | | <div style="background-color: #FEF7FC;"> |
| | | <el-table v-loading="loading" :data="travelpriceList[detailList]" @selection-change="handleSelectionChange" :row-class-name="tableRowClassName" > |
| | | <el-table v-loading="loading" :data="detailList" @selection-change="handleSelectionChange" :row-class-name="tableRowClassName" > |
| | | <el-table-column type="selection" width="55" align="center" /> |
| | | <el-table-column label="序号" sortable type="index" :index="(queryParams.pageNum-1)*queryParams.pageSize+1" width="120"/> |
| | | <el-table-column label="时间" prop="happenTime" sortable width="100" align="center"> |
| | |
| | | // alert(123) |
| | | // console.log(response.data) |
| | | this.travelpriceList = response.data.data; |
| | | |
| | | console.log(this.travelpriceList[0]) |
| | | this.total = response.data.total; |
| | | this.loading = false; |
| | | } |
| | |
| | | handleShow(row){ |
| | | const id = row.id; |
| | | this.openDataScope = true |
| | | this.getList() |
| | | // this.getList() |
| | | //alert(123) |
| | | this.detailList = row.detailList |
| | | // alert(row.index) |
| | | this.title = "展示详情"; |
| | | |
| | | }, |
| | |
| | | /** 查看详细信息 */ |
| | | handleCheck(row){ |
| | | const id = row.id; |
| | | // alert(id) |
| | | // alert(row.fee_id) |
| | | this.$router.push("/self/travel/Info/" + id); |
| | | }, |
| | | /** 修改按钮操作 */ |
| | |
| | | let jd = true |
| | | |
| | | this.$router.push({ |
| | | path:"/self/travel/Info/" + id, |
| | | path:"/self/travel/edit/" + id, |
| | | query:{ |
| | | detail:jd |
| | | } |
| | |
| | | |
| | | } |
| | | </style> |
| | | |