diff --git a/Application/Admin/View/FinancialSummary/index.html b/Application/Admin/View/FinancialSummary/index.html
index 93d095469..ea49c1fc8 100644
--- a/Application/Admin/View/FinancialSummary/index.html
+++ b/Application/Admin/View/FinancialSummary/index.html
@@ -294,7 +294,7 @@
if(data.success){
layer.alert('添加重算任务成功,请2分钟后刷新查看');
}else{
- layer.alert('添加任务失败,已有重算任务。请上个重算任务完成');
+ layer.alert('添加任务失败,已有重算任务。请等待上个重算任务完成');
}
},
error:function(){
@@ -304,54 +304,7 @@
});
});
})
- $(".paixu").click(function () {
- var that = $(this);
- $data_order = that.attr('data-order');
- $order_type = '{$userarpu_order}';
- if ($order_type == '' || $order_type == '4') {
- $(".sortBy").attr('name', 'data_order');
- val = '3,' + $data_order;
- $(".sortBy").attr('value', val);
- $("#search").click();
- } else if ($order_type == '3') {
- $(".sortBy").attr('name', 'data_order');
- val = '4,' + $data_order;
- $(".sortBy").attr('value', val);
- $("#search").click();
- }
- });
-
- $('.jssamlllist').click(function () {
- var that = $(this), url = that.attr('data-url');
- var url =
- layer.open({
- type: 2,
- title: "【" + that.attr('data-account') + "】小号列表",
- shadeClose: true,
- shade: 0.8,
- area: ['1062px', '80%'],
- content: url,//iframe的url
- });
-
- return false;
- });
-
- $(".paixu").click(function () {
- var val = $(this).attr('data-order');
- if (val == 1) {
- val = 2;
- } else if (val == 2) {
- val = 1;
- }
- var name = $(this).attr('name');
- if (name == 'balance_status') {
- $('#key').val(1);
- } else {
- $('#key').val(2);
- }
- $("#" + name).val(val);
- $("#search").click();
- });
+
//回车自动提交
$('.jssearch').find('input').keyup(function (event) {
if (event.keyCode === 13) {
@@ -359,105 +312,7 @@
}
});
- $("#total_status").click(function () {
- $("#search").click();
- })
-
-
- $('#time_start').datetimepicker({
- format: 'yyyy-mm-dd',
- language: "zh-CN",
- minView: 2,
- autoclose: true
- });
-
- $('#datetimepicker').datetimepicker({
- format: 'yyyy-mm-dd',
- language: "zh-CN",
- minView: 2,
- autoclose: true,
- pickerPosition: 'bottom-left'
- })
-
- var promote_id = "{:I('promote_id')}";
- var company_id = "{:I('company_id')}";
- function getPromotersByCompanyid() {
- var company_id = $("#company_id option:selected").val();
- if(!company_id){
- company_id = -1;
- }
- $.ajax({
- url: "{:U('Ajax/getPromotersByCompanyid')}",
- type: "get",
- data: { company_id:company_id},
- dataType: 'json',
- success: function (response) {
- str = '';
- if(company_id == 0 || company_id ==-1){
- str +='';
- }
- data = response.data;
- for (var i in data) {
- str += ""
- }
- $("#promote_id").empty();
- $("#promote_id").append(str);
- $("#promote_id").select2();
- }
- })
- }
- getPromotersByCompanyid();
-
- $("#company_id").change(function(){
- getPromotersByCompanyid();
- })
})
-
-
- function shenhe(status) {
- var text = $("input:checkbox[name='ids[]']:checked").map(function (index, elem) {
- return $(elem).val();
- }).get().join("\n");
- var desc = '';
- if (status == 0) {
- desc = '锁定';
- } else {
- desc = '开启';
- }
- layer.prompt({
- formType: 2,
- value: text,
- placeholder: '玩家账号(一个账号一行)',
- title: '请输入要' + desc + '的玩家账号(一个账号一行)',
- area: ['800px', '350px'] //自定义文本域宽高
- }, function (value, index, elem) {
- if (value == '') {
- layer.msg("请输入账户ID");
- return;
- }
-
- $.ajax({
- cache: true,
- type: "POST",
- url: "{:U('Member/lock_status')}",
- data: { accounts: value, lock_status: status },// 你的formid
- async: false,
- error: function (data) {
- layer.alert("服务器故障,请稍后重试!", { icon: 2 });
- },
- success: function (data) {
- // var obj = JSON.parse(data);
- // layer.alert(obj.info,{icon:obj.status})
- layer.alert(data.info, { icon: data.status })
- window.location.reload()
- }
- });
- layer.close(index);
- });
- }
-
-
-
\ No newline at end of file