原片追溯,报表日期

This commit is contained in:
helloDy 2024-04-26 10:16:07 +08:00
parent de831b339f
commit 4cafa78908
7 changed files with 287 additions and 194 deletions

View File

@ -50,7 +50,7 @@
"benz-amr-recorder": "^1.1.5",
"bpmn-js-token-simulation": "0.10.0",
"clipboard": "2.0.8",
"code-brick-zj": "^1.0.5",
"code-brick-zj": "^1.1.0",
"core-js": "^3.26.0",
"crypto-js": "^4.0.0",
"diagram-js": "^12.3.0",

View File

@ -1,8 +1,8 @@
/*
* @Author: zhp
* @Date: 2023-10-31 10:55:20
* @LastEditTime: 2023-12-06 14:09:14
* @LastEditors: zhp
* @LastEditTime: 2024-04-25 15:28:44
* @LastEditors: DY
* @Description:
*/
import request from '@/utils/request'
@ -34,11 +34,11 @@ export function exportEnergyPlcExcel(query) {
})
}
export function getOriginalGlassRetrace(query) {
export function getOriginalGlassRetrace(data) {
return request({
url: '/base/original-glass-statistics/originalGlassRetrace',
method: 'get',
params: query,
method: 'post',
data
})
}

View File

@ -86,16 +86,19 @@ import moment from 'moment';
// import DialogForm from './dialogForm.vue';
import * as echarts from 'echarts';
import tableHeightMixin from '@/mixins/lb/tableHeightMixin';
import { getCorePLList } from '@/api/base/coreProductionLine';
import { parseTime } from '@/utils/ruoyi';
// import basicPageMixin from '@/mixins/lb/basicPageMixin';
export default {
name: 'statisticalData',
name: 'QualityIsra',
// components: {
// DialogForm,
// },
mixins: [tableHeightMixin],
data() {
return {
isFold: false,
list: [],
dynamicProps: [],
activeName: 'day',
@ -106,6 +109,16 @@ export default {
weekListUrl: '/base/quality-isra-statistics/weekList',
monthListUrl: '/base/quality-isra-statistics/monthList',
searchBarFormConfig: [
{
type: 'select',
label: '是否报废',
placeholder: '请选择是否报废',
param: 'checkDiscard',
selectOptions: [
{ name: '否', id: 0 },
{ name: '是', id: 1 }
],
},
{
type: 'select',
label: '缺陷类型',
@ -114,6 +127,17 @@ export default {
selectOptions: [],
labelField: 'name',
valueField: 'name',
defaultSelect: [],
filterable: true
},
{
type: 'select',
label: '产线',
selectOptions: [],
labelField: 'name',
valueField: 'name',
param: 'lineName',
filterable: true,
defaultSelect: []
},
{
@ -139,8 +163,9 @@ export default {
],
//
queryParams: {
checkDiscard: undefined,
checkType:undefined,
// productionId: undefined,
lineName: undefined,
startTime: undefined,
endTime: undefined,
// productionLineId: null,
@ -149,6 +174,7 @@ export default {
},
created() {
// this.getProductLineList();
// this.isFold = this.searchBarWidth('QualityIsraBox', 1198);
},
computed: {
tableProps() {
@ -168,29 +194,20 @@ export default {
},
},
mounted() {
// if (this.$route.query.woIdString) {
// console.log(this.$route.query.woIdString)
// this.queryParams.workOrderIdList = this.$route.query.woIdString.split(',')
// // this.queryParams.workOrderIdList = [this.$route.query.woIdString]
// // let arr =[]
// this.searchBarFormConfig[0].defaultSelect = this.$route.query.woIdString.split(',')
// console.log(this.searchBarFormConfig[0].defaultSelect);
// }
// if (this.$route.params.startTime && this.$route.params.endTime) {
// this.searchBarFormConfig[0].defaultSelect = [
// this.$route.params.startTime,
// this.$route.params.endTime,
// ];
// this.queryParams.param = {};
// this.$set(
// this.queryParams.param,
// 'startTime',
// this.$route.params.startTime
// );
// this.$set(this.queryParams.param, 'endTime', this.$route.params.endTime);
// } else {
// this.searchBarFormConfig[0].defaultSelect = [];
// }
if (this.$route.query.lineName) {
// console.log('线', this.$route.query.lineName)
this.queryParams.lineName = this.$route.query.lineName
this.searchBarFormConfig[2].defaultSelect = this.$route.query.lineName
}
if (this.$route.query.originalGlassOutputTime) {
console.log('你好', this.$route.query.originalGlassOutputTime)
this.queryParams.startTime = parseTime(new Date(Number(this.$route.query.originalGlassOutputTime)))
this.queryParams.endTime = parseTime(new Date(Number(this.$route.query.originalGlassOutputTime)))
this.searchBarFormConfig[3].defaultSelect = [
this.queryParams.startTime,
this.queryParams.endTime,
];
}
this.getList()
this.getData()
this.getDict()
@ -393,8 +410,12 @@ export default {
pageNo:1
}
});
console.log(res)
this.searchBarFormConfig[0].selectOptions = res.data.list
// console.log(res)
this.searchBarFormConfig[1].selectOptions = res.data.list
await getCorePLList().then((res) => {
// console.log(res);
this.searchBarFormConfig[2].selectOptions = res.data;
})
// this.searchBarFormConfig[1].selectOptions = res.data.map((item) => {
// return {
// name: item.name,
@ -425,7 +446,7 @@ export default {
},
/** 查询列表 */
async getDataList() {
console.log(this.queryParams);
console.log('查询条件', this.queryParams);
this.loading = true;
//
const {
@ -467,7 +488,10 @@ export default {
},
/** 取消按钮 */
handleSearchBarBtnClick(val) {
console.log('11111', val)
if (val.btnName === 'search') {
this.queryParams.checkDiscard = (val?.checkDiscard === 0 || val?.checkDiscard === 1) ? val?.checkDiscard : undefined
this.queryParams.lineName = val.lineName ? val.lineName : undefined
this.queryParams.checkType = val.checkType ? val.checkType : undefined
// this.queryParams.productionId = val.productionId ? val.productionId : undefined
this.queryParams.startTime = val.checkTime ? val.checkTime[0] : undefined

View File

@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2023-08-01 14:55:51
* @LastEditors: DY
* @LastEditTime: 2024-04-25 14:42:53
* @LastEditTime: 2024-04-26 09:58:51
* @Description:
-->
<template>
@ -23,18 +23,16 @@
</el-form-item>
<el-form-item label="包装全检时间及产线" prop="val">
<el-date-picker
v-model="listQuery.timeVal"
v-model="listQuery.packTime"
value-format="timestamp"
type="datetimerange"
type="datetime"
size="small"
clearable
start-placeholder="包装全检开始时间"
end-placeholder="包装全检结束时间"
range-separator="-"
placeholder="包装全检时间"
@change="countTimes('timestamp3')"
/>
<el-select v-model="listQuery.lineName" size="small" clearable filterable placeholder="产线" @change="countTimes('timestamp3')" style="margin-left: 5px">
<el-option label="区域一" value="shanghai"></el-option>
<el-option v-for="(item, index) in lineOptions" :key="index" :label="item.name" :value="item.name"></el-option>
</el-select>
</el-form-item>
<el-form-item>
@ -51,8 +49,8 @@
:table-data="list"> -->
<base-table :max-height="tableH" :table-props="tableProps"
:table-data="list">
<!-- <method-btn v-if="tableBtn.length" slot="handleBtn" :width="120" label="操作" :method-list="tableBtn"
@clickBtn="handleClick" /> -->
<method-btn v-if="tableBtn.length" slot="handleBtn" :width="220" label="缺陷操作" :method-list="tableBtn"
@clickBtn="handleClick" />
</base-table>
<!-- <pagination :limit.sync="listQuery.pageSize" :page.sync="listQuery.pageNo" :total="listQuery.total"
@pagination="getList" /> -->
@ -64,56 +62,76 @@
// import AddOrUpdate from './add-or-updata';
// import unitDict from './unitDict';
// import basicPage from '../mixins/basic-page';
import { publicFormatter } from '@/utils/dict';
// import { publicFormatter } from '@/utils/dict';
import { parseTime } from '../mixins/code-filter';
import tableHeightMixin from '@/mixins/lb/tableHeightMixin';
import { getCorePLList } from '@/api/base/coreProductionLine';
import {
getOriginalGlassRetrace,
getWorkOrderList,
// exportEnergyPlcExcel
} from '@/api/quality/rawMaterialTraceability';
import { getOriginalGlassRetrace } from '@/api/quality/rawMaterialTraceability';
const tableProps = [
{
prop: 'certificateNumber',
label: '合格证号',
minWidth: 120,
showOverflowtooltip: true,
filter: (val) => val ? val : '--'
},
{
prop: 'boxNumber',
label: '箱号',
minWidth: 150,
showOverflowtooltip: true,
filter: (val) => val ? val : '--'
},
{
prop: 'packagingCode',
label: '成品周转编号',
minWidth: 180,
showOverflowtooltip: true,
filter: (val) => val ? val : '--'
},
{
prop: 'deepProcessingLineName',
label: '深加工产线',
minWidth: 120,
showOverflowtooltip: true,
filter: (val) => val ? val : '--'
},
{
prop: 'deepProcessingInputTime',
label: '深加工上片时间',
filter: parseTime
// filter: (val) => parseTime(val) ? parseTime(val) : '--',
filter: parseTime,
minWidth: 180,
showOverflowtooltip: true
},
{
prop: 'deepProcessingOutputTime',
label: '深加工下片时间',
filter: parseTime
filter: parseTime,
minWidth: 180,
showOverflowtooltip: true
},
{
prop: 'glassCode',
label: '原片周转编码',
minWidth: 150,
showOverflowtooltip: true
},
{
prop: 'originalGlassLineName',
label: '原片产线',
minWidth: 150,
showOverflowtooltip: true
},
{
prop: 'originalGlassOutputTime',
label: '原片下片时间',
filter: parseTime
},
filter: parseTime,
minWidth: 180,
showOverflowtooltip: true
}
// {
// prop: 'scrapDetail',
// label: '',
@ -126,29 +144,25 @@ export default {
mixins: [tableHeightMixin],
data() {
return {
// urlOptions: {
// getDataListURL: getMaterialUseLogPage,
// // deleteURL: deletePackingType,
// // exportURL: exportPackingExcel,
// },
lineOptions: [],
tableProps,
// tableBtn: [
// // this.$auth.hasPermi(`base:packaging-print-log:update`)
// // ?
// {
// type: 'edit',
// btnName: '',
// },
// // : undefined,
// // this.$auth.hasPermi(`base:packaging-print-log:delete`)
// // ?
// {
// type: 'delete',
// btnName: '',
// }
// // : undefined,
tableBtn: [
// this.$auth.hasPermi(`base:packaging-print-log:update`)
// ?
{
type: 'detail0',
btnName: '成品缺陷详情',
},
// : undefined,
// this.$auth.hasPermi(`base:packaging-print-log:delete`)
// ?
{
type: 'detail1',
btnName: '原片缺陷详情',
}
// : undefined,
// ].filter((v) => v),
].filter((v) => v),
list: [],
listQuery: {
// pageSize: 10,
@ -156,13 +170,12 @@ export default {
// total: 0,
certificateNumber: undefined,
packagingCode: undefined,
timeVal:undefined,
lineName: undefined,
packTime: null,
lineName: null,
glassCode: undefined
},
count: 0,
useTime: false,
countArray: [],
countArray: [false, false, false, false],
// tableH: this.tableHeight(260),
formConfig: [
// {
@ -260,81 +273,85 @@ export default {
// window.addEventListener('resize', () => {
// this.tableH = this.tableHeight(260)
// })
this.count = 0
countArray: [false, false, false, false],
this.useTime = false
// this.getList()
this.getDict()
},
methods: {
handleClick(raw) {
if (raw.type === 'detail1') {
//
this.$router.push({
path: '/quality/base/quality-isra',
query: {
// deepProcessingLineId: raw.data.deepProcessingLineId,
lineName: raw.data.deepProcessingLineName,
originalGlassOutputTime: raw.data.originalGlassOutputTime
},
});
} else {
//
this.$router.push({
path: '/quality/base/quality-inspection-data/detection-information/statistical-data',
query: {
startTime: raw.data.deepProcessingInputTime,
endTime: raw.data.deepProcessingOutputTime
},
});
}
},
countTimes(val) {
if (val === 1) {
let temp = this.listQuery?.certificateNumber !== ''
this.countArray[0] = temp
console.log('你好', this.countArray)
this.countArray[0] = this.listQuery.certificateNumber !== '' && this.listQuery.certificateNumber !== undefined
}
if (val === 2) {
this.countArray[1] = this.listQuery?.packagingCode !== '' && this.listQuery?.packagingCode !== undefined
}
if (val === 3) {
this.countArray[2] = this.listQuery?.glassCode !== '' && this.listQuery?.glassCode !== undefined
}
if (val && val !== '') {
if (val === 'timestamp3') {
if (this.listQuery.timeVal.length > 0 || this.listQuery?.lineName !== '') {
if ((this.listQuery.packTime !== '' && this.listQuery.packTime !== null) || (this.listQuery?.lineName !== '' && this.listQuery.lineName !== null)) {
this.useTime = true
this.countArray[3] = true
} else {
this.useTime = false
this.countArray[3] = true
}
} else {
this.count ++
}
} else {
this.count --
}
},
getList() {
// console.log('nihc ', this.count, this.listQuery)
// if (this.count > 1) {
// this.$message.error('')
// } else {
// if (this.useTime === true) {
// if (this.listQuery.timeVal.length > 0 && this.listQuery?.lineName !== '') {
// getOriginalGlassRetrace({ ...this.listQuery }).then(res => {
// console.log(res);
// this.list = res.data || []
// console.log(this.list);
// // this.listQuery.total = res.data.total || 0
// })
// } else {
// this.$message.error('线')
// }
// } else {
let trueArray = this.countArray.filter(val => val === true)
if (trueArray.length !== 1) {
this.$message.error('请选择一个条件进行查询!')
} else {
if (this.useTime === true) {
if (this.listQuery.packTime !== null && this.listQuery.packTime !== '' && this.listQuery.lineName !== null && this.listQuery.lineName !== '') {
getOriginalGlassRetrace({ ...this.listQuery }).then(res => {
console.log(res);
this.list = res.data || []
console.log(this.list);
// this.listQuery.total = res.data.total || 0
})
// }
// }
} else {
this.$message.error('选择包装全检时,时间和产线均为必填!')
}
} else {
getOriginalGlassRetrace({ ...this.listQuery }).then(res => {
console.log(res);
this.list = res.data || []
console.log(this.list);
})
}
}
},
getDict() {
//
// getCustomerList().then((response) => {
// console.log(response);
// this.customerList = response.data
// // this.listQuery.total = response.data.total;
// })
// getModelList().then((response) => {
// console.log(response);
// this.modelList = response.data
// // this.listQuery.total = response.data.total;
// })
getWorkOrderList().then((response) => {
// console.log(response);
this.formConfig[0].selectOptions = response.data.map((item) => {
return {
name: item.name,
id: item.id
}
})
console.log(this.formConfig[0].selectOptions);
// this.listQuery.total = response.data.total;
// 线
getCorePLList().then((res) => {
console.log(res);
this.lineOptions = res.data;
})
},
// handleExport() {

View File

@ -60,26 +60,26 @@ export default {
list: [],
dynamicProps:[],
searchBarFormConfig: [
{
type: 'select',
label: '工单名称',
placeholder: '请选择工单名称',
param: 'workOrderIdList',
selectOptions: [],
multiple: true,
labelField: 'name',
valueField: 'id',
defaultSelect: [],
filterable: true
},
{
type: 'select',
label: '产品',
placeholder: '请选择产品',
param: 'productionId',
selectOptions: [],
filterable: true
},
// {
// type: 'select',
// label: '',
// placeholder: '',
// param: 'workOrderIdList',
// selectOptions: [],
// multiple: true,
// labelField: 'name',
// valueField: 'id',
// defaultSelect: [],
// filterable: true
// },
// {
// type: 'select',
// label: '',
// placeholder: '',
// param: 'productionId',
// selectOptions: [],
// filterable: true
// },
// {
// type: 'input',
// label: '',
@ -193,8 +193,8 @@ export default {
// },
//
queryParams: {
workOrderIdList:undefined,
productionId: undefined,
// workOrderIdList:undefined,
// productionId: undefined,
startTime: undefined,
endTime: undefined,
// productionLineId: null,
@ -207,16 +207,16 @@ export default {
computed: {
tableProps() {
return [
{
// width: 128,
prop: 'workOrderName',
label: '工单名称',
},
{
// width: 128,
prop: 'productionName',
label: '产品',
},
// {
// // width: 128,
// prop: 'workOrderName',
// label: '',
// },
// {
// // width: 128,
// prop: 'productionName',
// label: '',
// },
{
// width: 160,
prop: 'inspectionContent',
@ -259,17 +259,17 @@ export default {
},
},
mounted() {
if (this.$route.query.woIdString) {
console.log(this.$route.query.woIdString)
this.queryParams.workOrderIdList = this.$route.query.woIdString.split(',')
// this.queryParams.workOrderIdList = [this.$route.query.woIdString]
// let arr =[]
this.searchBarFormConfig[0].defaultSelect = this.$route.query.woIdString.split(',')
console.log(this.searchBarFormConfig[0].defaultSelect);
}
// if (this.$route.query.woIdString) {
// console.log(this.$route.query.woIdString)
// this.queryParams.workOrderIdList = this.$route.query.woIdString.split(',')
// // this.queryParams.workOrderIdList = [this.$route.query.woIdString]
// // let arr =[]
// this.searchBarFormConfig[0].defaultSelect = this.$route.query.woIdString.split(',')
// console.log(this.searchBarFormConfig[0].defaultSelect);
// }
if (this.$route.query.startTime && this.$route.query.endTime) {
// console.log(this.$route.query.startTime);
this.searchBarFormConfig[2].defaultSelect = [moment(Number(this.$route.query.startTime)).format('yyyy-MM-DD HH:mm:ss'), moment(Number(this.$route.query.endTime)).format('yyyy-MM-DD HH:mm:ss'),]
this.searchBarFormConfig[0].defaultSelect = [moment(Number(this.$route.query.startTime)).format('yyyy-MM-DD HH:mm:ss'), moment(Number(this.$route.query.endTime)).format('yyyy-MM-DD HH:mm:ss'),]
this.queryParams.startTime = moment(Number(this.$route.query.startTime)).format('yyyy-MM-DD HH:mm:ss')
this.queryParams.endTime = moment(Number(this.$route.query.endTime)).format('yyyy-MM-DD HH:mm:ss')
}
@ -370,8 +370,8 @@ export default {
/** 取消按钮 */
handleSearchBarBtnClick(val) {
if (val.btnName === 'search') {
this.queryParams.workOrderIdList = val.workOrderIdList ? val.workOrderIdList : undefined
this.queryParams.productionId = val.productionId ? val.productionId : undefined
// this.queryParams.workOrderIdList = val.workOrderIdList ? val.workOrderIdList : undefined
// this.queryParams.productionId = val.productionId ? val.productionId : undefined
this.queryParams.startTime = val.checkTime ? val.checkTime[0] : undefined
this.queryParams.endTime = val.checkTime ? val.checkTime[1] : undefined
this.getList()

View File

@ -1,7 +1,7 @@
<!--
* @Author: Do not edit
* @Date: 2024-04-22 15:49:56
* @LastEditTime: 2024-04-25 14:30:44
* @LastEditTime: 2024-04-26 10:14:50
* @LastEditors: DY
* @Description:
-->
@ -94,26 +94,45 @@ export default {
now.setHours(0, 0, 0, 0)
now.setDate(1)
let startOfMonth = now.getTime()
// let firstDayOfMonth = new Date(startOfMonth)
this.listQuery.time = startOfMonth
},
mounted() {
this.getList();
},
methods: {
getTime1() {
const firstDayOfMonth = new Date(this.listQuery.time)
const lastDayOfMonth = new Date(firstDayOfMonth.getFullYear(), firstDayOfMonth.getMonth() + 1, 0, 0, 0, 0, 0)
// console.log('', parseTime(firstDayOfMonth), parseTime(lastDayOfMonth))
this.$set(this.tableProps[2], 'label', '许昌安彩月原片生产汇总(' + parseTime(firstDayOfMonth) + '-' + parseTime(lastDayOfMonth) + ')')
this.$set(this.tableProps1[2], 'label', '许昌安彩月成品生产汇总(' + parseTime(firstDayOfMonth) + '-' + parseTime(lastDayOfMonth) + ')')
// this.tableProps[2].label = '(' + parseTime(firstDayOfMonth) + '-' + parseTime(lastDayOfMonth) + ')'
// this.tableProps1[2].label = '(' + parseTime(firstDayOfMonth) + '-' + parseTime(lastDayOfMonth) + ')'
console.log(this.tableProps, this.tableProps1)
},
async getList() {
const firstDayOfMonth = new Date(this.listQuery.time)
const lastDayOfMonth = new Date(firstDayOfMonth.getFullYear(), firstDayOfMonth.getMonth() + 1, 0, 0, 0, 0, 0)
this.tableData = [];
this.tableProps = [
{
prop: 'lineName',
label: '',
fixed: true,
width: 150,
},
{
prop: 'paramsName',
label: '',
fixed: true,
width: 150,
},
{
prop: 'xc',
label: '许昌安彩月原片生产汇总(' + parseTime(firstDayOfMonth) + '-' + parseTime(lastDayOfMonth) + ')',
// align: 'center',
children: []
}
];
this.tableData1 = [];
this.tableProps1 = [
@ -121,18 +140,26 @@ export default {
prop: 'lineName',
label: '',
fixed: true,
width: 150,
},
{
prop: 'paramsName',
label: '',
fixed: true,
width: 150,
},
{
prop: 'xc1',
label: '许昌安彩月成品生产汇总(' + parseTime(firstDayOfMonth) + '-' + parseTime(lastDayOfMonth) + ')',
// align: 'center',
children: []
}
];
await productionMonthY(this.listQuery).then((res) => {
this.resData = res.data;
//
Object.keys(this.resData).forEach((item) => {
this.tableProps.push({
this.tableProps[2].children.push({
prop: item,
label: item,
'show-overflow-tooltip': true,
@ -144,7 +171,7 @@ export default {
this.resData1 = res.data;
//
Object.keys(this.resData1).forEach((item) => {
this.tableProps1.push({
this.tableProps1[2].children.push({
prop: item,
label: item,
'show-overflow-tooltip': true,
@ -152,6 +179,7 @@ export default {
});
this.buildTableData1(this.resData1);
});
// this.getTime1()
},
// 2
buildTableData1(data) {

View File

@ -1,7 +1,7 @@
<!--
* @Author: Do not edit
* @Date: 2024-04-22 15:49:56
* @LastEditTime: 2024-04-25 11:14:34
* @LastEditTime: 2024-04-25 19:16:49
* @LastEditors: DY
* @Description:
-->
@ -80,9 +80,25 @@ export default {
// glassWeekShow: false,
// proWeekShow: false,
tableData: [],
tableProps: [],
tableProps: [
{
prop: 'xc',
label: '许昌安彩年原片生产汇总',
align: 'center',
// fixed: true,
// width: 500,
children: []
}
],
tableData1: [],
tableProps1: [],
tableProps1: [
{
prop: 'xc1',
label: '许昌安彩年成品生产汇总',
align: 'center',
children: []
}
],
resData: [],
span1: [], //1
resData1: [],
@ -103,9 +119,17 @@ export default {
this.getList();
},
methods: {
getTime() {
const firstDayOfYear = new Date(this.listQuery.time)
const lastDayOfYear = new Date(firstDayOfYear.getFullYear() + 1, 0, 0, 0, 0, 0, 0)
// console.log('', parseTime(firstDayOfMonth), parseTime(lastDayOfMonth))
this.tableProps[0].label = '许昌安彩年原片生产汇总(' + parseTime(firstDayOfYear) + '-' + parseTime(lastDayOfYear) + ')'
this.tableProps1[0].label = '许昌安彩年成品生产汇总(' + parseTime(firstDayOfYear) + '-' + parseTime(lastDayOfYear) + ')'
},
async getList() {
this.getTime()
this.tableData = [];
this.tableProps = [
this.tableProps[0].children = [
{
prop: 'lineName',
label: '',
@ -118,23 +142,23 @@ export default {
},
];
this.tableData1 = [];
this.tableProps1 = [
this.tableProps1[0].children = [
{
prop: 'lineName',
label: '',
fixed: true,
// fixed: true,
},
{
prop: 'paramsName',
label: '',
fixed: true,
// fixed: true,
},
];
await productionYearY(this.listQuery).then((res) => {
this.resData = res.data;
//
Object.keys(this.resData).forEach((item) => {
this.tableProps.push({
this.tableProps[0].children.push({
prop: item,
label: item,
'show-overflow-tooltip': true,
@ -146,7 +170,7 @@ export default {
this.resData1 = res.data;
//
Object.keys(this.resData1).forEach((item) => {
this.tableProps1.push({
this.tableProps1[0].children.push({
prop: item,
label: item,
'show-overflow-tooltip': true,