|
|
|
@ -168,11 +168,13 @@ Page({ |
|
|
|
for (let mIndex = 0; mIndex < app.userInfo.enterpriseInfos.length; mIndex++) { |
|
|
|
const element = app.userInfo.enterpriseInfos[mIndex] |
|
|
|
if(element.isEnterprisePrimary){ |
|
|
|
// 如果是企业主
|
|
|
|
this.toIndex() |
|
|
|
return |
|
|
|
} |
|
|
|
for (let nIndex = 0; nIndex < element.factoryInfos.length; nIndex++) { |
|
|
|
const item = element.factoryInfos[nIndex] |
|
|
|
// 是否有职位
|
|
|
|
applicationStatus = item.type ? 1 : 0 |
|
|
|
if(applicationStatus == 1){ |
|
|
|
break |
|
|
|
|