From 8eebd3b823c2e477f949b7f06b6e972ec09327df Mon Sep 17 00:00:00 2001 From: Mr.Zhang <710666463@qq.com> Date: 星期二, 22 八月 2023 14:27:22 +0800 Subject: [PATCH] 工序 接口调试 --- screen_standard/src/stores/counter.js | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/screen_standard/src/stores/counter.js b/screen_standard/src/stores/counter.js index d4b3256..e3364b2 100644 --- a/screen_standard/src/stores/counter.js +++ b/screen_standard/src/stores/counter.js @@ -5,7 +5,15 @@ state: () => { // 678 - return { companyId: '8', departId: '132' }; + return { + companyId: '8', + departId: '132', + delayNum: 0, // 寤舵湡璁″垝鏁� + deviceNum: 0, // 浠婃棩鐢熶骇璁惧鏁� + ingNum: 0, // 鎵ц涓鍒掓暟 + prouserNum: 0, // 浠婃棩鐢熶骇浜烘暟 + unqualifiedRate: 0 // 浠婃棩涓嶈壇鍝佺巼 + }; }, actions: { @@ -18,6 +26,13 @@ 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 } } -- Gitblit v1.9.3