|
|
@ -6,7 +6,7 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="title"> |
|
|
|
<image src="@/static/images/userCenter/loginTitle.png" mode=""></image> |
|
|
|
<image :src="imgUrl" mode=""></image> |
|
|
|
</view> |
|
|
|
<view class="form"> |
|
|
|
<view class="form-item"> |
|
|
@ -40,6 +40,7 @@ |
|
|
|
|
|
|
|
<script> |
|
|
|
import { loginPwd, tenantPage } from '@/config/api.js' |
|
|
|
import { imgUrl } from '@/config/site.config.js' |
|
|
|
export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
@ -50,6 +51,7 @@ |
|
|
|
password: '', |
|
|
|
tenantName: '' |
|
|
|
}, |
|
|
|
imgUrl: imgUrl+'loginTitle.png', |
|
|
|
codeOn: false, |
|
|
|
show: false, |
|
|
|
columnsArea: [], |
|
|
@ -164,6 +166,8 @@ |
|
|
|
}, |
|
|
|
|
|
|
|
async submitFn() { |
|
|
|
// this.chooseIdentity('实操教练') |
|
|
|
// return |
|
|
|
if(!this.btnHighlight) return |
|
|
|
const {data: res} = await loginPwd(this.FormData) |
|
|
|
this.$store.commit('update_vuex_loginInfo', res) |
|
|
@ -178,6 +182,8 @@ |
|
|
|
}) |
|
|
|
if(this.list.length>1) { |
|
|
|
this.showRole = true |
|
|
|
}else { |
|
|
|
this.chooseIdentity(this.list[0].name) |
|
|
|
} |
|
|
|
console.log(this.list) |
|
|
|
return |
|
|
@ -192,8 +198,8 @@ |
|
|
|
.main { |
|
|
|
width: 100%; |
|
|
|
min-height: 100vh; |
|
|
|
background: url('http://192.168.1.20:81/zhili/image/20230922/f5e2cfaf05f441c1b9f897e7dc284f1d.png') no-repeat; |
|
|
|
background-size: 100% 360rpx; |
|
|
|
// background: url('http://192.168.1.20:81/zhili/image/20230922/f5e2cfaf05f441c1b9f897e7dc284f1d.png') no-repeat; |
|
|
|
// background-size: 100% 360rpx; |
|
|
|
.u-back-top { |
|
|
|
padding: 32rpx 0 0 0; |
|
|
|
.backBox { |
|
|
|