From 51c7896fd8e45085dd5cdfff11e79a00ee0a7379 Mon Sep 17 00:00:00 2001
From: Houjie <714924425@qq.com>
Date: 星期五, 05 九月 2025 15:16:54 +0800
Subject: [PATCH] 上料/下料、报工/打印机配置/产线选择 、排产工单

---
 common/util/work.js |  219 ++++++++++++++++++++++++++++++++++++------------------
 1 files changed, 147 insertions(+), 72 deletions(-)

diff --git a/common/util/work.js b/common/util/work.js
index a3ff9af..afc643a 100644
--- a/common/util/work.js
+++ b/common/util/work.js
@@ -2,32 +2,66 @@
  * 甯哥敤鏈嶅姟
  * useful server
  */
-const  icon_prefix="/static/home/128/"
+const icon_prefix = "/static/home/128/"
 
-export const us = {
-  data:[
-    {
-      title:"寰呭姙",
-      icon:icon_prefix+"todo.png",
-      description:"寰呭姙浜嬮」",
-      useCount:1000,
-	  page:'ToDoList'
-    },
-	{
-	  title:"宸插姙",
-	  icon:icon_prefix+"todoManger.png",
-	  description:"宸插姙浜嬮」",
-	  useCount:1000,
-	  page:'TaskManagerList'
+export const ps = {
+	data: [{
+		title: "鎺掍骇宸ュ崟",
+		icon: icon_prefix + "todo.png",
+		description: "鎺掍骇宸ュ崟",
+		useCount: 1000,
+		page: 'ProductionManager'
 	},
 	{
-	     title:"鎵竴鎵�",
-	     icon:icon_prefix+"icon_sacan.png",
-	     description:"鎵爜",
-	     useCount:10000,
-		  page:'spare'
-	   }
-  ]
+		title: "鎶ュ伐",
+		icon: icon_prefix + "icon_report.png",
+		description: "鎶ュ伐",
+		useCount: 1000,
+		page: 'report'
+	},
+	{
+		title: "涓婃枡",
+		icon: icon_prefix + "icon_into.png",
+		description: "涓婃枡",
+		useCount: 1000,
+		page: 'materialLoading'
+	},
+	{
+		title: "涓嬫枡",
+		icon: icon_prefix + "icon_out.png",
+		description: "涓嬫枡",
+		useCount: 1000,
+		page: 'ProductionManager'
+	}]
+}
+
+
+
+export const us = {
+	data: [
+
+		{
+			title: "寰呭姙",
+			icon: icon_prefix + "todo.png",
+			description: "寰呭姙浜嬮」",
+			useCount: 1000,
+			page: 'ToDoList'
+		},
+		{
+			title: "宸插姙",
+			icon: icon_prefix + "todoManger.png",
+			description: "宸插姙浜嬮」",
+			useCount: 1000,
+			page: 'TaskManagerList'
+		},
+		{
+			title: "鎵竴鎵�",
+			icon: icon_prefix + "icon_sacan.png",
+			description: "鎵爜",
+			useCount: 10000,
+			page: 'spare'
+		}
+	]
 }
 
 
@@ -35,34 +69,60 @@
  * other server 鍏朵粬鏈嶅姟
  */
 export const os = {
-  data:[
-    {
-      title:"寰呯偣妫�",
-      icon:icon_prefix+"xinwen.png",
-      description:"璁惧鐐规",
-      useCount:10000,
-	  page:'checkList'
-    },{
-      title:"寰呭懆淇�",
-      icon:icon_prefix+"toupiao.png",
-      description:"璁惧鍛ㄤ繚",
-      useCount:10000,
-	  page:'baoZhou'
-    },
-	{
-	  title:"鍘嗗彶鐐规",
-	  icon:icon_prefix+"icon_historicalInspection.png",
-	  description:"鍘嗗彶鐐规",
-	  useCount:10000,
-	  page:'historicalInspection'
-	},{
-	  title:"鍘嗗彶淇濆吇",
-	  icon:icon_prefix+"icon_historicalMaintenance.png",
-	  description:"鍘嗗彶淇濆吇",
-	  useCount:10000,
-	  page:'historicalMaintenance'
-	}
-  ]
+	data: [{
+			title: "寰呯偣妫�",
+			icon: icon_prefix + "xinwen.png",
+			description: "璁惧鐐规",
+			useCount: 10000,
+			page: 'checkList'
+		}, {
+			title: "寰呭懆淇�",
+			icon: icon_prefix + "toupiao.png",
+			description: "璁惧鍛ㄤ繚",
+			useCount: 10000,
+			page: 'baoZhou'
+		},
+		{
+			title: "鍘嗗彶鐐规",
+			icon: icon_prefix + "icon_historicalInspection.png",
+			description: "鍘嗗彶鐐规",
+			useCount: 10000,
+			page: 'historicalInspection'
+		}, {
+			title: "鍘嗗彶淇濆吇",
+			icon: icon_prefix + "icon_historicalMaintenance.png",
+			description: "鍘嗗彶淇濆吇",
+			useCount: 10000,
+			page: 'historicalMaintenance'
+		},
+		{
+			title: "鍘嗗彶缁翠慨",
+			icon: icon_prefix + "historicalRepair.png",
+			description: "鍘嗗彶缁翠慨",
+			useCount: 10000,
+			page: 'historicalRepair'
+		},
+		{
+			title: "鏁呴殰鎶ヤ慨",
+			icon: icon_prefix + "baoxiu.png",
+			description: "璁惧鎶ヤ慨",
+			useCount: 10000,
+			page: 'reportRepair'
+		}, {
+			title: "寰呯淮淇�",
+			icon: icon_prefix + "repair.png",
+			description: "璁惧缁翠慨",
+			useCount: 10000,
+			page: 'maintenanceReport'
+		},
+		// {
+		// 	title: "璁惧鍙拌处",
+		// 	icon: icon_prefix + "repair.png",
+		// 	description: "璁惧鍙拌处",
+		// 	useCount: 10000,
+		// 	page: 'device'
+		// }
+	]
 }
 
 
@@ -71,25 +131,40 @@
  * other server 鍏朵粬鏈嶅姟
  */
 export const ws = {
-  data:[
-    {
-      title:"鎶ヤ慨",
-      icon:icon_prefix+"baoxiu.png",
-      description:"璁惧鎶ヤ慨",
-      useCount:10000,
-	  page:'reportRepair'
-    },{
-      title:"寰呯淮淇�",
-      icon:icon_prefix+"repair.png",
-      description:"璁惧缁翠慨",
-      useCount:10000,
-	  page:'maintenanceReport'
-    },{
-      title:"鍘嗗彶缁翠慨",
-      icon:icon_prefix+"historicalRepair.png",
-      description:"鍘嗗彶缁翠慨",
-      useCount:10000,
-	  page:'historicalRepair'
-    }
-  ]
+	data: [{
+			title: "璐ㄩ噺妫�楠�",
+			icon: icon_prefix + "icon_quality.png",
+			description: "璐ㄩ噺妫�楠�",
+			useCount: 10000,
+			page: 'qualityInspection'
+		},
+		{
+			title: "涓嶅悎鏍煎搧瀹℃壒",
+			icon: icon_prefix + "icon_wait.png",
+			description: "涓嶅悎鏍煎搧瀹℃壒",
+			useCount: 10000,
+			page: 'defectiveProductReview'
+		}
+	]
+}
+
+/**
+ * other server 瀹夌伅鏈嶅姟
+ */
+export const as = {
+	data: [{
+			title: "瀹夌伅鍛煎彨",
+			icon: icon_prefix + "historicalRepair.png",
+			description: "瀹夌伅鍛煎彨",
+			useCount: 10000,
+			page: 'andonCall'
+		},
+		{
+			title: "瀹夌伅澶勭悊",
+			icon: icon_prefix + "historicalRepair.png",
+			description: "瀹夌伅澶勭悊",
+			useCount: 10000,
+			page: 'andonHandler'
+		}
+	]
 }
\ No newline at end of file

--
Gitblit v1.9.3