From 1f4e7d0f73a73e7350cf5a1df279d5f30904c5d5 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期三, 06 十二月 2023 08:41:32 +0800
Subject: [PATCH] bug
---
screen_standard/src/stores/counter.js | 16 +++++++---------
1 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/screen_standard/src/stores/counter.js b/screen_standard/src/stores/counter.js
index 69cea87..446b738 100644
--- a/screen_standard/src/stores/counter.js
+++ b/screen_standard/src/stores/counter.js
@@ -1,23 +1,18 @@
-import { computed } from 'vue';
import { defineStore } from 'pinia';
export const useCounterStore = defineStore('enterprise', {
state: () => {
- // 678
-<<<<<<< HEAD
- return { companyId: '', departId: '' };
-=======
return {
- companyId: '8',
- departId: '132',
+ companyId: window.sessionStorage.getItem('companyId'),
+ departId: window.sessionStorage.getItem('departId'),
delayNum: 0, // 寤舵湡璁″垝鏁�
deviceNum: 0, // 浠婃棩鐢熶骇璁惧鏁�
ingNum: 0, // 鎵ц涓鍒掓暟
prouserNum: 0, // 浠婃棩鐢熶骇浜烘暟
- unqualifiedRate: 0 // 浠婃棩涓嶈壇鍝佺巼
+ unqualifiedRate: 0, // 浠婃棩涓嶈壇鍝佺巼
+ procedureName: '' // 宸ュ簭鍚嶇О
};
->>>>>>> 8eebd3b823c2e477f949b7f06b6e972ec09327df
},
actions: {
@@ -37,6 +32,9 @@
this.ingNum = num.ingNum
this.prouserNum = num.prouserNum
this.unqualifiedRate = num.unqualifiedRate
+ },
+ setProcedureName(title) {
+ this.procedureName = title
}
}
--
Gitblit v1.9.3