From 68f5eabc49c0bd1d9b4fd2a359b653ece0a67937 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期三, 22 四月 2026 19:08:34 +0800
Subject: [PATCH] 专家限制提交

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

diff --git a/src/views/project/externalperson/index.vue b/src/views/project/externalperson/index.vue
index 0ece431..7fd3ae9 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 => {
@@ -508,15 +508,15 @@
     /** 鎼滅储鎸夐挳鎿嶄綔 */
     handleQuery() {
       console.log("handleQuery", this.queryParams);
-      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.queryParams.pageNum = 1;
       this.getList();

--
Gitblit v1.9.3