调节系统开发

This commit is contained in:
gyj
2024-01-10 18:09:46 +08:00
parent fec7d4626c
commit 70e12e5618
6 changed files with 37 additions and 17 deletions
+12 -3
View File
@@ -1,9 +1,14 @@
<template>
<view class="normal-login-container">
<view class="logo-content align-center justify-center flex">
<view class="logo-content align-center justify-center flex" v-if="logSyste==1">
<image style="width: 100rpx;height: 100rpx;" :src="globalConfig.appInfo.logo" mode="widthFix">
</image>
<text class="title">仲裁平台</text>
</view>
<view class="logo-content align-center justify-center flex" v-if="logSyste==2">
<image style="width: 100rpx;height: 100rpx;" :src="globalConfig.appInfo.logo" mode="widthFix">
</image>
<text class="title">调节平台</text>
</view>
<view class="login-form-content">
<view class="input-item flex align-center">
@@ -60,7 +65,7 @@
return {
codeUrl: "",
captchaEnabled: true,
logSyste:0,
// 用户注册开关
register: true,
globalConfig: getApp().globalData.config,
@@ -112,7 +117,7 @@
},
// 登录方法
async handleLogin() {
console.log(this.isSelectAgree,'xxxx')
const sysType = uni.getStorageSync('sysType')
if (this.loginForm.username === "") {
this.$modal.msgError("请输入您的账号")
}else if(this.isSelectAgree.length < 1){
@@ -144,6 +149,10 @@
this.$tab.reLaunch('/pages/work/index')
})
},
onLoad(options){
let vals = decodeURIComponent(options.values);
this.logSyste = vals
}
}
}