生产监控页面调整

dev-scheduling
zhangdi 2 weeks ago
parent 8a6f996f83
commit f9d965ad27
  1. 32
      src/views/productionManagement/blbWorkOrder/components/glass.vue
  2. 14
      src/views/productionManagement/blbWorkOrder/components/others.vue

@ -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);

@ -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,
@ -519,7 +530,7 @@ export default {
// //
clickProduction(row) { clickProduction(row) {
this.rowItem = row; this.rowItem = row;
this.monitorDialog = true; this.isWorkRateOpen = true;
}, },
// //
handlePrintTags() { handlePrintTags() {
@ -547,6 +558,7 @@ export default {
}, },
// //
closeDialog() { closeDialog() {
this.isWorkRateOpen=false
this.monitorDialog = false; this.monitorDialog = false;
this.showBatches = false; this.showBatches = false;
this.showClose = false; this.showClose = false;

Loading…
Cancel
Save