64 lines
942 B
Vue
64 lines
942 B
Vue
<!--
|
|
filename: summaryDialog.vue
|
|
author: liubin
|
|
date: 2023-08-04 16:25:49
|
|
description:
|
|
-->
|
|
|
|
<template>
|
|
<!-- 列表 -->
|
|
<!-- height="35vh" -->
|
|
<base-table
|
|
:table-props="tableProps"
|
|
:page="queryParams.pageNo"
|
|
:limit="queryParams.pageSize"
|
|
:table-data="list"></base-table>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'SummaryTable',
|
|
components: {},
|
|
props: {
|
|
list: {
|
|
type: Array,
|
|
default: () => [],
|
|
},
|
|
},
|
|
data() {
|
|
return {
|
|
queryParams: {
|
|
pageNo: 1,
|
|
pageSize: 10,
|
|
},
|
|
tableProps: [
|
|
{
|
|
prop: 'lineName',
|
|
label: '产线',
|
|
},
|
|
{
|
|
prop: 'sumUp',
|
|
label: '上片总数',
|
|
},
|
|
{
|
|
prop: 'sumDown',
|
|
label: '下片总数',
|
|
},
|
|
{
|
|
prop: 'sumCheck',
|
|
label: '检测总数',
|
|
},
|
|
{
|
|
prop: 'scrapRatio',
|
|
label: '比例(%)',
|
|
},
|
|
],
|
|
};
|
|
},
|
|
computed: {},
|
|
methods: {},
|
|
};
|
|
</script>
|
|
|
|
<style scoped lang="scss"></style>
|