From 3576bc2e689ef8ebb6b439084b00ddcec1247eb9 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期五, 30 一月 2026 14:54:57 +0800
Subject: [PATCH] fix: 原材料、过程、出厂检验分配检验员后,其他用户编辑、提交按钮需置灰。只有分配的检验账户登录后才能编辑、提交操作。
---
src/store/modules/user.js | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/store/modules/user.js b/src/store/modules/user.js
index 057af50..4f3eab4 100644
--- a/src/store/modules/user.js
+++ b/src/store/modules/user.js
@@ -99,9 +99,8 @@
loginCheckFactory(userInfo) {
const username = userInfo.username.trim()
const password = userInfo.password
- const factoryId = userInfo.currentFatoryId
return new Promise((resolve, reject) => {
- loginCheckFactory(username, password, factoryId).then(res => {
+ loginCheckFactory(username, password).then(res => {
setToken(res.token)
this.token = res.token
resolve()
--
Gitblit v1.9.3