Commit 913958c7 by zhangxw

Merge branch 'v1.7.0' of http://192.168.3.233:8090/micro-customization-system/mi…

…cro-trialrun into v1.7.0
2 parents aad495d4 f82fd8d3
...@@ -154,6 +154,7 @@ export default { ...@@ -154,6 +154,7 @@ export default {
restParams() { restParams() {
// this.pageSize = 10; // this.pageSize = 10;
this.currentPage = 1; this.currentPage = 1;
this.pageSize = 10
}, },
}, },
}; };
......
...@@ -163,7 +163,7 @@ export default { ...@@ -163,7 +163,7 @@ export default {
// 获取列表 // 获取列表
getList(options) { getList(options) {
let oParams = this.getParams(); let oParams = this.getParams();
oParams.pageSize = this.$refs.glsxTable.pageSize; oParams.pageSize = this.$refs.glsxTable.pageSizeNum;
oParams.pageNumber = options ? options.pageNumber || 1 : 1; oParams.pageNumber = options ? options.pageNumber || 1 : 1;
this.loading = true; this.loading = true;
GETMILEAGESTATISTICS(oParams) GETMILEAGESTATISTICS(oParams)
...@@ -259,8 +259,8 @@ export default { ...@@ -259,8 +259,8 @@ export default {
this.searchText = ""; this.searchText = "";
this.preText = "orderNo"; this.preText = "orderNo";
this.mileageDate = [] this.mileageDate = []
this.getList();
this.$refs.glsxTable.rest(); this.$refs.glsxTable.rest();
this.getList();
}, },
}, },
}; };
......
...@@ -161,6 +161,7 @@ export default { ...@@ -161,6 +161,7 @@ export default {
// 重置 // 重置
rest() { rest() {
this.$refs.glsxTable.restParams()
this.tableParams = {}; this.tableParams = {};
this.searchForm = { queryTimeType: 1 }; this.searchForm = { queryTimeType: 1 };
//this.$refs.glsxTable.getList(); //this.$refs.glsxTable.getList();
......
...@@ -161,6 +161,7 @@ export default { ...@@ -161,6 +161,7 @@ export default {
// 重置 // 重置
rest() { rest() {
this.$refs.glsxTable.restParams()
this.tableParams = {}; this.tableParams = {};
this.searchForm = {queryTimeType: 1 }; this.searchForm = {queryTimeType: 1 };
//this.$refs.glsxTable.rest(); //this.$refs.glsxTable.rest();
......
...@@ -101,6 +101,14 @@ ...@@ -101,6 +101,14 @@
<el-table-column label="设备类型" prop="deviceTypeStr" show-overflow-tooltip> <el-table-column label="设备类型" prop="deviceTypeStr" show-overflow-tooltip>
<template slot-scope="{row}">{{row.deviceTypeStr||'--'}}</template> <template slot-scope="{row}">{{row.deviceTypeStr||'--'}}</template>
</el-table-column> </el-table-column>
<el-table-column label="激活时间" prop="activateTime" show-overflow-tooltip></el-table-column>
<el-table-column label="设备状态" prop="deviceStateStr" show-overflow-tooltip>
<template slot-scope="{row}">{{row.deviceStateStr||'--'}}</template>
</el-table-column>
<el-table-column label="特殊状态" prop="specialState" show-overflow-tooltip></el-table-column>
<el-table-column label="是否结清" prop="settleFlag" show-overflow-tooltip>
<template slot-scope="{row}">{{row.settleFlag||'--'}}</template>
</el-table-column>
<el-table-column label="车型" prop="modelName" show-overflow-tooltip> <el-table-column label="车型" prop="modelName" show-overflow-tooltip>
<template slot-scope="{row}">{{row.modelName||'--'}}</template> <template slot-scope="{row}">{{row.modelName||'--'}}</template>
</el-table-column> </el-table-column>
...@@ -110,14 +118,6 @@ ...@@ -110,14 +118,6 @@
<el-table-column label="车辆用途" prop="vehicleUsageStr" show-overflow-tooltip> <el-table-column label="车辆用途" prop="vehicleUsageStr" show-overflow-tooltip>
<template slot-scope="{row}">{{row.vehicleUsageStr||'--'}}</template> <template slot-scope="{row}">{{row.vehicleUsageStr||'--'}}</template>
</el-table-column> </el-table-column>
<el-table-column label="激活时间" prop="activateTime" show-overflow-tooltip></el-table-column>
<el-table-column label="设备状态" prop="deviceStateStr" show-overflow-tooltip>
<template slot-scope="{row}">{{row.deviceStateStr||'--'}}</template>
</el-table-column>
<el-table-column label="特殊状态" prop="specialState" show-overflow-tooltip></el-table-column>
<el-table-column label="是否结清" prop="settleFlag" show-overflow-tooltip>
<template slot-scope="{row}">{{row.settleFlag||'--'}}</template>
</el-table-column>
<el-table-column label="操作" prop="vehicleUsageStr" width="170"> <el-table-column label="操作" prop="vehicleUsageStr" width="170">
<template slot-scope="{row}"> <template slot-scope="{row}">
<template v-if="row.permitType == 'r'"> <template v-if="row.permitType == 'r'">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!