diff --git a/src/api/model/enm.js b/src/api/model/enm.js
index 3ab8b32c..a263a51a 100644
--- a/src/api/model/enm.js
+++ b/src/api/model/enm.js
@@ -209,7 +209,7 @@ export default {
},
},
enstat: {
- name: "测点原始记录",
+ name: "工段统计记录",
req: async function(data){
return await http.get(
`${config.API_URL}/enm/enstat/`,
@@ -217,6 +217,15 @@ export default {
);
}
},
+ enstat_update: {
+ name: "工段统计记录编辑备注",
+ req: async function(id, data){
+ return await http.put(
+ `${config.API_URL}/enm/enstat/${id}/`,
+ data
+ );
+ }
+ },
analyze: {
name: "一段时间范围的工段分析数据",
req: async function(data){
diff --git a/src/config/route.js b/src/config/route.js
index d7c6f98b..6bc0891c 100644
--- a/src/config/route.js
+++ b/src/config/route.js
@@ -1379,7 +1379,7 @@ const routes = [
meta: {
title: "生产二部记录",
// icon: "el-icon-cellphone",
- perms: ["wpm"],
+ // perms: ["wpm"],
hidden: true,
},
component: "wpm/worktaskFlog",
@@ -1390,7 +1390,7 @@ const routes = [
meta: {
title: "生产二部",
// icon: "el-icon-cellphone",
- perms: ["wpm"],
+ perms: ["mlog_dept6"],
},
children: [
{
@@ -2968,7 +2968,7 @@ const routes = [
hidden: true,
},
component: "enm_rm/logDetail",
- },
+ },
{
name: "srule",
path: "/enm_base/srule",
@@ -2977,7 +2977,7 @@ const routes = [
perms: ["srule"],
},
component: "mtm/srule",
- },
+ },
],
},
//每月配置
@@ -3445,7 +3445,7 @@ const routes = [
},
component: "statistics/task_rate_gx.vue",
},
- //人员绩效统计——光芯
+ //人员绩效统计——光芯
{
path: "/work_statistics",
name: "work_statistics",
diff --git a/src/views/enm_slag/workshopAnalysis.vue b/src/views/enm_slag/workshopAnalysis.vue
index 2a45b027..d42a6dc1 100644
--- a/src/views/enm_slag/workshopAnalysis.vue
+++ b/src/views/enm_slag/workshopAnalysis.vue
@@ -38,7 +38,7 @@
>
-
车间单位产品电耗月度分析表
+ 车间单位产品电耗月度分析表
月份
@@ -49,6 +49,7 @@
当期与环期差值(KW·h/t)
环比增长率(%)
同比增长率(%)
+ 分析说明