1、相关方端新增打回打回信息

2、修改审批流程bug
pull/11/head
liujun 2024-03-19 17:37:35 +08:00
parent 38bc28dbe6
commit edeefef119
1 changed files with 84 additions and 17 deletions

View File

@ -6,7 +6,13 @@
</div>
<div class="outside-shadow">
<div class="inside-shadow">
<el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form" autocomplete="on" label-position="left">
<el-form
ref="loginForm"
:model="loginForm"
:rules="loginRules"
class="login-form"
autocomplete="on"
label-position="left">
<div class="title-container">
<h3 class="title">企业用户登录</h3>
@ -16,7 +22,13 @@
<span class="svg-container">
<svg-icon icon-class="user"/>
</span>
<el-input ref="username" v-model="loginForm.username" placeholder="用户名" type="text" tabindex="1" autocomplete="on" />
<el-input
ref="username"
v-model="loginForm.username"
placeholder="用户名"
type="text"
tabindex="1"
autocomplete="on"/>
</el-form-item>
<el-tooltip v-model="capsTooltip" content="Caps lock is On" placement="right" manual>
@ -25,7 +37,17 @@
<svg-icon icon-class="password"/>
</span>
<el-input ref="password" :key="passwordType" v-model="loginForm.password" :type="passwordType" auto-complete="off" placeholder="密码" tabindex="2" autocomplete="on" @keyup.native="checkCapslock" @blur="capsTooltip = false" />
<el-input
ref="password"
:key="passwordType"
v-model="loginForm.password"
:type="passwordType"
auto-complete="off"
placeholder="密码"
tabindex="2"
autocomplete="on"
@keyup.native="checkCapslock"
@blur="capsTooltip = false"/>
</el-form-item>
</el-tooltip>
@ -44,7 +66,14 @@
</div>
<validation ref="validation"/>
<el-button :loading="loading" :disabled="flag" type="primary" size="medium" style="width:100%;margin:30px 0;" @click.native.prevent="handleLogin">登录</el-button>
<el-button
:loading="loading"
:disabled="flag"
type="primary"
size="medium"
style="width:100%;margin:30px 0;"
@click.native.prevent="handleLogin">登录
</el-button>
<div v-if="false" style="margin-top: -25px; margin-bottom: 30px; color: red">{{ failMsg }}</div>
<div style="position:relative">
<div class="tips">
@ -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); */
@ -370,10 +423,12 @@ export default {
left: 50px;
pointer-events: none;
}
.login-logo img {
width: 836px;
height: 93px;
}
.login-container {
height: 100vh;
width: 100%;
@ -384,6 +439,7 @@ export default {
background-repeat: no-repeat;
background-size: 100% 100%;
}
.login-foot {
font-size: 14px;
color: rgba(255, 255, 255, 0.5);
@ -394,6 +450,7 @@ export default {
transform: translateX(-50%);
z-index: 99;
}
.outside-shadow {
position: absolute;
right: 10%;
@ -404,6 +461,7 @@ export default {
background-color: rgba(255, 255, 255, 0.3);
z-index: 97;
}
.inside-shadow {
position: absolute;
top: -22.5px;
@ -414,6 +472,7 @@ export default {
background-color: rgba(255, 255, 255, 0.5);
z-index: 98;
}
.login-container .login-form {
position: absolute;
width: 400px;
@ -428,15 +487,18 @@ export default {
left: 15px;
z-index: 99;
}
.login-name {
position: absolute;
right: 9.5%;
top: 15%;
}
.login-name img {
width: 422px;
height: 53px;
}
.login-container .tips {
font-size: 14px;
color: #464646;
@ -452,15 +514,18 @@ export default {
width: 30px;
display: inline-block;
}
.login-container .title-container {
position: relative;
}
.login-container .title-container .title {
font-size: 20px;
color: #000;
font-weight: normal;
font-family: "微软雅黑", "宋体", "Arial Narrow", Helvetica, sans-serif;
}
.login-container .show-pwd {
position: absolute;
right: 10px;
@ -470,11 +535,13 @@ export default {
cursor: pointer;
user-select: none;
}
.login-container .thirdparty-button {
position: absolute;
right: 0;
bottom: 6px;
}
@media only screen and (max-width: 470px) {
.login-container .thirdparty-button {
display: none;