From a80532b337571f0989b11cb9a5b7197f5b849ca7 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期六, 10 八月 2024 15:37:20 +0800
Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/center-lims-before into master

---
 src/components/do/b1-inspect-order-plan/Inspection.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/components/do/b1-inspect-order-plan/Inspection.vue b/src/components/do/b1-inspect-order-plan/Inspection.vue
index a7e3245..295b64b 100644
--- a/src/components/do/b1-inspect-order-plan/Inspection.vue
+++ b/src/components/do/b1-inspect-order-plan/Inspection.vue
@@ -856,7 +856,7 @@
   import file from '../../../util/file'
   import excelFunction from '../../../util/excelFountion'
   export default {
-    props: ['sonLaboratory', 'orderId', 'state'],
+    props: ['sonLaboratory', 'orderId', 'state','inspectorList'],
     components: {
       ValueTable,
     },
@@ -3270,9 +3270,9 @@
       getAuthorizedPerson() {
         this.$axios.get(this.$api.user.getUserMenu).then(res => {
           let data = []
-          let userName = JSON.parse(localStorage.getItem("user")).name;
+          // let userName = JSON.parse(localStorage.getItem("user")).name;
           res.data.forEach(a => {
-            if(a.name !== userName) {
+            if(!this.inspectorList.includes(a.name)) {
               data.push({
               label: a.name,
               value: a.id

--
Gitblit v1.9.3