|
@@ -3,7 +3,7 @@
|
|
|
<el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="98px">
|
|
|
<el-form-item label="班次号" prop="classesNo">
|
|
|
<el-input
|
|
|
- v-model="queryParams.classesNo"
|
|
|
+ v-model="queryParams.likeClassesNo"
|
|
|
placeholder="请输入班次号"
|
|
|
clearable
|
|
|
size="small"
|
|
@@ -26,14 +26,20 @@
|
|
|
placeholder="选择结束时间">
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="油站名称" prop="stationName">
|
|
|
- <el-input
|
|
|
- v-model="queryParams.stationName"
|
|
|
- placeholder="请输入油站名称"
|
|
|
+ <el-form-item label="油站名称" prop="stationId">
|
|
|
+ <el-select
|
|
|
+ v-model="queryParams.stationId"
|
|
|
+ placeholder="请选择油站"
|
|
|
clearable
|
|
|
size="small"
|
|
|
- @keyup.enter.native="handleQuery"
|
|
|
- />
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="item in stationOptions"
|
|
|
+ :key="item.stationId"
|
|
|
+ :label="item.stationName"
|
|
|
+ :value="item.stationId"
|
|
|
+ ></el-option>
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="班结人" prop="classesMan">
|
|
|
<el-input
|
|
@@ -75,9 +81,15 @@
|
|
|
<el-table-column label="班结人" align="center" prop="classesMan" />
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
|
|
<template slot-scope="scope">
|
|
|
- <router-link :to="{path:'/station/structure',query:{classesNo:scope.row.classesNo,stationId:scope.row.stationId}}" class="link-type">
|
|
|
- <span icon="el-icon-search" >查看 </span>
|
|
|
- </router-link>
|
|
|
+<!-- <router-link :to="{path:'/station/structure',query:{classesNo:scope.row.classesNo,stationId:scope.row.stationId}}" class="link-type">-->
|
|
|
+<!-- <span icon="el-icon-search" >查看 </span>-->
|
|
|
+<!-- </router-link>-->
|
|
|
+ <el-button
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-plus"
|
|
|
+ @click="handlelook(scope.row)"
|
|
|
+ >查看</el-button>
|
|
|
<el-button
|
|
|
size="mini"
|
|
|
type="text"
|
|
@@ -102,7 +114,7 @@
|
|
|
<script>
|
|
|
import { listSummary } from "@/api/station/summary";
|
|
|
import { exportStructure } from "@/api/station/structure";
|
|
|
-
|
|
|
+import { stationinfo } from "@/api/station/gun";
|
|
|
export default {
|
|
|
name: "Summary",
|
|
|
data() {
|
|
@@ -121,6 +133,7 @@ export default {
|
|
|
total: 0,
|
|
|
// 【请填写功能名称】表格数据
|
|
|
summaryList: [],
|
|
|
+ stationOptions: [],
|
|
|
// 弹出层标题
|
|
|
title: "",
|
|
|
// 是否显示弹出层
|
|
@@ -141,7 +154,8 @@ export default {
|
|
|
wxAmt: null,
|
|
|
zfbAmt: null,
|
|
|
dzkAmt: null,
|
|
|
- classesMan: null
|
|
|
+ classesMan: null,
|
|
|
+ likeClassesNo:null
|
|
|
},
|
|
|
// 查询参数
|
|
|
queryParam: {
|
|
@@ -196,6 +210,9 @@ export default {
|
|
|
},
|
|
|
created() {
|
|
|
this.getList();
|
|
|
+ stationinfo().then(response => {
|
|
|
+ this.stationOptions = response.rows;
|
|
|
+ });
|
|
|
},
|
|
|
methods: {
|
|
|
/** 查询【请填写功能名称】列表 */
|
|
@@ -243,6 +260,9 @@ export default {
|
|
|
this.resetForm("queryForm");
|
|
|
this.handleQuery();
|
|
|
},
|
|
|
+ handlelook(row){
|
|
|
+ this.$router.push({path:'/station/structure',query:{classesNo:row.classesNo,stationId:row.stationId}});
|
|
|
+ },
|
|
|
/** 导出按钮操作 */
|
|
|
handleExport(row) {
|
|
|
const classesNo = row.classesNo;
|