Merge branch 'projects/mesxc-test' of git.picaiba.com:mt-fe-group/yudao-dev into projects/mesxc-test
This commit is contained in:
commit
af347f7380
@ -2,7 +2,7 @@
|
|||||||
* @Author: zwq
|
* @Author: zwq
|
||||||
* @Date: 2021-07-19 15:18:30
|
* @Date: 2021-07-19 15:18:30
|
||||||
* @LastEditors: zhp
|
* @LastEditors: zhp
|
||||||
* @LastEditTime: 2024-01-18 14:06:05
|
* @LastEditTime: 2024-01-19 16:31:53
|
||||||
* @Description:
|
* @Description:
|
||||||
-->
|
-->
|
||||||
<template>
|
<template>
|
||||||
@ -14,7 +14,7 @@
|
|||||||
}">
|
}">
|
||||||
<img src="../../assets/img/logo.png" style="width:1.1em;position:relative;top:.22em" alt="">
|
<img src="../../assets/img/logo.png" style="width:1.1em;position:relative;top:.22em" alt="">
|
||||||
许昌安彩AGV原片周转看板
|
许昌安彩AGV原片周转看板
|
||||||
<h3 class="unit">单位:河南汇融科技服务有限公司</h3>
|
<h3 class="unit">单位:河南汇融数字科技有限公司</h3>
|
||||||
<h3 class="time">{{ times }}</h3>
|
<h3 class="time">{{ times }}</h3>
|
||||||
<!-- <el-button
|
<!-- <el-button
|
||||||
type="text"
|
type="text"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
* @Author: zwq
|
* @Author: zwq
|
||||||
* @Date: 2021-07-19 15:18:30
|
* @Date: 2021-07-19 15:18:30
|
||||||
* @LastEditors: zhp
|
* @LastEditors: zhp
|
||||||
* @LastEditTime: 2024-01-18 14:01:09
|
* @LastEditTime: 2024-01-22 16:04:14
|
||||||
* @Description:
|
* @Description:
|
||||||
-->
|
-->
|
||||||
<template>
|
<template>
|
||||||
@ -14,7 +14,7 @@
|
|||||||
}">
|
}">
|
||||||
<img src="../../assets/img/logo.png" style="width:1.1em;position:relative;top:.4em" alt="">
|
<img src="../../assets/img/logo.png" style="width:1.1em;position:relative;top:.4em" alt="">
|
||||||
许昌安彩冷端看板
|
许昌安彩冷端看板
|
||||||
<h3 class="unit">单位:河南汇融科技服务有限公司</h3>
|
<h3 class="unit">单位:河南汇融数字科技有限公司</h3>
|
||||||
<h3 class="time">{{ times }}</h3>
|
<h3 class="time">{{ times }}</h3>
|
||||||
<!-- <el-button
|
<!-- <el-button
|
||||||
type="text"
|
type="text"
|
||||||
@ -403,6 +403,18 @@ export default {
|
|||||||
this.beilv2 = _this.clientWidth / 1920
|
this.beilv2 = _this.clientWidth / 1920
|
||||||
})()
|
})()
|
||||||
}
|
}
|
||||||
|
// let obj = {
|
||||||
|
// 'a': 11111,
|
||||||
|
// 'b': 22222,
|
||||||
|
// 'c': 33333,
|
||||||
|
// 'd': 44444,
|
||||||
|
// 'e': 55555,
|
||||||
|
// }
|
||||||
|
// let index = 0
|
||||||
|
// for (let i in obj) {
|
||||||
|
// index++,
|
||||||
|
// console.log(index);
|
||||||
|
// }
|
||||||
// this.getList()
|
// this.getList()
|
||||||
// const _this = this;
|
// const _this = this;
|
||||||
// window.onresize = () => {
|
// window.onresize = () => {
|
||||||
@ -548,7 +560,11 @@ export default {
|
|||||||
// FanInfo
|
// FanInfo
|
||||||
if (this.funWsData.type === 'AnnealFanInfo') {
|
if (this.funWsData.type === 'AnnealFanInfo') {
|
||||||
let arr = []
|
let arr = []
|
||||||
|
let index = 0
|
||||||
for (let i in this.funWsData.data.annealFanInfo) {
|
for (let i in this.funWsData.data.annealFanInfo) {
|
||||||
|
index++,
|
||||||
|
// let index = 1,
|
||||||
|
// index++
|
||||||
// arr.push({
|
// arr.push({
|
||||||
// equipmentName: i,
|
// equipmentName: i,
|
||||||
// status: this.funWsData.data.annealFanInfo[i]
|
// status: this.funWsData.data.annealFanInfo[i]
|
||||||
@ -570,7 +586,9 @@ export default {
|
|||||||
}
|
}
|
||||||
if (this.funWsData.type === 'FanInfo') {
|
if (this.funWsData.type === 'FanInfo') {
|
||||||
let arr = []
|
let arr = []
|
||||||
|
let index = 0
|
||||||
for (let i in this.funWsData.data.fanInfo) {
|
for (let i in this.funWsData.data.fanInfo) {
|
||||||
|
index++,
|
||||||
// arr.push({
|
// arr.push({
|
||||||
// equipmentName: i,
|
// equipmentName: i,
|
||||||
// status: this.funWsData.data.fanInfo[i]
|
// status: this.funWsData.data.fanInfo[i]
|
||||||
@ -578,12 +596,10 @@ export default {
|
|||||||
arr.push([
|
arr.push([
|
||||||
// console.log(item)
|
// console.log(item)
|
||||||
`
|
`
|
||||||
<span style="color:rgba(255,255,255,0.5)" >${index + 1 || ''}
|
<span style="color:rgba(255,255,255,0.5)" >${index + 1 || ''}</span>`,
|
||||||
</span>`,
|
|
||||||
// formatDate(item.planStartTime) || '',
|
// formatDate(item.planStartTime) || '',
|
||||||
`
|
`
|
||||||
<span style="color:rgba(255,255,255,0.5)" >${i || ''}
|
<span style="color:rgba(255,255,255,0.5)" >${i || ''}</span>`,
|
||||||
</span>`,
|
|
||||||
`<span style="color:rgba(255,255,255,0.5)">${this.funWsData.data.fanInfo[i] || ''}</span>`,
|
`<span style="color:rgba(255,255,255,0.5)">${this.funWsData.data.fanInfo[i] || ''}</span>`,
|
||||||
])
|
])
|
||||||
}
|
}
|
||||||
@ -643,7 +659,6 @@ export default {
|
|||||||
])
|
])
|
||||||
this.cutConfig.data = cutArr
|
this.cutConfig.data = cutArr
|
||||||
this.$refs['cutScrollBoard'].updateRows(cutArr)
|
this.$refs['cutScrollBoard'].updateRows(cutArr)
|
||||||
|
|
||||||
} else if (this.cutWsData.type === 'cutting' && this.cutWsData.name === 'chart' && this.cutWsData.dateType === 'day') {
|
} else if (this.cutWsData.type === 'cutting' && this.cutWsData.name === 'chart' && this.cutWsData.dateType === 'day') {
|
||||||
let nameList = []
|
let nameList = []
|
||||||
let nameWasteList = []
|
let nameWasteList = []
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: zhp
|
* @Author: zhp
|
||||||
* @Date: 2023-12-27 13:54:52
|
* @Date: 2023-12-27 13:54:52
|
||||||
* @LastEditTime: 2024-01-17 10:09:36
|
* @LastEditTime: 2024-01-22 16:04:18
|
||||||
* @LastEditors: zhp
|
* @LastEditors: zhp
|
||||||
* @Description:
|
* @Description:
|
||||||
-->
|
-->
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
* @Author: zwq
|
* @Author: zwq
|
||||||
* @Date: 2021-07-19 15:18:30
|
* @Date: 2021-07-19 15:18:30
|
||||||
* @LastEditors: zhp
|
* @LastEditors: zhp
|
||||||
* @LastEditTime: 2024-01-18 13:57:38
|
* @LastEditTime: 2024-01-22 14:37:50
|
||||||
* @Description:
|
* @Description:
|
||||||
-->
|
-->
|
||||||
<template>
|
<template>
|
||||||
@ -14,7 +14,7 @@
|
|||||||
}">
|
}">
|
||||||
<img src="../../assets/img/logo.png" style="width:1.1em;position:relative;top:.22em" alt="">
|
<img src="../../assets/img/logo.png" style="width:1.1em;position:relative;top:.22em" alt="">
|
||||||
许昌安彩深加工看板
|
许昌安彩深加工看板
|
||||||
<h3 class="unit">单位:河南汇融科技服务有限公司</h3>
|
<h3 class="unit">单位:河南汇融数字科技有限公司</h3>
|
||||||
<h3 class="time">{{ times }}</h3>
|
<h3 class="time">{{ times }}</h3>
|
||||||
<!-- <el-button
|
<!-- <el-button
|
||||||
type="text"
|
type="text"
|
||||||
@ -446,43 +446,43 @@ const qualityMonthTableProps = [
|
|||||||
]
|
]
|
||||||
const qualityMonthList = [
|
const qualityMonthList = [
|
||||||
{
|
{
|
||||||
productionLineName: 'Y61',
|
productionLineName: 'D61',
|
||||||
sectionName: '成型',
|
sectionName: '成型',
|
||||||
count: '3片',
|
count: '3片',
|
||||||
inspectionTypeName: '细长泡'
|
inspectionTypeName: '细长泡'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
productionLineName: 'Y62',
|
productionLineName: 'D62',
|
||||||
sectionName: '组合落板',
|
sectionName: '组合落板',
|
||||||
count: '4片',
|
count: '4片',
|
||||||
inspectionTypeName: '细长泡'
|
inspectionTypeName: '细长泡'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
productionLineName: 'Y61',
|
productionLineName: 'D61',
|
||||||
sectionName: '磨边',
|
sectionName: '磨边',
|
||||||
count: '6片',
|
count: '6片',
|
||||||
inspectionTypeName: '开口泡'
|
inspectionTypeName: '开口泡'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
productionLineName: 'Y63',
|
productionLineName: 'D63',
|
||||||
sectionName: '清洗',
|
sectionName: '清洗',
|
||||||
count: '5片',
|
count: '5片',
|
||||||
inspectionTypeName: '结石'
|
inspectionTypeName: '结石'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
productionLineName: 'Y64',
|
productionLineName: 'D64',
|
||||||
sectionName: '打孔',
|
sectionName: '打孔',
|
||||||
count: '2片',
|
count: '2片',
|
||||||
inspectionTypeName: '结石'
|
inspectionTypeName: '结石'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
productionLineName: 'Y63',
|
productionLineName: 'D63',
|
||||||
sectionName: '成型',
|
sectionName: '成型',
|
||||||
count: '7片',
|
count: '7片',
|
||||||
inspectionTypeName: '开口泡'
|
inspectionTypeName: '开口泡'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
productionLineName: 'Y61',
|
productionLineName: 'D61',
|
||||||
sectionName: '上片',
|
sectionName: '上片',
|
||||||
count: '8片',
|
count: '8片',
|
||||||
inspectionTypeName: '结石'
|
inspectionTypeName: '结石'
|
||||||
@ -615,8 +615,8 @@ export default {
|
|||||||
this.initWebSocket()
|
this.initWebSocket()
|
||||||
this.SJGInitWebSocket()
|
this.SJGInitWebSocket()
|
||||||
this.getTimes()
|
this.getTimes()
|
||||||
this.$refs.EnergyMonitoringChart.initChart(['Y61', 'Y62', 'Y63', 'Y64', 'Y65',], [3134, 2323, 3232, 3233, 2321])
|
// this.$refs.EnergyMonitoringChart.initChart(['Y61', 'Y62', 'Y63', 'Y64', 'Y65',], [3134, 2323, 3232, 3233, 2321])
|
||||||
this.$refs.productLineChart.initChart(['Y61', 'Y62', 'Y63', 'Y64', 'Y65',], [98, 97, 98.7, 98.5, 98.3,], [3134, 2323, 3232, 3233, 2321])
|
// this.$refs.productLineChart.initChart(['Y61', 'Y62', 'Y63', 'Y64', 'Y65',], [98, 97, 98.7, 98.5, 98.3,], [3134, 2323, 3232, 3233, 2321])
|
||||||
const _this = this;
|
const _this = this;
|
||||||
_this.beilv2 = document.documentElement.clientWidth / 1920
|
_this.beilv2 = document.documentElement.clientWidth / 1920
|
||||||
window.onresize = () => {
|
window.onresize = () => {
|
||||||
@ -843,7 +843,7 @@ export default {
|
|||||||
// console.log(this.EnergyMonitoringNameList)
|
// console.log(this.EnergyMonitoringNameList)
|
||||||
// console.log(this.EnergyMonitoringList)
|
// console.log(this.EnergyMonitoringList)
|
||||||
// this.$nextTick(() => {
|
// this.$nextTick(() => {
|
||||||
// this.$refs.productLineChart.initChart(Array.from(new Set(nameList)), passRateList, outputNumList)
|
this.$refs.productLineChart.initChart(Array.from(new Set(nameList)), passRateList, outputNumList)
|
||||||
} else {
|
} else {
|
||||||
console.log(this.qualityYearList);
|
console.log(this.qualityYearList);
|
||||||
|
|
||||||
@ -907,7 +907,7 @@ export default {
|
|||||||
// console.log(this.EnergyMonitoringNameList)
|
// console.log(this.EnergyMonitoringNameList)
|
||||||
// console.log(this.EnergyMonitoringList)
|
// console.log(this.EnergyMonitoringList)
|
||||||
// this.$nextTick(() => {
|
// this.$nextTick(() => {
|
||||||
// this.$refs.EnergyMonitoringChart.initChart(this.EnergyMonitoringNameList, this.EnergyMonitoringList)
|
this.$refs.EnergyMonitoringChart.initChart(this.EnergyMonitoringNameList, this.EnergyMonitoringList)
|
||||||
// })
|
// })
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: zhp
|
* @Author: zhp
|
||||||
* @Date: 2023-10-17 16:50:19
|
* @Date: 2023-10-17 16:50:19
|
||||||
* @LastEditTime: 2023-12-04 13:43:19
|
* @LastEditTime: 2024-01-22 09:55:32
|
||||||
* @LastEditors: zhp
|
* @LastEditors: zhp
|
||||||
* @Description:
|
* @Description:
|
||||||
-->
|
-->
|
||||||
@ -282,7 +282,6 @@ export default {
|
|||||||
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs['dataForm'].resetFields();
|
this.$refs['dataForm'].resetFields();
|
||||||
|
|
||||||
if (this.dataForm.id) {
|
if (this.dataForm.id) {
|
||||||
// 获取产品详情
|
// 获取产品详情
|
||||||
getPackingModel(id).then((response) => {
|
getPackingModel(id).then((response) => {
|
||||||
|
@ -140,10 +140,10 @@ export default {
|
|||||||
init(obj) {
|
init(obj) {
|
||||||
// console.log(productionLineId);
|
// console.log(productionLineId);
|
||||||
console.log(obj);
|
console.log(obj);
|
||||||
this.visible = true;
|
this.visible = true
|
||||||
// if(obj.id)
|
// if(obj.id)
|
||||||
if (obj) {
|
if (obj) {
|
||||||
this.dataForm.id = obj.id ? obj.id : ""
|
this.dataForm.id = obj.id || null;
|
||||||
}
|
}
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs["dataForm"].resetFields()
|
this.$refs["dataForm"].resetFields()
|
||||||
@ -154,13 +154,16 @@ export default {
|
|||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
console.log(res);
|
console.log(res);
|
||||||
this.dataForm.inspectionDetIdList = res.data
|
this.dataForm.inspectionDetIdList = res.data
|
||||||
|
this.dataForm.productionLineId = obj.productionLineId
|
||||||
|
this.getWorksectionList(obj.productionLineId)
|
||||||
|
this.dataForm.sectionId = obj.sectionId
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
if (this.dataForm.id) {
|
if (this.dataForm.id) {
|
||||||
|
console.log(1111);
|
||||||
this.urlOptions.infoURL(obj.id).then(response => {
|
this.urlOptions.infoURL(obj.id).then(response => {
|
||||||
this.dataForm.id = response.data.id
|
this.dataForm.id = response.data.id
|
||||||
this.dataForm.productionLineId = response.data.productionLineId
|
|
||||||
this.dataForm.sectionId = response.data.sectionId
|
|
||||||
// if (this.setData) {
|
// if (this.setData) {
|
||||||
// this.setDataForm()
|
// this.setDataForm()
|
||||||
// }
|
// }
|
||||||
@ -261,10 +264,10 @@ export default {
|
|||||||
this.$emit('update', this.dataForm);
|
this.$emit('update', this.dataForm);
|
||||||
},
|
},
|
||||||
|
|
||||||
async getCode(url) {
|
// async getCode(url) {
|
||||||
const response = await this.$axios(url);
|
// const response = await this.$axios(url);
|
||||||
return response.data;
|
// return response.data;
|
||||||
},
|
// },
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: zhp
|
* @Author: zhp
|
||||||
* @Date: 2023-12-08 13:46:17
|
* @Date: 2023-12-08 13:46:17
|
||||||
* @LastEditTime: 2024-01-16 14:59:33
|
* @LastEditTime: 2024-01-22 15:29:53
|
||||||
* @LastEditors: zhp
|
* @LastEditors: zhp
|
||||||
* @Description:
|
* @Description:
|
||||||
-->
|
-->
|
||||||
@ -92,13 +92,13 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="4">
|
<el-col :span="4">
|
||||||
<el-form-item :prop="'checkValueList.' + index + '.minValue'" label="最小值"
|
<el-form-item :prop="'checkValueList.' + index + '.minValue'" label="最小值"
|
||||||
:rules="[{ required: true, message: '最小值', trigger: 'blur' }]">
|
>
|
||||||
<el-input disabled style="width: 90%;margin-right: 10px;" v-model="item.minValue"></el-input>
|
<el-input disabled style="width: 90%;margin-right: 10px;" v-model="item.minValue"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="4">
|
<el-col :span="4">
|
||||||
<el-form-item :prop="'checkValueList.' + index + '.minValue'" label="最大值"
|
<el-form-item :prop="'checkValueList.' + index + '.minValue'" label="最大值"
|
||||||
:rules="[{ required: true, message: '最大值', trigger: 'blur' }]">
|
>
|
||||||
<el-input disabled style="width: 90%;margin-right: 10px;" v-model="item.maxValue"></el-input>
|
<el-input disabled style="width: 90%;margin-right: 10px;" v-model="item.maxValue"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
@ -257,6 +257,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
judgeValue(val, minValue, maxValue, index) {
|
judgeValue(val, minValue, maxValue, index) {
|
||||||
if (val >= minValue && val <= maxValue) {
|
if (val >= minValue && val <= maxValue) {
|
||||||
|
console.log(val)
|
||||||
this.dataForm.checkValueList[index].showIcon = true
|
this.dataForm.checkValueList[index].showIcon = true
|
||||||
this.dataForm.checkValueList[index].isStandard = true
|
this.dataForm.checkValueList[index].isStandard = true
|
||||||
} else {
|
} else {
|
||||||
@ -483,6 +484,7 @@ export default {
|
|||||||
minValue: ele.minValue
|
minValue: ele.minValue
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
console.log(valueList);
|
||||||
getQualityHotMaterialDetList({
|
getQualityHotMaterialDetList({
|
||||||
mainId: response.data.id
|
mainId: response.data.id
|
||||||
}).then((result) => {
|
}).then((result) => {
|
||||||
@ -490,7 +492,7 @@ export default {
|
|||||||
return {
|
return {
|
||||||
name: ele.checkName,
|
name: ele.checkName,
|
||||||
id: ele.id,
|
id: ele.id,
|
||||||
checkDetId: ele.id,
|
checkDetId: ele.checkDetId,
|
||||||
checkValue: ele.checkValue,
|
checkValue: ele.checkValue,
|
||||||
maxValue:null,
|
maxValue:null,
|
||||||
minValue: null
|
minValue: null
|
||||||
@ -501,28 +503,31 @@ export default {
|
|||||||
return {
|
return {
|
||||||
mainId: ele.mainId,
|
mainId: ele.mainId,
|
||||||
id: ele.id,
|
id: ele.id,
|
||||||
checkDetId: ele.id,
|
checkDetId: ele.checkDetId,
|
||||||
checkValue: ele.checkValue,
|
checkValue: ele.checkValue,
|
||||||
isStandard: true,
|
isStandard: true,
|
||||||
showIcon: false,
|
showIcon: false,
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
valueList.forEach((ele, index) => {
|
this.ingredientList.forEach((ele, i) => {
|
||||||
if (this.ingredientList[index].checkDetId >= ele.checkDetId) {
|
valueList.forEach((item, index) => {
|
||||||
this.ingredientList[index].minValue = ele.minValue
|
if (ele.checkDetId == item.checkDetId) {
|
||||||
this.ingredientList[index].maxValue = ele.maxValue
|
this.ingredientList[i].minValue = item.minValue
|
||||||
|
this.ingredientList[i].maxValue = item.maxValue
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
})
|
||||||
valueList.forEach((ele, index) => {
|
valueList.forEach((ele, index) => {
|
||||||
console.log(ele);
|
this.dataForm.checkValueList.forEach((item, i) => {
|
||||||
if (this.dataForm.checkValueList[index].checkDetId >= ele.checkDetId && this.dataForm.checkValueList[index].checkValue >= ele.minValue && this.dataForm.checkValueList[index].checkValue <= ele.maxValue) {
|
if (ele.checkDetId == item.checkDetId && item.checkValue >= ele.minValue && item.checkValue <= ele.maxValue) {
|
||||||
this.dataForm.checkValueList[index].showIcon = true
|
console.log(1111)
|
||||||
this.dataForm.checkValueList[index].isStandard = true
|
item.showIcon = true
|
||||||
|
item.isStandard = true
|
||||||
} else {
|
} else {
|
||||||
this.dataForm.checkValueList[index].showIcon = true
|
item.showIcon = true
|
||||||
this.dataForm.checkValueList[index].isStandard = false
|
item.isStandard = false
|
||||||
}
|
}
|
||||||
// })
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
@ -53,8 +53,9 @@ const tableProps = [
|
|||||||
label: '取样人'
|
label: '取样人'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
prop: 'appearance',
|
prop: 'checkResult',
|
||||||
label: '是否合格'
|
label: '是否合格',
|
||||||
|
filter: (val) => val == false ? '不合格' : '合格' ,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
prop: 'materialGrade',
|
prop: 'materialGrade',
|
||||||
|
Loading…
Reference in New Issue
Block a user