去除.action后缀
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
export default {
|
||||
KEY: "piko",
|
||||
EXCLUDES: [
|
||||
"/login/login.action",
|
||||
"/login/sendSmsCode.action",
|
||||
"/login/login",
|
||||
"/login/sendSmsCode",
|
||||
],
|
||||
NEED_LOGOUT: "needLogout",
|
||||
};
|
@@ -3,7 +3,7 @@ export const notifyNotice = () => {
|
||||
console.log(window.Notification.permission);
|
||||
if (window.Notification) {
|
||||
$.ajax({
|
||||
url: "/admin/dynamic/verify/notifySwitch.action",
|
||||
url: "/admin/dynamic/verify/notifySwitch",
|
||||
success: function (json) {
|
||||
if (json == 'true') {
|
||||
notifyInterval = setInterval(notify, 50000);
|
||||
@@ -17,7 +17,7 @@ export const notifyNotice = () => {
|
||||
|
||||
function notify() {
|
||||
$.ajax({
|
||||
url: "/admin/dynamic/verify/notify.action",
|
||||
url: "/admin/dynamic/verify/notify",
|
||||
success: function (json) {
|
||||
if (json != null && json != "" && json != undefined && json != 'undefined') {
|
||||
var dynamicCount = json.dynamic;
|
||||
|
@@ -213,7 +213,7 @@ export default {
|
||||
return param;
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/sms/list.action',
|
||||
url: '/admin/sms/list',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
@@ -256,7 +256,7 @@ export default {
|
||||
showLoading();
|
||||
var option = ({
|
||||
type: "POST",
|
||||
url: "/admin/sms/uploadExcel.action",
|
||||
url: "/admin/sms/uploadExcel",
|
||||
cache: false,
|
||||
contentType: false, //不可缺
|
||||
processData: false, //不可缺
|
||||
@@ -310,7 +310,7 @@ export default {
|
||||
createTime: createTime,
|
||||
sendTime: sendTime
|
||||
};
|
||||
var url = "/admin/sms/query/send.action";
|
||||
var url = "/admin/sms/query/send";
|
||||
if (confirm("按查询条件发送最多一次可发送一万条短信!已发送过的用户不会重复发送,你确认批量发送吗?")) {
|
||||
sendSmsByData(data, url);
|
||||
}
|
||||
@@ -329,7 +329,7 @@ export default {
|
||||
var data = {
|
||||
ids: JSON.stringify(idArr)
|
||||
}
|
||||
var url = "/admin/sms/page/send.action";
|
||||
var url = "/admin/sms/page/send";
|
||||
if (confirm("你确认批量发送吗?")) {
|
||||
sendSmsByData(data, url);
|
||||
}
|
||||
@@ -338,7 +338,7 @@ export default {
|
||||
$("#table").on('click', '.opt-send', function () {
|
||||
var id = $(this).attr("data-id");
|
||||
var data = { recordId: id };
|
||||
var url = "/admin/sms/send.action";
|
||||
var url = "/admin/sms/send";
|
||||
if (confirm("已经发送过的短信将会重复发送,确定重复发送短信吗?")) {
|
||||
sendSmsByData(data, url);
|
||||
}
|
||||
@@ -349,7 +349,7 @@ export default {
|
||||
if (confirm("删除的数据将不能找回,确定删除吗?")) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/sms/del.action",
|
||||
url: "/admin/sms/del",
|
||||
data: { recordId: id },
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
|
@@ -62,7 +62,7 @@ export default {
|
||||
}
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/admin/qiniu/uploadPatch.action",
|
||||
url: "/admin/qiniu/uploadPatch",
|
||||
data: data,
|
||||
cache: false,
|
||||
contentType: false, //不可缺
|
||||
|
@@ -290,7 +290,7 @@ export default {
|
||||
},
|
||||
uniqueId: 'id',
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/activityAward/list.action',
|
||||
url: '/admin/activityAward/list',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
|
@@ -597,7 +597,7 @@ export default {
|
||||
var id = $(this).data('id');
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/charge/activity/getById.action",
|
||||
url: "/admin/charge/activity/getById",
|
||||
data: { id: id },
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -716,7 +716,7 @@ export default {
|
||||
$('#modal_packName').append('<option value="">请选择...</option>');
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/activity/pack/list.action",
|
||||
url: "/admin/activity/pack/list",
|
||||
data: {
|
||||
status: 1
|
||||
},
|
||||
@@ -760,7 +760,7 @@ export default {
|
||||
if (confirm("你确认删除该记录吗? \r\n 删除后再也不能找回,请谨慎操作!")) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: "/admin/charge/activity/delete.action",
|
||||
url: "/admin/charge/activity/delete",
|
||||
data: { id: id },
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -791,7 +791,7 @@ export default {
|
||||
}
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/activity/pack/list.action",
|
||||
url: "/admin/activity/pack/list",
|
||||
data: {
|
||||
status: 1
|
||||
},
|
||||
|
@@ -218,7 +218,7 @@ export default {
|
||||
queryParamsType: "undefined",
|
||||
uniqueId: 'id',
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/luckySea/listItemGroup.action',
|
||||
url: '/admin/luckySea/listItemGroup',
|
||||
onLoadSuccess: function (data) { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
@@ -410,7 +410,7 @@ export default {
|
||||
}
|
||||
|
||||
function getPageInfo() {
|
||||
$.get('/admin/luckySea/listItem.action', {
|
||||
$.get('/admin/luckySea/listItem', {
|
||||
}, function (res) {
|
||||
console.log(res);
|
||||
const data = res;
|
||||
|
@@ -154,7 +154,7 @@ export default {
|
||||
return param;
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/luckySea/listPlatformStat.action',
|
||||
url: '/admin/luckySea/listPlatformStat',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
|
@@ -163,7 +163,7 @@ export default {
|
||||
return param;
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/luckySea/listActRecord.action',
|
||||
url: '/admin/luckySea/listActRecord',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
@@ -228,7 +228,7 @@ export default {
|
||||
};
|
||||
return param;
|
||||
},
|
||||
url: '/admin/luckySea/listRoundDrawDetail.action',
|
||||
url: '/admin/luckySea/listRoundDrawDetail',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
$("#roundDetailModal").modal('show');
|
||||
},
|
||||
@@ -247,7 +247,7 @@ export default {
|
||||
function getStock() {
|
||||
$.ajax({
|
||||
type: 'get',
|
||||
url: "/admin/luckySea/getStock.action",
|
||||
url: "/admin/luckySea/getStock",
|
||||
success: function (json) {
|
||||
if (json.success) {
|
||||
console.log('data', json.data)
|
||||
@@ -268,7 +268,7 @@ export default {
|
||||
$('#editStockModelBtn').on('click', function () {
|
||||
$.ajax({
|
||||
type: 'get',
|
||||
url: "/admin/luckySea/editStock.action",
|
||||
url: "/admin/luckySea/editStock",
|
||||
data: {
|
||||
stock: $("#editedStock").val(),
|
||||
},
|
||||
|
@@ -83,7 +83,7 @@ export default {
|
||||
return param;
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/luckySea/listUserDrawRecordList.action',
|
||||
url: '/admin/luckySea/listUserDrawRecordList',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
|
@@ -145,7 +145,7 @@ export default {
|
||||
},
|
||||
uniqueId: 'id',
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/act/operational/list.action',
|
||||
url: '/admin/act/operational/list',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
@@ -176,7 +176,7 @@ export default {
|
||||
if ($('#actForm').validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/act/operational/save.action",
|
||||
url: "/admin/act/operational/save",
|
||||
data: $('#actForm').serialize(),
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
@@ -197,7 +197,7 @@ export default {
|
||||
var key = parseInt($(this).attr('data-id'));
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: '/admin/act/operational/del.action',
|
||||
url: '/admin/act/operational/del',
|
||||
data: { 'id': key },
|
||||
dataType: 'json',
|
||||
success: function (res) {
|
||||
@@ -215,7 +215,7 @@ export default {
|
||||
$('#uploadBtn').on('click', function () {
|
||||
var options = {
|
||||
type: 'post',
|
||||
url: '/admin/upload/img.action',
|
||||
url: '/admin/upload/img',
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
if (json.path) {
|
||||
|
@@ -135,7 +135,7 @@ export default {
|
||||
},
|
||||
uniqueId: 'id',
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/act/static/list.action',
|
||||
url: '/admin/act/static/list',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
@@ -165,7 +165,7 @@ export default {
|
||||
if ($('#actForm').validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/act/static/save.action",
|
||||
url: "/admin/act/static/save",
|
||||
data: $('#actForm').serialize(),
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
@@ -190,7 +190,7 @@ export default {
|
||||
var key = parseInt($(this).attr('data-id'));
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: '/admin/act/static/delete.action',
|
||||
url: '/admin/act/static/delete',
|
||||
data: { 'id': key },
|
||||
dataType: 'json',
|
||||
success: function (res) {
|
||||
@@ -208,7 +208,7 @@ export default {
|
||||
$('#uploadBtn').on('click', function () {
|
||||
var options = {
|
||||
type: 'post',
|
||||
url: '/admin/upload/img.action',
|
||||
url: '/admin/upload/img',
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
if (json.path) {
|
||||
|
@@ -244,7 +244,7 @@ export default {
|
||||
},
|
||||
uniqueId: 'id',
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/weekStarConfig/getWeekConfigList.action',
|
||||
url: '/admin/weekStarConfig/getWeekConfigList',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
|
@@ -150,7 +150,7 @@ export default {
|
||||
return param;
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/super/operate/record/list.action',
|
||||
url: '/admin/super/operate/record/list',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
|
@@ -83,7 +83,7 @@ export default {
|
||||
var params = "uids=" + id;
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: "/admin/super/del.action",
|
||||
url: "/admin/super/del",
|
||||
data: params,
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -114,7 +114,7 @@ export default {
|
||||
showLoading()
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/super/save.action",
|
||||
url: "/admin/super/save",
|
||||
data: 'erbanNo=' + erbanNo,
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -180,7 +180,7 @@ function initTable() {
|
||||
return param;
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/super/list.action',
|
||||
url: '/admin/super/list',
|
||||
onLoadSuccess: function (data) { //加载成功时执行
|
||||
setTimeout(function () {
|
||||
loadCreateTime(data);
|
||||
@@ -205,7 +205,7 @@ function loadCreateTime(data) {
|
||||
if (param != '') {
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/super/get/time.action",
|
||||
url: "/admin/super/get/time",
|
||||
data: param,
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
|
@@ -167,7 +167,7 @@ export default {
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
uniqueId: 'id',
|
||||
url: '/admin/anchorFansTeamAudio/recordList.action',
|
||||
url: '/admin/anchorFansTeamAudio/recordList',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
@@ -195,7 +195,7 @@ export default {
|
||||
if (confirm("确定批量批量审核通过图片吗?")) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: '/admin/photo/batchPass.action',
|
||||
url: '/admin/photo/batchPass',
|
||||
data: { pid: JSON.stringify(pid) },
|
||||
dataType: 'json',
|
||||
success: function (res) {
|
||||
@@ -221,7 +221,7 @@ export default {
|
||||
// console.log(data)
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: '/admin/anchorFansTeamAudio/pass.action',
|
||||
url: '/admin/anchorFansTeamAudio/pass',
|
||||
data: { pid: dataId, status: 2 },
|
||||
dataType: 'json',
|
||||
success: function (res) {
|
||||
@@ -260,7 +260,7 @@ export default {
|
||||
if ($("#messageForm").validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: '/admin/anchorFansTeamAudio/pass.action',
|
||||
url: '/admin/anchorFansTeamAudio/pass',
|
||||
data: { pid: dataId, message: message, status: 1 },
|
||||
dataType: 'json',
|
||||
success: function (res) {
|
||||
|
@@ -261,7 +261,7 @@ export default {
|
||||
ajax: function (request) { //使用ajax请求
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
url: '/admin/anchorFansPrivilege/privilegeList.action',
|
||||
url: '/admin/anchorFansPrivilege/privilegeList',
|
||||
contentType: 'application/json;charset=utf-8',
|
||||
dataType: 'json',
|
||||
data: request.data,
|
||||
@@ -322,7 +322,7 @@ export default {
|
||||
console.log(2333)
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/anchorFansPrivilege/savePrivilege.action",
|
||||
url: "/admin/anchorFansPrivilege/savePrivilege",
|
||||
data: {
|
||||
id: id,
|
||||
name: name,
|
||||
@@ -361,7 +361,7 @@ export default {
|
||||
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/anchorFansPrivilege/getPrivilegeInfo.action",
|
||||
url: "/admin/anchorFansPrivilege/getPrivilegeInfo",
|
||||
data: { id: id },
|
||||
dataType: "json",
|
||||
success: function (res) {
|
||||
|
@@ -127,7 +127,7 @@ export default {
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
uniqueId: 'uid',
|
||||
url: '/admin/anchorFansTeam/statis/statisList.action',
|
||||
url: '/admin/anchorFansTeam/statis/statisList',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
@@ -184,7 +184,7 @@ export default {
|
||||
};
|
||||
return param;
|
||||
},
|
||||
url: '/admin/anchorFansTeam/statis/team/DetailList.action',
|
||||
url: '/admin/anchorFansTeam/statis/team/DetailList',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
$("#roundDetailModal").modal('show');
|
||||
},
|
||||
|
@@ -234,7 +234,7 @@ export default {
|
||||
if (confirm("删除的数据将不能找回,确定删除吗?")) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/sms/del.action",
|
||||
url: "/admin/sms/del",
|
||||
data: { recordId: id },
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
|
@@ -415,7 +415,7 @@ export default {
|
||||
ajax: function (request) { //使用ajax请求
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
url: '/admin/bottomBar/list.action',
|
||||
url: '/admin/bottomBar/list',
|
||||
contentType: 'application/json;charset=utf-8',
|
||||
dataType: 'json',
|
||||
data: request.data,
|
||||
@@ -544,7 +544,7 @@ export default {
|
||||
if ($("#addForm").validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/bottomBar/saveBottomBar.action",
|
||||
url: "/admin/bottomBar/saveBottomBar",
|
||||
data: {
|
||||
refSeq: refSeq,
|
||||
configName: configName,
|
||||
@@ -594,7 +594,7 @@ export default {
|
||||
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/bottomBar/getBarByRefSeq.action",
|
||||
url: "/admin/bottomBar/getBarByRefSeq",
|
||||
data: { refSeq: refSeq },
|
||||
dataType: "json",
|
||||
success: function (res) {
|
||||
@@ -671,7 +671,7 @@ export default {
|
||||
if (confirm("你确认删除该记录吗? \r\n 删除后再也不能找回,请谨慎操作!")) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: "/admin/bottomBar/deleteByRefSeq.action",
|
||||
url: "/admin/bottomBar/deleteByRefSeq",
|
||||
data: { refSeq: refSeq },
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
|
@@ -266,7 +266,7 @@ export default {
|
||||
ajax: function (request) { //使用ajax请求
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
url: '/admin/appUpdate/list.action',
|
||||
url: '/admin/appUpdate/list',
|
||||
contentType: 'application/json;charset=utf-8',
|
||||
dataType: 'json',
|
||||
data: request.data,
|
||||
@@ -310,7 +310,7 @@ export default {
|
||||
if ($("#addModalForm").validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/appUpdate/save.action",
|
||||
url: "/admin/appUpdate/save",
|
||||
data: {
|
||||
name: $("#modal_name").val(),
|
||||
forceUpdate: $("#modal_forceUpdate").val(),
|
||||
@@ -347,7 +347,7 @@ export default {
|
||||
if ($("#editForm").validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/appUpdate/save.action",
|
||||
url: "/admin/appUpdate/save",
|
||||
data: {
|
||||
id: $("#id").val(),
|
||||
name: $("#name").val(),
|
||||
@@ -386,7 +386,7 @@ export default {
|
||||
console.log(id);
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/appUpdate/get.action",
|
||||
url: "/admin/appUpdate/get",
|
||||
data: { id: id },
|
||||
dataType: "json",
|
||||
success: function (ret) {
|
||||
|
@@ -163,7 +163,7 @@ export default {
|
||||
};
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/audioCard/page.action',
|
||||
url: '/admin/audioCard/page',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
@@ -221,7 +221,7 @@ export default {
|
||||
showLoading();
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: "/admin/audioCard/verify.action",
|
||||
url: "/admin/audioCard/verify",
|
||||
data: {
|
||||
id: id,
|
||||
status: status
|
||||
|
@@ -382,7 +382,7 @@ export default {
|
||||
return param;
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/audit/audio/list.action',
|
||||
url: '/admin/audit/audio/list',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
@@ -405,7 +405,7 @@ export default {
|
||||
var id = $(this).attr("data-id");
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/audit/audio/handle/pass.action",
|
||||
url: "/admin/audit/audio/handle/pass",
|
||||
data: { recordId: id },
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -425,7 +425,7 @@ export default {
|
||||
var id = $(this).attr("data-id");
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/audit/audio/handle/unBlock.action",
|
||||
url: "/admin/audit/audio/handle/unBlock",
|
||||
data: { recordId: id },
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -474,7 +474,7 @@ export default {
|
||||
if ($("#modalLabel").validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/audit/audio/handle/reject.action",
|
||||
url: "/admin/audit/audio/handle/reject",
|
||||
data: {
|
||||
recordId: recordId,
|
||||
resultValue: resultValue,
|
||||
@@ -508,7 +508,7 @@ export default {
|
||||
if ($("#blockModalLabel").validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/audit/audio/handle/reject.action",
|
||||
url: "/admin/audit/audio/handle/reject",
|
||||
data: {
|
||||
recordId: recordId,
|
||||
resultValue: resultValue
|
||||
|
@@ -92,7 +92,7 @@ export default {
|
||||
function getRuleDetail() {
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/audit/audio/get/rule.action",
|
||||
url: "/admin/audit/audio/get/rule",
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
if (json.code == 200) {
|
||||
@@ -128,7 +128,7 @@ export default {
|
||||
showLoading();
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/audit/audio/rule/save.action",
|
||||
url: "/admin/audit/audio/rule/save",
|
||||
data: {
|
||||
type: type,
|
||||
erbanNos: $("#erbanNos").val()
|
||||
|
@@ -220,7 +220,7 @@ export default {
|
||||
return param;
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/blindDate/listCap.action',
|
||||
url: '/admin/blindDate/listCap',
|
||||
onLoadSuccess: function (res) { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
@@ -280,7 +280,7 @@ export default {
|
||||
console.log("id", $("#e_id").val());
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/blindDate/addOrUpdateCap.action",
|
||||
url: "/admin/blindDate/addOrUpdateCap",
|
||||
data: $('#updateForm').serialize(),
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -305,7 +305,7 @@ export default {
|
||||
if (confirm("你确认删除该帽子吗?")) {
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/blindDate/delCap.action",
|
||||
url: "/admin/blindDate/delCap",
|
||||
data: {
|
||||
id: capId,
|
||||
},
|
||||
@@ -326,7 +326,7 @@ export default {
|
||||
$("#add-cap").click(function () {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/blindDate/addOrUpdateCap.action",
|
||||
url: "/admin/blindDate/addOrUpdateCap",
|
||||
data: $('#addForm').serialize(),
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
|
@@ -256,7 +256,7 @@ export default {
|
||||
return param;
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/blindDate/listJoinHand.action',
|
||||
url: '/admin/blindDate/listJoinHand',
|
||||
onLoadSuccess: function (res) { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
@@ -333,7 +333,7 @@ export default {
|
||||
console.log("id", $("#e_id").val());
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/blindDate/addOrUpdateJoinHand.action",
|
||||
url: "/admin/blindDate/addOrUpdateJoinHand",
|
||||
data: $('#updateForm').serialize(),
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -358,7 +358,7 @@ export default {
|
||||
if (confirm("你确认删除该场景吗?")) {
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/blindDate/delJoinHand.action",
|
||||
url: "/admin/blindDate/delJoinHand",
|
||||
data: {
|
||||
id: JoinHandId,
|
||||
},
|
||||
@@ -379,7 +379,7 @@ export default {
|
||||
$("#add-JoinHand").click(function () {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/blindDate/addOrUpdateJoinHand.action",
|
||||
url: "/admin/blindDate/addOrUpdateJoinHand",
|
||||
data: $('#addForm').serialize(),
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
|
@@ -265,7 +265,7 @@ export default {
|
||||
}
|
||||
|
||||
function getPageInfo() {
|
||||
$.get('/admin/callBattle/listItem.action', {
|
||||
$.get('/admin/callBattle/listItem', {
|
||||
}, function (res) {
|
||||
console.log(res);
|
||||
const data = res;
|
||||
|
@@ -108,7 +108,7 @@ export default {
|
||||
return param;
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/callBattle/listPlatformStat.action',
|
||||
url: '/admin/callBattle/listPlatformStat',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
|
@@ -164,7 +164,7 @@ export default {
|
||||
return param;
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/callBattle/listActRecord.action',
|
||||
url: '/admin/callBattle/listActRecord',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
@@ -229,7 +229,7 @@ export default {
|
||||
};
|
||||
return param;
|
||||
},
|
||||
url: '/admin/callBattle/listRoundDrawDetail.action',
|
||||
url: '/admin/callBattle/listRoundDrawDetail',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
$("#roundDetailModal").modal('show');
|
||||
},
|
||||
@@ -248,7 +248,7 @@ export default {
|
||||
function getStock() {
|
||||
$.ajax({
|
||||
type: 'get',
|
||||
url: "/admin/callBattle/getStock.action",
|
||||
url: "/admin/callBattle/getStock",
|
||||
success: function (json) {
|
||||
if (json.success) {
|
||||
console.log('data', json.data)
|
||||
@@ -269,7 +269,7 @@ export default {
|
||||
$('#editStockModelBtn').on('click', function () {
|
||||
$.ajax({
|
||||
type: 'get',
|
||||
url: "/admin/callBattle/editStock.action",
|
||||
url: "/admin/callBattle/editStock",
|
||||
data: {
|
||||
stock: $("#editedStock").val(),
|
||||
},
|
||||
|
@@ -83,7 +83,7 @@ export default {
|
||||
return param;
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/callBattle/listUserDrawRecordList.action',
|
||||
url: '/admin/callBattle/listUserDrawRecordList',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
|
@@ -168,7 +168,7 @@ export default {
|
||||
return param;
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/car/getUserCarPort.action',
|
||||
url: '/admin/car/getUserCarPort',
|
||||
onLoadSuccess: function (data) { //加载成功时执行
|
||||
if (data.users) {
|
||||
var $user = $('#userMessage');
|
||||
|
@@ -627,7 +627,7 @@ export default {
|
||||
if (confirm("你确认删除该记录吗? \r\n 删除后再也不能找回,请谨慎操作!")) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: "/admin/car/goods/deletion.action",
|
||||
url: "/admin/car/goods/deletion",
|
||||
data: {'ids': JSON.stringify([id])},
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -708,7 +708,7 @@ export default {
|
||||
})
|
||||
|
||||
$("#car-goods-refresh").click(function () {
|
||||
$("#table").bootstrapTable('refresh', { url: '/admin/car/goods.action' });
|
||||
$("#table").bootstrapTable('refresh', { url: '/admin/car/goods' });
|
||||
})
|
||||
|
||||
/*$("#car-goods-multiDel").click(function () {
|
||||
@@ -727,7 +727,7 @@ export default {
|
||||
if (confirm("你确认批量删除该记录吗?" + "\r\n删除后再也不能找回,请谨慎操作!")) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: "/admin/car/goods/deletion.action",
|
||||
url: "/admin/car/goods/deletion",
|
||||
data: {'ids': JSON.stringify(idArr)},
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -844,7 +844,7 @@ export default {
|
||||
var id = $(this).attr("data-id");
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/car/goods/" + id + ".action",
|
||||
url: "/admin/car/goods/" + id + "",
|
||||
data: { id: id },
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -1094,7 +1094,7 @@ export default {
|
||||
let newSerializeStr = $.param(formData);
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/car/goods.action",
|
||||
url: "/admin/car/goods",
|
||||
data: newSerializeStr,
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
|
@@ -81,7 +81,7 @@ export default {
|
||||
ajax: function (request) { //使用ajax请求
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
url: '/admin/carRecord/list.action',
|
||||
url: '/admin/carRecord/list',
|
||||
contentType: 'application/json;charset=utf-8',
|
||||
dataType: 'json',
|
||||
data: request.data,
|
||||
|
@@ -85,7 +85,7 @@ export default {
|
||||
return param;
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/car/statisticsCar.action',
|
||||
url: '/admin/car/statisticsCar',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
|
@@ -230,7 +230,7 @@ export default {
|
||||
},
|
||||
uniqueId: 'id',
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/channel/content/queryList.action',
|
||||
url: '/admin/channel/content/queryList',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
@@ -367,7 +367,7 @@ export default {
|
||||
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/channel/content/saveChannelContent.action",
|
||||
url: "/admin/channel/content/saveChannelContent",
|
||||
data: {
|
||||
id: id,
|
||||
channel: channel,
|
||||
@@ -409,7 +409,7 @@ export default {
|
||||
var id = $(this).data('id');
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/channel/content/getChannelContent.action",
|
||||
url: "/admin/channel/content/getChannelContent",
|
||||
data: { id: id },
|
||||
dataType: "json",
|
||||
success: function (ret) {
|
||||
@@ -450,7 +450,7 @@ export default {
|
||||
var status = $(this).data('status');
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/channel/content/toggleState.action",
|
||||
url: "/admin/channel/content/toggleState",
|
||||
data: { id: id, status: status },
|
||||
dataType: "json",
|
||||
success: function (ret) {
|
||||
|
@@ -260,7 +260,7 @@ export default {
|
||||
},
|
||||
uniqueId: 'id',
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/first/charge/reward/list.action',
|
||||
url: '/admin/first/charge/reward/list',
|
||||
onLoadSuccess: function (res) {
|
||||
console.log(res)
|
||||
$('.giveShowPrice').text(res.giveShowPrice);
|
||||
@@ -290,7 +290,7 @@ export default {
|
||||
var id = $(this).data('id');
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/first/charge/reward/getId.action",
|
||||
url: "/admin/first/charge/reward/getId",
|
||||
data: { id: id },
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -321,7 +321,7 @@ export default {
|
||||
if (confirm("你确认删除该记录吗? \r\n 删除后再也不能找回,请谨慎操作!")) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: "/admin/first/charge/reward/delete.action",
|
||||
url: "/admin/first/charge/reward/delete",
|
||||
data: { id: id },
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
|
@@ -114,7 +114,7 @@ export default {
|
||||
return param;
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/first/charge/reward/statistics.action',
|
||||
url: '/admin/first/charge/reward/statistics',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
@@ -196,7 +196,7 @@ export default {
|
||||
};
|
||||
return param;
|
||||
},
|
||||
url: '/admin/first/charge/reward/record.action',
|
||||
url: '/admin/first/charge/reward/record',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
$("#roundDetailModal").modal('show');
|
||||
},
|
||||
@@ -215,7 +215,7 @@ export default {
|
||||
function getStock() {
|
||||
$.ajax({
|
||||
type: 'get',
|
||||
url: "/admin/luckySea/getStock.action",
|
||||
url: "/admin/luckySea/getStock",
|
||||
success: function (json) {
|
||||
if (json.success) {
|
||||
console.log('data', json.data)
|
||||
@@ -236,7 +236,7 @@ export default {
|
||||
$('#editStockModelBtn').on('click', function () {
|
||||
$.ajax({
|
||||
type: 'get',
|
||||
url: "/admin/luckySea/editStock.action",
|
||||
url: "/admin/luckySea/editStock",
|
||||
data: {
|
||||
stock: $("#editedStock").val(),
|
||||
},
|
||||
|
@@ -154,7 +154,7 @@ export default {
|
||||
},
|
||||
uniqueId: 'code',
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/redeemcode/getlist.action',
|
||||
url: '/admin/redeemcode/getlist',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
@@ -176,7 +176,7 @@ export default {
|
||||
if ($("#roleForm").validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/redeemcode/gener.action",
|
||||
url: "/admin/redeemcode/gener",
|
||||
data: $('#roleForm').serialize(),
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
|
@@ -556,7 +556,7 @@ export default {
|
||||
var id = $(this).attr("data-id");
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/nameplate/sync.action",
|
||||
url: "/admin/nameplate/sync",
|
||||
data: {
|
||||
id: id
|
||||
},
|
||||
|
@@ -381,7 +381,7 @@ export default {
|
||||
if ($("#discoveryForm").validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: '/admin/discovery/saveOrUpdate.action',
|
||||
url: '/admin/discovery/saveOrUpdate',
|
||||
data: {
|
||||
id: id,
|
||||
name: name,
|
||||
@@ -428,7 +428,7 @@ export default {
|
||||
var id = $(this).attr("data-id");
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/discovery/getById.action",
|
||||
url: "/admin/discovery/getById",
|
||||
data: { id: id },
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -527,7 +527,7 @@ export default {
|
||||
"\r\n删除后再也不能找回,请谨慎操作!")) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: "/admin/discovery/saveOrUpdate.action",
|
||||
url: "/admin/discovery/saveOrUpdate",
|
||||
data: {
|
||||
'id': id,
|
||||
'status': '0'
|
||||
@@ -564,7 +564,7 @@ function clearForm(formId) {
|
||||
function getGame() {
|
||||
$.ajax({
|
||||
type: 'get',
|
||||
url: '/admin/discovery/queryGame.action',
|
||||
url: '/admin/discovery/queryGame',
|
||||
data: {},
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
@@ -755,7 +755,7 @@ function initTable() {
|
||||
return param;
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/discovery/list.action',
|
||||
url: '/admin/discovery/list',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
$(".bs-checkbox").css({ 'text-align': 'center', 'vertical-align': 'middle' });
|
||||
console.log("load success");
|
||||
|
@@ -208,7 +208,7 @@ export default {
|
||||
ajax: function (request) { //使用ajax请求
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
url: '/admin/dress/shop/list.action',
|
||||
url: '/admin/dress/shop/list',
|
||||
contentType: 'application/json;charset=utf-8',
|
||||
dataType: 'json',
|
||||
data: request.data,
|
||||
@@ -271,7 +271,7 @@ export default {
|
||||
if ($("#addForm").validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/dress/shop/saveOrUpdate.action",
|
||||
url: "/admin/dress/shop/saveOrUpdate",
|
||||
data: {
|
||||
id: id,
|
||||
dressId: dressId,
|
||||
@@ -306,7 +306,7 @@ export default {
|
||||
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/dress/shop/getById.action",
|
||||
url: "/admin/dress/shop/getById",
|
||||
data: { id: id },
|
||||
dataType: "json",
|
||||
success: function (res) {
|
||||
|
@@ -296,7 +296,7 @@ export default {
|
||||
}
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/admin/faceJson/updateImg.action",
|
||||
url: "/admin/faceJson/updateImg",
|
||||
data: data,
|
||||
cache: false,
|
||||
contentType: false, //不可缺
|
||||
@@ -340,7 +340,7 @@ export default {
|
||||
function deleteImg(val, valRes) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/faceJson/deleteFile.action",
|
||||
url: "/admin/faceJson/deleteFile",
|
||||
data: {
|
||||
picName: val + '.' + valRes,
|
||||
type: 1,
|
||||
@@ -461,7 +461,7 @@ export default {
|
||||
return param;
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/faceJson/list.action',
|
||||
url: '/admin/faceJson/list',
|
||||
onLoadSuccess: function (json) { //加载成功时执行
|
||||
if (json.code != 200) {
|
||||
console.log(json.msg);
|
||||
@@ -502,7 +502,7 @@ export default {
|
||||
"\r\n删除后再也不能找回,请谨慎操作!")) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: "/admin/faceJson/deletePatch.action",
|
||||
url: "/admin/faceJson/deletePatch",
|
||||
data: {
|
||||
ids: JSON.stringify(idArr),
|
||||
},
|
||||
@@ -526,7 +526,7 @@ export default {
|
||||
$("#tipModal").modal('show');
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/faceJson/updateFaceInfo.action",
|
||||
url: "/admin/faceJson/updateFaceInfo",
|
||||
data: {},
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -548,7 +548,7 @@ export default {
|
||||
$("#tipModal").modal('show');
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/faceJson/restoreFaceInfo.action",
|
||||
url: "/admin/faceJson/restoreFaceInfo",
|
||||
data: {},
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -596,7 +596,7 @@ export default {
|
||||
else {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/faceJson/getFaceJsonItem.action",
|
||||
url: "/admin/faceJson/getFaceJsonItem",
|
||||
data: {
|
||||
picName: id,
|
||||
},
|
||||
@@ -657,7 +657,7 @@ export default {
|
||||
if (confirm("确认删除表情图片吗?")) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/faceJson/deleteFile.action",
|
||||
url: "/admin/faceJson/deleteFile",
|
||||
data: {
|
||||
picName: id,
|
||||
type: 2,
|
||||
@@ -680,7 +680,7 @@ export default {
|
||||
if (confirm("确认删除表情json吗(相应表情图片也将删除)?")) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/faceJson/deleteFaceJsonItem.action",
|
||||
url: "/admin/faceJson/deleteFaceJsonItem",
|
||||
data: {
|
||||
picName: id,
|
||||
},
|
||||
@@ -704,7 +704,7 @@ export default {
|
||||
$("#addImg").click(function () {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/faceJson/addImg.action",
|
||||
url: "/admin/faceJson/addImg",
|
||||
data: {},
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -726,7 +726,7 @@ export default {
|
||||
var afterImgName = $("#afterImgName").val();
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/faceJson/renameImg.action",
|
||||
url: "/admin/faceJson/renameImg",
|
||||
data: {
|
||||
beforeImgName: beforeImgName,
|
||||
afterImgName: afterImgName,
|
||||
|
@@ -387,7 +387,7 @@ export default {
|
||||
if ($("#addFamilyForm").validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: '/admin/family/saveOrUpdate.action',
|
||||
url: '/admin/family/saveOrUpdate',
|
||||
data: {
|
||||
name: familyName,
|
||||
leader: leaderId,
|
||||
@@ -518,7 +518,7 @@ export default {
|
||||
return param;
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/family/list.action',
|
||||
url: '/admin/family/list',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
$(".bs-checkbox").css({ 'text-align': 'center', 'vertical-align': 'middle' });
|
||||
console.log("load success");
|
||||
@@ -534,7 +534,7 @@ export default {
|
||||
var id = $(this).attr("data-id");
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/family/getById.action",
|
||||
url: "/admin/family/getById",
|
||||
data: { familyId: id },
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -601,7 +601,7 @@ export default {
|
||||
if ($("#editFamilyForm").validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: '/admin/family/saveOrUpdate.action',
|
||||
url: '/admin/family/saveOrUpdate',
|
||||
data: {
|
||||
id: familyId,
|
||||
name: familyName,
|
||||
@@ -647,7 +647,7 @@ export default {
|
||||
if ($("#forbFamilyForm").validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: '/admin/family/saveOrUpdate.action',
|
||||
url: '/admin/family/saveOrUpdate',
|
||||
data: {
|
||||
id: familyId,
|
||||
status: 2,
|
||||
@@ -687,7 +687,7 @@ export default {
|
||||
if ($("#recoverFamilyForm").validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: '/admin/family/saveOrUpdate.action',
|
||||
url: '/admin/family/saveOrUpdate',
|
||||
data: {
|
||||
id: familyId,
|
||||
status: 1,
|
||||
@@ -729,7 +729,7 @@ export default {
|
||||
if ($("#dissFamilyForm").validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: '/admin/family/remove.action',
|
||||
url: '/admin/family/remove',
|
||||
data: {
|
||||
familyId: familyId
|
||||
},
|
||||
|
@@ -94,7 +94,7 @@ export default {
|
||||
"\r\n删除后再也不能找回,请谨慎操作!")) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: "/admin/family/member/del.action",
|
||||
url: "/admin/family/member/del",
|
||||
data: {
|
||||
'ids': JSON.stringify(idArr),
|
||||
'familyIds': JSON.stringify(familyIdArr)
|
||||
@@ -183,7 +183,7 @@ export default {
|
||||
return param;
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/family/member/list.action',
|
||||
url: '/admin/family/member/list',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
//复选框居中
|
||||
$(".bs-checkbox").css({ 'text-align': 'center', 'vertical-align': 'middle' });
|
||||
|
@@ -222,7 +222,7 @@ export default {
|
||||
//TODO 权限密码校验目前没做
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: '/admin/family/money/update.action',
|
||||
url: '/admin/family/money/update',
|
||||
data: {
|
||||
familyId: familyId,
|
||||
targetId: targetId,
|
||||
@@ -277,7 +277,7 @@ export default {
|
||||
//TODO 权限密码校验目前没做
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: '/admin/family/money/update.action',
|
||||
url: '/admin/family/money/update',
|
||||
data: {
|
||||
familyId: familyId,
|
||||
targetId: targetId,
|
||||
@@ -317,7 +317,7 @@ export default {
|
||||
//TODO 权限教研暂时没做
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: '/admin/family/saveOrUpdate.action',
|
||||
url: '/admin/family/saveOrUpdate',
|
||||
data: {
|
||||
id: familyId,
|
||||
openMoney: 0,
|
||||
@@ -354,7 +354,7 @@ export default {
|
||||
//TODO 权限教研暂时没做
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: '/admin/family/saveOrUpdate.action',
|
||||
url: '/admin/family/saveOrUpdate',
|
||||
data: {
|
||||
id: familyId,
|
||||
openMoney: 1,
|
||||
@@ -448,7 +448,7 @@ export default {
|
||||
return param;
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/family/money/list.action',
|
||||
url: '/admin/family/money/list',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
//复选框居中
|
||||
$(".bs-checkbox").css({ 'text-align': 'center', 'vertical-align': 'middle' });
|
||||
|
@@ -100,7 +100,7 @@ export default {
|
||||
return param;
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/family/statistics/list.action',
|
||||
url: '/admin/family/statistics/list',
|
||||
onLoadSuccess: function (json) { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
|
@@ -107,7 +107,7 @@ export default {
|
||||
return param;
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/finance/statistics.action',
|
||||
url: '/admin/finance/statistics',
|
||||
onLoadSuccess: function (json) { //加载成功时执行
|
||||
var updateTime = json.updateTime;
|
||||
$("#version").html('财务数据' + ' ' + updateTime + ' 更新');
|
||||
|
@@ -10,7 +10,7 @@
|
||||
<div id="toolbar">
|
||||
<div class="col-sm-12">
|
||||
<div class="pull-left">
|
||||
<form action="/admin/findLove/data/export.action" id="searchForm">
|
||||
<form action="/admin/findLove/data/export" id="searchForm">
|
||||
平台号:<input type="text" id="msNo" name="msNo" class="input-sm" placeholder="请输入平台号">
|
||||
|
||||
奖品名称:<input type="text" id="prizeName" name="prizeName" class="input-sm"
|
||||
|
@@ -668,7 +668,7 @@ export default {
|
||||
},
|
||||
uniqueId: 'code',
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/banner/list.action',
|
||||
url: '/admin/banner/list',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
@@ -691,7 +691,7 @@ export default {
|
||||
isEdit = true;
|
||||
$.ajax({
|
||||
type: 'get',
|
||||
url: '/partition/listPartitionInfo.action',
|
||||
url: '/partition/listPartitionInfo',
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
if (json.code == 200) {
|
||||
@@ -707,7 +707,7 @@ export default {
|
||||
}
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/banner/get.action",
|
||||
url: "/admin/banner/get",
|
||||
data: { bannerId: bannerId },
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -829,7 +829,7 @@ export default {
|
||||
// 分区处理
|
||||
$.ajax({
|
||||
type: 'get',
|
||||
url: '/partition/listPartitionInfo.action',
|
||||
url: '/partition/listPartitionInfo',
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
if (json.code == 200) {
|
||||
@@ -931,7 +931,7 @@ export default {
|
||||
$('#uploadBtn').on('click', function () {
|
||||
var options = {
|
||||
type: 'post',
|
||||
url: '/admin/banner/upload.action',
|
||||
url: '/admin/banner/upload',
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
if (json.code == 200) {
|
||||
@@ -948,7 +948,7 @@ export default {
|
||||
$('#addUploadBtn').on('click', function () {
|
||||
var options = {
|
||||
type: 'post',
|
||||
url: '/admin/banner/upload.action',
|
||||
url: '/admin/banner/upload',
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
if (json.code == 200) {
|
||||
@@ -1007,7 +1007,7 @@ export default {
|
||||
if (confirm("你确认删除选中Banner吗?")) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: "/admin/banner/delete.action",
|
||||
url: "/admin/banner/delete",
|
||||
data: {
|
||||
'ids': JSON.stringify(idArr)
|
||||
},
|
||||
@@ -1034,7 +1034,7 @@ export default {
|
||||
if (confirm("你确认删除Banner吗?")) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: "/admin/banner/delete.action",
|
||||
url: "/admin/banner/delete",
|
||||
data: {
|
||||
'ids': JSON.stringify(idArr)
|
||||
},
|
||||
|
@@ -685,7 +685,7 @@ export default {
|
||||
},
|
||||
uniqueId: 'code',
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/banner/list.action',
|
||||
url: '/admin/banner/list',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
@@ -711,7 +711,7 @@ export default {
|
||||
// }
|
||||
$.ajax({
|
||||
type: 'get',
|
||||
url: '/partition/listPartitionInfo.action',
|
||||
url: '/partition/listPartitionInfo',
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
if (json.code == 200) {
|
||||
@@ -727,7 +727,7 @@ export default {
|
||||
}
|
||||
$.ajax({
|
||||
type: 'get',
|
||||
url: '/admin/banner/get.action',
|
||||
url: '/admin/banner/get',
|
||||
data: {'bannerId': id},
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
@@ -847,7 +847,7 @@ export default {
|
||||
// 分区处理
|
||||
$.ajax({
|
||||
type: 'get',
|
||||
url: '/partition/listPartitionInfo.action',
|
||||
url: '/partition/listPartitionInfo',
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
if (json.code == 200) {
|
||||
@@ -953,7 +953,7 @@ export default {
|
||||
$('#uploadBtn').on('click', function () {
|
||||
var options = {
|
||||
type: 'post',
|
||||
url: '/admin/banner/upload.action',
|
||||
url: '/admin/banner/upload',
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
if (json.code == 200) {
|
||||
@@ -970,7 +970,7 @@ export default {
|
||||
$('#addUploadBtn').on('click', function () {
|
||||
var options = {
|
||||
type: 'post',
|
||||
url: '/admin/banner/upload.action',
|
||||
url: '/admin/banner/upload',
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
if (json.code == 200) {
|
||||
@@ -1029,7 +1029,7 @@ export default {
|
||||
if (confirm("你确认删除选中Banner吗?")) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: "/admin/banner/delete.action",
|
||||
url: "/admin/banner/delete",
|
||||
data: {
|
||||
'ids': JSON.stringify(idArr)
|
||||
},
|
||||
@@ -1056,7 +1056,7 @@ export default {
|
||||
if (confirm("你确认删除Banner吗?")) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: "/admin/banner/delete.action",
|
||||
url: "/admin/banner/delete",
|
||||
data: {
|
||||
'ids': JSON.stringify(idArr)
|
||||
},
|
||||
|
@@ -148,7 +148,7 @@ export default {
|
||||
if ($('#actForm').validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/firstpageopt/add.action",
|
||||
url: "/admin/firstpageopt/add",
|
||||
data: $('#actForm').serialize(),
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
@@ -169,7 +169,7 @@ export default {
|
||||
if ($('#editForm').validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/firstpageopt/update.action",
|
||||
url: "/admin/firstpageopt/update",
|
||||
data: $('#editForm').serialize(),
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
@@ -196,7 +196,7 @@ export default {
|
||||
if (confirm("你确认删除吗?")) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: '/admin/firstpageopt/delete.action',
|
||||
url: '/admin/firstpageopt/delete',
|
||||
data: { 'id': id },
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
@@ -330,7 +330,7 @@ export default {
|
||||
},
|
||||
uniqueId: 'name',
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/firstpageopt/list.action',
|
||||
url: '/admin/firstpageopt/list',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
|
@@ -235,7 +235,7 @@ export default {
|
||||
},
|
||||
uniqueId: 'id',
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/firstpagetabroom/list.action',
|
||||
url: '/admin/firstpagetabroom/list',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
@@ -335,7 +335,7 @@ export default {
|
||||
if (confirm("你确认删除吗?")) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: '/admin/firstpagetabroom/delete.action',
|
||||
url: '/admin/firstpagetabroom/delete',
|
||||
data: { 'id': id },
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
@@ -379,7 +379,7 @@ export default {
|
||||
var status = (data.status == false) ? 1 : 0;
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: '/admin/firstpagetabroom/changeRoomStatus.action',
|
||||
url: '/admin/firstpagetabroom/changeRoomStatus',
|
||||
data: {
|
||||
status: status,
|
||||
id: id
|
||||
@@ -421,7 +421,7 @@ export default {
|
||||
if ($('#editTab').validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: '/admin/firstpagetabroom/update.action',
|
||||
url: '/admin/firstpagetabroom/update',
|
||||
dataType: 'json',
|
||||
data: {
|
||||
id: $('#id').val(),
|
||||
@@ -479,7 +479,7 @@ export default {
|
||||
$('#addUploadBtn').on('click', function () {
|
||||
var options = {
|
||||
type: 'post',
|
||||
url: '/admin/firstpagebanner/headimg.action',
|
||||
url: '/admin/firstpagebanner/headimg',
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
if (json.path) {
|
||||
@@ -497,7 +497,7 @@ export default {
|
||||
$('#uploadBtn').on('click', function () {
|
||||
var options = {
|
||||
type: 'post',
|
||||
url: '/admin/firstpagebanner/headimg.action',
|
||||
url: '/admin/firstpagebanner/headimg',
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
if (json.path) {
|
||||
@@ -548,7 +548,7 @@ export default {
|
||||
if (confirm("你确认删除选中房间吗?")) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: "/admin/firstpagetabroom/delete.action",
|
||||
url: "/admin/firstpagetabroom/delete",
|
||||
data: {
|
||||
'ids': JSON.stringify(idArr),
|
||||
'moduleIds': moduleIdArr,
|
||||
|
@@ -269,7 +269,7 @@ export default {
|
||||
if ($('#actForm').validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/firstpagetab/add.action",
|
||||
url: "/admin/firstpagetab/add",
|
||||
data: $('#actForm').serialize(),
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
@@ -295,7 +295,7 @@ export default {
|
||||
if ($('#editForm').validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/firstpagetab/update.action",
|
||||
url: "/admin/firstpagetab/update",
|
||||
data: $('#editForm').serialize(),
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
@@ -322,7 +322,7 @@ export default {
|
||||
if (confirm("你确认删除吗?")) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: '/admin/firstpagetab/delete.action',
|
||||
url: '/admin/firstpagetab/delete',
|
||||
data: { 'tabId': tabId },
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
@@ -464,7 +464,7 @@ export default {
|
||||
},
|
||||
uniqueId: 'tabId',
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/firstpagetab/list.action',
|
||||
url: '/admin/firstpagetab/list',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
|
@@ -243,7 +243,7 @@ export default {
|
||||
ajax: function (request) { //使用ajax请求
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
url: '/admin/home/resource/list.action',
|
||||
url: '/admin/home/resource/list',
|
||||
contentType: 'application/json;charset=utf-8',
|
||||
dataType: 'json',
|
||||
data: request.data,
|
||||
@@ -311,7 +311,7 @@ export default {
|
||||
if ($("#addForm").validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/home/resource/saveResource.action",
|
||||
url: "/admin/home/resource/saveResource",
|
||||
data: {
|
||||
strategySeq: strategySeq,
|
||||
resourceA: resourceA,
|
||||
@@ -348,7 +348,7 @@ export default {
|
||||
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/home/resource/getResourceByStrategySeq.action",
|
||||
url: "/admin/home/resource/getResourceByStrategySeq",
|
||||
data: { seq: seq },
|
||||
dataType: "json",
|
||||
success: function (res) {
|
||||
@@ -404,7 +404,7 @@ export default {
|
||||
if (confirm("你确认删除该记录吗? \r\n 删除后再也不能找回,请谨慎操作!")) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: "/admin/home/resource/deleteByStrategySeq.action",
|
||||
url: "/admin/home/resource/deleteByStrategySeq",
|
||||
data: { seq: seq },
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
|
@@ -216,7 +216,7 @@ export default {
|
||||
return param;
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/firstpage/room/recommend/list.action',
|
||||
url: '/admin/firstpage/room/recommend/list',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
@@ -272,7 +272,7 @@ export default {
|
||||
if ($("#addForm").validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/firstpage/room/recommend/add.action",
|
||||
url: "/admin/firstpage/room/recommend/add",
|
||||
data: {
|
||||
erbanNo: erbanNo,
|
||||
seqNo: seqNo,
|
||||
@@ -309,7 +309,7 @@ export default {
|
||||
if (confirm("你确认下线该房间吗?")) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: "/admin/firstpage/room/recommend/offline.action",
|
||||
url: "/admin/firstpage/room/recommend/offline",
|
||||
data: { id: id },
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
|
@@ -109,7 +109,7 @@ export default {
|
||||
options.push('<option value="">选择小组</option>')
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/flowTeam/listTeamByGroupId.action",
|
||||
url: "/admin/flowTeam/listTeamByGroupId",
|
||||
data: {
|
||||
groupId: groupId
|
||||
},
|
||||
@@ -196,7 +196,7 @@ export default {
|
||||
// 加载流量团队配置
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/flowTeam/listTeam.action",
|
||||
url: "/admin/flowTeam/listTeam",
|
||||
dataType: "json",
|
||||
async: false,
|
||||
success: function (json) {
|
||||
|
@@ -143,7 +143,7 @@ export default {
|
||||
const options = [];
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/flowTeam/listTeamByGroupId.action",
|
||||
url: "/admin/flowTeam/listTeamByGroupId",
|
||||
data: {
|
||||
groupId: groupId
|
||||
},
|
||||
@@ -183,7 +183,7 @@ export default {
|
||||
// 加载流量团队配置
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/flowTeam/listTeam.action",
|
||||
url: "/admin/flowTeam/listTeam",
|
||||
dataType: "json",
|
||||
async: false,
|
||||
success: function (json) {
|
||||
@@ -341,7 +341,7 @@ export default {
|
||||
return param;
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/flowTeam/listFlowMembersByPage.action',
|
||||
url: '/admin/flowTeam/listFlowMembersByPage',
|
||||
onLoadSuccess: function (data) { //加载成功时执行
|
||||
console.log("load success", data);
|
||||
memberList = data.rows;
|
||||
@@ -392,7 +392,7 @@ export default {
|
||||
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/flowTeam/saveMember.action",
|
||||
url: "/admin/flowTeam/saveMember",
|
||||
data: JSON.stringify(requestParam),
|
||||
dataType: "json",
|
||||
contentType: 'application/json',
|
||||
@@ -434,7 +434,7 @@ export default {
|
||||
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/flowTeam/changeMemberStatus.action",
|
||||
url: "/admin/flowTeam/changeMemberStatus",
|
||||
data: JSON.stringify(requestParam),
|
||||
dataType: "json",
|
||||
contentType: 'application/json',
|
||||
|
@@ -90,7 +90,7 @@ export default {
|
||||
const options = ['<option value="">全部</option>'];
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/flowTeam/listTeamByGroupId.action",
|
||||
url: "/admin/flowTeam/listTeamByGroupId",
|
||||
data: {
|
||||
groupId: groupId
|
||||
},
|
||||
@@ -126,7 +126,7 @@ export default {
|
||||
// 加载流量团队配置
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/flowTeam/listTeam.action",
|
||||
url: "/admin/flowTeam/listTeam",
|
||||
dataType: "json",
|
||||
async: false,
|
||||
success: function (json) {
|
||||
@@ -244,7 +244,7 @@ export default {
|
||||
return param;
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/flowteamSettlement/listTeamSettlementData.action',
|
||||
url: '/admin/flowteamSettlement/listTeamSettlementData',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
@@ -316,7 +316,7 @@ export default {
|
||||
teamDetailQueryParams = param;
|
||||
return param;
|
||||
},
|
||||
url: '/admin/flowteamSettlement/listTeamSettlementDataDetail.action',
|
||||
url: '/admin/flowteamSettlement/listTeamSettlementDataDetail',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
$("#teamDetailModal").modal('show');
|
||||
},
|
||||
|
@@ -191,7 +191,7 @@ export default {
|
||||
const options = ['<option value="">全部</option>'];
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/flowTeam/listTeamByGroupId.action",
|
||||
url: "/admin/flowTeam/listTeamByGroupId",
|
||||
data: {
|
||||
groupId: groupId
|
||||
},
|
||||
@@ -227,7 +227,7 @@ export default {
|
||||
// 加载流量团队配置
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/flowTeam/listTeam.action",
|
||||
url: "/admin/flowTeam/listTeam",
|
||||
dataType: "json",
|
||||
async: false,
|
||||
success: function (json) {
|
||||
@@ -418,7 +418,7 @@ export default {
|
||||
return param;
|
||||
},
|
||||
// toolbar: '#toolbar',
|
||||
url: '/admin/flowTeam/listStatisticSummary.action',
|
||||
url: '/admin/flowTeam/listStatisticSummary',
|
||||
onLoadSuccess: function (json) { //加载成功时执行
|
||||
console.log("table load success");
|
||||
if ($('#query-groupSelector').val() && !$('#query-teamSelector').val()) {
|
||||
@@ -601,7 +601,7 @@ export default {
|
||||
if ($("#addForm").validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/roomtag/saveRoomTag.action",
|
||||
url: "/admin/roomtag/saveRoomTag",
|
||||
data: {
|
||||
id: id,
|
||||
name: name,
|
||||
@@ -699,7 +699,7 @@ export default {
|
||||
detailTeamId = teamId;
|
||||
return param;
|
||||
},
|
||||
url: '/admin/flowTeam/listFlowTeamStatisticDetails.action',
|
||||
url: '/admin/flowTeam/listFlowTeamStatisticDetails',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
$("#teamDetailModal").modal('show');
|
||||
},
|
||||
@@ -750,7 +750,7 @@ export default {
|
||||
userDetailQueryParams = param;
|
||||
return param;
|
||||
},
|
||||
url: '/admin/flowTeam/listUserStatisticDetails.action',
|
||||
url: '/admin/flowTeam/listUserStatisticDetails',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
$("#userDetailModal").modal('show');
|
||||
},
|
||||
|
@@ -85,7 +85,7 @@ export default {
|
||||
// 加载流量团队配置
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/flowTeam/listTeam.action",
|
||||
url: "/admin/flowTeam/listTeam",
|
||||
dataType: "json",
|
||||
async: false,
|
||||
success: function (json) {
|
||||
@@ -149,7 +149,7 @@ export default {
|
||||
},
|
||||
uniqueId: 'code',
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/flowTeam/listUsers.action',
|
||||
url: '/admin/flowTeam/listUsers',
|
||||
onLoadSuccess: function (data) { //加载成功时执行
|
||||
tableData = data;
|
||||
},
|
||||
@@ -232,7 +232,7 @@ export default {
|
||||
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/flowTeam/refillUserInviteCode.action",
|
||||
url: "/admin/flowTeam/refillUserInviteCode",
|
||||
data: JSON.stringify(requestParam),
|
||||
dataType: "json",
|
||||
contentType: 'application/json',
|
||||
|
@@ -150,7 +150,7 @@ export default {
|
||||
if ($('#actForm').validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/gameAccessUrl/add.action",
|
||||
url: "/admin/gameAccessUrl/add",
|
||||
data: $('#actForm').serialize(),
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
@@ -171,7 +171,7 @@ export default {
|
||||
if ($('#editForm').validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/gameAccessUrl/update.action",
|
||||
url: "/admin/gameAccessUrl/update",
|
||||
data: $('#editForm').serialize(),
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
@@ -198,7 +198,7 @@ export default {
|
||||
if (confirm("你确认删除吗?")) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: '/admin/gameAccessUrl/delete.action',
|
||||
url: '/admin/gameAccessUrl/delete',
|
||||
data: { 'id': id },
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
@@ -294,7 +294,7 @@ export default {
|
||||
},
|
||||
uniqueId: 'accessUrl',
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/gameAccessUrl/list.action',
|
||||
url: '/admin/gameAccessUrl/list',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
|
@@ -383,7 +383,7 @@ export default {
|
||||
var id = $(this).attr("data-id");
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/gameActivityRank/getById.action",
|
||||
url: "/admin/gameActivityRank/getById",
|
||||
data: { "id": id },
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -426,7 +426,7 @@ export default {
|
||||
if ($('#actForm').validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/gameActivityRank/add.action",
|
||||
url: "/admin/gameActivityRank/add",
|
||||
data: $('#actForm').serialize(),
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
@@ -447,7 +447,7 @@ export default {
|
||||
if ($('#editForm').validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/gameActivityRank/update.action",
|
||||
url: "/admin/gameActivityRank/update",
|
||||
data: $('#editForm').serialize(),
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
@@ -474,7 +474,7 @@ export default {
|
||||
if (confirm("你确认删除吗?")) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: '/admin/gameActivityRank/delete.action',
|
||||
url: '/admin/gameActivityRank/delete',
|
||||
data: { 'id': id },
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
@@ -756,7 +756,7 @@ export default {
|
||||
},
|
||||
uniqueId: 'id',
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/gameActivityRank/list.action',
|
||||
url: '/admin/gameActivityRank/list',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
|
@@ -175,7 +175,7 @@ export default {
|
||||
if ($('#actForm').validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/gamechannel/add.action",
|
||||
url: "/admin/gamechannel/add",
|
||||
data: $('#actForm').serialize(),
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
@@ -196,7 +196,7 @@ export default {
|
||||
if ($('#editForm').validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/gamechannel/update.action",
|
||||
url: "/admin/gamechannel/update",
|
||||
data: $('#editForm').serialize(),
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
@@ -223,7 +223,7 @@ export default {
|
||||
if (confirm("你确认删除吗?")) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: '/admin/gamechannel/delete.action',
|
||||
url: '/admin/gamechannel/delete',
|
||||
data: { 'channelId': id },
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
@@ -321,7 +321,7 @@ export default {
|
||||
},
|
||||
uniqueId: 'channelId',
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/gamechannel/list.action',
|
||||
url: '/admin/gamechannel/list',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
|
@@ -150,7 +150,7 @@ export default {
|
||||
$('#uploadGameBtn').on('click', function () {
|
||||
var options = {
|
||||
type: 'post',
|
||||
url: '/admin/gameFace/headimg.action',
|
||||
url: '/admin/gameFace/headimg',
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
if (json.path) {
|
||||
@@ -168,7 +168,7 @@ export default {
|
||||
$('#addGameUploadBtn').on('click', function () {
|
||||
var options = {
|
||||
type: 'post',
|
||||
url: '/admin/gameFace/headimg.action',
|
||||
url: '/admin/gameFace/headimg',
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
if (json.path) {
|
||||
@@ -187,7 +187,7 @@ export default {
|
||||
if ($('#actForm').validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/gameFace/add.action",
|
||||
url: "/admin/gameFace/add",
|
||||
data: $('#actForm').serialize(),
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
@@ -208,7 +208,7 @@ export default {
|
||||
if ($('#editForm').validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/gameFace/update.action",
|
||||
url: "/admin/gameFace/update",
|
||||
data: $('#editForm').serialize(),
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
@@ -235,7 +235,7 @@ export default {
|
||||
if (confirm("你确认删除吗?")) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: '/admin/gameFace/delete.action',
|
||||
url: '/admin/gameFace/delete',
|
||||
data: { 'id': id },
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
@@ -352,7 +352,7 @@ export default {
|
||||
},
|
||||
uniqueId: 'type',
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/gameFace/list.action',
|
||||
url: '/admin/gameFace/list',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
|
@@ -414,7 +414,7 @@ export default {
|
||||
var gameId = $(this).attr("data-id");
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/gameinfo/getByGameId.action",
|
||||
url: "/admin/gameinfo/getByGameId",
|
||||
data: { "gameId": gameId },
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -451,7 +451,7 @@ export default {
|
||||
if ($('#actForm').validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/gameinfo/add.action",
|
||||
url: "/admin/gameinfo/add",
|
||||
data: $('#actForm').serialize(),
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
@@ -472,7 +472,7 @@ export default {
|
||||
if ($('#editForm').validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/gameinfo/update.action",
|
||||
url: "/admin/gameinfo/update",
|
||||
data: $('#editForm').serialize(),
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
@@ -500,7 +500,7 @@ export default {
|
||||
if (confirm("你确认删除吗?")) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: '/admin/gameinfo/delete.action',
|
||||
url: '/admin/gameinfo/delete',
|
||||
data: { 'gameId': id },
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
@@ -553,7 +553,7 @@ export default {
|
||||
var gameId = $(this).attr("data-id");
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/gameinfo/getByGameId.action",
|
||||
url: "/admin/gameinfo/getByGameId",
|
||||
data: { "gameId": gameId },
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -590,7 +590,7 @@ export default {
|
||||
if ($('#actForm').validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/gameinfo/add.action",
|
||||
url: "/admin/gameinfo/add",
|
||||
data: $('#actForm').serialize(),
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
@@ -611,7 +611,7 @@ export default {
|
||||
if ($('#editForm').validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/gameinfo/update.action",
|
||||
url: "/admin/gameinfo/update",
|
||||
data: $('#editForm').serialize(),
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
@@ -639,7 +639,7 @@ export default {
|
||||
if (confirm("你确认删除吗?")) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: '/admin/gameinfo/delete.action',
|
||||
url: '/admin/gameinfo/delete',
|
||||
data: { 'gameId': id },
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
@@ -673,7 +673,7 @@ export default {
|
||||
$('#addGameUploadBtn').on('click', function () {
|
||||
var options = {
|
||||
type: 'post',
|
||||
url: '/admin/gameinfo/headimg.action',
|
||||
url: '/admin/gameinfo/headimg',
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
if (json.path) {
|
||||
@@ -691,7 +691,7 @@ export default {
|
||||
$('#addPicUploadBtn').on('click', function () {
|
||||
var options = {
|
||||
type: 'post',
|
||||
url: '/admin/gameinfo/headimgforpicture.action',
|
||||
url: '/admin/gameinfo/headimgforpicture',
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
if (json.path) {
|
||||
@@ -710,7 +710,7 @@ export default {
|
||||
$('#addTagUploadBtn').on('click', function () {
|
||||
var options = {
|
||||
type: 'post',
|
||||
url: '/admin/gameinfo/headimgfortag.action',
|
||||
url: '/admin/gameinfo/headimgfortag',
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
if (json.path) {
|
||||
@@ -729,7 +729,7 @@ export default {
|
||||
$('#uploadGameBtn').on('click', function () {
|
||||
var options = {
|
||||
type: 'post',
|
||||
url: '/admin/gameinfo/headimg.action',
|
||||
url: '/admin/gameinfo/headimg',
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
if (json.path) {
|
||||
@@ -747,7 +747,7 @@ export default {
|
||||
$('#uploadPicBtn').on('click', function () {
|
||||
var options = {
|
||||
type: 'post',
|
||||
url: '/admin/gameinfo/headimgforpicture.action',
|
||||
url: '/admin/gameinfo/headimgforpicture',
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
if (json.path) {
|
||||
@@ -766,7 +766,7 @@ export default {
|
||||
$('#uploadTagBtn').on('click', function () {
|
||||
var options = {
|
||||
type: 'post',
|
||||
url: '/admin/gameinfo/headimgfortag.action',
|
||||
url: '/admin/gameinfo/headimgfortag',
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
if (json.path) {
|
||||
@@ -1014,7 +1014,7 @@ function initTable() {
|
||||
},
|
||||
uniqueId: 'gameId',
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/gameinfo/list.action',
|
||||
url: '/admin/gameinfo/list',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
|
@@ -90,7 +90,7 @@ export default {
|
||||
},
|
||||
uniqueId: 'code',
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/gameManage/billRecord/getList.action',
|
||||
url: '/admin/gameManage/billRecord/getList',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
tableLoaded = true;
|
||||
@@ -157,7 +157,7 @@ export default {
|
||||
return;
|
||||
}
|
||||
var form = $("#form");
|
||||
form.attr("action", "/admin/gameManage/billRecord/exportList.action");
|
||||
form.attr("action", "/admin/gameManage/billRecord/exportList");
|
||||
$('#exportplatformNo').val($('#platformNo').val());
|
||||
$('#exportBillType').val($('#billType').val());
|
||||
$('#exportStartTime').val($('#startDate').val());
|
||||
@@ -168,7 +168,7 @@ export default {
|
||||
// 通过接口获取所有账单类型
|
||||
function getObjTypes() {
|
||||
$.ajax({
|
||||
url: "/admin/gameManage/billRecord/objTypeList.action",
|
||||
url: "/admin/gameManage/billRecord/objTypeList",
|
||||
type: 'GET',
|
||||
async: false,
|
||||
datatype: 'json',
|
||||
|
@@ -632,7 +632,7 @@ export default {
|
||||
},
|
||||
uniqueId: 'code',
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/gameManage/banner/list.action',
|
||||
url: '/admin/gameManage/banner/list',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
@@ -658,7 +658,7 @@ export default {
|
||||
// }
|
||||
$.ajax({
|
||||
type: 'get',
|
||||
url: '/admin/gameManage/banner/get.action',
|
||||
url: '/admin/gameManage/banner/get',
|
||||
data: { 'bannerId': id },
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
@@ -846,7 +846,7 @@ export default {
|
||||
$('#uploadBtn').on('click', function () {
|
||||
var options = {
|
||||
type: 'post',
|
||||
url: '/admin/gameManage/banner/upload.action',
|
||||
url: '/admin/gameManage/banner/upload',
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
if (json.code == 200) {
|
||||
@@ -863,7 +863,7 @@ export default {
|
||||
$('#addUploadBtn').on('click', function () {
|
||||
var options = {
|
||||
type: 'post',
|
||||
url: '/admin/gameManage/banner/upload.action',
|
||||
url: '/admin/gameManage/banner/upload',
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
if (json.code == 200) {
|
||||
@@ -922,7 +922,7 @@ export default {
|
||||
if (confirm("你确认删除选中Banner吗?")) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: "/admin/gameManage/banner/delete.action",
|
||||
url: "/admin/gameManage/banner/delete",
|
||||
data: {
|
||||
'ids': JSON.stringify(idArr)
|
||||
},
|
||||
@@ -949,7 +949,7 @@ export default {
|
||||
if (confirm("你确认删除Banner吗?")) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: "/admin/gameManage/banner/delete.action",
|
||||
url: "/admin/gameManage/banner/delete",
|
||||
data: {
|
||||
'ids': JSON.stringify(idArr)
|
||||
},
|
||||
|
@@ -249,7 +249,7 @@ export default {
|
||||
return param;
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/gamemanage/channelticket/list.action',
|
||||
url: '/admin/gamemanage/channelticket/list',
|
||||
onLoadSuccess: function (data) { //加载成功时执行
|
||||
console.log("load success", data);
|
||||
pageList = data;
|
||||
@@ -272,7 +272,7 @@ export default {
|
||||
if (confirm(`你确认关闭该门票包链接吗?`)) {
|
||||
$.ajax({
|
||||
type: 'get',
|
||||
url: "/admin/gamemanage/channelticket/closeShare.action",
|
||||
url: "/admin/gamemanage/channelticket/closeShare",
|
||||
data: { 'id': id },
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -313,7 +313,7 @@ export default {
|
||||
data.append('file_' + 0, files[0]);
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/admin/upload/patch.action",
|
||||
url: "/admin/upload/patch",
|
||||
data: data,
|
||||
cache: false,
|
||||
contentType: false, //不可缺
|
||||
@@ -484,7 +484,7 @@ export default {
|
||||
if ($("#ticketForm").validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/gamemanage/channelticket/saveOrUpdate.action",
|
||||
url: "/admin/gamemanage/channelticket/saveOrUpdate",
|
||||
data: $('#ticketForm').serialize(),
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
|
@@ -80,7 +80,7 @@ export default {
|
||||
}
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/gameManage/giveTicket.action",
|
||||
url: "/admin/gameManage/giveTicket",
|
||||
data: { 'erbanNos': erbanNos, 'num': num, 'ticketId': ticketId },
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
|
@@ -205,7 +205,7 @@ export default {
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
uniqueId: 'matchGroupId',
|
||||
url: '/admin/gameManage/listGroupByPage.action',
|
||||
url: '/admin/gameManage/listGroupByPage',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
@@ -287,7 +287,7 @@ export default {
|
||||
console.log("updateId", $("#updateId").val());
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/gameManage/saveOrUpdateGroup.action",
|
||||
url: "/admin/gameManage/saveOrUpdateGroup",
|
||||
data: $("#updateForm").serialize(),
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -308,7 +308,7 @@ export default {
|
||||
$("#add").click(function () {
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/gameManage/saveOrUpdateGroup.action",
|
||||
url: "/admin/gameManage/saveOrUpdateGroup",
|
||||
data: $("#addForm").serialize(),
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
|
@@ -625,7 +625,7 @@ export default {
|
||||
};
|
||||
return param;
|
||||
},
|
||||
url: '/admin/gameManage/listGameByPage.action',
|
||||
url: '/admin/gameManage/listGameByPage',
|
||||
toolbar: '#toolbar',
|
||||
onLoadSuccess: function (data) { //加载成功时执行
|
||||
console.log("load success");
|
||||
@@ -640,7 +640,7 @@ export default {
|
||||
function getGameMoneyStat() {
|
||||
$.ajax({
|
||||
type: 'get',
|
||||
url: "/admin/gameManage/getGameMoneyStat.action",
|
||||
url: "/admin/gameManage/getGameMoneyStat",
|
||||
data: {
|
||||
groupId: $("#queryGroupId").val(),
|
||||
queryStatus: $("#queryStatus").val(),
|
||||
|
@@ -761,7 +761,7 @@ export default {
|
||||
};
|
||||
return param;
|
||||
},
|
||||
url: '/admin/gameManage/listGameByPage.action',
|
||||
url: '/admin/gameManage/listGameByPage',
|
||||
onLoadSuccess: function (data) { //加载成功时执行
|
||||
console.log("load success");
|
||||
matchList = data.rows;
|
||||
|
@@ -118,7 +118,7 @@ export default {
|
||||
pagination: false,
|
||||
pageList: [20, 50, 100, 200, 300, 500],
|
||||
search: false,
|
||||
url: '/admin/ticket/access/listAccessWithStatus.action',
|
||||
url: '/admin/ticket/access/listAccessWithStatus',
|
||||
sidePagination: "server", //表示服务端请求
|
||||
queryParamsType: "undefined",
|
||||
toolbar: '#toolbar',
|
||||
@@ -153,7 +153,7 @@ export default {
|
||||
if (confirm(`你确认要${tips}吗?`)) {
|
||||
$.ajax({
|
||||
type: 'get',
|
||||
url: "/admin/ticket/access/changeTicketAccessStatus.action",
|
||||
url: "/admin/ticket/access/changeTicketAccessStatus",
|
||||
data: { 'type': type, 'status': status },
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -179,7 +179,7 @@ export default {
|
||||
$('#limitNumDiv').show()
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/ticket/access/listAccessTicketByType.action",
|
||||
url: "/admin/ticket/access/listAccessTicketByType",
|
||||
data: { type: type },
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -251,7 +251,7 @@ export default {
|
||||
console.log(tickets)
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/ticket/access/saveOrUpdate.action",
|
||||
url: "/admin/ticket/access/saveOrUpdate",
|
||||
data: {
|
||||
type: $('#modelType').val(),
|
||||
tickets: JSON.stringify(tickets),
|
||||
|
@@ -8,7 +8,7 @@
|
||||
</section>
|
||||
<div id="toolbar">
|
||||
<div class="col-sm-12">
|
||||
<form action="/admin/ticket/access/exportList.action" id="searchForm" method="GET">
|
||||
<form action="/admin/ticket/access/exportList" id="searchForm" method="GET">
|
||||
门票ID:<input type="text" name="ticketUid" id="ticketUid" class="input-sm" />
|
||||
门票名称:<input type="text" name="ticketName" id="ticketName" class="input-sm" />
|
||||
平台号:<input type="text" name="erbanNO" id="erbanNO" class="input-sm" />
|
||||
@@ -160,7 +160,7 @@ export default {
|
||||
};
|
||||
return param;
|
||||
},
|
||||
url: '/admin/ticket/access/listTicketWalletHistory.action',
|
||||
url: '/admin/ticket/access/listTicketWalletHistory',
|
||||
toolbar: '#toolbar',
|
||||
onLoadSuccess: function (data) { //加载成功时执行
|
||||
console.log("load success");
|
||||
|
@@ -293,7 +293,7 @@ export default {
|
||||
return param;
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/gameManage/withdraw/list.action',
|
||||
url: '/admin/gameManage/withdraw/list',
|
||||
onLoadSuccess: function (json) { //加载成功时执行
|
||||
var totalNum = json.totalNum;
|
||||
if (totalNum != undefined) {
|
||||
@@ -348,7 +348,7 @@ export default {
|
||||
console.log("id: " + id);
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/gameManage/withdraw/approve.action",
|
||||
url: "/admin/gameManage/withdraw/approve",
|
||||
//data: $('#withdrawForm').serialize(),
|
||||
data: { id: id },
|
||||
dataType: "json",
|
||||
@@ -384,7 +384,7 @@ export default {
|
||||
if (confirm("你确认批量批准提现吗?")) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: "/admin/gameManage/withdraw/batchApprove.action",
|
||||
url: "/admin/gameManage/withdraw/batchApprove",
|
||||
data: { 'ids': JSON.stringify(idArr) },
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -413,7 +413,7 @@ export default {
|
||||
if (confirm("确认转账吗?")) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/gameManage/withdraw/transfer.action",
|
||||
url: "/admin/gameManage/withdraw/transfer",
|
||||
//data: $('#withdrawForm').serialize(),
|
||||
data: { id: id },
|
||||
dataType: "json",
|
||||
@@ -459,7 +459,7 @@ export default {
|
||||
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/gameManage/withdraw/transfer/search.action",
|
||||
url: "/admin/gameManage/withdraw/transfer/search",
|
||||
data: { id: id },
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -493,7 +493,7 @@ export default {
|
||||
if (confirm("你确认批量转账吗?")) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: "/admin/gameManage/withdraw/batchTransfer.action",
|
||||
url: "/admin/gameManage/withdraw/batchTransfer",
|
||||
data: { 'ids': JSON.stringify(idArr) },
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -557,7 +557,7 @@ export default {
|
||||
if ($("#rejectForm").validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/gameManage/withdraw/reject.action",
|
||||
url: "/admin/gameManage/withdraw/reject",
|
||||
//data: $('#rejectForm').serialize(),
|
||||
data: { withdrawId: withdrawId, remark: remark },
|
||||
dataType: "json",
|
||||
|
@@ -210,7 +210,7 @@ export default {
|
||||
return param;
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/gameManage/listTicketByPage.action',
|
||||
url: '/admin/gameManage/listTicketByPage',
|
||||
onLoadSuccess: function (data) { //加载成功时执行
|
||||
console.log("load success", data);
|
||||
pageList = data;
|
||||
@@ -237,7 +237,7 @@ export default {
|
||||
if (confirm(`你确认${tips}该门票吗?`)) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: "/admin/gameManage/changeTicketStatus.action",
|
||||
url: "/admin/gameManage/changeTicketStatus",
|
||||
data: { 'ticketId': id, 'newStatus': status },
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -313,7 +313,7 @@ export default {
|
||||
var id = $(this).attr("data-id");
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/gameManage/getTicket.action",
|
||||
url: "/admin/gameManage/getTicket",
|
||||
data: { ticketId: id },
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -358,7 +358,7 @@ export default {
|
||||
if ($("#ticketForm").validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/gameManage/saveTicket.action",
|
||||
url: "/admin/gameManage/saveTicket",
|
||||
data: $('#ticketForm').serialize(),
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
|
@@ -331,7 +331,7 @@ export default {
|
||||
return param;
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/guild/room/list.action',
|
||||
url: '/admin/guild/room/list',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
@@ -378,7 +378,7 @@ export default {
|
||||
if ($("#guildForm").validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/guild/room/save.action",
|
||||
url: "/admin/guild/room/save",
|
||||
data: {
|
||||
id: id,
|
||||
roomUid: roomUid,
|
||||
@@ -421,7 +421,7 @@ export default {
|
||||
var id = $(this).attr("data-id");
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/guild/room/getById.action.action",
|
||||
url: "/admin/guild/room/getById.action",
|
||||
data: { id: id },
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -471,7 +471,7 @@ export default {
|
||||
"\r\n删除后再也不能找回,请谨慎操作!")) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: "/admin/guild/room/delete.action",
|
||||
url: "/admin/guild/room/delete",
|
||||
data: { 'id': id },
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
|
@@ -364,7 +364,7 @@ export default {
|
||||
return param;
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/clan/listStats.action',
|
||||
url: '/admin/clan/listStats',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
tableLoaded = true;
|
||||
console.log("load success");
|
||||
@@ -401,7 +401,7 @@ export default {
|
||||
const clanId = $(this).attr('clanId');
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/clan/getClanInfo.action",
|
||||
url: "/admin/clan/getClanInfo",
|
||||
data: {
|
||||
clanId: clanId,
|
||||
},
|
||||
@@ -441,7 +441,7 @@ export default {
|
||||
const clanId = $(this).attr('clanId');
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/clan/getClanSuperAdminInfo.action",
|
||||
url: "/admin/clan/getClanSuperAdminInfo",
|
||||
data: {
|
||||
clanId: clanId,
|
||||
},
|
||||
@@ -473,7 +473,7 @@ export default {
|
||||
var superUid = $(this).parent().siblings('.superUid').text();
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/clan/getSuperAdminManageInfo.action",
|
||||
url: "/admin/clan/getSuperAdminManageInfo",
|
||||
data: { superUid: superUid },
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -495,7 +495,7 @@ export default {
|
||||
if (confirm("你确认删除该记录吗? \r\n 删除后再也不能找回,请谨慎操作!")) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: "/admin/clan/deleteSuperAdmin.action",
|
||||
url: "/admin/clan/deleteSuperAdmin",
|
||||
data: param,
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -532,7 +532,7 @@ export default {
|
||||
param.type = $('#modal_type').val();
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: '/admin/clan/superSaveOrUpdate.action',
|
||||
url: '/admin/clan/superSaveOrUpdate',
|
||||
data: param,
|
||||
dataType: 'json',
|
||||
success: function (res) {
|
||||
@@ -566,7 +566,7 @@ export default {
|
||||
if (confirm("你确认删除该家族吗?")) {
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/clan/del.action",
|
||||
url: "/admin/clan/del",
|
||||
data: {
|
||||
clanId: clanId,
|
||||
},
|
||||
@@ -592,7 +592,7 @@ export default {
|
||||
console.log("updateId", $("#updateId").val());
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/clan/update.action",
|
||||
url: "/admin/clan/update",
|
||||
data: {
|
||||
clanId: $("#updateId").val(),
|
||||
elderErbanNo: $("#updatemodal_elderErbanNo").val(),
|
||||
@@ -622,7 +622,7 @@ export default {
|
||||
console.log("$(#avatar).val()", $("#addAvatar").val())
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/clan/add.action",
|
||||
url: "/admin/clan/add",
|
||||
data: {
|
||||
elderErbanNo: $("#modal_elderErbanNo").val(),
|
||||
clanName: $("#module_clanName").val(),
|
||||
@@ -648,7 +648,7 @@ export default {
|
||||
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/clan/listClanLevelForSelect.action",
|
||||
url: "/admin/clan/listClanLevelForSelect",
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
if (json.success) {
|
||||
|
@@ -201,7 +201,7 @@ export default {
|
||||
},
|
||||
uniqueId: 'id',
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/clan/clanFlowstatsList.action',
|
||||
url: '/admin/clan/clanFlowstatsList',
|
||||
onLoadSuccess: function (res) { //加载成功时执行
|
||||
if (res.code == undefined || res.code === 200) {
|
||||
console.log("加载成功!");
|
||||
@@ -284,7 +284,7 @@ export default {
|
||||
},
|
||||
uniqueId: 'id',
|
||||
toolbar: '#toolbar2',
|
||||
url: '/admin/clan/clanFlowDetailList.action',
|
||||
url: '/admin/clan/clanFlowDetailList',
|
||||
onLoadSuccess: function (res) { //加载成功时执行
|
||||
console.log("加载成功!");
|
||||
$("#editModal").modal('show');
|
||||
@@ -300,7 +300,7 @@ export default {
|
||||
// 总计导出
|
||||
$('#flowDetailBtn').on('click', function () {
|
||||
var form = $("#form");
|
||||
form.attr("action", "/admin/clan/exportFlowDetail.action");
|
||||
form.attr("action", "/admin/clan/exportFlowDetail");
|
||||
|
||||
$('#queryStartDateExport').val($('#queryStartDate').val());
|
||||
$('#queryEndDateExport').val($('#queryEndDate').val());
|
||||
@@ -310,7 +310,7 @@ export default {
|
||||
// 按天导出
|
||||
$('#flowDetailByDayBtn').on('click', function () {
|
||||
var form = $("#form");
|
||||
form.attr("action", "/admin/clan/exportFlowDetailByDay.action");
|
||||
form.attr("action", "/admin/clan/exportFlowDetailByDay");
|
||||
|
||||
$('#queryStartDateExport').val($('#queryStartDate').val());
|
||||
$('#queryEndDateExport').val($('#queryEndDate').val());
|
||||
|
@@ -110,7 +110,7 @@ export default {
|
||||
},
|
||||
uniqueId: 'clanId',
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/clanGoldFlow/list.action',
|
||||
url: '/admin/clanGoldFlow/list',
|
||||
onLoadSuccess: function (res) { //加载成功时执行
|
||||
if (res.code === 200) {
|
||||
console.log("加载成功!");
|
||||
|
@@ -370,7 +370,7 @@ export default {
|
||||
if (confirm(`你确认删除等级${level}吗?`)) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/clan/deleteClanLevel.action",
|
||||
url: "/admin/clan/deleteClanLevel",
|
||||
data: JSON.stringify({
|
||||
level,
|
||||
}),
|
||||
|
@@ -116,7 +116,7 @@ export default {
|
||||
return param;
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/hall/statistic/get.action',
|
||||
url: '/admin/hall/statistic/get',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
|
@@ -258,7 +258,7 @@ export default {
|
||||
return param;
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/hall/member/statistic/get.action',
|
||||
url: '/admin/hall/member/statistic/get',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
@@ -284,7 +284,7 @@ export default {
|
||||
$("#modal_addBtn").click(function () {
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/hall/addMember.action",
|
||||
url: "/admin/hall/addMember",
|
||||
data: {
|
||||
memberErbanNo: $("#modal_memberErbanNo").val(),
|
||||
hallId: $("#modal_hallId").val(),
|
||||
@@ -312,7 +312,7 @@ export default {
|
||||
if (confirm("你确认删除该成员吗?")) {
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/hall/delMember.action",
|
||||
url: "/admin/hall/delMember",
|
||||
data: {
|
||||
memberErbanNo: memberErbanNo,
|
||||
hallId: hallId,
|
||||
|
@@ -584,7 +584,7 @@ export default {
|
||||
ajax:function(request){ //使用ajax请求
|
||||
$.ajax({
|
||||
type:"GET",
|
||||
url:'/admin/headwear/list.action',
|
||||
url:'/admin/headwear/list',
|
||||
contentType:'application/json;charset=utf-8',
|
||||
dataType:'json',
|
||||
data: request.data,
|
||||
@@ -613,7 +613,7 @@ export default {
|
||||
})
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
// url: '/admin/headwear/list.action',
|
||||
// url: '/admin/headwear/list',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
@@ -745,7 +745,7 @@ export default {
|
||||
if ($("#addForm").validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/headwear/save.action",
|
||||
url: "/admin/headwear/save",
|
||||
data: {
|
||||
headwearId: headwearId,
|
||||
name: nameValue,
|
||||
@@ -795,7 +795,7 @@ export default {
|
||||
var id = $(this).attr("data-id");
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/headwear/get.action",
|
||||
url: "/admin/headwear/get",
|
||||
data: { headwearId: id },
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -986,7 +986,7 @@ export default {
|
||||
if ($("#HeadwearSendForm").validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/headwear/send.action",
|
||||
url: "/admin/headwear/send",
|
||||
data: {
|
||||
headwearId: headwearId,
|
||||
erbanNo: erbanNo,
|
||||
|
@@ -110,7 +110,7 @@ export default {
|
||||
ajax: function (request) { //使用ajax请求
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
url: '/admin/headwearRecord/list.action',
|
||||
url: '/admin/headwearRecord/list',
|
||||
contentType: 'application/json;charset=utf-8',
|
||||
dataType: 'json',
|
||||
data: request.data,
|
||||
@@ -144,7 +144,7 @@ export default {
|
||||
var id = $(this).attr("data-id");
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/headwearRecord/recall.action",
|
||||
url: "/admin/headwearRecord/recall",
|
||||
data: { id: id },
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
|
@@ -88,7 +88,7 @@ export default {
|
||||
return param;
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/headwear/statisticsHeadwear.action',
|
||||
url: '/admin/headwear/statisticsHeadwear',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
|
@@ -333,7 +333,7 @@ export default {
|
||||
if (val == 5) {
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/title/getAllList.action",
|
||||
url: "/admin/title/getAllList",
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
if (json) {
|
||||
@@ -603,7 +603,7 @@ export default {
|
||||
},
|
||||
uniqueId: 'code',
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/banner/getBannerList.action',
|
||||
url: '/admin/banner/getBannerList',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
@@ -627,7 +627,7 @@ export default {
|
||||
}
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: '/admin/banner/getOneBanner.action',
|
||||
url: '/admin/banner/getOneBanner',
|
||||
data: { 'bannerId': id },
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
@@ -796,7 +796,7 @@ export default {
|
||||
console.log('wewawa');
|
||||
var options = {
|
||||
type: 'post',
|
||||
url: '/admin/banner/headimg.action',
|
||||
url: '/admin/banner/headimg',
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
if (json.path) {
|
||||
@@ -814,7 +814,7 @@ export default {
|
||||
$('#addUploadBtn').on('click', function () {
|
||||
var options = {
|
||||
type: 'post',
|
||||
url: '/admin/banner/headimg.action',
|
||||
url: '/admin/banner/headimg',
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
if (json.path) {
|
||||
@@ -875,7 +875,7 @@ export default {
|
||||
if (confirm("你确认删除选中Banner吗?")) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: "/admin/banner/delBanner.action",
|
||||
url: "/admin/banner/delBanner",
|
||||
data: {
|
||||
'ids': JSON.stringify(idArr)
|
||||
},
|
||||
@@ -921,7 +921,7 @@ export default {
|
||||
if (confirm("你确认删除Banner吗?")) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: "/admin/banner/delBanner.action",
|
||||
url: "/admin/banner/delBanner",
|
||||
data: {
|
||||
'ids': JSON.stringify(idArr)
|
||||
},
|
||||
|
@@ -189,7 +189,7 @@ export default {
|
||||
return param;
|
||||
},
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/panel/getList.action',
|
||||
url: '/admin/panel/getList',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
@@ -209,7 +209,7 @@ export default {
|
||||
"\r\n删除后再也不能找回,请谨慎操作!")) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: "/admin/panel/del.action",
|
||||
url: "/admin/panel/del",
|
||||
data: { 'ids': JSON.stringify([id]) },
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -255,7 +255,7 @@ export default {
|
||||
"\r\n删除后再也不能找回,请谨慎操作!")) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: "/admin/panel/del.action",
|
||||
url: "/admin/panel/del",
|
||||
data: { 'ids': JSON.stringify(idArr) },
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -281,7 +281,7 @@ export default {
|
||||
var id = $(this).attr("data-id");
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/panel/get.action",
|
||||
url: "/admin/panel/get",
|
||||
data: { id: id },
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -340,7 +340,7 @@ export default {
|
||||
if ($("#panelForm").validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/panel/save.action",
|
||||
url: "/admin/panel/save",
|
||||
data: $('#panelForm').serialize(),
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
|
@@ -184,7 +184,7 @@ export default {
|
||||
queryParamsType: "undefined",
|
||||
uniqueId: 'code',
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/homerecomm/hot/voList.action',
|
||||
url: '/admin/homerecomm/hot/voList',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
|
@@ -407,7 +407,7 @@ export default {
|
||||
},
|
||||
uniqueId: 'code',
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/banner/getBannerList.action',
|
||||
url: '/admin/banner/getBannerList',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.log("load success");
|
||||
},
|
||||
@@ -423,7 +423,7 @@ export default {
|
||||
isEdit = true;
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: '/admin/banner/getOneBanner.action',
|
||||
url: '/admin/banner/getOneBanner',
|
||||
data: { 'bannerId': id },
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
@@ -530,7 +530,7 @@ export default {
|
||||
console.log('wewawa');
|
||||
var options = {
|
||||
type: 'post',
|
||||
url: '/admin/banner/headimg.action',
|
||||
url: '/admin/banner/headimg',
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
if (json.path) {
|
||||
@@ -548,7 +548,7 @@ export default {
|
||||
$('#addUploadBtn').on('click', function () {
|
||||
var options = {
|
||||
type: 'post',
|
||||
url: '/admin/banner/headimg.action',
|
||||
url: '/admin/banner/headimg',
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
if (json.path) {
|
||||
@@ -592,7 +592,7 @@ export default {
|
||||
// console.log(key,typeof key);
|
||||
// $.ajax({
|
||||
// type: 'post',
|
||||
// url: '/admin/banner/delBannerList.action',
|
||||
// url: '/admin/banner/delBannerList',
|
||||
// data: {'bannerId':key},
|
||||
// dataType: 'json',
|
||||
// success: function(json){
|
||||
|
@@ -512,7 +512,7 @@ export default {
|
||||
var id = $(this).attr("data-id");
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/nameplate/sync.action",
|
||||
url: "/admin/nameplate/sync",
|
||||
data: {
|
||||
id: id
|
||||
},
|
||||
|
@@ -358,7 +358,7 @@ export default {
|
||||
if ($('#syncMusicForm').validationEngine('validate')) {
|
||||
var options = {
|
||||
type: 'post',
|
||||
url: '/admin/musicLibrary/syncMusic2ES.action',
|
||||
url: '/admin/musicLibrary/syncMusic2ES',
|
||||
dataType: 'json',
|
||||
data: {
|
||||
startTimeString: $('#startDate').val()
|
||||
@@ -382,7 +382,7 @@ export default {
|
||||
$('#uploadCoverBtn').on('click', function () {
|
||||
var options = {
|
||||
type: 'post',
|
||||
url: '/admin/musicLibrary/uploadCover.action',
|
||||
url: '/admin/musicLibrary/uploadCover',
|
||||
dataType: 'json',
|
||||
success: function (json) {
|
||||
if (json.path) {
|
||||
|
@@ -89,7 +89,7 @@ export default {
|
||||
showLoading();
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: "/admin/label/del.action",
|
||||
url: "/admin/label/del",
|
||||
data: { group: id },
|
||||
success: function (json) {
|
||||
hideLoading();
|
||||
@@ -151,7 +151,7 @@ export default {
|
||||
showLoading()
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/label/save.action",
|
||||
url: "/admin/label/save",
|
||||
data: { group, seq, labels },
|
||||
success: function (json) {
|
||||
hideLoading();
|
||||
@@ -200,7 +200,7 @@ function initTable() {
|
||||
//设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
|
||||
//设置为limit可以获取limit, offset, search, sort, order
|
||||
toolbar: '#toolbar',
|
||||
url: '/admin/label/list.action',
|
||||
url: '/admin/label/list',
|
||||
onLoadSuccess: function () { //加载成功时执行
|
||||
console.info("succeed")
|
||||
},
|
||||
|
@@ -10,7 +10,7 @@
|
||||
<div id="toolbar">
|
||||
<div class="col-sm-12">
|
||||
<div class="pull-left">
|
||||
<form action="/admin/linearlyPool/data/export.action" id="searchForm" method="POST">
|
||||
<form action="/admin/linearlyPool/data/export" id="searchForm" method="POST">
|
||||
66号:<input type="text" id="msNo" name="msNo" class="input-sm" placeholder="请输入66号">
|
||||
|
||||
奖品名称:<input type="text" id="prizeName" name="prizeName" class="input-sm"
|
||||
|
@@ -103,7 +103,7 @@ export default {
|
||||
}
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/login/login.action",
|
||||
url: "/login/login",
|
||||
data: param,
|
||||
dataType: "json",
|
||||
success: function (data) {
|
||||
@@ -156,7 +156,7 @@ export default {
|
||||
if (sendFlag) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/login/sendSmsCode.action",
|
||||
url: "/login/sendSmsCode",
|
||||
data: { 'account': account },
|
||||
dataType: "json",
|
||||
success: function (data) {
|
||||
|
@@ -247,7 +247,7 @@ export default {
|
||||
ajax: function (request) { //使用ajax请求
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
url: '/admin/luckyBagPool/list.action',
|
||||
url: '/admin/luckyBagPool/list',
|
||||
contentType: 'application/json;charset=utf-8',
|
||||
dataType: 'json',
|
||||
data: request.data,
|
||||
@@ -294,7 +294,7 @@ export default {
|
||||
if ($("#addModalForm").validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/luckyBagPool/save.action",
|
||||
url: "/admin/luckyBagPool/save",
|
||||
data: {
|
||||
luckyBagId: $("#modal_luckyBagId").val(),
|
||||
giftId: $("#modal_giftId").val(),
|
||||
@@ -328,7 +328,7 @@ export default {
|
||||
if ($("#editForm").validationEngine('validate')) {
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/luckyBagPool/save.action",
|
||||
url: "/admin/luckyBagPool/save",
|
||||
data: {
|
||||
id: $("#id").val(),
|
||||
luckyBagId: $("#luckyBagId").val(),
|
||||
@@ -364,7 +364,7 @@ export default {
|
||||
console.log(id);
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/luckyBagPool/get.action",
|
||||
url: "/admin/luckyBagPool/get",
|
||||
data: { id: id },
|
||||
dataType: "json",
|
||||
success: function (ret) {
|
||||
@@ -405,7 +405,7 @@ export default {
|
||||
if (confirm("你确认删除吗? 删除后不会恢复,请谨慎操作!")) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: "/admin/luckyBagPool/delete.action",
|
||||
url: "/admin/luckyBagPool/delete",
|
||||
data: { id: id },
|
||||
dataType: "json",
|
||||
success: function (json) {
|
||||
@@ -461,7 +461,7 @@ function apiResult(json) {
|
||||
function getLuckyBagGift() {
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/luckyBagPool/getPoolItem.action",
|
||||
url: "/admin/luckyBagPool/getPoolItem",
|
||||
data: {
|
||||
consumeType: 1,
|
||||
giftType: 3,
|
||||
|
@@ -132,7 +132,7 @@ export default {
|
||||
ajax: function (request) { //使用ajax请求
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
url: '/admin/luckyBagRecord/list.action',
|
||||
url: '/admin/luckyBagRecord/list',
|
||||
contentType: 'application/json;charset=utf-8',
|
||||
dataType: 'json',
|
||||
data: request.data,
|
||||
@@ -231,7 +231,7 @@ function apiResult(json) {
|
||||
function getLuckyBagGift() {
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/gift/listLuckyBagGift.action",
|
||||
url: "/admin/gift/listLuckyBagGift",
|
||||
dataType: "json",
|
||||
async: false,
|
||||
success: function (res) {
|
||||
|
@@ -143,7 +143,7 @@ export default {
|
||||
ajax: function (request) { //使用ajax请求
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
url: '/admin/luckyBagRecord/stats.action',
|
||||
url: '/admin/luckyBagRecord/stats',
|
||||
contentType: 'application/json;charset=utf-8',
|
||||
dataType: 'json',
|
||||
data: request.data,
|
||||
@@ -233,7 +233,7 @@ function apiResult(json) {
|
||||
function getLuckyBagGift() {
|
||||
$.ajax({
|
||||
type: "get",
|
||||
url: "/admin/gift/listLuckyBagGift.action",
|
||||
url: "/admin/gift/listLuckyBagGift",
|
||||
dataType: "json",
|
||||
async: false,
|
||||
success: function (res) {
|
||||
|
@@ -322,7 +322,7 @@ export default {
|
||||
queryParams: function queryParams(params) { //设置查询参数
|
||||
return params;
|
||||
},
|
||||
url: '/admin/gameMatch/listByPage.action',
|
||||
url: '/admin/gameMatch/listByPage',
|
||||
toolbar: '#toolbar',
|
||||
onLoadSuccess: function (data) { //加载成功时执行
|
||||
console.log("load success");
|
||||
|
@@ -80,7 +80,7 @@ export default {
|
||||
$("#tipModal").modal('show');
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/admin/mentor/push.action",
|
||||
url: "/admin/mentor/push",
|
||||
data: {
|
||||
'masters': masters,
|
||||
'apprentices': apprentices,
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user