From d27451a2c24fcc785d02619d5840378df7cfc939 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期三, 22 四月 2026 18:12:05 +0800
Subject: [PATCH] 限制取消

---
 src/views/project/externalperson/index.vue |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/src/views/project/externalperson/index.vue b/src/views/project/externalperson/index.vue
index 0ece431..d65b3c5 100644
--- a/src/views/project/externalperson/index.vue
+++ b/src/views/project/externalperson/index.vue
@@ -271,7 +271,7 @@
                   v-for="dict in dict.type.sys_professionaltitle"
                   :key="dict.value"
                   :label="dict.label"
-                  :value="dict.value"
+                  :value="dict.label"
                 ></el-option>
               </el-select>
             </el-form-item>
@@ -444,7 +444,7 @@
     this.getUserProfile();
     this.getUnitList();
     // 榛樿涓嶆墦寮�
-    // this.getList();
+    this.getList();
   },
   methods: {
     //鑾峰彇褰撳墠鐢ㄦ埛淇℃伅
@@ -452,7 +452,7 @@
       getUserProfile().then(res => {
         if (
           res.data.userName == "admin" ||
-          res.data.userName == "001" ||
+          res.data.userName == "053" ||
           res.data.userName == "047"
         ) {
           this.ismanager = true;
@@ -464,15 +464,15 @@
 
     /** 鏌ヨ鍗曚綅銆佷汉鍛樿处鍙峰垪琛� */
     getList() {
-      if (
-        this.queryParams.username === null ||
-        this.queryParams.username.replace(/\s/g, "") == ""
-      ) {
-        this.$modal.msgWarning(
-          "鏌ユ壘璐︽埛鏃讹紝璐︽埛鍚嶇О涓嶈兘涓虹┖锛岃杈撳叆璐︽埛鍚嶇О锛�"
-        );
-        return;
-      }
+      // if (
+      //   this.queryParams.username === null ||
+      //   this.queryParams.username.replace(/\s/g, "") == ""
+      // ) {
+      //   this.$modal.msgWarning(
+      //     "鏌ユ壘璐︽埛鏃讹紝璐︽埛鍚嶇О涓嶈兘涓虹┖锛岃杈撳叆璐︽埛鍚嶇О锛�"
+      //   );
+      //   return;
+      // }
 
       // this.loading = true;
       listExternalperson(this.queryParams).then(response => {

--
Gitblit v1.9.3