| | |
| | | })
|
| | | }
|
| | |
|
| | | // 查询团队负责人列表
|
| | | export function teamLeaderList() {
|
| | | return request({
|
| | | url: '/system/user/teamLeaderList',
|
| | | method: 'get'
|
| | | })
|
| | | }
|
| | |
|
| | | // 查询用户列表
|
| | | export function userListNoPage() {
|
| | | return request({
|
| | |
| | | name: "领料", |
| | | type: "text", |
| | | color: "#5EC7AB", |
| | | showHide: row => !row.endOrder && !row.returned && userStore.id === row.teamLeaderUserId, |
| | | showHide: row => !row.endOrder && !row.returned, |
| | | clickFun: row => { |
| | | openMaterialDialog(row); |
| | | }, |
| | |
| | | filterable |
| | | > |
| | | <el-option |
| | | v-for="user in userList" |
| | | v-for="user in leaderList" |
| | | :key="user.userId" |
| | | :label="user.nickName" |
| | | :value="user.userId" |
| | |
| | | getTeamDetail, |
| | | getTeamListPage, |
| | | } from "@/api/productionManagement/productionTeam.js"; |
| | | import { userListNoPageByTenantId } from "@/api/system/user.js"; |
| | | import { teamLeaderList, userListNoPageByTenantId } from "@/api/system/user.js"; |
| | | |
| | | const { proxy } = getCurrentInstance(); |
| | | |
| | |
| | | const open = ref(false); |
| | | const title = ref(""); |
| | | const userList = ref([]); |
| | | const leaderList = ref([]); |
| | | const selectedIds = ref([]); |
| | | |
| | | // 可选择的成员列表(排除班组长) |
| | |
| | | |
| | | /** 获取用户列表 */ |
| | | function getUserList() { |
| | | teamLeaderList().then((response) => { |
| | | if (response.code === 200) { |
| | | leaderList.value = response.data || []; |
| | | } |
| | | }); |
| | | |
| | | |
| | | userListNoPageByTenantId().then((response) => { |
| | | if (response.code === 200) { |
| | | userList.value = response.data || []; |