update -报表加编号

master
yinq 3 months ago
parent e5bcead91c
commit b764222788

@ -79,7 +79,10 @@
>差异明细导出
</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
<div style="float: right">
<span style="font-weight: 700; padding-right: 20px">{{ this.customData }}</span>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
</div>
</el-row>
<el-table v-loading="loading" :data="boxTraceabilityList" @selection-change="handleSelectionChange">
@ -195,6 +198,7 @@ import {
boxTraceabilityDetailReport,
boxTraceabilityReport,
} from '@//api/report/reportAPI'
import { getCustomData } from '@//api/base/customData'
export default {
name: 'ProductOffLine',
@ -273,13 +277,19 @@ export default {
{ key: 12, label: `报废记录数`, visible: true }
],
// 线
productLineList: []
productLineList: [],
//
customData: null
}
},
created() {
findProductLineList({ productLineType: 1 }).then(response => {
this.productLineList = response.data
})
//
getCustomData(391).then(response => {
this.customData = response.data.customData
})
const nowDate = parseTime(new Date(), '{y}-{m}-{d}')
this.daterangeBeginTime[0] = nowDate + ' 00:00:00'
this.daterangeBeginTime[1] = nowDate + ' 23:59:59'

@ -95,7 +95,10 @@
>流转详情导出
</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
<div style="float: right">
<span style="font-weight: 700; padding-right: 20px">{{ this.customData }}</span>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
</div>
</el-row>
<el-table v-loading="loading" :data="reportList" @selection-change="handleSelectionChange">
@ -190,6 +193,7 @@ import {
} from '@/api/report/reportAPI'
import { findProductLineList } from '@//api/base/productLine'
import { parseTime } from '@//utils/ruoyi'
import { getCustomData } from '@//api/base/customData'
export default {
name: 'BoxTurnoverTraceabilityReport',
@ -251,7 +255,9 @@ export default {
// 线
productLineList: [],
//
findStationList: []
findStationList: [],
//
customData: null
}
},
created() {
@ -264,6 +270,10 @@ export default {
// const nowDate = parseTime(new Date(), '{y}-{m}-{d}')
// this.daterangeBeginTime[0] = nowDate + ' 00:00:00'
// this.daterangeBeginTime[1] = nowDate + ' 23:59:59'
//
getCustomData(392).then(response => {
this.customData = response.data.customData
})
this.getList()
},
methods: {

@ -78,7 +78,10 @@
@click="handleExport"
>导出</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
<div style="float: right">
<span style="font-weight: 700; padding-right: 20px">{{ this.customData }}</span>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
</div>
</el-row>
<el-table v-loading="loading" :data="codeBandingList" @selection-change="handleSelectionChange">
@ -119,6 +122,7 @@
import { listCodeBanding } from "@/api/report/codeBanding";
import { findProductLineList } from '@//api/base/productLine'
import { parseTime } from '@//utils/ruoyi'
import { getCustomData } from '@//api/base/customData'
export default {
name: "CodeBandingReport",
data() {
@ -190,12 +194,17 @@ export default {
],
// 线
productLineList: [],
//
customData: null
};
},
created() {
findProductLineList({ productLineType: 1 }).then(response => {
this.productLineList = response.data
})
getCustomData(394).then(response => {
this.customData = response.data.customData
})
const nowDate = parseTime(new Date(), '{y}-{m}-{d}')
this.daterangeBeginTime[0] = nowDate + ' 00:00:00'
this.daterangeBeginTime[1] = nowDate + ' 23:59:59'

@ -91,7 +91,10 @@
>导出
</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
<div style="float: right">
<span style="font-weight: 700; padding-right: 20px">{{ this.customData }}</span>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
</div>
</el-row>
<el-table v-loading="loading" :data="electricalInspectionList" @selection-change="handleSelectionChange">
@ -222,6 +225,7 @@ import {
updateElectricalInspection
} from '@/api/report/electricalInspection'
import { parseTime } from '@//utils/ruoyi'
import { getCustomData } from '@//api/base/customData'
export default {
name: 'ElectricalInspection',
@ -276,10 +280,16 @@ export default {
{ key: 5, label: `记录时间`, visible: false },
{ key: 6, label: `产品型号`, visible: true },
{ key: 7, label: `异常描述`, visible: true }
]
],
//
customData: null
}
},
created() {
//
getCustomData(387).then(response => {
this.customData = response.data.customData
})
const nowDate = parseTime(new Date(), '{y}-{m}-{d}')
this.daterangeRecordTime[0] = nowDate + ' 00:00:00'
this.daterangeRecordTime[1] = nowDate + ' 23:59:59'

@ -65,7 +65,10 @@
>导出
</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
<div style="float: right">
<span style="font-weight: 700; padding-right: 20px">{{ this.customData }}</span>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
</div>
</el-row>
<el-table v-loading="loading" :data="reportList" @selection-change="handleSelectionChange">
@ -107,6 +110,7 @@ import {
} from '@/api/report/reportAPI'
import { findProductLineList } from '@//api/base/productLine'
import { parseTime } from '@//utils/ruoyi'
import { getCustomData } from '@//api/base/customData'
export default {
name: 'ReportInfo',
@ -166,7 +170,9 @@ export default {
// 线
productLineList: [],
//
findStationList: []
findStationList: [],
//
customData: null
}
},
created() {
@ -176,6 +182,10 @@ export default {
findProductLineList({ productLineType: 2, stationType: 2 }).then(response => {
this.findStationList = response.data
})
//
getCustomData(385).then(response => {
this.customData = response.data.customData
})
const nowDate = parseTime(new Date(), '{y}-{m}-{d}')
this.daterangeBeginTime[0] = nowDate
this.daterangeBeginTime[1] = nowDate

@ -58,7 +58,10 @@
>导出
</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
<div style="float: right">
<span style="font-weight: 700; padding-right: 20px">{{ this.customData }}</span>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
</div>
</el-row>
<el-table v-loading="loading" :data="lastShotRecordList" @selection-change="handleSelectionChange">
@ -131,6 +134,7 @@ import {
} from '@/api/report/lastShotRecord'
import { findProductLineList } from '@//api/base/productLine'
import { parseTime } from '@//utils/ruoyi'
import { getCustomData } from '@//api/base/customData'
export default {
name: 'LastShotRecord',
@ -229,14 +233,19 @@ export default {
{ key: 30, label: `工位名称`, visible: true }
],
// 线
productLineList: []
productLineList: [],
//
customData: null
}
},
created() {
findProductLineList({ productLineType: 1 }).then(response => {
this.productLineList = response.data
})
//
getCustomData(389).then(response => {
this.customData = response.data.customData
})
this.type = this.$route.query.type;
const nowDate = parseTime(new Date(), '{y}-{m}-{d}')

@ -61,16 +61,16 @@
></el-option>
</el-select>
</el-form-item>
<!-- <el-form-item label="是否降级品" prop="isDowngrade">-->
<!-- <el-select v-model="queryParams.isDowngrade" placeholder="请选择是否降级品" clearable>-->
<!-- <el-option-->
<!-- v-for="item in isDowngradeList"-->
<!-- :key="item.key"-->
<!-- :label="item.label"-->
<!-- :value="item.key"-->
<!-- ></el-option>-->
<!-- </el-select>-->
<!-- </el-form-item>-->
<!-- <el-form-item label="是否降级品" prop="isDowngrade">-->
<!-- <el-select v-model="queryParams.isDowngrade" placeholder="请选择是否降级品" clearable>-->
<!-- <el-option-->
<!-- v-for="item in isDowngradeList"-->
<!-- :key="item.key"-->
<!-- :label="item.label"-->
<!-- :value="item.key"-->
<!-- ></el-option>-->
<!-- </el-select>-->
<!-- </el-form-item>-->
<el-form-item label="起止时间">
<el-date-picker
v-model="daterangeBeginTime"
@ -99,7 +99,10 @@
>导出
</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
<div style="float: right">
<span style="font-weight: 700; padding-right: 20px">{{ this.customData }}</span>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
</div>
</el-row>
<el-table v-loading="loading" :data="reportList" @selection-change="handleSelectionChange">
@ -199,6 +202,7 @@ import {
} from '@/api/report/reportAPI'
import { findProductLineList } from '@//api/base/productLine'
import { parseTime } from '@//utils/ruoyi'
import { getCustomData } from '@//api/base/customData'
export default {
name: 'ProductTraceabilityReport',
@ -262,13 +266,19 @@ export default {
// 线
productLineList: [],
//
findStationList: []
findStationList: [],
//
customData: null
}
},
created() {
findProductLineList({ productLineType: 1 }).then(response => {
this.productLineList = response.data
})
//
getCustomData(382).then(response => {
this.customData = response.data.customData
})
// findProductLineList({productLineType: 2}).then(response => {
// this.findStationList = response.data;
// });

@ -67,7 +67,10 @@
>缺陷明细导出
</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
<div style="float: right">
<span style="font-weight: 700; padding-right: 20px">{{ this.customData }}</span>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
</div>
</el-row>
<el-table v-loading="loading" :data="reportList" @selection-change="handleSelectionChange">
@ -146,6 +149,7 @@ import {
} from '@/api/report/reportAPI'
import { findProductLineList } from '@//api/base/productLine'
import { parseTime } from '@//utils/ruoyi'
import { getCustomData } from '@//api/base/customData'
export default {
name: 'ReportInfo',
@ -207,7 +211,9 @@ export default {
// 线
productLineList: [],
//
findStationList: []
findStationList: [],
//
customData: null
}
},
created() {
@ -217,6 +223,10 @@ export default {
findProductLineList({ productLineType: 2, stationType: 2 }).then(response => {
this.findStationList = response.data
})
//
getCustomData(384).then(response => {
this.customData = response.data.customData
})
const nowDate = parseTime(new Date(), '{y}-{m}-{d}')
this.daterangeBeginTime[0] = nowDate + ' 00:00:00'
this.daterangeBeginTime[1] = nowDate + ' 23:59:59'

@ -81,7 +81,10 @@
>导出
</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
<div style="float: right">
<span style="font-weight: 700; padding-right: 20px">{{ this.customData }}</span>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
</div>
</el-row>
<el-table v-loading="loading" :data="reportList" @selection-change="handleSelectionChange">
@ -121,6 +124,7 @@ import {
} from '@/api/report/reportAPI'
import { findProductLineList } from '@//api/base/productLine'
import { parseTime } from '@//utils/ruoyi'
import { getCustomData } from '@//api/base/customData'
export default {
name: 'ReportInfo',
@ -179,7 +183,9 @@ export default {
// 线
productLineList: [],
//
findStationList: []
findStationList: [],
//
customData: null
}
},
created() {
@ -189,6 +195,10 @@ export default {
findProductLineList({ productLineType: 2 }).then(response => {
this.findStationList = response.data
})
//
getCustomData(386).then(response => {
this.customData = response.data.customData
})
const nowDate = parseTime(new Date(), '{y}-{m}-{d}')
this.daterangeBeginTime[0] = nowDate + ' 00:00:00'
this.daterangeBeginTime[1] = nowDate + ' 23:59:59'

@ -89,7 +89,10 @@
>导出
</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
<div style="float: right">
<span style="font-weight: 700; padding-right: 20px">{{ this.customData }}</span>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
</div>
</el-row>
<el-table v-loading="loading" :data="reportList" @selection-change="handleSelectionChange">
@ -123,6 +126,7 @@ import {
import {findProductLineList} from '@//api/base/productLine'
import {parseTime} from '@//utils/ruoyi'
import Chart from "@/components/board/Chart";
import { getCustomData } from '@//api/base/customData'
const vw = (document.documentElement.clientWidth || document.body.clientWidth) / 100
export default {
@ -190,7 +194,9 @@ export default {
// 线
productLineList: [],
//
findStationList: []
findStationList: [],
//
customData: null
}
},
watch: {
@ -218,7 +224,10 @@ export default {
this.queryParams.endBeginTime = this.daterangeBeginTime[1]
// this.getList()
this.getChart()
//
getCustomData(383).then(response => {
this.customData = response.data.customData
})
},
methods: {
getChart() {

@ -78,7 +78,10 @@
@click="handleExport"
>导出</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
<div style="float: right">
<span style="font-weight: 700; padding-right: 20px">{{ this.customData }}</span>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
</div>
</el-row>
<el-table v-loading="loading" :data="productOffLineList" @selection-change="handleSelectionChange">
@ -126,6 +129,7 @@
import { listProductOffLine } from "@/api/report/productOffLine";
import { findProductLineList } from '@//api/base/productLine'
import { parseTime } from '@//utils/ruoyi'
import { getCustomData } from '@//api/base/customData'
export default {
name: "ProductOffLine",
data() {
@ -208,12 +212,17 @@ export default {
],
// 线
productLineList: [],
//
customData: null
};
},
created() {
findProductLineList({ productLineType: 1 }).then(response => {
this.productLineList = response.data
})
getCustomData(393).then(response => {
this.customData = response.data.customData
})
const nowDate = parseTime(new Date(), '{y}-{m}-{d}')
this.daterangeBeginTime[0] = nowDate + ' 00:00:00'
this.daterangeBeginTime[1] = nowDate + ' 23:59:59'

@ -70,7 +70,10 @@
>导出
</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
<div style="float: right">
<span style="font-weight: 700; padding-right: 20px">{{ this.customData }}</span>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
</div>
</el-row>
<el-table v-loading="loading" :data="temperatureHistoryList" @selection-change="handleSelectionChange">
@ -145,6 +148,7 @@ import {
updateTemperatureHistory
} from '@/api/report/temperatureHistory'
import { parseTime } from '@//utils/ruoyi'
import { getCustomData } from '@//api/base/customData'
export default {
name: 'TemperatureHistory',
@ -235,10 +239,16 @@ export default {
{ key: 25, label: `低压启动测试电压`, visible: true },
{ key: 26, label: `同步时间`, visible: true },
{ key: 27, label: `供电频率`, visible: true }
]
],
//
customData: null
}
},
created() {
//
getCustomData(388).then(response => {
this.customData = response.data.customData
})
const nowDate = parseTime(new Date(), '{y}-{m}-{d}')
this.daterangeBegindatetime[0] = nowDate + ' 00:00:00'
this.daterangeBegindatetime[1] = nowDate + ' 23:59:59'

Loading…
Cancel
Save