增加家长页面跳转
This commit is contained in:
parent
26b22af483
commit
281cdef9a3
@ -18,7 +18,7 @@ import { useUserStore } from "@/store/modules/user";
|
|||||||
import { checkOpenId, findJsByPhoneApi } from "@/api/system/login";
|
import { checkOpenId, findJsByPhoneApi } from "@/api/system/login";
|
||||||
import { PermissionCacheManager } from "@/utils/permission";
|
import { PermissionCacheManager } from "@/utils/permission";
|
||||||
|
|
||||||
const { setGlobal } = useDataStore();
|
const { setGlobal, getGlobal } = useDataStore();
|
||||||
const { afterLoginAction } = useUserStore();
|
const { afterLoginAction } = useUserStore();
|
||||||
const { setFile, getFile } = useDataStore();
|
const { setFile, getFile } = useDataStore();
|
||||||
const isShow = ref(true);
|
const isShow = ref(true);
|
||||||
@ -55,6 +55,11 @@ async function forceRefreshPermission(changeTime?: string): Promise<void> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function goByJs(js: any) {
|
function goByJs(js: any) {
|
||||||
|
if (getGlobal && getGlobal.type === '1') {
|
||||||
|
uni.reLaunch({
|
||||||
|
url: "/pages/view/routine/xk/qd?from=login"
|
||||||
|
});
|
||||||
|
}
|
||||||
if (js.confirmStatus == "A") {
|
if (js.confirmStatus == "A") {
|
||||||
// 跳转到自助服务首页
|
// 跳转到自助服务首页
|
||||||
uni.reLaunch({
|
uni.reLaunch({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user