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

财务现有功能整改

上级 5af16f2f
......@@ -27,7 +27,7 @@ layui.config({
isDefault: $("input[name='isDefault']:checked").val(),
remark: $("#remark").val()
};
AjaxPostUtil.request({url: reqBasePath + "account002", params: params, type: 'json', method: "POST", callback: function(json){
AjaxPostUtil.request({url: flowableBasePath + "account002", params: params, type: 'json', method: "POST", callback: function(json){
if(json.returnCode == 0){
parent.layer.close(index);
parent.refreshCode = '0';
......
......@@ -11,7 +11,7 @@ layui.config({
textool = layui.textool;
showGrid({
id: "showForm",
url: reqBasePath + "account003",
url: flowableBasePath + "account003",
params: {rowId:parent.rowId},
pagination: false,
method: "GET",
......@@ -41,7 +41,7 @@ layui.config({
isDefault: $("input[name='isDefault']:checked").val(),
remark: $("#remark").val()
};
AjaxPostUtil.request({url: reqBasePath + "account005", params: params, type: 'json', method: "PUT", callback: function(json){
AjaxPostUtil.request({url: flowableBasePath + "account005", params: params, type: 'json', method: "PUT", callback: function(json){
if(json.returnCode == 0){
parent.layer.close(index);
parent.refreshCode = '0';
......
......@@ -11,7 +11,7 @@ layui.config({
showGrid({
id: "showForm",
url: reqBasePath + "account007",
url: flowableBasePath + "account007",
params: {rowId: parent.rowId},
pagination: false,
method: "GET",
......
......@@ -15,7 +15,7 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: reqBasePath + 'account008',
url: flowableBasePath + 'account008',
where: {rowId:parent.rowId},
even: true,
page: true,
......
......@@ -18,7 +18,7 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: reqBasePath + 'account001',
url: flowableBasePath + 'account001',
where: getTableParams(),
even: true,
page: true,
......@@ -89,7 +89,7 @@ layui.config({
function deleteAccount(data){
layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index){
layer.close(index);
AjaxPostUtil.request({ url: reqBasePath + "account004", params: {rowId: data.id}, type: 'json', method: "DELETE", callback: function(json){
AjaxPostUtil.request({ url: flowableBasePath + "account004", params: {rowId: data.id}, type: 'json', method: "DELETE", callback: function(json){
if(json.returnCode == 0){
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
......@@ -103,7 +103,7 @@ layui.config({
// 设置是否默认
function defaultAccount(data){
layer.confirm('确认要设置该结算账户为默认状态吗?', { icon: 3, title: '设置结算账户状态' }, function (index) {
AjaxPostUtil.request({url: reqBasePath + "account006", params: {rowId: data.id}, type: 'json', method: "PUT", callback: function(json){
AjaxPostUtil.request({url: flowableBasePath + "account006", params: {rowId: data.id}, type: 'json', method: "PUT", callback: function(json){
if(json.returnCode == 0){
winui.window.msg("设置成功。", {icon: 1, time: 2000});
loadTable();
......
......@@ -35,7 +35,7 @@ layui.config({
type: $("#type").val(),
remark: $("#remark").val()
};
AjaxPostUtil.request({url: reqBasePath + "ifsaccountsubject002", params: params, type: 'json', method: "POST", callback: function(json){
AjaxPostUtil.request({url: flowableBasePath + "ifsaccountsubject002", params: params, type: 'json', method: "POST", callback: function(json){
if(json.returnCode == 0){
parent.layer.close(index);
parent.refreshCode = '0';
......
......@@ -11,7 +11,7 @@ layui.config({
showGrid({
id: "showForm",
url: reqBasePath + "ifsaccountsubject003",
url: flowableBasePath + "ifsaccountsubject003",
params: {rowId: parent.rowId},
pagination: false,
method: "GET",
......
......@@ -14,7 +14,7 @@ layui.config({
showGrid({
id: "showForm",
url: reqBasePath + "ifsaccountsubject003",
url: flowableBasePath + "ifsaccountsubject003",
params: {rowId: parent.rowId},
pagination: false,
method: "GET",
......@@ -51,7 +51,7 @@ layui.config({
type: $("#type").val(),
remark: $("#remark").val()
};
AjaxPostUtil.request({url: reqBasePath + "ifsaccountsubject004", params: params, type: 'json', method: "PUT", callback: function(json){
AjaxPostUtil.request({url: flowableBasePath + "ifsaccountsubject004", params: params, type: 'json', method: "PUT", callback: function(json){
if(json.returnCode == 0){
parent.layer.close(index);
parent.refreshCode = '0';
......
......@@ -21,7 +21,7 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: reqBasePath + 'ifsaccountsubject001',
url: flowableBasePath + 'ifsaccountsubject001',
where: getTableParams(),
even: true,
page: true,
......@@ -93,7 +93,7 @@ layui.config({
function delet(data){
layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index){
layer.close(index);
AjaxPostUtil.request({ url: reqBasePath + "ifsaccountsubject005", params: {rowId: data.id}, type: 'json', method: "DELETE", callback: function(json){
AjaxPostUtil.request({url: flowableBasePath + "ifsaccountsubject005", params: {rowId: data.id}, type: 'json', method: "DELETE", callback: function(json){
if(json.returnCode == 0){
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
......
......@@ -22,7 +22,7 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: reqBasePath + 'ifsaccountsubject001',
url: flowableBasePath + 'ifsaccountsubject001',
where: getTableParams(),
even: true,
page: true,
......
......@@ -33,7 +33,7 @@ layui.config({
endTime: $("#dateScope").val().split('~')[1].trim(),
remark: $("#remark").val()
};
AjaxPostUtil.request({url: reqBasePath + "ifssetofbooks002", params: params, type: 'json', method: "POST", callback: function(json){
AjaxPostUtil.request({url: flowableBasePath + "ifssetofbooks002", params: params, type: 'json', method: "POST", callback: function(json){
if(json.returnCode == 0){
parent.layer.close(index);
parent.refreshCode = '0';
......
......@@ -11,7 +11,7 @@ layui.config({
showGrid({
id: "showForm",
url: reqBasePath + "ifssetofbooks003",
url: flowableBasePath + "ifssetofbooks003",
params: {rowId: parent.rowId},
pagination: false,
method: "GET",
......
......@@ -13,7 +13,7 @@ layui.config({
showGrid({
id: "showForm",
url: reqBasePath + "ifssetofbooks003",
url: flowableBasePath + "ifssetofbooks003",
params: {rowId: parent.rowId},
pagination: false,
method: "GET",
......@@ -47,7 +47,7 @@ layui.config({
endTime: $("#dateScope").val().split('~')[1].trim(),
remark: $("#remark").val()
};
AjaxPostUtil.request({url: reqBasePath + "ifssetofbooks004", params: params, type: 'json', method: "PUT", callback: function(json){
AjaxPostUtil.request({url: flowableBasePath + "ifssetofbooks004", params: params, type: 'json', method: "PUT", callback: function(json){
if(json.returnCode == 0){
parent.layer.close(index);
parent.refreshCode = '0';
......
......@@ -29,7 +29,7 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: reqBasePath + 'ifssetofbooks001',
url: flowableBasePath + 'ifssetofbooks001',
where: getTableParams(),
even: true,
page: true,
......@@ -96,7 +96,7 @@ layui.config({
function delet(data){
layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index){
layer.close(index);
AjaxPostUtil.request({ url: reqBasePath + "ifssetofbooks005", params: {rowId: data.id}, type: 'json', method: "DELETE", callback: function(json){
AjaxPostUtil.request({url: flowableBasePath + "ifssetofbooks005", params: {rowId: data.id}, type: 'json', method: "DELETE", callback: function(json){
if(json.returnCode == 0){
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
......
......@@ -30,7 +30,7 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: reqBasePath + 'ifssetofbooks001',
url: flowableBasePath + 'ifssetofbooks001',
where: getTableParams(),
even: true,
page: true,
......
......@@ -14,7 +14,7 @@ layui.config({
showGrid({
id: "showForm",
url: reqBasePath + "ifsVoucher001",
url: flowableBasePath + "ifsVoucher001",
params: getTableParams(),
pagination: true,
pagesize: 18,
......@@ -43,7 +43,7 @@ layui.config({
options: {'click .del':function(index, row){
layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index){
layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "ifsVoucher003", params: {rowId: row.id}, type: 'json', method: "DELETE", callback: function(json){
AjaxPostUtil.request({url: flowableBasePath + "ifsVoucher003", params: {rowId: row.id}, type: 'json', method: "DELETE", callback: function(json){
if(json.returnCode == 0){
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
......@@ -81,7 +81,7 @@ layui.config({
voucherPath: json.bean.picUrl,
fileName: json.bean.fileName
}
AjaxPostUtil.request({url: reqBasePath + "ifsVoucher002", params: param, type: 'json', method: "POST", callback: function(json){
AjaxPostUtil.request({url: flowableBasePath + "ifsVoucher002", params: param, type: 'json', method: "POST", callback: function(json){
if(json.returnCode == 0){
winui.window.msg("上传成功", {icon: 1, time: 2000});
loadTable();
......
......@@ -12,7 +12,7 @@ layui.config({
showGrid({
id: "showForm",
url: reqBasePath + "ifsVoucher001",
url: flowableBasePath + "ifsVoucher001",
params: getTableParams(),
pagination: true,
pagesize: 18,
......
......@@ -85,7 +85,7 @@ layui.config({
subType: subType,
approvalId: approvalId
};
AjaxPostUtil.request({url: reqBasePath + "income002", params: params, type: 'json', method: "POST", callback: function(json) {
AjaxPostUtil.request({url: flowableBasePath + "income002", params: params, type: 'json', method: "POST", callback: function(json) {
if(json.returnCode == 0) {
dsFormUtil.savePageData("dsFormShow", json.bean.id);
parent.layer.close(index);
......
......@@ -24,7 +24,7 @@ layui.config({
showGrid({
id: "showForm",
url: reqBasePath + "income003",
url: flowableBasePath + "income003",
params: {rowId: parent.rowId},
pagination: false,
template: beanTemplate,
......@@ -168,7 +168,7 @@ layui.config({
approvalId: approvalId,
rowId: parent.rowId
};
AjaxPostUtil.request({url: reqBasePath + "income004", params: params, type: 'json', method: "PUT", callback: function(json) {
AjaxPostUtil.request({url: flowableBasePath + "income004", params: params, type: 'json', method: "PUT", callback: function(json) {
if(json.returnCode == 0) {
dsFormUtil.savePageData("dsFormShow", json.bean.id);
parent.layer.close(index);
......
......@@ -13,7 +13,7 @@ layui.config({
showGrid({
id: "showForm",
url: reqBasePath + "income006",
url: flowableBasePath + "income006",
params: {rowId: parent.rowId},
pagination: false,
template: beanTemplate,
......
......@@ -27,7 +27,7 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: reqBasePath + 'income001',
url: flowableBasePath + 'income001',
where: getTableParams(),
even: true,
page: true,
......@@ -134,7 +134,7 @@ layui.config({
// 删除
function deleteIncome(data){
layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index){
AjaxPostUtil.request({url:reqBasePath + "income005", params: {rowId: data.id}, type: 'json', method: "DELETE", callback: function(json){
AjaxPostUtil.request({url: flowableBasePath + "income005", params: {rowId: data.id}, type: 'json', method: "DELETE", callback: function(json){
if(json.returnCode == 0){
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1,time: 2000});
loadTable();
......@@ -161,7 +161,7 @@ layui.config({
function revorke(data){
layer.confirm('确认撤销该申请吗?', { icon: 3, title: '撤销操作' }, function (index) {
layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "income009", params: {processInstanceId: data.processInstanceId}, type: 'json', callback: function(json){
AjaxPostUtil.request({url: flowableBasePath + "income009", params: {processInstanceId: data.processInstanceId}, type: 'json', callback: function(json){
if(json.returnCode == 0){
winui.window.msg("提交成功", {icon: 1, time: 2000});
loadTable();
......@@ -196,7 +196,7 @@ layui.config({
});
}
function subToData(params){
AjaxPostUtil.request({url: reqBasePath + "income008", params: params, type: 'json', callback: function(json){
AjaxPostUtil.request({url: flowableBasePath + "income008", params: params, type: 'json', callback: function(json){
if(json.returnCode == 0){
winui.window.msg("提交成功", {icon: 1, time: 2000});
loadTable();
......@@ -243,7 +243,7 @@ layui.config({
// 导出excel
$("body").on("click", "#downloadExcel", function () {
postDownLoadFile({
url : reqBasePath + 'income007?userToken=' + getCookie('userToken') + '&loginPCIp=' + returnCitySN["cip"],
url : flowableBasePath + 'income007?userToken=' + getCookie('userToken') + '&loginPCIp=' + returnCitySN["cip"],
params: getTableParams(),
method : 'post'
});
......
......@@ -25,7 +25,7 @@ layui.config({
inoutitemType: $("#inoutitemType").val(),
remark: $("#remark").val()
};
AjaxPostUtil.request({url: reqBasePath + "inoutitem002", params: params, type: 'json', method: "POST", callback: function(json){
AjaxPostUtil.request({url: flowableBasePath + "inoutitem002", params: params, type: 'json', method: "POST", callback: function(json){
if(json.returnCode == 0){
parent.layer.close(index);
parent.refreshCode = '0';
......
......@@ -12,7 +12,7 @@ layui.config({
showGrid({
id: "showForm",
url: reqBasePath + "inoutitem003",
url: flowableBasePath + "inoutitem003",
params: {rowId:parent.rowId},
pagination: false,
method: "GET",
......@@ -37,7 +37,7 @@ layui.config({
inoutitemType: $("#inoutitemType").val(),
remark: $("#remark").val()
};
AjaxPostUtil.request({url: reqBasePath + "inoutitem005", params: params, type: 'json', method: "PUT", callback: function(json){
AjaxPostUtil.request({url: flowableBasePath + "inoutitem005", params: params, type: 'json', method: "PUT", callback: function(json){
if(json.returnCode == 0){
parent.layer.close(index);
parent.refreshCode = '0';
......
......@@ -11,7 +11,7 @@ layui.config({
showGrid({
id: "showForm",
url: reqBasePath + "inoutitem006",
url: flowableBasePath + "inoutitem006",
params: {rowId: parent.rowId},
pagination: false,
method: "GET",
......
......@@ -18,7 +18,7 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: reqBasePath + 'inoutitem001',
url: flowableBasePath + 'inoutitem001',
where: getTableParams(),
even: true,
page: true,
......@@ -81,7 +81,7 @@ layui.config({
function deleteInoutitem(data){
layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index){
layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "inoutitem004", params: {rowId: data.id}, type: 'json', method: "DELETE", callback: function(json){
AjaxPostUtil.request({url: flowableBasePath + "inoutitem004", params: {rowId: data.id}, type: 'json', method: "DELETE", callback: function(json){
if(json.returnCode == 0){
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
......
......@@ -17,7 +17,7 @@ var systemCommonUtil = {
* @param callback 回执函数
*/
getSysAccountListByType: function (callback){
AjaxPostUtil.request({url: reqBasePath + "account009", params: {}, type: 'json', method: "GET", callback: function(json) {
AjaxPostUtil.request({url: flowableBasePath + "account009", params: {}, type: 'json', method: "GET", callback: function(json) {
if(json.returnCode == 0) {
if(typeof(callback) == "function") {
callback(json);
......@@ -69,7 +69,7 @@ var systemCommonUtil = {
* @param callback 回执函数
*/
getSysInoutitemListByType: function (type, callback){
AjaxPostUtil.request({url: reqBasePath + "inoutitem007", params: {type: type}, type: 'json', method: "GET", callback: function(json) {
AjaxPostUtil.request({url: flowableBasePath + "inoutitem007", params: {type: type}, type: 'json', method: "GET", callback: function(json) {
if(json.returnCode == 0) {
if(typeof(callback) == "function") {
callback(json);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册