From d7fe8ae3888c8e2b1eea3c1e3769be0d42a21cc9 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期一, 16 十月 2023 09:03:47 +0800
Subject: [PATCH] Merge branch '1.0.3' of http://139.186.142.91:10010/r/productDev/dmMes into 1.0.3
---
 screen_standard/src/stores/counter.js |   22 ++++++++++++++++++++--
 1 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/screen_standard/src/stores/counter.js b/screen_standard/src/stores/counter.js
index b933f23..e3f5613 100644
--- a/screen_standard/src/stores/counter.js
+++ b/screen_standard/src/stores/counter.js
@@ -4,8 +4,16 @@
 export const useCounterStore = defineStore('enterprise', {
 
   state: () => {
-    // 678
-    return { companyId: '', departId: '' };
+    return {
+      companyId: window.sessionStorage.getItem('companyId'),
+      departId: window.sessionStorage.getItem('departId'),
+      delayNum: 0, // 寤舵湡璁″垝鏁�
+      deviceNum: 0, // 浠婃棩鐢熶骇璁惧鏁�
+      ingNum: 0, // 鎵ц涓鍒掓暟
+      prouserNum: 0, // 浠婃棩鐢熶骇浜烘暟
+      unqualifiedRate: 0, // 浠婃棩涓嶈壇鍝佺巼
+      procedureName: '' // 宸ュ簭鍚嶇О
+    };
   },
 
   actions: {
@@ -18,6 +26,16 @@
     setDepartId(departId) {
       this.departId = departId;
       window.sessionStorage.setItem('departId', departId);
+    },
+    setNum(num) {
+      this.delayNum = num.delayNum
+      this.deviceNum = num.deviceNum
+      this.ingNum = num.ingNum
+      this.prouserNum = num.prouserNum
+      this.unqualifiedRate = num.unqualifiedRate
+    },
+    setProcedureName(title) {
+      this.procedureName = title
     }
   }
 
--
Gitblit v1.9.3