|
|
|
|
@ -107,6 +107,15 @@ |
|
|
|
|
:itemData="itemData" |
|
|
|
|
@closeDialog="closeDialog" |
|
|
|
|
></productionMonitoringDialog> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 生产监控 --> |
|
|
|
|
<workRate |
|
|
|
|
v-if="isWorkRateOpen" |
|
|
|
|
:showDialog="isWorkRateOpen" |
|
|
|
|
@closeDialog="closeDialog" |
|
|
|
|
:rowItem="rowItem" |
|
|
|
|
></workRate> |
|
|
|
|
</basic-container> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
@ -118,6 +127,8 @@ import abnormalDialog from '../components/abnormalDialog.vue'; |
|
|
|
|
import productionMonitoringDialog from '../components/productionMonitoringDialog.vue'; |
|
|
|
|
|
|
|
|
|
import { getList, interlocking } from '@/api/productionManagement/sinTerWorkOrder'; |
|
|
|
|
import workRate from '@/views/workRate/index.vue'; |
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
|
components: { |
|
|
|
|
productionDialog, |
|
|
|
|
@ -125,11 +136,12 @@ export default { |
|
|
|
|
closedDialog, |
|
|
|
|
abnormalDialog, |
|
|
|
|
productionMonitoringDialog, |
|
|
|
|
workRate |
|
|
|
|
}, |
|
|
|
|
data() { |
|
|
|
|
return { |
|
|
|
|
itemData: [], |
|
|
|
|
|
|
|
|
|
isWorkRateOpen: false, |
|
|
|
|
isPriorityOpen: false, |
|
|
|
|
showAbnormal: false, |
|
|
|
|
showRadio: true, |
|
|
|
|
@ -557,8 +569,8 @@ export default { |
|
|
|
|
}, |
|
|
|
|
// 生产监控 |
|
|
|
|
clickProduction(row) { |
|
|
|
|
this.rowItem = row; |
|
|
|
|
this.monitorDialog = true; |
|
|
|
|
this.rowItem = row; |
|
|
|
|
this.isWorkRateOpen = true; |
|
|
|
|
}, |
|
|
|
|
// 打印标签 |
|
|
|
|
handlePrintTags() { |
|
|
|
|
@ -613,6 +625,7 @@ export default { |
|
|
|
|
this.showClose = false; |
|
|
|
|
this.showAbnormal = false; |
|
|
|
|
this.isPriorityOpen = false; |
|
|
|
|
this.isWorkRateOpen = false; |
|
|
|
|
// if (type) { |
|
|
|
|
this.onLoad(this.page, this.query); |
|
|
|
|
// } |
|
|
|
|
|