From ca56bf22820d13898e64ca683cc03927dfc4459d Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 06 八月 2026 10:24:37 +0800
Subject: [PATCH] 新疆_马铃薯 1.原材料和过程检验的检测公司赋默认值

---
 src/views/collaborativeApproval/enterpriseBook/index.vue |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/views/collaborativeApproval/enterpriseBook/index.vue b/src/views/collaborativeApproval/enterpriseBook/index.vue
index 0b33a32..91d2157 100644
--- a/src/views/collaborativeApproval/enterpriseBook/index.vue
+++ b/src/views/collaborativeApproval/enterpriseBook/index.vue
@@ -264,7 +264,7 @@
           <!-- <select v-model="addContactForm.contactId">
             <option v-for="item in EmployeeList" :key="item.id" :value="item.id">{{ item.staffName }}</option> 
           </select> -->
-          <el-select v-model="addContactForm.contactId" placeholder="璇烽�夋嫨" style="width: 100%">
+          <el-select filterable v-model="addContactForm.contactId" placeholder="璇烽�夋嫨" style="width: 100%">
             <el-option
               v-for="option in EmployeeList"
               :key="option.id"
@@ -275,8 +275,8 @@
         </el-form-item>
       </el-form>
       <template #footer>
-        <el-button @click="showAddContactDialog = false">鍙栨秷</el-button>
         <el-button type="primary" @click="addContact">纭畾</el-button>
+        <el-button @click="showAddContactDialog = false">鍙栨秷</el-button>
       </template>
     </el-dialog>
   </div>
@@ -295,7 +295,6 @@
   getEmployeeDetail
 } from '@/api/collaborativeApproval/enterpriseBook.js'
 import { getUserProfile } from '@/api/system/user.js'
-import {staffJoinListPage} from "@/api/personnelManagement/onboarding.js";
 import {
   changeUserStatus,
   listUser,
@@ -306,6 +305,7 @@
   addUser,
   deptTreeSelect,
 } from "@/api/system/user";
+import {staffOnJobListPage} from "@/api/personnelManagement/staffOnJob.js";
 
 // 鏍囩椤电姸鎬�
 const activeTab = ref('personal')
@@ -395,7 +395,7 @@
 }
   //鑾峰彇鍛樺伐鍒楄〃
 const getEmployeeList = async () => {
-  staffJoinListPage(publicSearch.value).then(res => {
+  staffOnJobListPage(Object.assign({current: -1, size: -1},publicSearch.value)).then(res => {
     console.log(res.data.records)
       EmployeeList.value = res.data.records
     }).catch(err => {})
@@ -403,7 +403,7 @@
 // 鑾峰彇鍗曚綅閫氳褰曞垪琛�
 const getCompanyContactsList = async () => {
   loading.value = true
-    staffJoinListPage(companySearch.value).then(res => {
+  staffOnJobListPage(Object.assign({current: -1, size: -1},companySearch.value)).then(res => {
     // console.log(res.data.records)
       companyContacts.value = res.data.records
     }).catch(err => {})

--
Gitblit v1.9.3