diff --git a/src/api/productionSchedulingPlan/scheduling.js b/src/api/productionSchedulingPlan/scheduling.js
index 7952460..5c21aa2 100644
--- a/src/api/productionSchedulingPlan/scheduling.js
+++ b/src/api/productionSchedulingPlan/scheduling.js
@@ -72,3 +72,51 @@ export const getQualificationExecuteAnalysis = (current, size, params) => {
},
});
};
+
+// 生产执行(作业中心)workOrder/selectCenterExecuteList
+export const getCenterExecuteList = params => {
+ return request({
+ url: '/blade-scheduling/workOrder/selectCenterExecuteList',
+ method: 'get',
+ params: params
+ });
+};
+
+// 订单执行明细/workOrder/selectOrderExecuteDetailPage
+export const getOrderExecuteDetailPage = (current, size, params) => {
+ return request({
+ url: '/blade-scheduling/workOrder/selectOrderExecuteDetailPage',
+ method: 'get',
+ params: {
+ ...params,
+ current,
+ size,
+ },
+ });
+};
+
+//执行分析 工序
+export const getProcessExecutePage = (current, size, params) => {
+ return request({
+ url: '/blade-scheduling/workOrder/selectProcessExecutePage',
+ method: 'get',
+ params: {
+ ...params,
+ current,
+ size,
+ },
+ });
+};
+
+// 执行分析 工序执行明细 workOrder/selectProcessExecuteDetailPage
+export const getProcessExecuteDetailPage = (current, size, params) => {
+ return request({
+ url: '/blade-scheduling/workOrder/selectProcessExecuteDetailPage',
+ method: 'get',
+ params: {
+ ...params,
+ current,
+ size,
+ },
+ });
+};
\ No newline at end of file
diff --git a/src/views/processManagement/components/indateDailog.vue b/src/views/processManagement/components/indateDailog.vue
index 3573a30..6f07aac 100644
--- a/src/views/processManagement/components/indateDailog.vue
+++ b/src/views/processManagement/components/indateDailog.vue
@@ -1,214 +1,228 @@
-
-
+
+
-
+
+
-
-
-
-
-
-
+
+
+
+
diff --git a/src/views/processManagement/components/processMainte/dsPartIndex.vue b/src/views/processManagement/components/processMainte/dsPartIndex.vue
index c17abe3..5bc7f27 100644
--- a/src/views/processManagement/components/processMainte/dsPartIndex.vue
+++ b/src/views/processManagement/components/processMainte/dsPartIndex.vue
@@ -14,7 +14,7 @@
-
工艺版本:{{partVersion}}
+
工艺版本:{{partVersion}}5555
diff --git a/src/views/processManagement/components/processMainte/partDetails.vue b/src/views/processManagement/components/processMainte/partDetails.vue
index 68a3dfe..d581c1d 100644
--- a/src/views/processManagement/components/processMainte/partDetails.vue
+++ b/src/views/processManagement/components/processMainte/partDetails.vue
@@ -11,7 +11,6 @@
工艺版本:
diff --git a/src/views/processManagement/components/processMainte/processPlanning.vue b/src/views/processManagement/components/processMainte/processPlanning.vue
index b804340..53a3d1b 100644
--- a/src/views/processManagement/components/processMainte/processPlanning.vue
+++ b/src/views/processManagement/components/processMainte/processPlanning.vue
@@ -22,8 +22,10 @@
{
this.data = this.transformCraftTree(res.data.data);
this.partInfoData = res.data.data.partInfo;
+ this.$nextTick(() => {
+ this.autoSelectFirstProcess();
+ });
if (this.partInfoData.partName == '石墨模') {
let graphite = this.modelOption.find(item => item.name == '石墨模');
this.modelLevel = graphite.id;
@@ -843,6 +848,21 @@ export default {
}
});
},
+ autoSelectFirstProcess() {
+ if (!this.data?.[0]?.children?.length) return;
+
+ // 获取第一个二级节点(工艺节点)
+ const firstCraft = this.data[0].children[0];
+
+ // 手动触发点击事件
+ this.handleNodeClick(firstCraft, {
+ level: 2,
+ parent: {
+ data: this.data[0],
+ isRoot: false,
+ },
+ });
+ },
// 组织树转换
transformCraftTree(responseData) {
const { partInfo, craftList } = responseData;
@@ -861,29 +881,22 @@ export default {
return {
...craftInfo,
+ id: craftInfo.id || `craft_${craftInfo.craftNo}`, // 👈 确保有唯一 id
label: craftLabel,
- processList: processList.map(process => {
- return process.processInfo;
- }),
- rawData: craftInfo, // 保存工艺原始数据
+ processList: processList.map(process => process.processInfo),
+ rawData: craftInfo,
children: processList.map(process => {
const { processInfo, projectList, measuringToolList, moldToolList } = process;
- // 三级节点:工序名称
- const processLabel = processInfo.processName;
-
return {
...processInfo,
- label: processLabel,
- rawData: {
- processInfo,
- projectList,
- measuringToolList,
- moldToolList,
- }, // 保存工序及关联数据
+ id: processInfo.id || `process_${processInfo.processNo}`, // 👈 三级节点也需 id
+ label: processInfo.processName,
+ rawData: { processInfo, projectList, measuringToolList, moldToolList },
children: projectList.map(project => ({
- label: project.projectName, // 四级节点:项目名称
- rawData: project, // 保存项目原始数据
+ label: project.projectName,
+ rawData: project,
disabled: true,
+ id: project.id || `project_${project.projectCode}`, // 👈 四级节点 id
})),
};
}),
diff --git a/src/views/processManagement/taskProcessing.vue b/src/views/processManagement/taskProcessing.vue
index 3d94370..0a0b5e7 100644
--- a/src/views/processManagement/taskProcessing.vue
+++ b/src/views/processManagement/taskProcessing.vue
@@ -48,7 +48,8 @@
v-if="scope.row.taskStatus == 2"
>完成
- 转派
diff --git a/src/views/productionSchedulingPlan/schedulingDashboard/container.vue b/src/views/productionSchedulingPlan/schedulingDashboard/container.vue
index 67d8da5..5bc6591 100644
--- a/src/views/productionSchedulingPlan/schedulingDashboard/container.vue
+++ b/src/views/productionSchedulingPlan/schedulingDashboard/container.vue
@@ -515,7 +515,7 @@ export default {
currentViewEndTime: null, // 当前视图结束时间
legendStatus: {
- completed: false,
+ completed: true,
processing: true,
pending: true,
},
@@ -951,7 +951,7 @@ export default {
}
// 如果是重置操作,也应触发图例状态同步
if (type === 'reset') {
- this.legendStatus.completed = false;
+ this.legendStatus.completed = true;
this.legendStatus.processing = true;
this.legendStatus.pending = true;
this.handleLegendChange('reset');
@@ -1305,7 +1305,7 @@ export default {
batchNo: '', //批次号
planStatusList: ['1', '2', '3'],
};
- this.legendStatus.completed = false;
+ this.legendStatus.completed = true;
this.legendStatus.processing = true;
this.legendStatus.pending = true;
diff --git a/src/views/productionSchedulingPlan/statisticalAnalysis/production/executionProcess.vue b/src/views/productionSchedulingPlan/statisticalAnalysis/production/executionProcess.vue
index 87ac23e..b8edca9 100644
--- a/src/views/productionSchedulingPlan/statisticalAnalysis/production/executionProcess.vue
+++ b/src/views/productionSchedulingPlan/statisticalAnalysis/production/executionProcess.vue
@@ -15,41 +15,59 @@
@current-change="currentChange"
@size-change="sizeChange"
@refresh-change="refreshChange"
- @on-load="onLoad"
>
-
- {{ scope.row.tiqiankaigong }}
+
+ {{ scope.row.earlyStartCount }}({{
+ scope.row.earlyStartCountRate == '0' ? '0%' : scope.row.earlyStartCountRate
+ }})
-
- {{ scope.row.zhunshikaigong }}
+
+ {{ scope.row.onTimeStartCount }}({{
+ scope.row.onTimeStartCountRate == '0' ? '0%' : scope.row.onTimeStartCountRate
+ }})
-
- {{ scope.row.yanchikaigong }}
+
+ {{ scope.row.delayStartCount }}({{
+ scope.row.delayStartCountRate == '0' ? '0%' : scope.row.delayStartCountRate
+ }})
-
- {{ scope.row.tiqianwangong }}
+
+ {{ scope.row.earlyFinishCount }}({{
+ scope.row.earlyFinishCountRate == '0' ? '0%' : scope.row.earlyFinishCountRate
+ }})
-
- {{ scope.row.zhunshiwangong }}
+
+ {{ scope.row.onTimeFinishCount }}({{
+ scope.row.onTimeFinishCountRate == '0' ? '0%' : scope.row.onTimeFinishCountRate
+ }})
-
- {{ scope.row.yanchiwangong }}
+
+ {{ scope.row.delayFinishCount }}({{
+ scope.row.delayFinishCountRate == '0' ? '0%' : scope.row.delayFinishCountRate
+ }})