|
@@ -53,7 +53,7 @@
|
|
|
style="width: 140px"
|
|
|
class="filter-item"
|
|
|
></el-input>
|
|
|
-
|
|
|
+
|
|
|
<el-button
|
|
|
type="primary"
|
|
|
style="margin-left: 20px"
|
|
@@ -61,12 +61,12 @@
|
|
|
@click="handlerSerch"
|
|
|
>搜 索</el-button
|
|
|
>
|
|
|
-
|
|
|
+
|
|
|
<el-button type="success" icon="el-icon-download" @click="handleDownload"
|
|
|
>导 出</el-button
|
|
|
>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<!-- 列表table -->
|
|
|
<el-table
|
|
|
:data="tableData"
|
|
@@ -90,7 +90,7 @@
|
|
|
align="center"
|
|
|
>
|
|
|
</el-table-column>
|
|
|
-
|
|
|
+
|
|
|
<el-table-column
|
|
|
v-else="item.prop == 'spotDetectionRate'"
|
|
|
:key="index"
|
|
@@ -100,11 +100,11 @@
|
|
|
:label="item.label"
|
|
|
:width="item.width"
|
|
|
align="center"
|
|
|
-
|
|
|
+
|
|
|
:render-header="renderColumnHeader"
|
|
|
>
|
|
|
</el-table-column>
|
|
|
-
|
|
|
+
|
|
|
</template>
|
|
|
</el-table>
|
|
|
<!-- -->
|
|
@@ -117,13 +117,13 @@
|
|
|
/>
|
|
|
</div>
|
|
|
</template>
|
|
|
-
|
|
|
+
|
|
|
<script>
|
|
|
import Cookies from 'js-cookie'
|
|
|
import { GetDataByNames, getSpotRate } from '@/api/common'
|
|
|
import { parseTime, json2excel } from '@/utils/index.js'
|
|
|
import Pagination from '@/components/Pagination'
|
|
|
-
|
|
|
+
|
|
|
export default {
|
|
|
components: { Pagination },
|
|
|
data() {
|
|
@@ -287,7 +287,7 @@ methods: {
|
|
|
sheetName: 'SheetJS'
|
|
|
}
|
|
|
]
|
|
|
- json2excel(elecExcelDatas, '车辆运转率', true, 'xlsx')
|
|
|
+ json2excel(elecExcelDatas, '点检完成率', true, 'xlsx')
|
|
|
})
|
|
|
},
|
|
|
|
|
@@ -320,7 +320,7 @@ methods: {
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
-
|
|
|
+
|
|
|
<style lang="scss" scoped>
|
|
|
.container {
|
|
|
padding: 20px;
|
|
@@ -333,4 +333,4 @@ methods: {
|
|
|
/deep/.el-table .caret-wrapper{
|
|
|
top: -15px!important;
|
|
|
}
|
|
|
- </style>
|
|
|
+ </style>
|