Commit 17eca7ff by 王昆

gsb

parent 03d26c04
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title id="needh5">薪必果管理系统</title> <title id="needh5">薪必果电子签</title>
<link rel="stylesheet" href="/css/ele/chalk.css"> <link rel="stylesheet" href="/css/ele/chalk.css">
<link rel="stylesheet" href="/css/main.css"> <link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="/css/fontawesome/css/font-awesome.min.css"> <link rel="stylesheet" href="/css/fontawesome/css/font-awesome.min.css">
...@@ -17,11 +17,11 @@ ...@@ -17,11 +17,11 @@
} }
#app { #app {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
.appBack { .appBack {
background: url('https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_11021553049639917201920104039917bpohhr_login_bg.png'); /*background: url('https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_11021553049639917201920104039917bpohhr_login_bg.png');*/
background-size: 100% 100%; background-size: 100% 100%;
width: 100%; width: 100%;
height: 100%; height: 100%;
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
/* margin: 0 auto; */ /* margin: 0 auto; */
width: 100%; width: 100%;
height: 100%; height: 100%;
display: none;
} }
.loginBox { .loginBox {
...@@ -63,6 +63,7 @@ ...@@ -63,6 +63,7 @@
bottom: 0; bottom: 0;
right: 0; right: 0;
margin: auto; margin: auto;
display: none;
} }
.identifybox { .identifybox {
...@@ -118,55 +119,14 @@ ...@@ -118,55 +119,14 @@
</style> </style>
</head> </head>
<body style="overflow: hidden; width: 100%; height: 100%;"> <body style="overflow: hidden; width: 100%;
<div id="app"> height: 100%;
<div class="appBack"> ">
<!-- <div :style="appBox"> --> <div id="app">
<div class="appBox"> <div>欢迎使用薪必果电子签</div>
<div class="loginBox"> </div>
<img <script src="/js/vue/jquery.min.js"></script>
src="https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_42731556107828871201924201028871xbg_bg.png" /> <script src="/js/vue/axios.min.js"></script>
<div
style="position:absolute;top: 100px;left: 800px;background-color:white;width: 340px;height: 406px;">
<el-form style="margin:20px 20px;" :model="loginForm" :rules="rules" ref="loginForm"
label="right" class="demo-ruleForm">
<span style="color: #666666; font-size: 16px;width: 214px;">您好,欢迎登录薪必果·合伙人系统</span>
<label class="grayLine"></label>
<el-form-item label="手机号:" prop="userName" class="itemLaber">
<el-input v-model="loginForm.userName" style="width:300px;height:40px;"
placeholder="请输入帐号" @keyup.enter.native="login" ></el-input>
</el-form-item>
<el-form-item label="登录密码:" prop="password" class="itemLaber" style="padding-bottom:15px;">
<el-input type="password" style="width:300px;height:40px;" v-model="loginForm.password"
placeholder="请输入密码" @keyup.enter.native="login" ></el-input>
</el-form-item>
<div v-if="showAggree" style="float:left;">
<el-checkbox style="float:left" v-model="isAggree">我已知悉并同意</el-checkbox>
<a href="https://gsb-zc.oss-cn-beijing.aliyuncs.com/zc_zxy_0b1be902e883436491036942391e7e9d.pdf"
style="float:left;text-decoration:none;color:blue;font-size: 13px;
padding-top: 1px;" target="_blank">《薪必果合伙人协议》</a>
</div>
<el-button v-if="!showAggree || (showAggree && isAggree)" @click="login"
style="margin-top:15px;width:300px;height:40px;background-color: #5FD7B8;color: #FFFFFF; font-size: 18px;">登录</el-button>
<el-button v-else @click="login"
style="margin-top:15px;width:300px;height:40px;font-size: 18px;" disabled>登录
</el-button>
</el-form>
</div>
<div class="appBotton">
<span style="color:#CCCCCC;padding: 20px;font-size: 16px;">版权所有©汉唐信通(北京)科技有限公司</span>
</div>
</div>
</div>
</div>
</div>
<script src="/js/vue/jquery.min.js"></script>
<script src="/js/vue/axios.min.js"></script>
<script src="/js/login/loginbpoadmin.js"></script>
</body> </body>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title id="needh5">薪必果企业登录</title> <title id="needh5">薪必果电子签</title>
<link rel="stylesheet" href="/css/ele/chalk.css"> <link rel="stylesheet" href="/css/ele/chalk.css">
<link rel="stylesheet" href="/css/main.css"> <link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="/css/fontawesome/css/font-awesome.min.css"> <link rel="stylesheet" href="/css/fontawesome/css/font-awesome.min.css">
...@@ -17,11 +17,11 @@ ...@@ -17,11 +17,11 @@
} }
#app { #app {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
.appBack { .appBack {
background: url('https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_11021553049639917201920104039917bpohhr_login_bg.png'); /*background: url('https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_11021553049639917201920104039917bpohhr_login_bg.png');*/
background-size: 100% 100%; background-size: 100% 100%;
width: 100%; width: 100%;
height: 100%; height: 100%;
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
/* margin: 0 auto; */ /* margin: 0 auto; */
width: 100%; width: 100%;
height: 100%; height: 100%;
display: none;
} }
.loginBox { .loginBox {
...@@ -63,6 +63,7 @@ ...@@ -63,6 +63,7 @@
bottom: 0; bottom: 0;
right: 0; right: 0;
margin: auto; margin: auto;
display: none;
} }
.identifybox { .identifybox {
...@@ -78,7 +79,7 @@ ...@@ -78,7 +79,7 @@
.itemLaber .el-form-item__label { .itemLaber .el-form-item__label {
color: #666666; color: #666666;
font-size: 14px; font-size: 16px;
font-weight: bold; font-weight: bold;
margin-left: 0px; margin-left: 0px;
} }
...@@ -115,66 +116,17 @@ ...@@ -115,66 +116,17 @@
color: #c0c4cc; color: #c0c4cc;
font-size: 14px; font-size: 14px;
} }
.subbtn {
}
.quickreg {
float: left;
color: #5FD7B8;
text-decoration: none;
font-size: 13px;
}
.forgetpwd {
float: right;
color: #999999;
text-decoration: none;
font-size: 13px;
}
</style> </style>
</head> </head>
<body style="overflow: hidden; width: 100%; height: 100%;"> <body style="overflow: hidden; width: 100%;
<div id="app"> height: 100%;
<div class="appBack"> ">
<!-- <div :style="appBox"> --> <div id="app">
<div class="appBox"> <div>欢迎使用薪必果电子签</div>
<div class="loginBox"> </div>
<img <script src="/js/vue/jquery.min.js"></script>
src="https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_42731556107828871201924201028871xbg_bg.png" /> <script src="/js/vue/axios.min.js"></script>
<div
style="position:absolute;top: 120px;left: 800px;background-color:white;width: 340px;height: 380px;">
<el-form style="margin:20px 20px;" :model="loginForm" :rules="rules" ref="loginForm"
label="right" class="demo-ruleForm">
<span style="color: #666666; font-size: 16px;width: 214px;">您好,欢迎登录薪必果企业后台</span>
<label class="grayLine"></label>
<el-form-item label="手机号:" prop="userName" class="itemLaber">
<el-input v-model="loginForm.userName" style="width:300px;height:40px;"
placeholder="请输入帐号" @keyup.enter.native="login" ></el-input>
</el-form-item>
<el-form-item label="登录密码:" prop="password" class="itemLaber" >
<el-input type="password" style="width:300px;height:40px;" v-model="loginForm.password"
placeholder="请输入密码" @keyup.enter.native="login" ></el-input>
</el-form-item>
<div>
<a @click="toreg" class="quickreg" href="javascript:;">快速注册&gt;</a>
<a @click="toforget" class="forgetpwd" href="javascript:;">忘记密码?</a>
</div>
<el-button @click="login" style="margin-top:20px;width:300px;height:40px;background-color: #5FD7B8;color: #FFFFFF; font-size: 18px; " >登录</el-button>
</el-form>
</div>
<div class="appBotton">
<span style="color:#CCCCCC;padding: 20px;font-size: 16px;">版权所有©汉唐信通(北京)科技有限公司</span>
</div>
</div>
</div>
</div>
</div>
<script src="/js/vue/jquery.min.js"></script>
<script src="/js/vue/axios.min.js"></script>
<script src="/js/login/loginbpoent.js"></script>
</body> </body>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title id="needh5">薪必果合伙人登录</title> <title id="needh5">薪必果电子签</title>
<link rel="stylesheet" href="/css/ele/chalk.css"> <link rel="stylesheet" href="/css/ele/chalk.css">
<link rel="stylesheet" href="/css/main.css"> <link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="/css/fontawesome/css/font-awesome.min.css"> <link rel="stylesheet" href="/css/fontawesome/css/font-awesome.min.css">
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
} }
.appBack { .appBack {
background: url('https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_11021553049639917201920104039917bpohhr_login_bg.png'); /*background: url('https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_11021553049639917201920104039917bpohhr_login_bg.png');*/
background-size: 100% 100%; background-size: 100% 100%;
width: 100%; width: 100%;
height: 100%; height: 100%;
...@@ -123,52 +123,10 @@ ...@@ -123,52 +123,10 @@
height: 100%; height: 100%;
"> ">
<div id="app"> <div id="app">
<div class="appBack"> <div>欢迎使用薪必果电子签</div>
<!-- <div :style="appBox"> -->
<div class="appBox">
<div class="loginBox">
<img
src="https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_3744155729816966920198144929669bpohhr_login_box.png" />
<div
style="position:absolute;top: 60px;left: 800px;background-color:white;width: 340px;height: 406px;">
<el-form style="margin:20px 20px;" :model="loginForm" :rules="rules" ref="loginForm"
label="right" class="demo-ruleForm">
<span style="color: #666666; font-size: 16px;width: 214px;">您好,欢迎登录薪必果·合伙人系统</span>
<label class="grayLine"></label>
<el-form-item label="手机号:" prop="userName" class="itemLaber">
<el-input v-model="loginForm.userName" style="width:300px;height:40px;"
placeholder="请输入帐号" @keyup.enter.native="login" ></el-input>
</el-form-item>
<el-form-item label="登录密码:" prop="password" class="itemLaber" style="padding-bottom:15px;">
<el-input type="password" style="width:300px;height:40px;" v-model="loginForm.password"
placeholder="请输入密码" @keyup.enter.native="login" ></el-input>
</el-form-item>
<div v-if="showAggree" style="float:left;">
<el-checkbox style="float:left" v-model="isAggree">我已知悉并同意</el-checkbox>
<a href="https://gsb-zc.oss-cn-beijing.aliyuncs.com/zc_zxy_0b1be902e883436491036942391e7e9d.pdf"
style="float:left;text-decoration:none;color:blue;font-size: 13px;
padding-top: 1px;" target="_blank">《薪必果合伙人协议》</a>
</div>
<el-button v-if="!showAggree || (showAggree && isAggree)" @click="login"
style="margin-top:15px;width:300px;height:40px;background-color: #5FD7B8;color: #FFFFFF; font-size: 18px;">登录</el-button>
<el-button v-else @click="login"
style="margin-top:15px;width:300px;height:40px;font-size: 18px;" disabled>登录</el-button>
</el-form>
</div>
<div class="appBotton">
<span style="color:#CCCCCC;padding: 20px;font-size: 16px;">版权所有©汉唐信通(北京)科技有限公司</span>
</div>
</div>
</div>
</div>
</div> </div>
<script src="/js/vue/jquery.min.js"></script> <script src="/js/vue/jquery.min.js"></script>
<script src="/js/vue/axios.min.js"></script> <script src="/js/vue/axios.min.js"></script>
<script src="/js/login/loginbpohhr.js"></script>
</body> </body>
......
...@@ -38,7 +38,7 @@ var app = new Vue({ ...@@ -38,7 +38,7 @@ var app = new Vue({
created: function () { created: function () {
}, },
mounted: function () { mounted: function () {
window.location.href = "https://bpogsb.gongsibao.com/loginbpohhr"; // window.location.href = "https://bpogsb.gongsibao.com/loginbpohhr";
// // window.location.href = "https://bpohhr.gongsibao.com/loginbpoent"; // // window.location.href = "https://bpohhr.gongsibao.com/loginbpoent";
// var harr = window.location.href.split("//"); // var harr = window.location.href.split("//");
// this.domainUrl = harr[0] + "//" + window.location.host; // this.domainUrl = harr[0] + "//" + window.location.host;
...@@ -53,41 +53,41 @@ var app = new Vue({ ...@@ -53,41 +53,41 @@ var app = new Vue({
}, },
btnclick: function (pfm, code) { btnclick: function (pfm, code) {
}, },
login() { // login() {
var self = this; // var self = this;
if(self.showAggree) { // if(self.showAggree) {
self.loginForm.aggree = self.isAggree; // self.loginForm.aggree = self.isAggree;
} // }
this.$refs['loginForm'].validate((valid) => { // this.$refs['loginForm'].validate((valid) => {
console.log(valid); // console.log(valid);
if (valid) { // if (valid) {
//处理登录逻辑 // //处理登录逻辑
self.$root.postReq("/web/userCtl/loginhhr",{u:self.loginForm}).then(function(d){ // self.$root.postReq("/web/userCtl/loginhhr",{u:self.loginForm}).then(function(d){
if(d.status==0) { // if(d.status==0) {
window.location.href = self.domainUrl; // window.location.href = self.domainUrl;
// self.$root.pushx({nane:"/home", notab:true}); // // self.$root.pushx({nane:"/home", notab:true});
} else { // } else {
self.$message.warning(d.msg || "登录失败, 请稍候重试"); // self.$message.warning(d.msg || "登录失败, 请稍候重试");
} // }
}); // });
} else { // } else {
return false; // return false;
} // }
}); // });
}, // },
patnerValid() { // patnerValid() {
var self = this; // var self = this;
//调用接口,根据用户名判断是否协议 // //调用接口,根据用户名判断是否协议
this.$root.postReq("/web/userCtl/patnerValid", { // this.$root.postReq("/web/userCtl/patnerValid", {
userName: self.loginForm.userName // userName: self.loginForm.userName
}).then(rd => { // }).then(rd => {
self.showAggree = false; // self.showAggree = false;
if (rd.status == 0) { // if (rd.status == 0) {
if (rd.data == "1") { // if (rd.data == "1") {
self.showAggree = true; // self.showAggree = true;
} // }
} // }
}); // });
}, // },
}, },
}); });
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment