|
@@ -24,7 +24,10 @@
|
|
|
<el-form-item prop="code" class="image-item" v-if="nowTab.id === 1">
|
|
|
<el-input type="text" prefix-icon="iconfont huifont-tuxingyanzhengma" v-model="loginForm.code"
|
|
|
placeholder="图片验证码" maxlength="4"></el-input>
|
|
|
- <img v-if="codeImg" :src="codeImg" alt="图片验证码" class="code-image" @click="imgCodeFunc">
|
|
|
+ <div class="code-image" @click="imgCodeFunc">
|
|
|
+ <img v-if="codeImg" :src="codeImg" alt="图片验证码" />
|
|
|
+ <p class="color-blue">看不清?点击刷新</p>
|
|
|
+ </div>
|
|
|
</el-form-item>
|
|
|
<el-form-item prop="phoneCode" class="phone-code" v-if="nowTab.id === 1">
|
|
|
<el-input type="number" prefix-icon="iconfont huifont-duanxinyanzhengma"
|
|
@@ -182,8 +185,8 @@
|
|
|
getUserInfo().then(res => {
|
|
|
if (res.state) {
|
|
|
let user = res.data;
|
|
|
- let organization = user.organizationList.find(node => node.contactTel ===
|
|
|
- user.phone);
|
|
|
+ let organization = user.organizationList.find(node => node.contactTel ===
|
|
|
+ user.phone);
|
|
|
if (!organization) organization = user.organizationList[0];
|
|
|
this.$store.dispatch('app/changeOrganization', organization);
|
|
|
this.$store.dispatch('app/changeUser', user);
|
|
@@ -366,6 +369,12 @@
|
|
|
height: 50px;
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
+
|
|
|
+ .color-blue {
|
|
|
+ color: $--color-primary;
|
|
|
+ font-size: 12px;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.get-code-btn {
|