projects/mesxc-dy #278

Scalone
juzi scala 2 commity/ów z projects/mesxc-dy do projects/mesxc-test 2024-03-26 16:56:55 +08:00
5 zmienionych plików z 19 dodań i 10 usunięć

Wyświetl plik

@ -18,6 +18,15 @@ export function getSchedulingMonitoringRecord(query) {
})
}
// 获得不同产线每小时报废数据,用于班组检测 班组生产情况详情(动态结构)
export function getSchedulingMonitoringRecord1(query) {
return request({
url: '/base/quality-inspection-record/getSchedulingMonitoringRecord24h',
method: 'get',
params: query
})
}
// 获得所有列表
export function groupClassesListAll(query) {
return request({

Wyświetl plik

@ -26,7 +26,7 @@
<script>
import { getPdlDataOneDay } from '@/api/core/monitoring/data24'
import { parseTime } from '../../mixins/code-filter';
import { getSchedulingMonitoringRecord } from '@/api/monitoring/teamProduction'
import { getSchedulingMonitoringRecord1 } from '@/api/monitoring/teamProduction'
export default {
name: 'productionLineData24',
@ -88,7 +88,7 @@ export default {
}
this.tableProps = this.arr
const paramsTime = [parseTime(timeArr[0]), parseTime(timeArr[23])]
await getSchedulingMonitoringRecord({checkTime: paramsTime}).then(res =>{
await getSchedulingMonitoringRecord1({checkTime: paramsTime}).then(res =>{
//
this.monitorList = res.data.data
console.log('报废', this.monitorList)

Wyświetl plik

@ -46,9 +46,9 @@
<el-table-column
v-if="selectedBox[2]"
label="巡检时间"
prop="planCheckTime">
prop="actualCheckTime">
<template slot-scope="scope">
{{ scope.row.planCheckTime | timeFilter }}
{{ scope.row.actualCheckTime | timeFilter }}
</template>
</el-table-column>
<el-table-column

Wyświetl plik

@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2021-11-18 14:16:25
* @LastEditors: DY
* @LastEditTime: 2024-03-20 17:58:29
* @LastEditTime: 2024-03-25 15:44:49
* @Description:
-->
<template>
@ -85,12 +85,12 @@
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="巡检时间" prop="planCheckTime">
<el-form-item label="实际巡检时间" prop="actualCheckTime">
<el-date-picker
v-model="dataForm.planCheckTime"
v-model="dataForm.actualCheckTime"
type="datetime"
:disabled="isdetail"
placeholder="请选择巡检时间"
placeholder="请选择实际巡检时间"
value-format="timestamp"
style="width: 100%" />
</el-form-item>
@ -250,7 +250,7 @@ export default {
departmentId: undefined,
groupClass: [],
checkPerson: [],
planCheckTime: undefined
actualCheckTime: undefined
},
detList: [],
groupOptions: [],

Wyświetl plik

@ -120,7 +120,7 @@ export default {
tableProps: [
{ prop: 'name', label: '巡检单名称' },
{ prop: 'department', label: '部门' },
{ prop: 'planCheckTime', label: '巡检时间', filter: parseTime },
{ prop: 'actualCheckTime', label: '巡检时间', filter: parseTime },
{ prop: 'groupClass', label: '班次' },
// { prop: 'opt', label: '', name: '', subcomponent: btn },
{ prop: 'remark', label: '备注' }