企业用户登录
@@ -14,37 +20,60 @@
-
+
-
+
-
+
-
+
-
-
登录
+
+
登录
+
{{ failMsg }}
@@ -79,6 +108,7 @@ import validation from './components/validation'
import vueQr from 'vue-qr'
// eslint-disable-next-line no-unused-vars
import axios from 'axios'
+
export default {
name: 'Login',
components: { vueQr, validation, SIdentify },
@@ -251,6 +281,7 @@ export default {
this.$router.push({ path: '/index' })
this.loading = false
this.flag = false
+ this.getWorkTask(data.USER_ID)
} else {
if (data.msg) {
this.$message.error(data.msg)
@@ -283,6 +314,24 @@ export default {
}
})
},
+ getWorkTask(id) {
+ requestFN(
+ '/xgf/user/getWorkTask', { USER_ID: id }
+ ).then((data) => {
+ if (data.list && data.list.length > 0) {
+ setTimeout(() => {
+ console.log(data)
+ console.log('???????--sparrow')
+ this.$notify.info({
+ title: '消息',
+ message: '您有【' + data.list.length + '】条相关方人员数据待审核'
+ })
+ }, 3000)
+ }
+ }).catch((e) => {
+ console.log(e)
+ })
+ },
getOtherQuery(query) {
return Object.keys(query).reduce((acc, cur) => {
if (cur !== 'redirect') {
@@ -335,12 +384,14 @@ export default {
color: #fff;
}
}
+
/* reset element-ui css */
.login-container .el-input {
display: inline-block;
height: 42px;
width: 85%;
}
+
.login-container .el-input input {
background: transparent;
border: 0px;
@@ -351,10 +402,12 @@ export default {
line-height: 42px;
/* caret-color: #fff; */
}
+
.login-container .el-input input:-webkit-autofill {
box-shadow: 0 0 0px 1000px #fff inset !important;
-webkit-text-fill-color: #000 !important;
}
+
.login-container .el-form-item {
border: 1px solid #aad5ff;
/* background: rgba(0, 0, 0, 0.1); */
@@ -363,17 +416,19 @@ export default {
}
-