|
|
|
@ -96,6 +96,14 @@ |
|
|
|
v-if="isPriorityOpen" |
|
|
|
v-if="isPriorityOpen" |
|
|
|
@closeDialog="closeDialog" |
|
|
|
@closeDialog="closeDialog" |
|
|
|
></productionMonitoringDialog> |
|
|
|
></productionMonitoringDialog> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 生产监控 --> |
|
|
|
|
|
|
|
<workRate |
|
|
|
|
|
|
|
v-if="isWorkRateOpen" |
|
|
|
|
|
|
|
:showDialog="isWorkRateOpen" |
|
|
|
|
|
|
|
@closeDialog="closeDialog" |
|
|
|
|
|
|
|
:rowItem="rowItem" |
|
|
|
|
|
|
|
></workRate> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
@ -107,6 +115,7 @@ import abnormalDialog from './abnormalDialog.vue'; |
|
|
|
import productionMonitoringDialog from '../../components/productionMonitoringDialog.vue'; |
|
|
|
import productionMonitoringDialog from '../../components/productionMonitoringDialog.vue'; |
|
|
|
|
|
|
|
|
|
|
|
import { getList } from '@/api/productionManagement/sinTerWorkOrder'; |
|
|
|
import { getList } from '@/api/productionManagement/sinTerWorkOrder'; |
|
|
|
|
|
|
|
import workRate from '@/views/workRate/index.vue'; |
|
|
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
export default { |
|
|
|
components: { |
|
|
|
components: { |
|
|
|
@ -115,9 +124,11 @@ export default { |
|
|
|
closedDialog, |
|
|
|
closedDialog, |
|
|
|
abnormalDialog, |
|
|
|
abnormalDialog, |
|
|
|
productionMonitoringDialog, |
|
|
|
productionMonitoringDialog, |
|
|
|
|
|
|
|
workRate |
|
|
|
}, |
|
|
|
}, |
|
|
|
data() { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
return { |
|
|
|
|
|
|
|
isWorkRateOpen:false, |
|
|
|
itemData: [], //存数据 |
|
|
|
itemData: [], //存数据 |
|
|
|
isPriorityOpen: false, |
|
|
|
isPriorityOpen: false, |
|
|
|
showAbnormal: false, |
|
|
|
showAbnormal: false, |
|
|
|
@ -486,6 +497,16 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
mounted() {}, |
|
|
|
mounted() {}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
|
|
|
|
// 关闭弹窗 |
|
|
|
|
|
|
|
closeDialog() { |
|
|
|
|
|
|
|
this.isWorkRateOpen=false |
|
|
|
|
|
|
|
this.monitorDialog = false; |
|
|
|
|
|
|
|
this.showBatches = false; |
|
|
|
|
|
|
|
this.showClose = false; |
|
|
|
|
|
|
|
this.showAbnormal = false; |
|
|
|
|
|
|
|
this.isPriorityOpen = false; |
|
|
|
|
|
|
|
this.onLoad(this.page, this.query); |
|
|
|
|
|
|
|
}, |
|
|
|
printCraftCard_new(row){ |
|
|
|
printCraftCard_new(row){ |
|
|
|
window.open(window.PROCESS_FLOW_CARD_HEAT_SINTER+'?woId='+row.woId); |
|
|
|
window.open(window.PROCESS_FLOW_CARD_HEAT_SINTER+'?woId='+row.woId); |
|
|
|
}, |
|
|
|
}, |
|
|
|
@ -517,7 +538,7 @@ export default { |
|
|
|
// 生产监控 |
|
|
|
// 生产监控 |
|
|
|
clickProduction(row) { |
|
|
|
clickProduction(row) { |
|
|
|
this.rowItem = row; |
|
|
|
this.rowItem = row; |
|
|
|
this.monitorDialog = true; |
|
|
|
this.isWorkRateOpen = true; |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 打印标签 |
|
|
|
// 打印标签 |
|
|
|
handlePrintTags() { |
|
|
|
handlePrintTags() { |
|
|
|
@ -543,15 +564,6 @@ export default { |
|
|
|
this.itemData = [row]; |
|
|
|
this.itemData = [row]; |
|
|
|
this.showAbnormal = true; |
|
|
|
this.showAbnormal = true; |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 关闭弹窗 |
|
|
|
|
|
|
|
closeDialog() { |
|
|
|
|
|
|
|
this.monitorDialog = false; |
|
|
|
|
|
|
|
this.showBatches = false; |
|
|
|
|
|
|
|
this.showClose = false; |
|
|
|
|
|
|
|
this.showAbnormal = false; |
|
|
|
|
|
|
|
this.isPriorityOpen = false; |
|
|
|
|
|
|
|
this.onLoad(this.page, this.query); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
currentChange(currentPage) { |
|
|
|
currentChange(currentPage) { |
|
|
|
this.page.currentPage = currentPage; |
|
|
|
this.page.currentPage = currentPage; |
|
|
|
this.onLoad(this.page, this.query); |
|
|
|
this.onLoad(this.page, this.query); |
|
|
|
|