Commit 346317e9 authored by 赵然's avatar 赵然

zr

parent 1727af30
package main.com.atguigu.springmvc.entities;
public class AppDO {
}
package main.com.atguigu.springmvc.entities;
public class UserDO {
}
......@@ -361,6 +361,7 @@
<li>
<a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a>
<ul>
<li><a href="usermng.html">模拟用户管理</a></li>
<li><a href="creatUrl.html">生成免登链接</a></li>
<li><a href="userInfo.html">用户基础信息</a></li>
<li><a href="account.html">钱包账户设置</a></li>
......
......@@ -72,8 +72,10 @@ $(document).ready(function(){
var userId = $("#user_id2_v").val();
var cardId = $("#card_id_v").val();
var count = $("#count_id_v").val();
var type = $("#type_v").val();
var ac = $("#ac_v2").val();
$.post("doSet", {"userId":userId,"cardId":cardId,"count":count},function(data, status){
$.post("doSet", {"userId":escape(encodeURIComponent(userId)),"cardId":cardId,"count":count,"type":type,"ac":escape(encodeURIComponent(ac))},function(data, status){
$("#result").val(data.message);
});
});
......@@ -85,7 +87,9 @@ $(document).ready(function(){
var userId = $("#user_id_v").val();
var ruleId = $("#rule_id_v").val();
var termId = $("#term_id_v").val();
$.post("doClear", {"userId":userId,"ruleId":ruleId,"termId":termId},function(data, status){
var ac = $("#ac_v").val();
$.post("doClear", {"userId":escape(encodeURIComponent(userId)),"ruleId":ruleId,"termId":termId,"ac":escape(encodeURIComponent(ac))},function(data, status){
$("#result_clear").val(data.message);
});
});
......@@ -247,17 +251,24 @@ $(document).ready(function(){
<div class="mws-form-row" id="user_id2">
<label>用户id</label>
<div class="mws-form-item small">
<input type="number" class="mws-textinput" name="user_id" placeholder="user_id,开发者用户id,非consumer_id" id="user_id2_v"/>
<input type="text" class="mws-textinput" name="user_id" placeholder="user_id,开发者用户id,非consumer_id" id="user_id2_v"/>
</div>
</div>
<div class="mws-form-row" id="ac_id2">
<label>用户ac</label>
<div class="mws-form-item small">
<input type="text" class="mws-textinput" name="_ac" placeholder="登录cookie,userid非数字则必填" id="ac_v2"/>
</div>
</div>
<!--<div class="mws-form-row">-->
<!--<label>操作选项</label>-->
<!--<select name="action" id="action_v">-->
<!--<option value="addCard">新增卡片</option>-->
<!--<option value="deleteCard">删除卡片</option>-->
<!--</select>-->
<!--</div>-->
<div class="mws-form-row">
<label>活动类型</label>
<select name="action" id="type_v">
<option value="0">兑吧集卡商品</option>
<option value="1">开发者集卡商品</option>
</select>
</div>
<div class="mws-form-row" id="card_id">
<label>卡片id</label>
......@@ -300,7 +311,14 @@ $(document).ready(function(){
<div class="mws-form-row" id="user_id">
<label>用户id</label>
<div class="mws-form-item small">
<input type="number" class="mws-textinput" name="user_id" placeholder="user_id,开发者用户id,非consumer_id" id="user_id_v"/>
<input type="text" class="mws-textinput" name="user_id" placeholder="user_id,开发者用户id,非consumer_id" id="user_id_v"/>
</div>
</div>
<div class="mws-form-row" id="ac_id">
<label>用户ac</label>
<div class="mws-form-item small">
<input type="text" class="mws-textinput" name="_ac" placeholder="登录cookie,userid非数字则必填" id="ac_v"/>
</div>
</div>
......
......@@ -231,6 +231,7 @@ $(document).ready(function(){
<li>
<a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a>
<ul>
<li><a href="usermng.html">模拟用户管理</a></li>
<li><a href="creatUrl.html">生成免登链接</a></li>
<li><a href="userInfo.html">用户基础信息</a></li>
<li><a href="account.html">钱包账户设置</a></li>
......
......@@ -210,6 +210,7 @@ function check2(obj){
<li>
<a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a>
<ul>
<li><a href="usermng.html">模拟用户管理</a></li>
<li><a href="creatUrl.html">生成免登链接</a></li>
<li><a href="userInfo.html">用户基础信息</a></li>
<li><a href="account.html">钱包账户设置</a></li>
......
......@@ -203,6 +203,7 @@ $(document).ready(function(){
<li>
<a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a>
<ul>
<li><a href="usermng.html">模拟用户管理</a></li>
<li><a href="creatUrl.html">生成免登链接</a></li>
<li><a href="userInfo.html">用户基础信息</a></li>
<li><a href="#">钱包账户设置</a></li>
......
......@@ -260,6 +260,7 @@
<li>
<a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a>
<ul>
<li><a href="usermng.html">模拟用户管理</a></li>
<li><a href="creatUrl.html">生成免登链接</a></li>
<li><a href="userInfo.html">用户基础信息</a></li>
<li><a href="account.html">钱包账户设置</a></li>
......
......@@ -290,6 +290,7 @@
<li>
<a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a>
<ul>
<li><a href="usermng.html">模拟用户管理</a></li>
<li><a href="creatUrl.html">生成免登链接</a></li>
<li><a href="userInfo.html">用户基础信息</a></li>
<li><a href="account.html">钱包账户设置</a></li>
......
......@@ -203,6 +203,7 @@ $(document).ready(function(){
<li class="active">
<a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a>
<ul>
<li><a href="usermng.html">模拟用户管理</a></li>
<li><a href="#">生成免登链接</a></li>
<li><a href="userInfo.html">用户基础信息</a></li>
<li><a href="account.html">钱包账户设置</a></li>
......
......@@ -290,6 +290,7 @@
<li>
<a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a>
<ul>
<li><a href="usermng.html">模拟用户管理</a></li>
<li><a href="creatUrl.html">生成免登链接</a></li>
<li><a href="userInfo.html">用户基础信息</a></li>
<li><a href="account.html">钱包账户设置</a></li>
......
......@@ -307,6 +307,7 @@
<li>
<a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a>
<ul>
<li><a href="usermng.html">模拟用户管理</a></li>
<li><a href="creatUrl.html">生成免登链接</a></li>
<li><a href="userInfo.html">用户基础信息</a></li>
<li><a href="account.html">钱包账户设置</a></li>
......
......@@ -51,11 +51,11 @@ $(document).ready(function() {
$("#mws-jui-dialog").dialog({
autoOpen: false,
title: "jQuery-UI Dialog",
title: "批量创建用户",
modal: true,
width: "640",
buttons: [{
text: "Close Dialog",
text: "关闭弹窗",
click: function() {
$( this ).dialog( "close" );
}}]
......@@ -69,6 +69,23 @@ $(document).ready(function() {
event.preventDefault();
});
$("#mws-jui-dialog-2").dialog({
autoOpen: false,
title: "批量删除用户",
modal: true,
width: "640",
buttons: [{
text: "关闭弹窗",
click: function() {
$( this ).dialog( "close" );
}}]
});
$("#mws-jui-dialog-mdl-btn-2").bind("click", function(event) {
$("#mws-jui-dialog-2").dialog("option", {modal: true}).dialog("open");
event.preventDefault();
});
$(".mws-slider-vertical").slider({
orientation: "vertical",
range: "min",
......@@ -143,6 +160,7 @@ $(document).ready(function() {
}
});
/* Full Calendar */
var date = new Date();
......
......@@ -290,6 +290,7 @@
<li>
<a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a>
<ul>
<li><a href="usermng.html">模拟用户管理</a></li>
<li><a href="creatUrl.html">生成免登链接</a></li>
<li><a href="userInfo.html">用户基础信息</a></li>
<li><a href="account.html">钱包账户设置</a></li>
......
......@@ -223,6 +223,7 @@ $(document).ready(function(){
<li>
<a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a>
<ul>
<li><a href="usermng.html">模拟用户管理</a></li>
<li><a href="creatUrl.html">生成免登链接</a></li>
<li><a href="userInfo.html">用户基础信息</a></li>
<li><a href="account.html">钱包账户设置</a></li>
......
......@@ -259,6 +259,7 @@
<li>
<a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a>
<ul>
<li><a href="usermng.html">模拟用户管理</a></li>
<li><a href="creatUrl.html">生成免登链接</a></li>
<li><a href="userInfo.html">用户基础信息</a></li>
<li><a href="account.html">钱包账户设置</a></li>
......
......@@ -257,6 +257,7 @@
<li>
<a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a>
<ul>
<li><a href="usermng.html">模拟用户管理</a></li>
<li><a href="creatUrl.html">生成免登链接</a></li>
<li><a href="userInfo.html">用户基础信息</a></li>
<li><a href="account.html">钱包账户设置</a></li>
......
......@@ -81,6 +81,21 @@ $(document).ready(function(){
}
});
$("#searchInfo2").click(function(e){
var consumerId = $("#consumer_id2_v").val();
if (consumerId==null || consumerId==""){
alert("原始文本不可为空");
return false;
}else {
$("#result2").val("获取执行结果,请等待~");
e.preventDefault();
$.post("searchInfo2", {"consumerId": consumerId}, function (data, status) {
$("#result2").val(data.message);
});
}
});
});
</script>
......@@ -174,6 +189,7 @@ $(document).ready(function(){
<li>
<a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a>
<ul>
<li><a href="usermng.html">模拟用户管理</a></li>
<li><a href="creatUrl.html">生成免登链接</a></li>
<li><a href="#">用户基础信息</a></li>
<li><a href="account.html">钱包账户设置</a></li>
......@@ -212,7 +228,7 @@ $(document).ready(function(){
<div class="mws-panel grid_4">
<div class="mws-panel-header">
<span class="mws-i-24 i-upload">用户基本信息查询</span>
<span class="mws-i-24 i-upload">partnerId查用户基本信息</span>
</div>
<div class="mws-panel-body">
<form class="mws-form">
......@@ -239,6 +255,37 @@ $(document).ready(function(){
</div>
</div>
<div class="clear"></div>
<div class="mws-panel grid_4">
<div class="mws-panel-header">
<span class="mws-i-24 i-upload">consumerId查用户基本信息</span>
</div>
<div class="mws-panel-body">
<form class="mws-form">
<div class="mws-form-inline">
<div class="mws-form-row" id="consumer_id2">
<label>consumer_id</label>
<div class="mws-form-item small">
<input type="number" class="mws-textinput" name="user_id" placeholder="consumerId" id="consumer_id2_v"/>
</div>
</div>
<div class="mws-form-row">
<label>查询结果</label>
<div class="mws-form-item large">
<textarea class="warning" rows="100%" cols="100%" readonly="readonly" id="result2" style="background-color:#ccc"></textarea>
</div>
</div>
<div class="mws-button-row">
<input type="submit" value="立即查询" class="mws-button blue" id="searchInfo2"/>
</div>
</div>
</form>
</div>
</div>
<div id="mws-footer">
Copyright &copy; 2014.Company name All rights reserved.More Templates <a href="http://www.duiba.com.cn/" target="_blank" title="模板之家">兑吧网络科技</a>
</div>
......
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- Required Stylesheets -->
<link rel="stylesheet" type="text/css" href="css/reset.css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/text.css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/fonts/ptsans/stylesheet.css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/fluid.css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/mws.style.css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/icons/icons.css" media="screen" />
<!-- Demo and Plugin Stylesheets -->
<link rel="stylesheet" type="text/css" href="css/demo.css" media="screen" />
<link rel="stylesheet" type="text/css" href="plugins/colorpicker/colorpicker.css" media="screen" />
<link rel="stylesheet" type="text/css" href="plugins/jimgareaselect/css/imgareaselect-default.css" media="screen" />
<link rel="stylesheet" type="text/css" href="plugins/fullcalendar/fullcalendar.css" media="screen" />
<link rel="stylesheet" type="text/css" href="plugins/fullcalendar/fullcalendar.print.css" media="print" />
<link rel="stylesheet" type="text/css" href="plugins/tipsy/tipsy.css" media="screen" />
<link rel="stylesheet" type="text/css" href="plugins/sourcerer/Sourcerer-1.2.css" media="screen" />
<link rel="stylesheet" type="text/css" href="plugins/jgrowl/jquery.jgrowl.css" media="screen" />
<link rel="stylesheet" type="text/css" href="plugins/spinner/spinner.css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/jui/jquery.ui.css" media="screen" />
<link rel="shortcut icon" href="images/logo.png" >
<!-- Theme Stylesheet -->
<link rel="stylesheet" type="text/css" href="css/mws.theme.css" media="screen" />
<!-- JavaScript Plugins -->
<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
<!--<script type="text/javascript" src="js/jquery-3.2.1.min.js"></script>-->
<script type="text/javascript" src="plugins/jimgareaselect/jquery.imgareaselect.min.js"></script>
<script type="text/javascript" src="plugins/jquery.dualListBox-1.3.min.js"></script>
<script type="text/javascript" src="plugins/jgrowl/jquery.jgrowl.js"></script>
<script type="text/javascript" src="plugins/jquery.filestyle.js"></script>
<script type="text/javascript" src="plugins/fullcalendar/fullcalendar.min.js"></script>
<script type="text/javascript" src="plugins/jquery.dataTables.js"></script>
<!--[if lt IE 9]>
<script type="text/javascript" src="plugins/flot/excanvas.min.js"></script>
<![endif]-->
<script type="text/javascript" src="plugins/flot/jquery.flot.min.js"></script>
<script type="text/javascript" src="plugins/flot/jquery.flot.pie.min.js"></script>
<script type="text/javascript" src="plugins/flot/jquery.flot.stack.min.js"></script>
<script type="text/javascript" src="plugins/flot/jquery.flot.resize.min.js"></script>
<script type="text/javascript" src="plugins/colorpicker/colorpicker.js"></script>
<script type="text/javascript" src="plugins/tipsy/jquery.tipsy.js"></script>
<script type="text/javascript" src="plugins/sourcerer/Sourcerer-1.2.js"></script>
<script type="text/javascript" src="plugins/jquery.placeholder.js"></script>
<script type="text/javascript" src="plugins/jquery.validate.js"></script>
<script type="text/javascript" src="plugins/jquery.mousewheel.js"></script>
<script type="text/javascript" src="plugins/spinner/ui.spinner.js"></script>
<script type="text/javascript" src="js/jquery-ui.js"></script>
<script type="text/javascript" src="js/mws.js"></script>
<script type="text/javascript" src="js/demo.js"></script>
<script type="text/javascript" src="js/themer.js"></script>
<script src="js/jquery-ui.js"></script>
<!--<script>-->
<!--//发起查询请求-->
<!--window.onload = function search() {-->
<!--$.ajax({-->
<!--async: false,-->
<!--cache: false,-->
<!--header:"Content-type: text/html; charset=utf8",-->
<!--type: 'GET',-->
<!--url: 'user',-->
<!--data:{},-->
<!--dataType: "json",-->
<!--error: function () {-->
<!--alert("获取用户失败!");-->
<!--},-->
<!--success: function (data) {-->
<!--/**重点:前台接收到返回值,直接处理就行*/-->
<!--//alert("数据获取成功,开始处理表格");-->
<!--var obj = eval(data); //把响应内容对象转成javascript对象-->
<!--var tbody = $('<tbody></tbody>');-->
<!--$(obj).each(function (index){-->
<!--var val = obj[index];-->
<!--var id = val.id;-->
<!--var name = val.name;-->
<!--var credits = val.credits;-->
<!--var app = val.app_id;-->
<!--var gmt_create = val.gmt_create;-->
<!--var gmt_modified = val.gmt_modified;-->
<!--var tr = $('<tr class="gradeA odd"></tr>');-->
<!--tr.append('<td>' + '<a target="_blank" href="http://dafuweng.duibatest.com.cn/user/loginDuiba?uid='+id+'">' + id + '</a>' + '</td>' + '<td>' + name + '</td>'+ '<td>' + credits + '</td>' + '<td>' + app + '</td>'+ '<td>' + gmt_create + '</td>' + '<td>' + gmt_modified + '</td>'+ '<td>' + '<a href="/user/delete?id=${it.id}" onclick="deleteConfirm();">删除</a>' + '</td>');-->
<!--tbody.append(tr);-->
<!--})-->
<!--$('#tbMain').replaceWith(tbody);-->
<!--refurbish();-->
<!--}-->
<!--})-->
<!--};-->
<!--function refurbish() {-->
<!--$("#myTable").dataTable().fnDestroy();-->
<!--$(".mws-datatable").dataTable();-->
<!--$(".mws-datatable-fn").dataTable({sPaginationType: "full_numbers"});-->
<!--}-->
<!--</script>-->
<script>
//发起查询请求
var objApp ;
window.onload = function search() {
$.ajax({
async: false,
cache: false,
header:"Content-type: text/html; charset=utf8",
type: 'POST',
url: 'app5',
data:{appId:""},
dataType: "json",
error: function () {
alert("获取app失败!");
},
success: function (dataApp) {
objApp = eval(dataApp); //把响应内容对象转成javascript对象
for (var i=0;i < dataApp.length; i++){
$("#appId").append("<option value='" + dataApp[i].id + "'>" + dataApp[i].name + "</option>");
$("#app_id").append("<option value='" + dataApp[i].id + "'>" + dataApp[i].name + "</option>");
}
}
})
};
function doSubmit2(){
var userId = document.getElementById("userId").value;
var name = encodeURI(document.getElementById("name").value);
var appId = document.getElementById("appId").value;
$.ajax({
async: false,
cache: false,
header:"Content-type: text/html; charset=utf8",
type: 'POST',
url: 'sltuser3',
data:{userId:userId,name:name,appId:appId,timestamp:(new Date()).valueOf()},
dataType: "json",
error: function () {
alert("获取用户失败!");
},
success: function (data) {
/**重点:前台接收到返回值,直接处理就行*/
var oldTable = $('#myTable').dataTable();
if( oldTable != null){
//oldTable.fnClearTable(); //清空一下table
oldTable.fnDestroy(); //还原初始化了的dataTable
}
var obj = eval(data); //把响应内容对象转成javascript对象
var tbody = $('<tbody id="tbMain"></tbody>');
$(obj).each(function (index){
var val = obj[index];
var id = val.id;
var name = val.name;
var credits = val.credits;
// var app = objApp[val.appId].name;
//var app = objApp[val.appId];
const findByLabel = (d, label)=>{
let o = d.find(v=>v.id == label)
return o? o.name:undefined
}
var app = findByLabel(objApp, val.app_id);
var gmt_create = timestampToTime(val.gmt_create);
var gmt_modified = timestampToTime(val.gmt_modified);
var tr = $('<tr class="gradeA odd"></tr>');
tr.append('<td>' + '<a target="_blank" href="http://dafuweng.duibatest.com.cn/user/loginDuiba?uid='+id+'">' + id + '</a>' + '</td>' + '<td>' + name + '</td>'+ '<td>' + credits + '</td>' + '<td>' + app + '</td>'+ '<td>' + gmt_create + '</td>' + '<td>' + gmt_modified + '</td>'+ '<td>' + '<button class="mws-button red small" onclick="del_graph('+id+')">删除</button>' + '<label class="label">&nbsp&nbsp</label>'+ '<button class="mws-button blue small" onclick="getInfo('+id+')" >详情</button>'+ '</td>');
tbody.append(tr);
})
$('#tbMain').replaceWith(tbody);
//$(".mws-datatable").dataTable();
$(".mws-datatable-fn").dataTable({sPaginationType: "full_numbers"});
}
})
}
function timestampToTime(timestamp) {
var date = new Date(timestamp);//时间戳为10位需*1000,时间戳为13位的话不需乘1000
var Y = date.getFullYear() + '-';
var M = (date.getMonth()+1 < 10 ? '0'+(date.getMonth()+1) : date.getMonth()+1) + '-';
var D = date.getDate() + ' ';
var h = date.getHours() + ':';
var m = date.getMinutes() + ':';
var s = date.getSeconds();
return Y+M+D+h+m+s;
}
function del_graph(userId) {
if (window.confirm('你确定要删除用户:'+userId+'吗?')) {
$.ajax({
type: "post",
url: "deluser",
async: false,
data: {userId: userId},
dataType: "json",
success: function (data) {
if(data.message == "success"){
alert("删除成功");
}else{
alert("删除失败");
}
window.location.href = "/usermng.html";
},
error: function (data) {
alert("删除失败");
}
});
return true;
} else {
return false;
}
}
function del_batch() {
var stid = document.getElementById("stid").value;
var edid = document.getElementById("edid").value;
if (window.confirm('你确定要删除'+stid+'至'+edid+'的用户吗?')) {
$.ajax({
type: "post",
url: "delbatch",
async: false,
data: {stid:stid,edid:edid},
dataType: "json",
success: function (data) {
alert("批量删除成功!");
window.location.href = "/usermng.html";
},
error: function (data) {
alert("删除失败");
}
});
return true;
} else {
return false;
}
}
function creat() {
var appId = document.getElementById("app_id").value;
var credits = document.getElementById("credits_id").value;
var count = document.getElementById("count_id").value;
var result = $("#result");
for (var i = 0; i < count; i++) {
setTimeout(function () {
var name2 = document.getElementById("name_id").value+Math.floor(Math.random()*100);
var name = encodeURI(name2);
console.log('开始创建用户'+name2);
$.ajax({
async: false,
cache: false,
header: "Content-type: text/html; charset=utf8",
type: 'POST',
url: 'crtuser',
data: {name: name, appId: appId, credits: credits},
dataType: "json",
error: function () {
alert("创建用户失败!");
},
success: function (data) {
if(data.message == "success"){
var h = data.desc;
result.val(result.val() + h);
}else{
$("#result").val("用户批量创建失败!");
}
}
})
}, 500)
}
}
function getInfo(userId) {
$.ajax({
type: "post",
url: "searchInfo",
async: false,
data: {userId: userId},
dataType: "json",
success: function (data) {
alert(data.message);
},
error: function (data) {
alert("获取用户详情失败!");
}
})
}
</script>
<title>MWS Admin - Dashboard</title>
</head>
<body>
<!-- Themer -->
<div id="mws-themer">
<div id="mws-themer-hide"></div>
<div id="mws-themer-content">
<div class="mws-themer-section">
<label for="mws-theme-presets">Presets</label> <select id="mws-theme-presets"></select>
</div>
<div class="mws-themer-separator"></div>
<div class="mws-themer-section">
<ul>
<li><span>Base Color</span> <div id="mws-base-cp" class="mws-cp-trigger"></div></li>
<li><span>Text Color</span> <div id="mws-text-cp" class="mws-cp-trigger"></div></li>
<li><span>Text Glow Color</span> <div id="mws-textglow-cp" class="mws-cp-trigger"></div></li>
</ul>
</div>
<div class="mws-themer-separator"></div>
<div class="mws-themer-section">
<ul>
<li><span>Text Glow Opacity</span> <div id="mws-textglow-op"></div></li>
</ul>
</div>
<div class="mws-themer-separator"></div>
<div class="mws-themer-section">
<button class="mws-button red small" id="mws-themer-getcss">Get CSS</button>
</div>
</div>
<div id="mws-themer-css-dialog">
<div class="mws-form">
<div class="mws-form-row" style="padding:0;">
<div class="mws-form-item">
<textarea cols="auto" rows="auto" readonly="readonly"></textarea>
</div>
</div>
</div>
</div>
</div>
<!-- Themer End -->
<!-- Header Wrapper -->
<div id="mws-header" class="clearfix">
<!-- Logo Wrapper -->
<div id="mws-logo-container">
<div id="mws-logo-wrap">
<img src="images/mws-logo.png" alt="mws admin" />
</div>
</div>
<!-- User Area Wrapper -->
<div id="mws-user-tools" class="clearfix">
<!-- User Functions -->
<div id="mws-user-info" class="mws-inset">
<div id="mws-user-photo">
<img src="images/profile.jpg" alt="User Photo" />
</div>
<div id="mws-user-functions">
<div id="mws-username">
Hello, Duiba Tester
</div>
<ul>
<li><a href="#">Profile</a></li>
<li><a href="#">Change Password</a></li>
<li><a href="index.html">Logout</a></li>
</ul>
</div>
</div>
<!-- End User Functions -->
</div>
</div>
<!-- Main Wrapper -->
<div id="mws-wrapper">
<!-- Necessary markup, do not remove -->
<div id="mws-sidebar-stitch"></div>
<div id="mws-sidebar-bg"></div>
<!-- Sidebar Wrapper -->
<div id="mws-sidebar">
<!-- Search Box -->
<div id="mws-searchbox" class="mws-inset">
<form action="http://www.malijuwebshop.com/themes/mws-admin/dashboard.html">
<input type="text" class="mws-search-input" />
<input type="submit" class="mws-search-submit" />
</form>
</div>
<!-- Main Navigation -->
<div id="mws-navigation">
<ul>
<li><a href="dashboard.html" class="mws-i-24 i-home">主页</a></li>
<li><a href="http://172.16.80.141:9999" class="mws-i-24 i-chart" target='_BLANK'>代理工具</a></li>
<li><a href="encoder.html" class="mws-i-24 i-cog">转码工具</a></li>
<li><a href="Hbase.html" class="mws-i-24 i-refresh-3">Hbase查改</a></li>
<li><a href="bury.html" class="mws-i-24 i-eyedropper">埋点工具</a></li>
<li>
<a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a>
<ul>
<li><a href="#">模拟用户管理</a></li>
<li><a href="creatUrl.html">生成免登链接</a></li>
<li><a href="userInfo.html">用户基础信息</a></li>
<li><a href="account.html">钱包账户设置</a></li>
</ul>
</li>
<li>
<a href="#" class="mws-i-24 i-day-calendar">签到助手</a>
<ul>
<li><a href="sign.html">连续签到模拟</a></li>
<li><a href="http://172.16.80.141:8088/" target='_BLANK'>签到模拟集合</a></li>
</ul>
</li>
<li>
<a href="#" class="mws-i-24 i-dribbble-4">活动助手</a>
<ul>
<li><a href="package.html">开发者测试包</a></li>
<li><a href="activity.html">自定义活动</a></li>
<li><a href="CardCommon.html">集卡通用配置</a></li>
<li><a href="CollectCard.html">助力集卡模拟</a></li>
<li><a href="red.html">猜红包系列</a></li>
</ul>
</li>
<li class="active">
<a href="#" class="mws-i-24 i-table-1" >自动化统计</a>
<ul>
<li><a href="AutoTable.html">运行记录</a></li>
<li><a href="http://101.37.27.82:8080/index" target='_BLANK'>统计详情</a></li>
</ul>
</li>
</ul>
</div>
<!-- End Navigation -->
</div>
<!-- Container Wrapper -->
<div id="mws-container" class="clearfix">
<!-- Main Container -->
<div class="container">
<div class="mws-panel grid_8">
<div class="mws-panel-header">
<span class="mws-i-24 i-alert">用户管理</span>
</div>
<div class="mws-panel-body">
<div class="mws-panel-content" >
<input type="button" class="mws-button orange" value="跳转老版后台" onclick="window.location.href = 'http://dafuweng.duibatest.com.cn/user/index'" />
<label class="label">&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</label>
<input type="button" id="mws-jui-dialog-mdl-btn" class="mws-button blue" value="批量创建用户" />
<div id="mws-jui-dialog">
<form class="mws-form">
<div class="mws-form-inline">
<div class="mws-form-row">
<label>用户名称前缀</label>
<div class="mws-form-item small">
<input type="text" class="mws-textinput" name="name_id" placeholder="实际会带上随机数以区分用户" id="name_id"/>
</div>
</div>
<div class="mws-form-row">
<label>应用列表</label>
<select name="action" id="app_id">
</select>
</div>
<div class="mws-form-row">
<label>初始积分</label>
<div class="mws-form-item small">
<input type="text" class="mws-textinput" name="credits_id" id="credits_id"/>
</div>
</div>
<div class="mws-form-row">
<label>批量创建个数</label>
<div class="mws-form-item small">
<input type="text" class="mws-textinput" name="count_id" id="count_id"/>
</div>
</div>
<div class="mws-form-row">
<label>处理结果</label>
<div class="mws-form-item large">
<textarea class="warning" rows="100%" cols="100%" readonly="readonly" id="result" style="background-color:#ccc"></textarea>
</div>
</div>
</div>
<div class="mws-form-row">
<input type="button" value="立即创建" class="mws-button green" onclick="return creat();"/>
<input type="reset" value="表单重置" class="mws-button blue" />
</div>
</form>
</div>
<label class="label">&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</label>
<input type="button" id="mws-jui-dialog-mdl-btn-2" class="mws-button red" value="批量删除用户" />
<div id="mws-jui-dialog-2">
<form class="mws-form">
<div class="mws-form-inline">
<div class="mws-form-row">
<label>用户起始id</label>
<div class="mws-form-item small">
<input type="number" class="mws-textinput" name="stid" id="stid"/>
</div>
</div>
<div class="mws-form-row">
<label>用户结束id</label>
<div class="mws-form-item small">
<input type="number" class="mws-textinput" name="edid" id="edid"/>
</div>
</div>
<!--<div class="mws-form-row">-->
<!--<label>处理结果</label>-->
<!--<div class="mws-form-item large">-->
<!--<textarea class="warning" rows="100%" cols="100%" readonly="readonly" id="result2" style="background-color:#ccc"></textarea>-->
<!--</div>-->
<!--</div>-->
</div>
<div class="mws-form-row">
<input type="button" value="立即删除" class="mws-button green" onclick="return del_batch();"/>
<input type="reset" value="表单重置" class="mws-button blue" />
</div>
</form>
</div>
</div>
</div>
</div>
<div class="clear"></div>
<div class="mws-panel grid_8" >
<div class="mws-panel-header">
<span class="mws-i-24 i-table-1">测试用户一览</span>
</div>
<div class="mws-panel-body">
<!--<form method="get" action="search(); return false">-->
<form class="mws-form">
<div class="mws-form-inline">
<div class="mws-form-row" style="float:left; display:inline">
<label>Partner_id</label>
<div class="mws-form-item small">
<input type="text" class="mws-textinput" name="partner_id" id="userId"/>
</div>
</div>
<div class="mws-form-row" style="float:left; display:inline">
<label>Name</label>
<div class="mws-form-item small">
<input type="text" class="mws-textinput" name="name" id="name"/>
</div>
</div>
<div class="mws-form-row" style="float:left; display:inline">
<label>应用列表</label>
<select name="action" id="appId">
<option value=''>--请选择--</option>
</select>
</div>
<div class="mws-form-row">
<input type="button" value="立即查找" class="mws-button green" id="selectUser" onclick="return doSubmit2();" />
<input type="reset" value="清除搜索" class="mws-button blue" />
</div>
</div>
</form>
<!--</form>-->
<table class="mws-datatable-fn mws-table" id="myTable">
<thead>
<tr>
<th>id</th>
<th>用户名字</th>
<th>积分</th>
<th>应用</th>
<th>创建时间</th>
<th>修改时间</th>
<th>操作</th>
</tr>
</thead>
<tbody id="tbMain">
</tbody>
</table>
<!-- End Main Container -->
</div>
<!-- Footer -->
<div id="mws-footer">
Copyright &copy; 2014.Company name All rights reserved.More Templates <a href="http://www.duiba.com.cn/" target="_blank" title="模板之家">兑吧网络科技</a>
</div>
<!-- End Footer -->
<!-- End Container Wrapper -->
</div>
<!-- End Main Wrapper -->
</body>
</html>
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