7/4新增公安备案底部链接
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
</el-form-item>
|
||||
<div class="remberBox">
|
||||
<el-checkbox v-model="loginForm.rememberMe" style="color: #fff">{{ proxy.$t('login.rememberPassword') }}</el-checkbox>
|
||||
<!-- <el-button class="hoverbutn" text>忘记密码</el-button> -->
|
||||
<!-- <el-button class="hoverboard" text>忘记密码</el-button> -->
|
||||
</div>
|
||||
|
||||
<el-form-item style="width: 100%">
|
||||
@@ -39,34 +39,30 @@
|
||||
</el-form>
|
||||
<footer class="footerBox" style="text-align: center; padding: 24px 16px; font-size: 14px; color: #666">
|
||||
<p>© 2026 山东橙空电子科技有限公司 版权所有</p>
|
||||
<p style="margin-top: 10px">
|
||||
<div style="margin-top: 10px" class="flex">
|
||||
<a href="https://beian.miit.gov.cn/#/Integrated/index" target="_blank" style="color: #666; text-decoration: none">鲁ICP备2024131497号-3</a>
|
||||
|
|
||||
<a
|
||||
href="https://www.beian.gov.cn/"
|
||||
target="_blank"
|
||||
style="color: #666; text-decoration: none; display: inline-flex; align-items: center; gap: 4px"
|
||||
>
|
||||
<!-- <img src="/static/beian.png" alt="公安备案图标" style="width: 16px; height: 16px" />-->
|
||||
<!-- 鲁公网安备37110198765432号-->
|
||||
</a>
|
||||
</p>
|
||||
<div>
|
||||
<img alt="备案" :src="beiAnLogo" class="beianLogo" />
|
||||
<a href="https://beian.mps.gov.cn/#/query/webSearch?code=37110202371495" rel="noreferrer" target="_blank">鲁公网安备37110202371495号</a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { authRouterUrl } from '@/api/system/social/auth';
|
||||
import beiAnLogo from '@/assets/logo/备案图标.png';
|
||||
// import { authRouterUrl } from '@/api/system/social/auth';
|
||||
import { useUserStore } from '@/store/modules/user';
|
||||
import { LoginData, TenantVO } from '@/api/types';
|
||||
import { to } from 'await-to-js';
|
||||
import { getCodeImg, getTenantList } from '@/api/login';
|
||||
import { HttpStatus } from '@/enums/RespEnum';
|
||||
// import { HttpStatus } from '@/enums/RespEnum';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
|
||||
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
|
||||
|
||||
const title = import.meta.env.VITE_APP_TITLE;
|
||||
const userStore = useUserStore();
|
||||
const router = useRouter();
|
||||
const { t } = useI18n();
|
||||
@@ -95,7 +91,6 @@ const captchaEnabled = ref(true);
|
||||
const tenantEnabled = ref(true);
|
||||
|
||||
// 注册开关
|
||||
const register = ref(false);
|
||||
const redirect = ref('/');
|
||||
const loginRef = ref<ElFormInstance>();
|
||||
// 租户列表
|
||||
@@ -110,7 +105,7 @@ watch(
|
||||
);
|
||||
|
||||
const handleLogin = () => {
|
||||
loginRef.value?.validate(async (valid: boolean, fields: any) => {
|
||||
loginRef.value?.validate(async (valid: boolean) => {
|
||||
if (valid) {
|
||||
loading.value = true;
|
||||
if (loginForm.value.rememberMe) {
|
||||
@@ -178,21 +173,21 @@ const initTenantList = async () => {
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* 第三方登录
|
||||
* @param type
|
||||
*/
|
||||
const doSocialLogin = (type: string) => {
|
||||
authRouterUrl(type, loginForm.value.tenantId).then((res: any) => {
|
||||
if (res.code === HttpStatus.SUCCESS) {
|
||||
// 获取授权地址跳转
|
||||
window.location.href = res.data;
|
||||
} else {
|
||||
ElMessage.error(res.msg);
|
||||
}
|
||||
});
|
||||
};
|
||||
//
|
||||
// /**
|
||||
// * 第三方登录
|
||||
// * @param type
|
||||
// */
|
||||
// const doSocialLogin = (type: string) => {
|
||||
// authRouterUrl(type, loginForm.value.tenantId).then((res: any) => {
|
||||
// if (res.code === HttpStatus.SUCCESS) {
|
||||
// // 获取授权地址跳转
|
||||
// window.location.href = res.data;
|
||||
// } else {
|
||||
// ElMessage.error(res.msg);
|
||||
// }
|
||||
// });
|
||||
// };
|
||||
|
||||
onMounted(() => {
|
||||
getCode();
|
||||
@@ -202,6 +197,13 @@ onMounted(() => {
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.beianLogo {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin-right: 5px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.footerBox {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
|
||||
Reference in New Issue
Block a user