|
@@ -116,7 +116,12 @@
|
|
|
<script>
|
|
<script>
|
|
|
import I18nIcon from '@/layout/components/i18n-icon.vue';
|
|
import I18nIcon from '@/layout/components/i18n-icon.vue';
|
|
|
import { getToken } from '@/utils/token-util';
|
|
import { getToken } from '@/utils/token-util';
|
|
|
- import { login, getCaptcha, getLatestVersion } from '@/api/login';
|
|
|
|
|
|
|
+ import {
|
|
|
|
|
+ login,
|
|
|
|
|
+ getCaptcha,
|
|
|
|
|
+ getLatestVersion,
|
|
|
|
|
+ getParentIdListByDeptId
|
|
|
|
|
+ } from '@/api/login';
|
|
|
import xyy from '@/assets/xyy.jpg';
|
|
import xyy from '@/assets/xyy.jpg';
|
|
|
import { getPathAddress } from '@/api/system/file';
|
|
import { getPathAddress } from '@/api/system/file';
|
|
|
import { setCurrentUser } from '@/utils/token-util';
|
|
import { setCurrentUser } from '@/utils/token-util';
|
|
@@ -234,6 +239,9 @@
|
|
|
this.form.remember
|
|
this.form.remember
|
|
|
);
|
|
);
|
|
|
}
|
|
}
|
|
|
|
|
+ res.data.groupIdList = await getParentIdListByDeptId(
|
|
|
|
|
+ res.data.groupId
|
|
|
|
|
+ );
|
|
|
const filePath = await getPathAddress();
|
|
const filePath = await getPathAddress();
|
|
|
res.data.avatarAddress =
|
|
res.data.avatarAddress =
|
|
|
res.data.avatar && res.data.avatar.length
|
|
res.data.avatar && res.data.avatar.length
|