提交 f96d9846 编写于 作者: Skyeye云's avatar Skyeye云

【薪资】薪资模块拆分

上级 729c203b
...@@ -21,7 +21,7 @@ layui.config({ ...@@ -21,7 +21,7 @@ layui.config({
wagesType: $("input[name='wagesType']:checked").val(), wagesType: $("input[name='wagesType']:checked").val(),
monthlyClearing: $("input[name='monthlyClearing']:checked").val() monthlyClearing: $("input[name='monthlyClearing']:checked").val()
}; };
AjaxPostUtil.request({url: reqBasePath + "wages002", params: params, type: 'json', callback: function (json) { AjaxPostUtil.request({url: sysMainMation.wagesBasePath + "wages002", params: params, type: 'json', callback: function (json) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}}); }});
......
...@@ -20,7 +20,7 @@ layui.config({ ...@@ -20,7 +20,7 @@ layui.config({
id: 'messageTable', id: 'messageTable',
elem: '#messageTable', elem: '#messageTable',
method: 'post', method: 'post',
url: reqBasePath + 'wages008', url: sysMainMation.wagesBasePath + 'wages008',
where: getTableParams(), where: getTableParams(),
even: true, even: true,
page: true, page: true,
...@@ -81,7 +81,7 @@ layui.config({ ...@@ -81,7 +81,7 @@ layui.config({
}else if(fieldType == 2){ }else if(fieldType == 2){
$(".customType").hide(); $(".customType").hide();
table.reload("messageTable", { table.reload("messageTable", {
url: reqBasePath + 'wages009', url: sysMainMation.wagesBasePath + 'wages009',
page: false page: false
}); });
} }
...@@ -102,7 +102,7 @@ layui.config({ ...@@ -102,7 +102,7 @@ layui.config({
function refreshTable(){ function refreshTable(){
table.reload("messageTable", { table.reload("messageTable", {
url: reqBasePath + 'wages008', url: sysMainMation.wagesBasePath + 'wages008',
page: {curr: 1}, page: {curr: 1},
page: true, page: true,
where: getTableParams() where: getTableParams()
......
...@@ -12,7 +12,7 @@ layui.config({ ...@@ -12,7 +12,7 @@ layui.config({
showGrid({ showGrid({
id: "showForm", id: "showForm",
url: reqBasePath + "wages003", url: sysMainMation.wagesBasePath + "wages003",
params: {rowId: parent.rowId}, params: {rowId: parent.rowId},
pagination: false, pagination: false,
method: "GET", method: "GET",
...@@ -34,7 +34,7 @@ layui.config({ ...@@ -34,7 +34,7 @@ layui.config({
monthlyClearing: $("input[name='monthlyClearing']:checked").val(), monthlyClearing: $("input[name='monthlyClearing']:checked").val(),
rowId: parent.rowId rowId: parent.rowId
}; };
AjaxPostUtil.request({url: reqBasePath + "wages004", params: params, type: 'json', method: "PUT", callback: function (json) { AjaxPostUtil.request({url: sysMainMation.wagesBasePath + "wages004", params: params, type: 'json', method: "PUT", callback: function (json) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}}); }});
......
...@@ -18,7 +18,7 @@ layui.config({ ...@@ -18,7 +18,7 @@ layui.config({
id: 'messageTable', id: 'messageTable',
elem: '#messageTable', elem: '#messageTable',
method: 'post', method: 'post',
url: reqBasePath + 'wages001', url: sysMainMation.wagesBasePath + 'wages001',
where: getTableParams(), where: getTableParams(),
even: true, even: true,
page: true, page: true,
...@@ -100,7 +100,7 @@ layui.config({ ...@@ -100,7 +100,7 @@ layui.config({
function delet(data){ function delet(data){
layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index){ layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index){
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "wages005", params:{rowId: data.id}, type: 'json', method: "DELETE", callback: function (json) { AjaxPostUtil.request({url: sysMainMation.wagesBasePath + "wages005", params: {rowId: data.id}, type: 'json', method: "DELETE", callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000}); winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
}}); }});
...@@ -111,7 +111,7 @@ layui.config({ ...@@ -111,7 +111,7 @@ layui.config({
function down(data){ function down(data){
layer.confirm(systemLanguage["com.skyeye.disableOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.disableOperation"][languageType]}, function(index) { layer.confirm(systemLanguage["com.skyeye.disableOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.disableOperation"][languageType]}, function(index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "wages007", params:{rowId: data.id}, type: 'json', method: "GET", callback: function (json) { AjaxPostUtil.request({url: sysMainMation.wagesBasePath + "wages007", params: {rowId: data.id}, type: 'json', method: "GET", callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.disableOperationSuccessMsg"][languageType], {icon: 1, time: 2000}); winui.window.msg(systemLanguage["com.skyeye.disableOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
}}); }});
...@@ -122,7 +122,7 @@ layui.config({ ...@@ -122,7 +122,7 @@ layui.config({
function up(data){ function up(data){
layer.confirm(systemLanguage["com.skyeye.enableOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.enableOperation"][languageType]}, function(index) { layer.confirm(systemLanguage["com.skyeye.enableOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.enableOperation"][languageType]}, function(index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "wages006", params:{rowId: data.id}, type: 'json', method: "GET", callback: function (json) { AjaxPostUtil.request({url: sysMainMation.wagesBasePath + "wages006", params: {rowId: data.id}, type: 'json', method: "GET", callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.enableOperationSuccessMsg"][languageType], {icon: 1, time: 2000}); winui.window.msg(systemLanguage["com.skyeye.enableOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
}}); }});
......
...@@ -15,7 +15,7 @@ layui.config({ ...@@ -15,7 +15,7 @@ layui.config({
id: 'messageTable', id: 'messageTable',
elem: '#messageTable', elem: '#messageTable',
method: 'post', method: 'post',
url: reqBasePath + 'wages009', url: sysMainMation.wagesBasePath + 'wages009',
where: {}, where: {},
even: true, even: true,
page: false, page: false,
......
...@@ -30,7 +30,7 @@ layui.config({ ...@@ -30,7 +30,7 @@ layui.config({
showGrid({ showGrid({
id: "typeId", id: "typeId",
url: reqBasePath + "wagesmodeltype008", url: sysMainMation.wagesBasePath + "wagesmodeltype008",
params: {}, params: {},
pagination: false, pagination: false,
template: selTemplate, template: selTemplate,
...@@ -96,7 +96,7 @@ layui.config({ ...@@ -96,7 +96,7 @@ layui.config({
}); });
}); });
params.str = JSON.stringify(object); params.str = JSON.stringify(object);
AjaxPostUtil.request({url: reqBasePath + "wagesmodel002", params: params, type: 'json', callback: function (json) { AjaxPostUtil.request({url: sysMainMation.wagesBasePath + "wagesmodel002", params: params, type: 'json', callback: function (json) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}}); }});
......
...@@ -15,7 +15,7 @@ layui.config({ ...@@ -15,7 +15,7 @@ layui.config({
showGrid({ showGrid({
id: "showForm", id: "showForm",
url: reqBasePath + "wagesmodel003", url: sysMainMation.wagesBasePath + "wagesmodel003",
params: {rowId: parent.rowId}, params: {rowId: parent.rowId},
pagination: false, pagination: false,
method: "GET", method: "GET",
......
...@@ -29,7 +29,7 @@ layui.config({ ...@@ -29,7 +29,7 @@ layui.config({
showGrid({ showGrid({
id: "showForm", id: "showForm",
url: reqBasePath + "wagesmodel003", url: sysMainMation.wagesBasePath + "wagesmodel003",
params: {rowId: parent.rowId}, params: {rowId: parent.rowId},
pagination: false, pagination: false,
method: "GET", method: "GET",
...@@ -40,7 +40,7 @@ layui.config({ ...@@ -40,7 +40,7 @@ layui.config({
showGrid({ showGrid({
id: "typeId", id: "typeId",
url: reqBasePath + "wagesmodeltype008", url: sysMainMation.wagesBasePath + "wagesmodeltype008",
params: {}, params: {},
pagination: false, pagination: false,
template: selTemplate, template: selTemplate,
...@@ -155,7 +155,7 @@ layui.config({ ...@@ -155,7 +155,7 @@ layui.config({
}); });
}); });
params.str = JSON.stringify(object); params.str = JSON.stringify(object);
AjaxPostUtil.request({url: reqBasePath + "wagesmodel004", params: params, type: 'json', method: "PUT", callback: function (json) { AjaxPostUtil.request({url: sysMainMation.wagesBasePath + "wagesmodel004", params: params, type: 'json', method: "PUT", callback: function (json) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}}); }});
......
...@@ -17,7 +17,7 @@ layui.config({ ...@@ -17,7 +17,7 @@ layui.config({
showGrid({ showGrid({
id: "typeId", id: "typeId",
url: reqBasePath + "wagesmodeltype008", url: sysMainMation.wagesBasePath + "wagesmodeltype008",
params: {}, params: {},
pagination: false, pagination: false,
template: selTemplate, template: selTemplate,
...@@ -33,7 +33,7 @@ layui.config({ ...@@ -33,7 +33,7 @@ layui.config({
id: 'messageTable', id: 'messageTable',
elem: '#messageTable', elem: '#messageTable',
method: 'post', method: 'post',
url: reqBasePath + 'wagesmodel001', url: sysMainMation.wagesBasePath + 'wagesmodel001',
where: getTableParams(), where: getTableParams(),
even: true, even: true,
page: true, page: true,
...@@ -107,7 +107,7 @@ layui.config({ ...@@ -107,7 +107,7 @@ layui.config({
function delet(data){ function delet(data){
layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index){ layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index){
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "wagesmodel005", params:{rowId: data.id}, type: 'json', method: "DELETE", callback: function (json) { AjaxPostUtil.request({url: sysMainMation.wagesBasePath + "wagesmodel005", params: {rowId: data.id}, type: 'json', method: "DELETE", callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000}); winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
}}); }});
...@@ -118,7 +118,7 @@ layui.config({ ...@@ -118,7 +118,7 @@ layui.config({
function down(data){ function down(data){
layer.confirm(systemLanguage["com.skyeye.disableOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.disableOperation"][languageType]}, function(index) { layer.confirm(systemLanguage["com.skyeye.disableOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.disableOperation"][languageType]}, function(index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "wagesmodel007", params:{rowId: data.id}, type: 'json', method: "GET", callback: function (json) { AjaxPostUtil.request({url: sysMainMation.wagesBasePath + "wagesmodel007", params: {rowId: data.id}, type: 'json', method: "GET", callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.disableOperationSuccessMsg"][languageType], {icon: 1, time: 2000}); winui.window.msg(systemLanguage["com.skyeye.disableOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
}}); }});
...@@ -129,7 +129,7 @@ layui.config({ ...@@ -129,7 +129,7 @@ layui.config({
function up(data){ function up(data){
layer.confirm(systemLanguage["com.skyeye.enableOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.enableOperation"][languageType]}, function(index) { layer.confirm(systemLanguage["com.skyeye.enableOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.enableOperation"][languageType]}, function(index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "wagesmodel006", params:{rowId: data.id}, type: 'json', method: "GET", callback: function (json) { AjaxPostUtil.request({url: sysMainMation.wagesBasePath + "wagesmodel006", params: {rowId: data.id}, type: 'json', method: "GET", callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.enableOperationSuccessMsg"][languageType], {icon: 1, time: 2000}); winui.window.msg(systemLanguage["com.skyeye.enableOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
}}); }});
......
...@@ -18,7 +18,7 @@ layui.config({ ...@@ -18,7 +18,7 @@ layui.config({
nameCn: $("#nameCn").val(), nameCn: $("#nameCn").val(),
nameEn: $("#nameEn").val() nameEn: $("#nameEn").val()
}; };
AjaxPostUtil.request({url: reqBasePath + "wagesmodeltype002", params: params, type: 'json', callback: function (json) { AjaxPostUtil.request({url: sysMainMation.wagesBasePath + "wagesmodeltype002", params: params, type: 'json', callback: function (json) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}}); }});
......
...@@ -12,7 +12,7 @@ layui.config({ ...@@ -12,7 +12,7 @@ layui.config({
showGrid({ showGrid({
id: "showForm", id: "showForm",
url: reqBasePath + "wagesmodeltype003", url: sysMainMation.wagesBasePath + "wagesmodeltype003",
params: {rowId: parent.rowId}, params: {rowId: parent.rowId},
pagination: false, pagination: false,
method: "GET", method: "GET",
...@@ -29,7 +29,7 @@ layui.config({ ...@@ -29,7 +29,7 @@ layui.config({
nameEn: $("#nameEn").val(), nameEn: $("#nameEn").val(),
rowId: parent.rowId rowId: parent.rowId
}; };
AjaxPostUtil.request({url: reqBasePath + "wagesmodeltype004", params: params, type: 'json', method: "PUT", callback: function (json) { AjaxPostUtil.request({url: sysMainMation.wagesBasePath + "wagesmodeltype004", params: params, type: 'json', method: "PUT", callback: function (json) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}}); }});
......
...@@ -18,7 +18,7 @@ layui.config({ ...@@ -18,7 +18,7 @@ layui.config({
id: 'messageTable', id: 'messageTable',
elem: '#messageTable', elem: '#messageTable',
method: 'post', method: 'post',
url: reqBasePath + 'wagesmodeltype001', url: sysMainMation.wagesBasePath + 'wagesmodeltype001',
where: getTableParams(), where: getTableParams(),
even: true, even: true,
page: true, page: true,
...@@ -85,7 +85,7 @@ layui.config({ ...@@ -85,7 +85,7 @@ layui.config({
function delet(data){ function delet(data){
layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index){ layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index){
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "wagesmodeltype005", params:{rowId: data.id}, type: 'json', method: "DELETE", callback: function (json) { AjaxPostUtil.request({url: sysMainMation.wagesBasePath + "wagesmodeltype005", params: {rowId: data.id}, type: 'json', method: "DELETE", callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000}); winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
}}); }});
...@@ -96,7 +96,7 @@ layui.config({ ...@@ -96,7 +96,7 @@ layui.config({
function down(data){ function down(data){
layer.confirm(systemLanguage["com.skyeye.disableOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.disableOperation"][languageType]}, function(index) { layer.confirm(systemLanguage["com.skyeye.disableOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.disableOperation"][languageType]}, function(index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "wagesmodeltype007", params:{rowId: data.id}, type: 'json', method: "GET", callback: function (json) { AjaxPostUtil.request({url: sysMainMation.wagesBasePath + "wagesmodeltype007", params: {rowId: data.id}, type: 'json', method: "GET", callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.disableOperationSuccessMsg"][languageType], {icon: 1, time: 2000}); winui.window.msg(systemLanguage["com.skyeye.disableOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
}}); }});
...@@ -107,7 +107,7 @@ layui.config({ ...@@ -107,7 +107,7 @@ layui.config({
function up(data){ function up(data){
layer.confirm(systemLanguage["com.skyeye.enableOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.enableOperation"][languageType]}, function(index) { layer.confirm(systemLanguage["com.skyeye.enableOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.enableOperation"][languageType]}, function(index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "wagesmodeltype006", params:{rowId: data.id}, type: 'json', method: "GET", callback: function (json) { AjaxPostUtil.request({url: sysMainMation.wagesBasePath + "wagesmodeltype006", params: {rowId: data.id}, type: 'json', method: "GET", callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.enableOperationSuccessMsg"][languageType], {icon: 1, time: 2000}); winui.window.msg(systemLanguage["com.skyeye.enableOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
}}); }});
......
...@@ -18,7 +18,7 @@ layui.config({ ...@@ -18,7 +18,7 @@ layui.config({
id: 'messageTable', id: 'messageTable',
elem: '#messageTable', elem: '#messageTable',
method: 'post', method: 'post',
url: reqBasePath + 'wagespaymenthistory001', url: sysMainMation.wagesBasePath + 'wagespaymenthistory001',
where: getTableParams(), where: getTableParams(),
even: true, even: true,
page: true, page: true,
......
...@@ -21,7 +21,7 @@ layui.config({ ...@@ -21,7 +21,7 @@ layui.config({
id: 'messageTable', id: 'messageTable',
elem: '#messageTable', elem: '#messageTable',
method: 'post', method: 'post',
url: reqBasePath + 'wagespaymenthistory003', url: sysMainMation.wagesBasePath + 'wagespaymenthistory003',
where: getTableParams(), where: getTableParams(),
even: true, even: true,
page: true, page: true,
......
...@@ -24,7 +24,7 @@ layui.config({ ...@@ -24,7 +24,7 @@ layui.config({
id: 'messageTable', id: 'messageTable',
elem: '#messageTable', elem: '#messageTable',
method: 'post', method: 'post',
url: reqBasePath + 'wagespaymenthistory002', url: sysMainMation.wagesBasePath + 'wagespaymenthistory002',
where: getTableParams(), where: getTableParams(),
even: true, even: true,
page: true, page: true,
......
...@@ -12,7 +12,7 @@ layui.config({ ...@@ -12,7 +12,7 @@ layui.config({
showGrid({ showGrid({
id: "showForm", id: "showForm",
url: reqBasePath + "wagesstaff005", url: sysMainMation.wagesBasePath + "wagesstaff005",
params: {staffId: parent.rowId, payMonth: parent.payMonth}, params: {staffId: parent.rowId, payMonth: parent.payMonth},
pagination: false, pagination: false,
method: "GET", method: "GET",
......
...@@ -85,7 +85,7 @@ layui.config({ ...@@ -85,7 +85,7 @@ layui.config({
}); });
}); });
params.str = JSON.stringify(object); params.str = JSON.stringify(object);
AjaxPostUtil.request({url: reqBasePath + "wagessocialsecurityfund002", params: params, type: 'json', callback: function (json) { AjaxPostUtil.request({url: sysMainMation.wagesBasePath + "wagessocialsecurityfund002", params: params, type: 'json', callback: function (json) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}}); }});
......
...@@ -12,7 +12,7 @@ layui.config({ ...@@ -12,7 +12,7 @@ layui.config({
showGrid({ showGrid({
id: "showForm", id: "showForm",
url: reqBasePath + "wagessocialsecurityfund008", url: sysMainMation.wagesBasePath + "wagessocialsecurityfund008",
params: {rowId: parent.rowId}, params: {rowId: parent.rowId},
pagination: false, pagination: false,
method: "GET", method: "GET",
......
...@@ -23,7 +23,7 @@ layui.config({ ...@@ -23,7 +23,7 @@ layui.config({
showGrid({ showGrid({
id: "showForm", id: "showForm",
url: reqBasePath + "wagessocialsecurityfund003", url: sysMainMation.wagesBasePath + "wagessocialsecurityfund003",
params: {rowId: parent.rowId}, params: {rowId: parent.rowId},
pagination: false, pagination: false,
method: "GET", method: "GET",
...@@ -133,7 +133,7 @@ layui.config({ ...@@ -133,7 +133,7 @@ layui.config({
}); });
}); });
params.str = JSON.stringify(object); params.str = JSON.stringify(object);
AjaxPostUtil.request({url: reqBasePath + "wagessocialsecurityfund004", params: params, type: 'json', method: "PUT", callback: function (json) { AjaxPostUtil.request({url: sysMainMation.wagesBasePath + "wagessocialsecurityfund004", params: params, type: 'json', method: "PUT", callback: function (json) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}}); }});
......
...@@ -18,7 +18,7 @@ layui.config({ ...@@ -18,7 +18,7 @@ layui.config({
id: 'messageTable', id: 'messageTable',
elem: '#messageTable', elem: '#messageTable',
method: 'post', method: 'post',
url: reqBasePath + 'wagessocialsecurityfund001', url: sysMainMation.wagesBasePath + 'wagessocialsecurityfund001',
where: getTableParams(), where: getTableParams(),
even: true, even: true,
page: true, page: true,
...@@ -96,7 +96,7 @@ layui.config({ ...@@ -96,7 +96,7 @@ layui.config({
function delet(data){ function delet(data){
layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index){ layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index){
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "wagessocialsecurityfund005", params:{rowId: data.id}, type: 'json', method: "DELETE", callback: function (json) { AjaxPostUtil.request({url: sysMainMation.wagesBasePath + "wagessocialsecurityfund005", params: {rowId: data.id}, type: 'json', method: "DELETE", callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000}); winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
}}); }});
...@@ -107,7 +107,7 @@ layui.config({ ...@@ -107,7 +107,7 @@ layui.config({
function down(data){ function down(data){
layer.confirm(systemLanguage["com.skyeye.disableOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.disableOperation"][languageType]}, function(index) { layer.confirm(systemLanguage["com.skyeye.disableOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.disableOperation"][languageType]}, function(index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "wagessocialsecurityfund007", params:{rowId: data.id}, type: 'json', method: "GET", callback: function (json) { AjaxPostUtil.request({url: sysMainMation.wagesBasePath + "wagessocialsecurityfund007", params: {rowId: data.id}, type: 'json', method: "GET", callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.disableOperationSuccessMsg"][languageType], {icon: 1, time: 2000}); winui.window.msg(systemLanguage["com.skyeye.disableOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
}}); }});
...@@ -118,7 +118,7 @@ layui.config({ ...@@ -118,7 +118,7 @@ layui.config({
function up(data){ function up(data){
layer.confirm(systemLanguage["com.skyeye.enableOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.enableOperation"][languageType]}, function(index) { layer.confirm(systemLanguage["com.skyeye.enableOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.enableOperation"][languageType]}, function(index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "wagessocialsecurityfund006", params:{rowId: data.id}, type: 'json', method: "GET", callback: function (json) { AjaxPostUtil.request({url: sysMainMation.wagesBasePath + "wagessocialsecurityfund006", params: {rowId: data.id}, type: 'json', method: "GET", callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.enableOperationSuccessMsg"][languageType], {icon: 1, time: 2000}); winui.window.msg(systemLanguage["com.skyeye.enableOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
}}); }});
......
...@@ -19,7 +19,7 @@ layui.config({ ...@@ -19,7 +19,7 @@ layui.config({
id: 'messageTable', id: 'messageTable',
elem: '#messageTable', elem: '#messageTable',
method: 'post', method: 'post',
url: reqBasePath + 'wagesstaff004', url: sysMainMation.wagesBasePath + 'wagesstaff004',
where: getTableParams(), where: getTableParams(),
even: true, even: true,
page: true, page: true,
......
...@@ -12,7 +12,7 @@ layui.config({ ...@@ -12,7 +12,7 @@ layui.config({
showGrid({ showGrid({
id: "showForm", id: "showForm",
url: reqBasePath + "wagesstaff002", url: sysMainMation.wagesBasePath + "wagesstaff002",
params: {staffId: parent.rowId}, params: {staffId: parent.rowId},
pagination: false, pagination: false,
method: "GET", method: "GET",
...@@ -52,7 +52,7 @@ layui.config({ ...@@ -52,7 +52,7 @@ layui.config({
staffId: parent.rowId, staffId: parent.rowId,
actMoney: actMoney actMoney: actMoney
}; };
AjaxPostUtil.request({url: reqBasePath + "wagesstaff003", params: params, type: 'json', method: "POST", callback: function (json) { AjaxPostUtil.request({url: sysMainMation.wagesBasePath + "wagesstaff003", params: params, type: 'json', method: "POST", callback: function (json) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}}); }});
......
...@@ -19,7 +19,7 @@ layui.config({ ...@@ -19,7 +19,7 @@ layui.config({
id: 'messageTable', id: 'messageTable',
elem: '#messageTable', elem: '#messageTable',
method: 'post', method: 'post',
url: reqBasePath + 'wagesstaff001', url: sysMainMation.wagesBasePath + 'wagesstaff001',
where: getTableParams(), where: getTableParams(),
even: true, even: true,
page: true, page: true,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册