init: import production code mss.nahaichuan.com (exclude Runtime/Uploads/backups/logs)
这个提交包含在:
@@ -0,0 +1,122 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<!--[1.1.7]-->
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport"
|
||||
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>绑定微信</title>
|
||||
<link rel="stylesheet" href="__PUBLIC__/vip/css/accredit.css">
|
||||
<style>
|
||||
body,html{
|
||||
background-color: white;
|
||||
}
|
||||
.box{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
color: #333;
|
||||
}
|
||||
.box>span{
|
||||
line-height: 32px;
|
||||
}
|
||||
.tips{
|
||||
font-size: 16px;
|
||||
color: #333;
|
||||
}
|
||||
.accredit-btn {
|
||||
width: 70%;
|
||||
height: 40px;
|
||||
background: #07c160;
|
||||
line-height: 40px;
|
||||
color: #fff;
|
||||
font-size: 16px;
|
||||
border-radius: 20px;
|
||||
margin-top: 150px;
|
||||
outline: none;
|
||||
border: none;
|
||||
text-align: center;
|
||||
}
|
||||
.notClick{
|
||||
background-color: #ccc;
|
||||
}
|
||||
.item-btn-one {
|
||||
width: 90%;
|
||||
height: 40px;
|
||||
background: #FFffff;
|
||||
line-height: 40px;
|
||||
color: #333;
|
||||
font-size: 16px;
|
||||
outline: none;
|
||||
border: none;
|
||||
margin-top: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<empty name="userInfo">
|
||||
<div class="box">
|
||||
<div class="tips">{$msg}</div>
|
||||
<div class="accredit-btn btn">退出</div>
|
||||
</div>
|
||||
<else/>
|
||||
<div class="box">
|
||||
<span>您正在授权于{$userInfo['type']}</span>
|
||||
<span style="font-weight: bold;">{$userInfo['name']}</span>
|
||||
<span>绑定登录权限</span>
|
||||
<div class="accredit-btn sub">确认绑定</div>
|
||||
<div class="item-btn-one cancel">取消绑定</div>
|
||||
</div>
|
||||
</empty>
|
||||
|
||||
<script src="__PUBLIC__/vip/js/jquery-3.2.1.min.js"></script>
|
||||
<script src="__PUBLIC__/vip/js/window-reload.js"></script>
|
||||
<script type="text/javascript" src="__PUBLIC__/layui/layui.js"></script>
|
||||
<script>
|
||||
layui.use(['layer','form'],function () {
|
||||
var layer = layui.layer;
|
||||
$(".sub").click(function () {
|
||||
if(!$(this).hasClass('notClick')){
|
||||
$(this).addClass('notClick');
|
||||
$.post("{:U('checkUser')}",{
|
||||
token: "{$token}"
|
||||
},function (res) {
|
||||
if(res.status == 1){
|
||||
layer.msg(res.msg,{time:1000},function () {
|
||||
WeixinJSBridge.call('closeWindow');
|
||||
});
|
||||
}else{
|
||||
layer.msg(res.msg,{time:1000,icon:7});
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
var canClick = true;
|
||||
$(".cancel").click(function () {
|
||||
if(canClick){
|
||||
canClick = false;
|
||||
$.post("{:U('cancelAuth')}",{
|
||||
token: "{$token}"
|
||||
},function (res) {
|
||||
if(res.status == 1){
|
||||
layer.msg(res.msg,{time:1000},function () {
|
||||
WeixinJSBridge.call('closeWindow');
|
||||
});
|
||||
}else{
|
||||
layer.msg(res.msg,{time:1000,icon:7});
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
$('.btn').click(function () {
|
||||
WeixinJSBridge.call('closeWindow');
|
||||
})
|
||||
})
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,56 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<!--[1.6.48]-->
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||
<title>选择修改角色</title>
|
||||
<link rel="stylesheet" href="/Public/css/reset.css">
|
||||
<link rel="stylesheet" href="/Public/login/css/common.css">
|
||||
<!-- 本地引入element-ui样式 -->
|
||||
<link rel="stylesheet" href="/Public/vue/element-ui.2.8.2.css">
|
||||
<link rel="stylesheet" href="/Public/login/css/mobile-change-pwd-step1.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="app">
|
||||
<div class="mobile-change-pwd-step1-wp">
|
||||
<div v-if="isShow" class="role-list-wp" v-cloak>
|
||||
<h1 class="title">请选择所要修改密码的角色</h1>
|
||||
<ul class="role-list">
|
||||
<li class="role" v-for="(role,index) in roleList" ::key="index" @click="chooseRole(index)"
|
||||
:class="{active: isClick === index}">
|
||||
<div class="left">
|
||||
<div class="name">{{role.login_name}}</div>
|
||||
</div>
|
||||
<div class="right">{{role.name}}</div>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="next-btn">
|
||||
<el-button type="primary" round @click="next">下一步</el-button>
|
||||
</div>
|
||||
</div>
|
||||
<div v-else class="have-no-role" v-cloak>
|
||||
<h1 class="title">
|
||||
<img src="/Public/login/images/error.png" alt="">
|
||||
<div>您未绑定过任何账号</div>
|
||||
</h1>
|
||||
<div class="confirm-btn">
|
||||
<el-button type="primary" round @click="closeH5">确定</el-button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 本地引入vue.js -->
|
||||
<script src="/Public/vue/js/vue2.5.16.js"></script>
|
||||
<!-- 本地引入element-ui的js文件 -->
|
||||
<script src="/Public/vue/element-ui.2.8.2.js"></script>
|
||||
<!-- 本地引入jQuery -->
|
||||
<script src="/Public/jquery/js/jquery-3.2.1.min.js"></script>
|
||||
<script src="/Public/login/js/common.js"></script>
|
||||
<script src="/Public/js/newAjax.js"></script>
|
||||
<script src="/Public/js/getparam.js"></script>
|
||||
<script src="/Public/login/js/mobile-change-pwd-step1.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,225 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!--[1.6.9]-->
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport"
|
||||
content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
|
||||
<title>确认登录</title>
|
||||
<link rel="stylesheet" href="__PUBLIC__/vip/css/accredit.css">
|
||||
<link rel="stylesheet" href="__PUBLIC__/layui/css/layui.css" media="all">
|
||||
<style type="text/css">
|
||||
[v-cloak] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body {
|
||||
background: white;
|
||||
}
|
||||
|
||||
#login {
|
||||
margin-top: 80px;
|
||||
}
|
||||
|
||||
.icon {
|
||||
display: block;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.texta {
|
||||
text-align: center;
|
||||
line-height: 30px;
|
||||
font-size: 14px;
|
||||
box-sizing: border-box;
|
||||
padding-bottom: 20px;
|
||||
color: #666;
|
||||
font-weight: bold;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.textb {
|
||||
text-align: center;
|
||||
font-size: 13px;
|
||||
color: #999;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.item-btn {
|
||||
width: 50%;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
font-size: 16px;
|
||||
outline: none;
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
background-color: #07c160;
|
||||
border: 1px solid #07c160;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.item-div-btn {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.item-btn-one {
|
||||
width: 90%;
|
||||
height: 40px;
|
||||
background: #FFffff;
|
||||
line-height: 40px;
|
||||
color: #333;
|
||||
font-size: 16px;
|
||||
outline: none;
|
||||
border: none;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.login-btn {
|
||||
width: 150px;
|
||||
padding: 5px 0;
|
||||
color: #666;
|
||||
margin: 10px auto;
|
||||
border-radius: 5px;
|
||||
outline: none;
|
||||
box-shadow: none;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
|
||||
.select {
|
||||
border-color: #07c160;
|
||||
color: #07c160;
|
||||
}
|
||||
|
||||
.fixed {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
bottom: 40px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.tips {
|
||||
text-align: center;
|
||||
color: #07c160;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="login" v-cloak :style="userList.length==4?'margin-top:50px':userList.length==5?'margin-top:20px':''">
|
||||
|
||||
<div class="item-img">
|
||||
<img class="icon" src="__PUBLIC__/login/images/4.png">
|
||||
</div>
|
||||
<div class="texta">
|
||||
<if condition="$canScan eq 1">
|
||||
<span style="font-size: 16px">登录确认</span>
|
||||
<else/>
|
||||
<span style="font-size: 16px;color:#07c160">您没有登陆权限</span>
|
||||
</if>
|
||||
<p class="textb">
|
||||
<if condition="$canScan eq 1">为保障账户安全,请确保是本人操作
|
||||
<else/>
|
||||
请取消登陆
|
||||
</if>
|
||||
</p>
|
||||
</div>
|
||||
<div class="fixed" :style="userList.length>3?'bottom:20px':''">
|
||||
<if condition="$canScan eq 1">
|
||||
<div class="form-btn" @click="userLogin">
|
||||
<button class='item-btn'>登录</button>
|
||||
</div>
|
||||
<div class="item-div-btn" @click="user_call_off">
|
||||
<button class='item-btn-one'>取消登录</button>
|
||||
</div>
|
||||
<else/>
|
||||
<div class="form-btn" @click="userClose">
|
||||
<button class='item-btn'>关闭扫码</button>
|
||||
</div>
|
||||
</if>
|
||||
</div>
|
||||
|
||||
<div id="userList" v-if="userList.length>1">
|
||||
<div class="tips">请选择登录角色</div>
|
||||
<template v-for="(item,index) in userList">
|
||||
<div class="login-btn" @click="doSelect(index)" :class="selectIndex==index?'select':''">{{ item.name }}
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
</div>
|
||||
<script src="__PUBLIC__/vue/js/vue2.5.16.js"></script>
|
||||
<script src="__PUBLIC__/vip/js/jquery-3.2.1.min.js"></script>
|
||||
<script src="__PUBLIC__/vip/js/window-reload.js"></script>
|
||||
<script type="text/javascript" src="__PUBLIC__/layui/layui.js"></script>
|
||||
<script type="text/javascript">
|
||||
var layer;
|
||||
layui.use(['layer'], function () {
|
||||
layer = layui.layer;
|
||||
});
|
||||
new Vue({
|
||||
el: "#login",
|
||||
data: {
|
||||
userList: {$userList},
|
||||
selectIndex: -1,
|
||||
},
|
||||
methods: {
|
||||
doSelect: function (index) {
|
||||
this.selectIndex = index;
|
||||
},
|
||||
/* 用户登陆 */
|
||||
userLogin: function () {
|
||||
if (this.userList.length > 1 && this.selectIndex == -1) {
|
||||
layer.msg('请选择登录角色', {time: 1000});
|
||||
return;
|
||||
} else {
|
||||
this.selectIndex = this.selectIndex == -1 ? 0 : this.selectIndex;
|
||||
}
|
||||
var jurId = this.userList[this.selectIndex]['id'];
|
||||
var index = layer.load(1, {
|
||||
shade: [0.1, '#ccc']
|
||||
});
|
||||
var token = "{$token}";
|
||||
$.post("{:U('userLogin')}", {
|
||||
token: token,
|
||||
jurId: jurId
|
||||
}, function (res) {
|
||||
layer.close(index);
|
||||
layer.msg(res.msg, {time: 1500}, function () {
|
||||
if (res.status == 1) {
|
||||
WeixinJSBridge.call('closeWindow');
|
||||
}
|
||||
});
|
||||
})
|
||||
},
|
||||
|
||||
/* 用户取消 */
|
||||
user_call_off: function () {
|
||||
var token = "{$token}";
|
||||
$.post("{:U('user_call_off')}", {
|
||||
token: token
|
||||
}, function (res) {
|
||||
top.layer.msg(res.msg, {time: 1500}, function () {
|
||||
WeixinJSBridge.call('closeWindow');
|
||||
});
|
||||
})
|
||||
},
|
||||
userClose: function () {
|
||||
var token = "{$token}";
|
||||
$.post("{:U('userClose')}", {
|
||||
token: token
|
||||
}, function (res) {
|
||||
top.layer.msg(res.msg, {time: 1500}, function () {
|
||||
WeixinJSBridge.call('closeWindow');
|
||||
});
|
||||
})
|
||||
}
|
||||
},
|
||||
created: function () {
|
||||
},
|
||||
})
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,50 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<!--[1.6.48]-->
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||
<title>设置新密码</title>
|
||||
<link rel="stylesheet" href="/Public/css/reset.css">
|
||||
<link rel="stylesheet" href="/Public/login/css/common.css">
|
||||
<!-- 本地引入element-ui样式 -->
|
||||
<link rel="stylesheet" href="/Public/vue/element-ui.2.8.2.css">
|
||||
<link rel="stylesheet" href="/Public/login/css/mobile-change-pwd-step2.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="app">
|
||||
<div class="mobile-change-pwd-step2-wp">
|
||||
<el-form :model="setNewPwdForm" :rules="setNewPwdRules" ref="setNewPwdForm" :hide-required-asterisk="true"
|
||||
class="form-wp">
|
||||
<h1 class="title">
|
||||
<span>{{userInfo.name}}</span>
|
||||
正在更改密码
|
||||
</h1>
|
||||
<el-form-item label="" prop="pwd1" class="password1">
|
||||
<el-input v-model="setNewPwdForm.pwd1" placeholder="请输入新密码" show-password></el-input>
|
||||
<span class="prefix">密码</span>
|
||||
</el-form-item>
|
||||
<el-form-item label="" prop="pwd2" class="password2">
|
||||
<el-input v-model="setNewPwdForm.pwd2" placeholder="请再次输入新密码" show-password></el-input>
|
||||
<span class="prefix">确认密码</span>
|
||||
</el-form-item>
|
||||
<el-form-item class="confirm-change-btn">
|
||||
<el-button type="primary" round @click="submitForm('setNewPwdForm')">确认修改</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 本地引入vue.js -->
|
||||
<script src="/Public/vue/js/vue2.5.16.js"></script>
|
||||
<!-- 本地引入element-ui的js文件 -->
|
||||
<script src="/Public/vue/element-ui.2.8.2.js"></script>
|
||||
<!-- 本地引入jQuery -->
|
||||
<script src="/Public/jquery/js/jquery-3.2.1.min.js"></script>
|
||||
<script src="/Public/login/js/common.js"></script>
|
||||
<script src="/Public/js/newAjax.js"></script>
|
||||
<script src="/Public/js/getparam.js"></script>
|
||||
<script src="/Public/login/js/mobile-change-pwd-step2.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,45 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<!--[1.6.48]-->
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||
<title>选择修改角色</title>
|
||||
<link rel="stylesheet" href="/Public/css/reset.css">
|
||||
<link rel="stylesheet" href="/Public/login/css/common.css">
|
||||
<!-- 本地引入element-ui样式 -->
|
||||
<link rel="stylesheet" href="/Public/vue/element-ui.2.8.2.css">
|
||||
<link rel="stylesheet" href="/Public/login/css/mobile-change-pwd-step3.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="app">
|
||||
<div class="mobile-change-pwd-step3-wp">
|
||||
<div class="chnege-status">
|
||||
<h1 v-if="isChangeSuccess" class="title" v-cloak>
|
||||
<img src="/Public/login/images/success-icon.png" alt="">
|
||||
<div>密码修改成功!</div>
|
||||
</h1>
|
||||
<h1 v-else class="title" v-cloak>
|
||||
<img src="/Public/login/images/error.png" alt="">
|
||||
<div>原密码与新密码相同</div>
|
||||
</h1>
|
||||
<div class="confirm-btn">
|
||||
<el-button type="primary" round @click="closeH5">确定</el-button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 本地引入vue.js -->
|
||||
<script src="/Public/vue/js/vue2.5.16.js"></script>
|
||||
<!-- 本地引入element-ui的js文件 -->
|
||||
<script src="/Public/vue/element-ui.2.8.2.js"></script>
|
||||
<!-- 本地引入jQuery -->
|
||||
<script src="/Public/jquery/js/jquery-3.2.1.min.js"></script>
|
||||
<script src="/Public/login/js/common.js"></script>
|
||||
<script src="/Public/js/newAjax.js"></script>
|
||||
<script src="/Public/js/getparam.js"></script>
|
||||
<script src="/Public/login/js/mobile-change-pwd-step3.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
在新工单中引用
屏蔽一个用户