This commit is contained in:
parent
8618b86413
commit
161091d929
|
|
@ -460,8 +460,8 @@ export default {
|
||||||
// 获取班组
|
// 获取班组
|
||||||
async getBmTeam() {
|
async getBmTeam() {
|
||||||
try {
|
try {
|
||||||
const teamLeaderIdCard = sessionStorage.getItem('idCard')
|
const idCard = sessionStorage.getItem('idCard')
|
||||||
const res = await getBmTeamApi({ isAll: 0, teamLeaderIdCard })
|
const res = await getBmTeamApi({ isAll: 0, idCard })
|
||||||
if (!res.data || res.data.length === 0) return
|
if (!res.data || res.data.length === 0) return
|
||||||
this.uniteList = res.data
|
this.uniteList = res.data
|
||||||
this.maForm.teamId = res.data[0].id
|
this.maForm.teamId = res.data[0].id
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue