| | |
| | | <span class="label">住址:</span> |
| | | <span class="value">{{ selectedContact.adress || '暂无' }}</span> |
| | | </div> |
| | | <div class="info-item"> |
| | | <span class="label">身份证号:</span> |
| | | <span class="value">{{ selectedContact.identityCard || '暂无' }}</span> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <template #footer> |
| | |
| | | <!-- <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" |
| | |
| | | </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> |
| | |
| | | getEmployeeDetail |
| | | } from '@/api/collaborativeApproval/enterpriseBook.js' |
| | | import { getUserProfile } from '@/api/system/user.js' |
| | | import {staffJoinListPage} from "@/api/personnelManagement/onboarding.js"; |
| | | import { |
| | | changeUserStatus, |
| | | listUser, |
| | |
| | | addUser, |
| | | deptTreeSelect, |
| | | } from "@/api/system/user"; |
| | | import {staffOnJobListPage} from "@/api/personnelManagement/staffOnJob.js"; |
| | | |
| | | // 标签页状态 |
| | | const activeTab = ref('personal') |
| | |
| | | } |
| | | //获取员工列表 |
| | | 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 => {}) |
| | |
| | | // 获取单位通讯录列表 |
| | | 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 => {}) |