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

【公共】代码调整

上级 86327fef
...@@ -20,11 +20,11 @@ layui.config({ ...@@ -20,11 +20,11 @@ layui.config({
desc: $("#desc").val() desc: $("#desc").val()
}; };
AjaxPostUtil.request({url: flowableBasePath + "actbaseclass002", params:params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "actbaseclass002", params:params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -27,11 +27,11 @@ layui.config({ ...@@ -27,11 +27,11 @@ layui.config({
desc: $("#desc").val() desc: $("#desc").val()
}; };
AjaxPostUtil.request({url: flowableBasePath + "actbaseclass005", params:params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "actbaseclass005", params:params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -55,10 +55,10 @@ layui.config({ ...@@ -55,10 +55,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -68,11 +68,11 @@ layui.config({ ...@@ -68,11 +68,11 @@ layui.config({
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: flowableBasePath + "actbaseclass003", params:{rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "actbaseclass003", params:{rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
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();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -88,10 +88,10 @@ layui.config({ ...@@ -88,10 +88,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
} }
}); });
......
...@@ -23,7 +23,7 @@ layui.config({ ...@@ -23,7 +23,7 @@ layui.config({
//初始化左侧菜单用户组数据 //初始化左侧菜单用户组数据
function showLeft(){ function showLeft(){
AjaxPostUtil.request({url: flowableBasePath + "actgroup002", params: {}, type: 'json', method: "GET", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "actgroup002", params: {}, type: 'json', method: "GET", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
var str = getDataUseHandlebars($('#userGroupTemplate').html(), json); var str = getDataUseHandlebars($('#userGroupTemplate').html(), json);
$("#setting").html(str); $("#setting").html(str);
if(json.rows.length > 0){ if(json.rows.length > 0){
...@@ -65,7 +65,7 @@ layui.config({ ...@@ -65,7 +65,7 @@ layui.config({
if(!isNull(value)){ if(!isNull(value)){
if(html != value){ if(html != value){
AjaxPostUtil.request({url: flowableBasePath + "actgroup004", params: {rowId: clickId, groupName: value}, type: 'json', method: "POST", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "actgroup004", params: {rowId: clickId, groupName: value}, type: 'json', method: "POST", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
obj.find("a[rowid='" + clickId + "']").html(value); obj.find("a[rowid='" + clickId + "']").html(value);
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2, time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
...@@ -102,7 +102,7 @@ layui.config({ ...@@ -102,7 +102,7 @@ layui.config({
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: flowableBasePath + "actgroup005", params: {rowId: clickId}, type: 'json', method: "POST", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "actgroup005", params: {rowId: clickId}, type: 'json', method: "POST", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000}); winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
$("#setting").find("a[rowid='" + clickId + "']").remove(); $("#setting").find("a[rowid='" + clickId + "']").remove();
var _obj = $("#setting").find("a[class='setting-a']"); var _obj = $("#setting").find("a[class='setting-a']");
...@@ -150,7 +150,7 @@ layui.config({ ...@@ -150,7 +150,7 @@ layui.config({
value = '新增用户组'; value = '新增用户组';
} }
AjaxPostUtil.request({url: flowableBasePath + "actgroup001", params: {groupName: value}, type: 'json', method: "POST", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "actgroup001", params: {groupName: value}, type: 'json', method: "POST", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
clickId = json.bean.id; clickId = json.bean.id;
var str = '<a rowid="' + clickId + '" rowname="' + value + '" class="setting-a">' + value + '</a>'; var str = '<a rowid="' + clickId + '" rowname="' + value + '" class="setting-a">' + value + '</a>';
$("#setting").append(str); $("#setting").append(str);
...@@ -233,7 +233,7 @@ layui.config({ ...@@ -233,7 +233,7 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '一键移除所有用户' }, function (index) { layer.confirm(msg, { icon: 3, title: '一键移除所有用户' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "actgroup008", params: {rowId: clickId}, type: 'json', method: "POST", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "actgroup008", params: {rowId: clickId}, type: 'json', method: "POST", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("移除成功", {icon: 1, time: 2000}); winui.window.msg("移除成功", {icon: 1, time: 2000});
loadTable(); loadTable();
}else{ }else{
...@@ -255,7 +255,7 @@ layui.config({ ...@@ -255,7 +255,7 @@ layui.config({
rowId: data.id rowId: data.id
}; };
AjaxPostUtil.request({url: flowableBasePath + "actgroup006", params: params, type: 'json', method: "POST", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "actgroup006", params: params, type: 'json', method: "POST", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
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();
}else{ }else{
...@@ -268,7 +268,7 @@ layui.config({ ...@@ -268,7 +268,7 @@ layui.config({
// 同步人员数据 // 同步人员数据
$("body").on("click", "#syncData", function(){ $("body").on("click", "#syncData", function(){
AjaxPostUtil.request({url: flowableBasePath + "activitimode015", params: {}, type: 'json', method: "POST", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "activitimode015", params: {}, type: 'json', method: "POST", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("同步成功", {icon: 1, time: 2000}); winui.window.msg("同步成功", {icon: 1, time: 2000});
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2, time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
......
...@@ -26,11 +26,11 @@ layui.config({ ...@@ -26,11 +26,11 @@ layui.config({
hisTaskId: hisTaskId hisTaskId: hisTaskId
}; };
AjaxPostUtil.request({url:flowableBasePath + "activitimode026", params: jStr, type: 'json', callback: function(json){ AjaxPostUtil.request({url:flowableBasePath + "activitimode026", params: jStr, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
......
...@@ -90,7 +90,7 @@ layui.config({ ...@@ -90,7 +90,7 @@ layui.config({
inboxTimeTreeApprovalHistory(); inboxTimeTreeApprovalHistory();
matchingLanguage(); matchingLanguage();
}else{ }else{
winui.window.msg(j.returnMessage, {icon: 2,time: 2000}); winui.window.msg(j.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
...@@ -112,7 +112,7 @@ layui.config({ ...@@ -112,7 +112,7 @@ layui.config({
var lis = []; var lis = [];
//以jQuery的Ajax请求为例,请求下一页数据(注意:page是从2开始返回) //以jQuery的Ajax请求为例,请求下一页数据(注意:page是从2开始返回)
AjaxPostUtil.request({url:flowableBasePath + "activitimode017", params:{processInstanceId: parent.processInstanceId}, type: 'json', callback: function(json){ AjaxPostUtil.request({url:flowableBasePath + "activitimode017", params:{processInstanceId: parent.processInstanceId}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
var jsonStr = "";//实体json对象 var jsonStr = "";//实体json对象
$.each(json.rows, function(index, bean) { $.each(json.rows, function(index, bean) {
bean.showClass = 'date02'; bean.showClass = 'date02';
...@@ -125,7 +125,7 @@ layui.config({ ...@@ -125,7 +125,7 @@ layui.config({
//pages为Ajax返回的总页数,只有当前页小于总页数的情况下,才会继续出现加载更多 //pages为Ajax返回的总页数,只有当前页小于总页数的情况下,才会继续出现加载更多
next(lis.join(''), (page * 1000) < json.total); next(lis.join(''), (page * 1000) < json.total);
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
...@@ -178,7 +178,7 @@ layui.config({ ...@@ -178,7 +178,7 @@ layui.config({
}); });
} }
img.onerror = function() { img.onerror = function() {
winui.window.msg("该流程图已不存在,无法进行查看。", {icon: 2,time: 2000}); winui.window.msg("该流程图已不存在,无法进行查看。", {icon: 2, time: 2000});
} }
img.src = config.src; img.src = config.src;
} }
......
...@@ -86,11 +86,11 @@ layui.config({ ...@@ -86,11 +86,11 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '删除模型' }, function (index) { layer.confirm(msg, { icon: 3, title: '删除模型' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url:flowableBasePath + "activitimode006", params:{rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url:flowableBasePath + "activitimode006", params:{rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
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();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -106,10 +106,10 @@ layui.config({ ...@@ -106,10 +106,10 @@ layui.config({
area: ['100vw', '100vh'], area: ['100vw', '100vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
} }
...@@ -121,11 +121,11 @@ layui.config({ ...@@ -121,11 +121,11 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '发布模型' }, function (index) { layer.confirm(msg, { icon: 3, title: '发布模型' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url:flowableBasePath + "activitimode003", params:{modelId: rowId}, type: 'json', callback: function(json){ AjaxPostUtil.request({url:flowableBasePath + "activitimode003", params:{modelId: rowId}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("发布成功", {icon: 1,time: 2000}); winui.window.msg("发布成功", {icon: 1, time: 2000});
loadTable(); loadTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -138,11 +138,11 @@ layui.config({ ...@@ -138,11 +138,11 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '版本升级' }, function (index) { layer.confirm(msg, { icon: 3, title: '版本升级' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url:flowableBasePath + "activitimode003", params:{modelId: rowId}, type: 'json', callback: function(json){ AjaxPostUtil.request({url:flowableBasePath + "activitimode003", params:{modelId: rowId}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("升级成功", {icon: 1,time: 2000}); winui.window.msg("升级成功", {icon: 1, time: 2000});
loadTable(); loadTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -154,11 +154,11 @@ layui.config({ ...@@ -154,11 +154,11 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '取消发布' }, function (index) { layer.confirm(msg, { icon: 3, title: '取消发布' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url:flowableBasePath + "activitimode007", params:{deploymentId: data.deploymentId}, type: 'json', callback: function(json){ AjaxPostUtil.request({url:flowableBasePath + "activitimode007", params:{deploymentId: data.deploymentId}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("取消发布成功", {icon: 1,time: 2000}); winui.window.msg("取消发布成功", {icon: 1, time: 2000});
loadTable(); loadTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -169,11 +169,11 @@ layui.config({ ...@@ -169,11 +169,11 @@ layui.config({
layer.confirm('确认拷贝选中数据吗?', { icon: 3, title: '模型拷贝' }, function (index) { layer.confirm('确认拷贝选中数据吗?', { icon: 3, title: '模型拷贝' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url:flowableBasePath + "activitimode028", params:{modelId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url:flowableBasePath + "activitimode028", params:{modelId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("拷贝成功", {icon: 1,time: 2000}); winui.window.msg("拷贝成功", {icon: 1, time: 2000});
loadTable(); loadTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -187,7 +187,7 @@ layui.config({ ...@@ -187,7 +187,7 @@ layui.config({
//新增 //新增
$("body").on("click", "#addBean", function(){ $("body").on("click", "#addBean", function(){
AjaxPostUtil.request({url:flowableBasePath + "activitimode001", params:{}, type: 'json', callback: function(json){ AjaxPostUtil.request({url:flowableBasePath + "activitimode001", params:{}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
_openNewWindows({ _openNewWindows({
url: "../../static/modeler.html?modelId=" + json.bean.id, url: "../../static/modeler.html?modelId=" + json.bean.id,
title: "绘制流程", title: "绘制流程",
...@@ -195,14 +195,14 @@ layui.config({ ...@@ -195,14 +195,14 @@ layui.config({
area: ['100vw', '100vh'], area: ['100vw', '100vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
......
...@@ -99,7 +99,7 @@ layui.config({ ...@@ -99,7 +99,7 @@ layui.config({
$(".menuIconTypeIsTwo").removeClass("layui-hide"); $(".menuIconTypeIsTwo").removeClass("layui-hide");
$(".menuIconTypeIsOne").addClass("layui-hide"); $(".menuIconTypeIsOne").addClass("layui-hide");
}else{ }else{
winui.window.msg('状态值错误', {icon: 2,time: 2000}); winui.window.msg('状态值错误', {icon: 2, time: 2000});
} }
}); });
...@@ -133,7 +133,7 @@ layui.config({ ...@@ -133,7 +133,7 @@ layui.config({
$(".TypeIsTwo").removeClass("layui-hide"); $(".TypeIsTwo").removeClass("layui-hide");
$(".TypeIsOne").addClass("layui-hide"); $(".TypeIsOne").addClass("layui-hide");
}else{ }else{
winui.window.msg('状态值错误', {icon: 2,time: 2000}); winui.window.msg('状态值错误', {icon: 2, time: 2000});
} }
}); });
...@@ -160,15 +160,15 @@ layui.config({ ...@@ -160,15 +160,15 @@ layui.config({
params.editPageUrl = $("#editPageUrl").val(); params.editPageUrl = $("#editPageUrl").val();
params.revokeMapping = $("#revokeMapping").val(); params.revokeMapping = $("#revokeMapping").val();
if(isNull(params.pageUrl)){ if(isNull(params.pageUrl)){
winui.window.msg("请输入新增页面地址", {icon: 2,time: 2000}); winui.window.msg("请输入新增页面地址", {icon: 2, time: 2000});
return false; return false;
} }
if(isNull(params.editPageUrl)){ if(isNull(params.editPageUrl)){
winui.window.msg("请输入编辑页面地址", {icon: 2,time: 2000}); winui.window.msg("请输入编辑页面地址", {icon: 2, time: 2000});
return false; return false;
} }
if(isNull(params.revokeMapping)){ if(isNull(params.revokeMapping)){
winui.window.msg("请输入撤销接口", {icon: 2,time: 2000}); winui.window.msg("请输入撤销接口", {icon: 2, time: 2000});
return false; return false;
} }
params.dsFormId = ""; params.dsFormId = "";
...@@ -178,35 +178,35 @@ layui.config({ ...@@ -178,35 +178,35 @@ layui.config({
params.revokeMapping = ""; params.revokeMapping = "";
params.dsFormId = $("#dsFormId").val(); params.dsFormId = $("#dsFormId").val();
if(isNull(params.dsFormId)){ if(isNull(params.dsFormId)){
winui.window.msg("请选择表单页面", {icon: 2,time: 2000}); winui.window.msg("请选择表单页面", {icon: 2, time: 2000});
return false; return false;
} }
} }
if(data.field.menuIconType == '1'){ if(data.field.menuIconType == '1'){
if(isNull($("#menuIcon").val())){ if(isNull($("#menuIcon").val())){
winui.window.msg("请选择图标", {icon: 2,time: 2000}); winui.window.msg("请选择图标", {icon: 2, time: 2000});
return false; return false;
} }
params.menuIconPic = ''; params.menuIconPic = '';
}else if(data.field.menuIconType == '2'){ }else if(data.field.menuIconType == '2'){
params.menuIconPic = $("#menuIconPic").find("input[type='hidden'][name='upload']").attr("oldurl"); params.menuIconPic = $("#menuIconPic").find("input[type='hidden'][name='upload']").attr("oldurl");
if(isNull(params.menuIconPic)){ if(isNull(params.menuIconPic)){
winui.window.msg('请上传logo', {icon: 2,time: 2000}); winui.window.msg('请上传logo', {icon: 2, time: 2000});
return false; return false;
} }
params.menuIcon = ''; params.menuIcon = '';
params.menuIconColor = ''; params.menuIconColor = '';
}else{ }else{
winui.window.msg("状态值错误。", {icon: 2,time: 2000}); winui.window.msg("状态值错误。", {icon: 2, time: 2000});
return false; return false;
} }
AjaxPostUtil.request({url:flowableBasePath + "actmodletype012", params:params, type: 'json', callback: function(json){ AjaxPostUtil.request({url:flowableBasePath + "actmodletype012", params:params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -59,7 +59,7 @@ layui.config({ ...@@ -59,7 +59,7 @@ layui.config({
$(".menuIconTypeIsTwo").removeClass("layui-hide"); $(".menuIconTypeIsTwo").removeClass("layui-hide");
$(".menuIconTypeIsOne").addClass("layui-hide"); $(".menuIconTypeIsOne").addClass("layui-hide");
}else{ }else{
winui.window.msg('状态值错误', {icon: 2,time: 2000}); winui.window.msg('状态值错误', {icon: 2, time: 2000});
} }
}); });
...@@ -86,7 +86,7 @@ layui.config({ ...@@ -86,7 +86,7 @@ layui.config({
$(".TypeIsTwo").removeClass("layui-hide"); $(".TypeIsTwo").removeClass("layui-hide");
$(".TypeIsOne").addClass("layui-hide"); $(".TypeIsOne").addClass("layui-hide");
}else{ }else{
winui.window.msg('状态值错误', {icon: 2,time: 2000}); winui.window.msg('状态值错误', {icon: 2, time: 2000});
} }
}); });
...@@ -127,15 +127,15 @@ layui.config({ ...@@ -127,15 +127,15 @@ layui.config({
params.editPageUrl = $("#editPageUrl").val(); params.editPageUrl = $("#editPageUrl").val();
params.revokeMapping = $("#revokeMapping").val(); params.revokeMapping = $("#revokeMapping").val();
if(isNull(params.pageUrl)){ if(isNull(params.pageUrl)){
winui.window.msg("请输入新增页面地址", {icon: 2,time: 2000}); winui.window.msg("请输入新增页面地址", {icon: 2, time: 2000});
return false; return false;
} }
if(isNull(params.editPageUrl)){ if(isNull(params.editPageUrl)){
winui.window.msg("请输入编辑页面地址", {icon: 2,time: 2000}); winui.window.msg("请输入编辑页面地址", {icon: 2, time: 2000});
return false; return false;
} }
if(isNull(params.revokeMapping)){ if(isNull(params.revokeMapping)){
winui.window.msg("请输入撤销接口", {icon: 2,time: 2000}); winui.window.msg("请输入撤销接口", {icon: 2, time: 2000});
return false; return false;
} }
params.dsFormId = ""; params.dsFormId = "";
...@@ -145,35 +145,35 @@ layui.config({ ...@@ -145,35 +145,35 @@ layui.config({
params.revokeMapping = ""; params.revokeMapping = "";
params.dsFormId = $("#dsFormId").val(); params.dsFormId = $("#dsFormId").val();
if(isNull(params.dsFormId)){ if(isNull(params.dsFormId)){
winui.window.msg("请选择表单页面", {icon: 2,time: 2000}); winui.window.msg("请选择表单页面", {icon: 2, time: 2000});
return false; return false;
} }
} }
if(data.field.menuIconType == '1'){ if(data.field.menuIconType == '1'){
if(isNull($("#menuIcon").val())){ if(isNull($("#menuIcon").val())){
winui.window.msg("请选择图标", {icon: 2,time: 2000}); winui.window.msg("请选择图标", {icon: 2, time: 2000});
return false; return false;
} }
params.menuIconPic = ''; params.menuIconPic = '';
}else if(data.field.menuIconType == '2'){ }else if(data.field.menuIconType == '2'){
params.menuIconPic = $("#menuIconPic").find("input[type='hidden'][name='upload']").attr("oldurl"); params.menuIconPic = $("#menuIconPic").find("input[type='hidden'][name='upload']").attr("oldurl");
if(isNull(params.menuIconPic)){ if(isNull(params.menuIconPic)){
winui.window.msg('请上传logo', {icon: 2,time: 2000}); winui.window.msg('请上传logo', {icon: 2, time: 2000});
return false; return false;
} }
params.menuIcon = ''; params.menuIcon = '';
params.menuIconColor = ''; params.menuIconColor = '';
}else{ }else{
winui.window.msg("状态值错误。", {icon: 2,time: 2000}); winui.window.msg("状态值错误。", {icon: 2, time: 2000});
return false; return false;
} }
AjaxPostUtil.request({url:flowableBasePath + "actmodletype003", params:params, type: 'json', callback: function(json){ AjaxPostUtil.request({url:flowableBasePath + "actmodletype003", params:params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -23,7 +23,7 @@ layui.config({ ...@@ -23,7 +23,7 @@ layui.config({
function showLeft(){ function showLeft(){
var modleTypeTemplate = $('#modleTypeTemplate').html(); var modleTypeTemplate = $('#modleTypeTemplate').html();
AjaxPostUtil.request({url:flowableBasePath + "actmodletype002", params: {}, type: 'json', callback: function(json){ AjaxPostUtil.request({url:flowableBasePath + "actmodletype002", params: {}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
var str = getDataUseHandlebars(modleTypeTemplate, json); var str = getDataUseHandlebars(modleTypeTemplate, json);
$("#setting").html(str); $("#setting").html(str);
if(json.rows.length > 0){ if(json.rows.length > 0){
...@@ -33,7 +33,7 @@ layui.config({ ...@@ -33,7 +33,7 @@ layui.config({
showList();//展示申请类型对应的申请类型实体列表 showList();//展示申请类型对应的申请类型实体列表
initRightMenu();//初始化右键 initRightMenu();//初始化右键
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
...@@ -101,10 +101,10 @@ layui.config({ ...@@ -101,10 +101,10 @@ layui.config({
if(!isNull(value)){ if(!isNull(value)){
if(html != value){ if(html != value){
AjaxPostUtil.request({url:flowableBasePath + "actmodletype004", params: {rowId: clickId, title: value}, type: 'json', callback: function(json){ AjaxPostUtil.request({url:flowableBasePath + "actmodletype004", params: {rowId: clickId, title: value}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
obj.find("a[rowid='" + clickId + "']").find("span").html(value); obj.find("a[rowid='" + clickId + "']").find("span").html(value);
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}else{ }else{
...@@ -138,8 +138,8 @@ layui.config({ ...@@ -138,8 +138,8 @@ layui.config({
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:flowableBasePath + "actmodletype005", params:{rowId: clickId}, type: 'json', callback: function(json){ AjaxPostUtil.request({url:flowableBasePath + "actmodletype005", params:{rowId: clickId}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
$("#setting").find("a[rowid='" + clickId + "']").remove(); $("#setting").find("a[rowid='" + clickId + "']").remove();
var _obj = $("#setting").find("a[class='setting-a']"); var _obj = $("#setting").find("a[class='setting-a']");
if(_obj.length > 0){ if(_obj.length > 0){
...@@ -149,7 +149,7 @@ layui.config({ ...@@ -149,7 +149,7 @@ layui.config({
loadTable(); loadTable();
} }
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -161,12 +161,12 @@ layui.config({ ...@@ -161,12 +161,12 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '上线申请类型实体' }, function (index) { layer.confirm(msg, { icon: 3, title: '上线申请类型实体' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url:flowableBasePath + "actmodletype015", params:{rowId: clickId}, type: 'json', callback: function(json){ AjaxPostUtil.request({url:flowableBasePath + "actmodletype015", params:{rowId: clickId}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
$("#setting").find("a[rowid='" + clickId + "']").find("div").remove(); $("#setting").find("a[rowid='" + clickId + "']").find("div").remove();
$("#setting").find("a[rowid='" + clickId + "']").find("span").after('<div class="up-state-point"></div>'); $("#setting").find("a[rowid='" + clickId + "']").find("span").after('<div class="up-state-point"></div>');
winui.window.msg("上线成功", {icon: 1,time: 2000}); winui.window.msg("上线成功", {icon: 1, time: 2000});
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -178,12 +178,12 @@ layui.config({ ...@@ -178,12 +178,12 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '下线申请类型实体' }, function (index) { layer.confirm(msg, { icon: 3, title: '下线申请类型实体' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url:flowableBasePath + "actmodletype016", params:{rowId: clickId}, type: 'json', callback: function(json){ AjaxPostUtil.request({url:flowableBasePath + "actmodletype016", params:{rowId: clickId}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
$("#setting").find("a[rowid='" + clickId + "']").find("div").remove(); $("#setting").find("a[rowid='" + clickId + "']").find("div").remove();
$("#setting").find("a[rowid='" + clickId + "']").find("span").after('<div class="down-state-point"></div>'); $("#setting").find("a[rowid='" + clickId + "']").find("span").after('<div class="down-state-point"></div>');
winui.window.msg("下线成功", {icon: 1,time: 2000}); winui.window.msg("下线成功", {icon: 1, time: 2000});
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -192,13 +192,13 @@ layui.config({ ...@@ -192,13 +192,13 @@ layui.config({
//上移申请类型 //上移申请类型
function upMoveModleType(){ function upMoveModleType(){
AjaxPostUtil.request({url:flowableBasePath + "actmodletype017", params:{rowId: clickId}, type: 'json', callback: function(json){ AjaxPostUtil.request({url:flowableBasePath + "actmodletype017", params:{rowId: clickId}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.moveUpOperationSuccessMsg"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.moveUpOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
var a = $("#setting").find("a[rowid='" + clickId + "']").prev(); var a = $("#setting").find("a[rowid='" + clickId + "']").prev();
$("#setting").find(a).remove(); $("#setting").find(a).remove();
$("#setting").find("a[rowid='" + clickId + "']").after(a); $("#setting").find("a[rowid='" + clickId + "']").after(a);
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
...@@ -206,13 +206,13 @@ layui.config({ ...@@ -206,13 +206,13 @@ layui.config({
//下移申请类型 //下移申请类型
function downMoveModleType(){ function downMoveModleType(){
AjaxPostUtil.request({url:flowableBasePath + "actmodletype018", params:{rowId: clickId}, type: 'json', callback: function(json){ AjaxPostUtil.request({url:flowableBasePath + "actmodletype018", params:{rowId: clickId}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.moveDownOperationSuccessMsg"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.moveDownOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
var a = $("#setting").find("a[rowid='" + clickId + "']").next(); var a = $("#setting").find("a[rowid='" + clickId + "']").next();
$("#setting").find(a).remove(); $("#setting").find(a).remove();
$("#setting").find("a[rowid='" + clickId + "']").before(a); $("#setting").find("a[rowid='" + clickId + "']").before(a);
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
...@@ -251,7 +251,7 @@ layui.config({ ...@@ -251,7 +251,7 @@ layui.config({
return; return;
} }
AjaxPostUtil.request({url:flowableBasePath + "actmodletype001", params: {title: value}, type: 'json', callback: function(json){ AjaxPostUtil.request({url:flowableBasePath + "actmodletype001", params: {title: value}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
obj.find("input").remove(); obj.find("input").remove();
clickId = json.bean.id; clickId = json.bean.id;
var str = '<a rowid="' + clickId + '" rowname="' + value + '" class="setting-a" title="' + value + '"><span>' + value + '</span><div class="new-state-point"></div></a>'; var str = '<a rowid="' + clickId + '" rowname="' + value + '" class="setting-a" title="' + value + '"><span>' + value + '</span><div class="new-state-point"></div></a>';
...@@ -263,7 +263,7 @@ layui.config({ ...@@ -263,7 +263,7 @@ layui.config({
$("#setting").find("a[rowid='" + clickId + "']").click(); $("#setting").find("a[rowid='" + clickId + "']").click();
}else{ }else{
obj.find("input").select(); obj.find("input").select();
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -350,10 +350,10 @@ layui.config({ ...@@ -350,10 +350,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -363,11 +363,11 @@ layui.config({ ...@@ -363,11 +363,11 @@ layui.config({
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:flowableBasePath + "actmodletype006", params: {rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url:flowableBasePath + "actmodletype006", params: {rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
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();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -379,11 +379,11 @@ layui.config({ ...@@ -379,11 +379,11 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '上线申请类型实体' }, function (index) { layer.confirm(msg, { icon: 3, title: '上线申请类型实体' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url:flowableBasePath + "actmodletype009", params:{rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url:flowableBasePath + "actmodletype009", params:{rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("上线成功", {icon: 1,time: 2000}); winui.window.msg("上线成功", {icon: 1, time: 2000});
loadTable(); loadTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -395,11 +395,11 @@ layui.config({ ...@@ -395,11 +395,11 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '下线申请类型实体' }, function (index) { layer.confirm(msg, { icon: 3, title: '下线申请类型实体' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url:flowableBasePath + "actmodletype010", params:{rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url:flowableBasePath + "actmodletype010", params:{rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("下线成功", {icon: 1,time: 2000}); winui.window.msg("下线成功", {icon: 1, time: 2000});
loadTable(); loadTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -415,10 +415,10 @@ layui.config({ ...@@ -415,10 +415,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
} }
}); });
...@@ -440,11 +440,11 @@ layui.config({ ...@@ -440,11 +440,11 @@ layui.config({
//上移申请类型实体 //上移申请类型实体
function upMove(data){ function upMove(data){
AjaxPostUtil.request({url:flowableBasePath + "actmodletype013", params:{rowId: data.id, typeId: data.typeId}, type: 'json', callback: function(json){ AjaxPostUtil.request({url:flowableBasePath + "actmodletype013", params:{rowId: data.id, typeId: data.typeId}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.moveUpOperationSuccessMsg"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.moveUpOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
...@@ -452,11 +452,11 @@ layui.config({ ...@@ -452,11 +452,11 @@ layui.config({
//下移申请类型实体 //下移申请类型实体
function downMove(data){ function downMove(data){
AjaxPostUtil.request({url:flowableBasePath + "actmodletype014", params:{rowId: data.id, typeId: data.typeId}, type: 'json', callback: function(json){ AjaxPostUtil.request({url:flowableBasePath + "actmodletype014", params:{rowId: data.id, typeId: data.typeId}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.moveDownOperationSuccessMsg"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.moveDownOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -46,7 +46,7 @@ layui.config({ ...@@ -46,7 +46,7 @@ layui.config({
form.on('submit(formAddBean)', function (data) { form.on('submit(formAddBean)', function (data) {
if (winui.verifyForm(data.elem)) { if (winui.verifyForm(data.elem)) {
if(table.cache.messageTable.length == 0){ if(table.cache.messageTable.length == 0){
winui.window.msg('请最少选择一条审批节点.', {icon: 2,time: 2000}); winui.window.msg('请最少选择一条审批节点.', {icon: 2, time: 2000});
return false; return false;
} }
var params = { var params = {
...@@ -54,11 +54,11 @@ layui.config({ ...@@ -54,11 +54,11 @@ layui.config({
chooseUserMation: JSON.stringify(table.cache.messageTable) chooseUserMation: JSON.stringify(table.cache.messageTable)
}; };
AjaxPostUtil.request({url:flowableBasePath + "activitiTask004", params: params, type: 'json', callback: function(json){ AjaxPostUtil.request({url:flowableBasePath + "activitiTask004", params: params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -46,7 +46,7 @@ layui.config({ ...@@ -46,7 +46,7 @@ layui.config({
form.on('submit(formAddBean)', function (data) { form.on('submit(formAddBean)', function (data) {
if (winui.verifyForm(data.elem)) { if (winui.verifyForm(data.elem)) {
if(table.cache.messageTable.length == 0){ if(table.cache.messageTable.length == 0){
winui.window.msg('请最少选择一条审批节点.', {icon: 2,time: 2000}); winui.window.msg('请最少选择一条审批节点.', {icon: 2, time: 2000});
return false; return false;
} }
var params = { var params = {
...@@ -54,11 +54,11 @@ layui.config({ ...@@ -54,11 +54,11 @@ layui.config({
chooseUserMation: JSON.stringify(table.cache.messageTable) chooseUserMation: JSON.stringify(table.cache.messageTable)
}; };
AjaxPostUtil.request({url:flowableBasePath + "activitiTask003", params: params, type: 'json', callback: function(json){ AjaxPostUtil.request({url:flowableBasePath + "activitiTask003", params: params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -102,7 +102,7 @@ layui.config({ ...@@ -102,7 +102,7 @@ layui.config({
form.on('submit(formAddBean)', function (data) { form.on('submit(formAddBean)', function (data) {
if (winui.verifyForm(data.elem)) { if (winui.verifyForm(data.elem)) {
if(table.cache.messageTable.length == 1){ if(table.cache.messageTable.length == 1){
winui.window.msg('请最少选择一位参与人.', {icon: 2,time: 2000}); winui.window.msg('请最少选择一位参与人.', {icon: 2, time: 2000});
return false; return false;
} }
if(!judgeSimple()){ if(!judgeSimple()){
...@@ -113,7 +113,7 @@ layui.config({ ...@@ -113,7 +113,7 @@ layui.config({
chooseUserMation: JSON.stringify(table.cache.messageTable) chooseUserMation: JSON.stringify(table.cache.messageTable)
}; };
AjaxPostUtil.request({url: flowableBasePath + "activitiTask005", params: params, type: 'json', method: "POST", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "activitiTask005", params: params, type: 'json', method: "POST", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
......
...@@ -62,11 +62,11 @@ layui.config({ ...@@ -62,11 +62,11 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '挂起' }, function (index) { layer.confirm(msg, { icon: 3, title: '挂起' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url:flowableBasePath + "activitimode020", params:{processInstanceId: data.processInstanceId}, type: 'json', callback: function(json){ AjaxPostUtil.request({url:flowableBasePath + "activitimode020", params:{processInstanceId: data.processInstanceId}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("该流程已挂起", {icon: 1,time: 2000}); winui.window.msg("该流程已挂起", {icon: 1, time: 2000});
reloadAllConductTable(); reloadAllConductTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -78,11 +78,11 @@ layui.config({ ...@@ -78,11 +78,11 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '激活' }, function (index) { layer.confirm(msg, { icon: 3, title: '激活' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url:flowableBasePath + "activitimode021", params:{processInstanceId: data.processInstanceId}, type: 'json', callback: function(json){ AjaxPostUtil.request({url:flowableBasePath + "activitimode021", params:{processInstanceId: data.processInstanceId}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("该流程已激活", {icon: 1,time: 2000}); winui.window.msg("该流程已激活", {icon: 1, time: 2000});
reloadAllConductTable(); reloadAllConductTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
......
...@@ -65,7 +65,7 @@ layui.config({ ...@@ -65,7 +65,7 @@ layui.config({
tplContent = getDataUseHandlebars(formItem.templateContent, obj); tplContent = getDataUseHandlebars(formItem.templateContent, obj);
formItem.context = tplContent; formItem.context = tplContent;
}else{ }else{
winui.window.msg(j.returnMessage, {icon: 2,time: 2000}); winui.window.msg(j.returnMessage, {icon: 2, time: 2000});
} }
}, async: false}); }, async: false});
} }
...@@ -259,7 +259,7 @@ layui.config({ ...@@ -259,7 +259,7 @@ layui.config({
matchingLanguage(); matchingLanguage();
form.render(); form.render();
}else{ }else{
winui.window.msg(j.returnMessage, {icon: 2,time: 2000}); winui.window.msg(j.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
...@@ -350,11 +350,11 @@ layui.config({ ...@@ -350,11 +350,11 @@ layui.config({
approverId: activitiUtil.getApprovalPersonId() approverId: activitiUtil.getApprovalPersonId()
}; };
AjaxPostUtil.request({url:flowableBasePath + "activitimode005", params: jStr, type: 'json', callback: function(json){ AjaxPostUtil.request({url:flowableBasePath + "activitimode005", params: jStr, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -372,7 +372,7 @@ layui.config({ ...@@ -372,7 +372,7 @@ layui.config({
var lis = []; var lis = [];
//以jQuery的Ajax请求为例,请求下一页数据(注意:page是从2开始返回) //以jQuery的Ajax请求为例,请求下一页数据(注意:page是从2开始返回)
AjaxPostUtil.request({url:flowableBasePath + "activitimode017", params:{processInstanceId: parent.processInstanceId}, type: 'json', callback: function(json){ AjaxPostUtil.request({url:flowableBasePath + "activitimode017", params:{processInstanceId: parent.processInstanceId}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
var jsonStr = "";//实体json对象 var jsonStr = "";//实体json对象
$.each(json.rows, function(index, bean) { $.each(json.rows, function(index, bean) {
bean.showClass = 'date02'; bean.showClass = 'date02';
...@@ -385,7 +385,7 @@ layui.config({ ...@@ -385,7 +385,7 @@ layui.config({
//pages为Ajax返回的总页数,只有当前页小于总页数的情况下,才会继续出现加载更多 //pages为Ajax返回的总页数,只有当前页小于总页数的情况下,才会继续出现加载更多
next(lis.join(''), (page * 1000) < json.total); next(lis.join(''), (page * 1000) < json.total);
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -25,7 +25,7 @@ layui.config({ ...@@ -25,7 +25,7 @@ layui.config({
$("#approvalPersonName").val(activitiUtil.chooseApprovalPersonMation.jobNumber + "_" + activitiUtil.chooseApprovalPersonMation.userName); $("#approvalPersonName").val(activitiUtil.chooseApprovalPersonMation.jobNumber + "_" + activitiUtil.chooseApprovalPersonMation.userName);
$("#approvalPersonName").attr("chooseData", JSON.stringify(activitiUtil.chooseApprovalPersonMation)); $("#approvalPersonName").attr("chooseData", JSON.stringify(activitiUtil.chooseApprovalPersonMation));
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
} }
}); });
......
...@@ -16,7 +16,7 @@ layui.config({ ...@@ -16,7 +16,7 @@ layui.config({
// 加载动态表单页 // 加载动态表单页
AjaxPostUtil.request({url: flowableBasePath + "dsformpage004", params:{rowId: parent.dsFormId}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "dsformpage004", params:{rowId: parent.dsFormId}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
dsFormUtil.loadDsFormItemToEdit("showForm", json.rows); dsFormUtil.loadDsFormItemToEdit("showForm", json.rows);
$("#showForm").append('<div class="layui-form-item layui-col-xs12"><div class="layui-input-block">' + $("#showForm").append('<div class="layui-form-item layui-col-xs12"><div class="layui-input-block">' +
'<button class="winui-btn" id="cancle">' + systemLanguage["com.skyeye.cancel"][languageType] + '</button>' + '<button class="winui-btn" id="cancle">' + systemLanguage["com.skyeye.cancel"][languageType] + '</button>' +
...@@ -25,7 +25,7 @@ layui.config({ ...@@ -25,7 +25,7 @@ layui.config({
matchingLanguage(); matchingLanguage();
form.render(); form.render();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
...@@ -33,7 +33,7 @@ layui.config({ ...@@ -33,7 +33,7 @@ layui.config({
if (winui.verifyForm(data.elem)) { if (winui.verifyForm(data.elem)) {
activitiUtil.startProcess(parent.dsFormId, function (approvalId) { activitiUtil.startProcess(parent.dsFormId, function (approvalId) {
if(isNull(actKey)){ if(isNull(actKey)){
winui.window.msg('流程对象为空,无法启动.', {icon: 2,time: 2000}); winui.window.msg('流程对象为空,无法启动.', {icon: 2, time: 2000});
return false; return false;
} }
var jStr = { var jStr = {
...@@ -43,13 +43,13 @@ layui.config({ ...@@ -43,13 +43,13 @@ layui.config({
approvalId: approvalId approvalId: approvalId
}; };
AjaxPostUtil.request({url:flowableBasePath + "activitimode022", params: jStr, type: 'json', callback: function(json){ AjaxPostUtil.request({url:flowableBasePath + "activitimode022", params: jStr, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("申请提交成功,等待审核...", {icon: 1,time: 2000}, function(){ winui.window.msg("申请提交成功,等待审核...", {icon: 1, time: 2000}, function(){
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}); });
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
......
...@@ -18,7 +18,7 @@ layui.config({ ...@@ -18,7 +18,7 @@ layui.config({
dsFormUtil.initSequenceDataDetails("showForm", j.rows); dsFormUtil.initSequenceDataDetails("showForm", j.rows);
matchingLanguage(); matchingLanguage();
}else{ }else{
winui.window.msg(j.returnMessage, {icon: 2,time: 2000}); winui.window.msg(j.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
......
...@@ -14,7 +14,7 @@ layui.config({ ...@@ -14,7 +14,7 @@ layui.config({
// 编辑动态表单时进行回显 // 编辑动态表单时进行回显
AjaxPostUtil.request({url: flowableBasePath + "pagesequence003", params:{rowId: parent.rowId}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "pagesequence003", params:{rowId: parent.rowId}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
dsFormUtil.loadDsFormItemToEdit("showForm", json.rows); dsFormUtil.loadDsFormItemToEdit("showForm", json.rows);
$("#showForm").append('<div class="layui-form-item layui-col-xs12"><div class="layui-input-block">' + $("#showForm").append('<div class="layui-form-item layui-col-xs12"><div class="layui-input-block">' +
'<button class="winui-btn" id="cancle">' + systemLanguage["com.skyeye.cancel"][languageType] + '</button>' + '<button class="winui-btn" id="cancle">' + systemLanguage["com.skyeye.cancel"][languageType] + '</button>' +
...@@ -23,18 +23,18 @@ layui.config({ ...@@ -23,18 +23,18 @@ layui.config({
matchingLanguage(); matchingLanguage();
form.render(); form.render();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
form.on('submit(formAddBean)', function (data) { form.on('submit(formAddBean)', function (data) {
if (winui.verifyForm(data.elem)) { if (winui.verifyForm(data.elem)) {
var params = dsFormUtil.getPageData($("#showForm")); var params = dsFormUtil.getPageData($("#showForm"));
AjaxPostUtil.request({url: flowableBasePath + "pagesequence004", params: {jsonStr: JSON.stringify(params)}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "pagesequence004", params: {jsonStr: JSON.stringify(params)}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -14,7 +14,7 @@ layui.config({ ...@@ -14,7 +14,7 @@ layui.config({
// 获取动态表单内容用于编辑申请类型实体 // 获取动态表单内容用于编辑申请类型实体
AjaxPostUtil.request({url:flowableBasePath + "activitimode023", params:{rowId: parent.sequenceId}, type: 'json', callback: function(json){ AjaxPostUtil.request({url:flowableBasePath + "activitimode023", params:{rowId: parent.sequenceId}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
dsFormUtil.loadDsFormItemToEdit("showForm", json.rows); dsFormUtil.loadDsFormItemToEdit("showForm", json.rows);
$("#showForm").append('<div class="layui-form-item layui-col-xs12"><div class="layui-input-block">' + $("#showForm").append('<div class="layui-form-item layui-col-xs12"><div class="layui-input-block">' +
'<button class="winui-btn" id="cancle">' + systemLanguage["com.skyeye.cancel"][languageType] + '</button>' + '<button class="winui-btn" id="cancle">' + systemLanguage["com.skyeye.cancel"][languageType] + '</button>' +
...@@ -23,7 +23,7 @@ layui.config({ ...@@ -23,7 +23,7 @@ layui.config({
form.render(); form.render();
matchingLanguage(); matchingLanguage();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
form.on('submit(formAddBean)', function (data) { form.on('submit(formAddBean)', function (data) {
...@@ -34,11 +34,11 @@ layui.config({ ...@@ -34,11 +34,11 @@ layui.config({
processInstanceId: parent.processInstanceId processInstanceId: parent.processInstanceId
}; };
AjaxPostUtil.request({url:flowableBasePath + "activitimode024", params: jStr, type: 'json', callback: function(json){ AjaxPostUtil.request({url:flowableBasePath + "activitimode024", params: jStr, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -73,9 +73,9 @@ layui.config({ ...@@ -73,9 +73,9 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
} }
}); });
...@@ -105,7 +105,7 @@ layui.config({ ...@@ -105,7 +105,7 @@ layui.config({
approvalId: approvalId approvalId: approvalId
}; };
AjaxPostUtil.request({url: flowableBasePath + "pagesequence005", params: params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "pagesequence005", params: params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("申请提交成功,等待审核...", {icon: 1, time: 2000}); winui.window.msg("申请提交成功,等待审核...", {icon: 1, time: 2000});
reloadMyStartTable(); reloadMyStartTable();
}else{ }else{
...@@ -121,11 +121,11 @@ layui.config({ ...@@ -121,11 +121,11 @@ layui.config({
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: flowableBasePath + "pagesequence002", params: {rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "pagesequence002", params: {rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
reloadMyStartTable(); reloadMyStartTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
......
...@@ -105,9 +105,9 @@ layui.config({ ...@@ -105,9 +105,9 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
} }
}); });
...@@ -116,7 +116,7 @@ layui.config({ ...@@ -116,7 +116,7 @@ layui.config({
//撤销 //撤销
function revoke(data){ function revoke(data){
if(isNull(data.revokeMapping)){//撤销接口为空 if(isNull(data.revokeMapping)){//撤销接口为空
winui.window.msg('撤销接口调用失败', {icon: 2,time: 2000}); winui.window.msg('撤销接口调用失败', {icon: 2, time: 2000});
return false; return false;
} }
layer.confirm('确定撤销该流程吗?', { icon: 3, title: '撤销操作' }, function (index) { layer.confirm('确定撤销该流程吗?', { icon: 3, title: '撤销操作' }, function (index) {
...@@ -137,10 +137,10 @@ layui.config({ ...@@ -137,10 +137,10 @@ layui.config({
layer.confirm('确认重新生成流程图吗?', { icon: 3, title: '刷新流程图操作' }, function (i) { layer.confirm('确认重新生成流程图吗?', { icon: 3, title: '刷新流程图操作' }, function (i) {
layer.close(i); layer.close(i);
AjaxPostUtil.request({url:flowableBasePath + "activitimode027", params: {processInstanceId: data.processInstanceId}, type: 'json', callback: function(json){ AjaxPostUtil.request({url:flowableBasePath + "activitimode027", params: {processInstanceId: data.processInstanceId}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
......
...@@ -68,9 +68,9 @@ layui.config({ ...@@ -68,9 +68,9 @@ layui.config({
area: ['100vw', '100vh'], area: ['100vw', '100vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg("提交成功", {icon: 1,time: 2000}); winui.window.msg("提交成功", {icon: 1, time: 2000});
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
}); });
......
...@@ -77,10 +77,10 @@ layui.config({ ...@@ -77,10 +77,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg("提交成功", {icon: 1,time: 2000}); winui.window.msg("提交成功", {icon: 1, time: 2000});
loadMyNeedDealtTable(); loadMyNeedDealtTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -83,10 +83,10 @@ layui.config({ ...@@ -83,10 +83,10 @@ layui.config({
area: ['70vw', '40vh'], area: ['70vw', '40vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
reloadMyHistoryTaskTable(); reloadMyHistoryTaskTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
} }
}); });
...@@ -97,10 +97,10 @@ layui.config({ ...@@ -97,10 +97,10 @@ layui.config({
layer.confirm('确认重新生成流程图吗?', { icon: 3, title: '刷新流程图操作' }, function (i) { layer.confirm('确认重新生成流程图吗?', { icon: 3, title: '刷新流程图操作' }, function (i) {
layer.close(i); layer.close(i);
AjaxPostUtil.request({url:flowableBasePath + "activitimode027", params: {processInstanceId: data.processInstanceId}, type: 'json', callback: function(json){ AjaxPostUtil.request({url:flowableBasePath + "activitimode027", params: {processInstanceId: data.processInstanceId}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
......
...@@ -40,7 +40,7 @@ layui.config({ ...@@ -40,7 +40,7 @@ layui.config({
params.assetAdmin = userList[0].id; params.assetAdmin = userList[0].id;
} }
AjaxPostUtil.request({url: flowableBasePath + "assetarticles011", params: params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "assetarticles011", params: params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
......
...@@ -74,7 +74,7 @@ layui.config({ ...@@ -74,7 +74,7 @@ layui.config({
params.assetAdmin = userList[0].id; params.assetAdmin = userList[0].id;
} }
AjaxPostUtil.request({url: flowableBasePath + "assetarticles016", params: params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "assetarticles016", params: params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
......
...@@ -72,10 +72,10 @@ layui.config({ ...@@ -72,10 +72,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadLiebiaoTable(); loadLiebiaoTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -98,7 +98,7 @@ layui.config({ ...@@ -98,7 +98,7 @@ layui.config({
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: flowableBasePath + "assetarticles014", params: {rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "assetarticles014", params: {rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000}); winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadLiebiaoTable(); loadLiebiaoTable();
}else{ }else{
...@@ -118,10 +118,10 @@ layui.config({ ...@@ -118,10 +118,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
} }
}); });
......
...@@ -80,10 +80,10 @@ layui.config({ ...@@ -80,10 +80,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadCaigouTable(); loadCaigouTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -94,7 +94,7 @@ layui.config({ ...@@ -94,7 +94,7 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '撤销操作' }, function (index) { layer.confirm(msg, { icon: 3, title: '撤销操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "assetarticles035", params: {processInstanceId: data.processInstanceId}, type: 'json', method: "PUT", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "assetarticles035", params: {processInstanceId: data.processInstanceId}, type: 'json', method: "PUT", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("提交成功", {icon: 1, time: 2000}); winui.window.msg("提交成功", {icon: 1, time: 2000});
loadCaigouTable(); loadCaigouTable();
}else{ }else{
...@@ -114,10 +114,10 @@ layui.config({ ...@@ -114,10 +114,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadCaigouTable(); loadCaigouTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
} }
}); });
...@@ -133,7 +133,7 @@ layui.config({ ...@@ -133,7 +133,7 @@ layui.config({
approvalId: approvalId approvalId: approvalId
}; };
AjaxPostUtil.request({url: flowableBasePath + "assetarticles027", params: params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "assetarticles027", params: params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("提交成功", {icon: 1, time: 2000}); winui.window.msg("提交成功", {icon: 1, time: 2000});
loadCaigouTable(); loadCaigouTable();
}else{ }else{
...@@ -150,7 +150,7 @@ layui.config({ ...@@ -150,7 +150,7 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '作废操作' }, function (index) { layer.confirm(msg, { icon: 3, title: '作废操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "assetarticles031", params: {rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "assetarticles031", params: {rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadCaigouTable(); loadCaigouTable();
}else{ }else{
......
...@@ -18,7 +18,7 @@ layui.config({ ...@@ -18,7 +18,7 @@ layui.config({
typeName: $("#typeName").val() typeName: $("#typeName").val()
}; };
AjaxPostUtil.request({url: flowableBasePath + "assetarticles002", params: params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "assetarticles002", params: params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
......
...@@ -26,11 +26,11 @@ layui.config({ ...@@ -26,11 +26,11 @@ layui.config({
typeName: $("#typeName").val() typeName: $("#typeName").val()
}; };
AjaxPostUtil.request({url: flowableBasePath + "assetarticles007", params: params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "assetarticles007", params: params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -80,10 +80,10 @@ layui.config({ ...@@ -80,10 +80,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -93,7 +93,7 @@ layui.config({ ...@@ -93,7 +93,7 @@ layui.config({
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: flowableBasePath + "assetarticles003", params: {rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "assetarticles003", params: {rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
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();
}else{ }else{
...@@ -109,7 +109,7 @@ layui.config({ ...@@ -109,7 +109,7 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '上线操作' }, function (index) { layer.confirm(msg, { icon: 3, title: '上线操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "assetarticles004", params: {rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "assetarticles004", params: {rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("上线成功", {icon: 1, time: 2000}); winui.window.msg("上线成功", {icon: 1, time: 2000});
loadTable(); loadTable();
}else{ }else{
...@@ -125,7 +125,7 @@ layui.config({ ...@@ -125,7 +125,7 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '下线操作' }, function (index) { layer.confirm(msg, { icon: 3, title: '下线操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "assetarticles005", params: {rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "assetarticles005", params: {rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("下线成功", {icon: 1, time: 2000}); winui.window.msg("下线成功", {icon: 1, time: 2000});
loadTable(); loadTable();
}else{ }else{
...@@ -145,10 +145,10 @@ layui.config({ ...@@ -145,10 +145,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
} }
}); });
...@@ -157,7 +157,7 @@ layui.config({ ...@@ -157,7 +157,7 @@ layui.config({
// 上移 // 上移
function upMove(data){ function upMove(data){
AjaxPostUtil.request({url: flowableBasePath + "assetarticles008", params: {rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "assetarticles008", params: {rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.moveUpOperationSuccessMsg"][languageType], {icon: 1, time: 2000}); winui.window.msg(systemLanguage["com.skyeye.moveUpOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
}else{ }else{
...@@ -169,7 +169,7 @@ layui.config({ ...@@ -169,7 +169,7 @@ layui.config({
// 下移 // 下移
function downMove(data){ function downMove(data){
AjaxPostUtil.request({url: flowableBasePath + "assetarticles009", params: {rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "assetarticles009", params: {rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.moveDownOperationSuccessMsg"][languageType], {icon: 1, time: 2000}); winui.window.msg(systemLanguage["com.skyeye.moveDownOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
}else{ }else{
......
...@@ -92,10 +92,10 @@ layui.config({ ...@@ -92,10 +92,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadLingyongTable(); loadLingyongTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -106,7 +106,7 @@ layui.config({ ...@@ -106,7 +106,7 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '撤销操作' }, function (index) { layer.confirm(msg, { icon: 3, title: '撤销操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "assetarticles034", params: {processInstanceId: data.processInstanceId}, type: 'json', method: "PUT", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "assetarticles034", params: {processInstanceId: data.processInstanceId}, type: 'json', method: "PUT", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("提交成功", {icon: 1, time: 2000}); winui.window.msg("提交成功", {icon: 1, time: 2000});
loadLingyongTable(); loadLingyongTable();
}else{ }else{
...@@ -126,10 +126,10 @@ layui.config({ ...@@ -126,10 +126,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadLingyongTable(); loadLingyongTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
} }
}); });
...@@ -145,7 +145,7 @@ layui.config({ ...@@ -145,7 +145,7 @@ layui.config({
approvalId: approvalId approvalId: approvalId
}; };
AjaxPostUtil.request({url: flowableBasePath + "assetarticles023", params: params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "assetarticles023", params: params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("提交成功", {icon: 1, time: 2000}); winui.window.msg("提交成功", {icon: 1, time: 2000});
loadLingyongTable(); loadLingyongTable();
}else{ }else{
...@@ -162,7 +162,7 @@ layui.config({ ...@@ -162,7 +162,7 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '作废操作' }, function (index) { layer.confirm(msg, { icon: 3, title: '作废操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "assetarticles030", params: {rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "assetarticles030", params: {rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadLingyongTable(); loadLingyongTable();
}else{ }else{
......
...@@ -92,7 +92,7 @@ layui.config({ ...@@ -92,7 +92,7 @@ layui.config({
}; };
params.assetImg = $("#assetImg").find("input[type='hidden'][name='upload']").attr("oldurl"); params.assetImg = $("#assetImg").find("input[type='hidden'][name='upload']").attr("oldurl");
if(isNull(params.assetImg)){ if(isNull(params.assetImg)){
winui.window.msg('请上传资产图片', {icon: 2,time: 2000}); winui.window.msg('请上传资产图片', {icon: 2, time: 2000});
return false; return false;
} }
if(userList.length == 0 || isNull($('#assetAdmin').tagEditor('getTags')[0].tags)){ if(userList.length == 0 || isNull($('#assetAdmin').tagEditor('getTags')[0].tags)){
...@@ -106,11 +106,11 @@ layui.config({ ...@@ -106,11 +106,11 @@ layui.config({
params.employeeId = employeeuserList[0].id; params.employeeId = employeeuserList[0].id;
} }
AjaxPostUtil.request({url: flowableBasePath + "asset002", params:params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "asset002", params:params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -144,7 +144,7 @@ layui.config({ ...@@ -144,7 +144,7 @@ layui.config({
}; };
params.assetImg = $("#assetImg").find("input[type='hidden'][name='upload']").attr("oldurl"); params.assetImg = $("#assetImg").find("input[type='hidden'][name='upload']").attr("oldurl");
if(isNull(params.assetImg)){ if(isNull(params.assetImg)){
winui.window.msg('请上传资产图片', {icon: 2,time: 2000}); winui.window.msg('请上传资产图片', {icon: 2, time: 2000});
return false; return false;
} }
if(userList.length == 0 || isNull($('#assetAdmin').tagEditor('getTags')[0].tags)){ if(userList.length == 0 || isNull($('#assetAdmin').tagEditor('getTags')[0].tags)){
...@@ -158,11 +158,11 @@ layui.config({ ...@@ -158,11 +158,11 @@ layui.config({
params.employeeId = employeeuserList[0].id; params.employeeId = employeeuserList[0].id;
} }
AjaxPostUtil.request({url: flowableBasePath + "asset005", params:params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "asset005", params:params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -101,11 +101,11 @@ layui.config({ ...@@ -101,11 +101,11 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '维修操作' }, function (index) { layer.confirm(msg, { icon: 3, title: '维修操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "asset008", params:{rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "asset008", params:{rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadassetTable(); loadassetTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -117,11 +117,11 @@ layui.config({ ...@@ -117,11 +117,11 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '报废操作' }, function (index) { layer.confirm(msg, { icon: 3, title: '报废操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "asset009", params:{rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "asset009", params:{rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadassetTable(); loadassetTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -133,11 +133,11 @@ layui.config({ ...@@ -133,11 +133,11 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '恢复操作' }, function (index) { layer.confirm(msg, { icon: 3, title: '恢复操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "asset007", params:{rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "asset007", params:{rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadassetTable(); loadassetTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -148,11 +148,11 @@ layui.config({ ...@@ -148,11 +148,11 @@ layui.config({
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: flowableBasePath + "asset003", params:{rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "asset003", params:{rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadassetTable(); loadassetTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -167,10 +167,10 @@ layui.config({ ...@@ -167,10 +167,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadassetTable(); loadassetTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -185,10 +185,10 @@ layui.config({ ...@@ -185,10 +185,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadassetTable(); loadassetTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -18,11 +18,11 @@ layui.config({ ...@@ -18,11 +18,11 @@ layui.config({
fromName: $("#fromName").val() fromName: $("#fromName").val()
}; };
AjaxPostUtil.request({url: flowableBasePath + "assetfrom002", params:params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "assetfrom002", params:params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -28,11 +28,11 @@ layui.config({ ...@@ -28,11 +28,11 @@ layui.config({
fromName: $("#fromName").val() fromName: $("#fromName").val()
}; };
AjaxPostUtil.request({url: flowableBasePath + "assetfrom005", params:params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "assetfrom005", params:params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -76,11 +76,11 @@ layui.config({ ...@@ -76,11 +76,11 @@ layui.config({
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: flowableBasePath + "assetfrom003", params:{rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "assetfrom003", params:{rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadassetfromTable(); loadassetfromTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -95,10 +95,10 @@ layui.config({ ...@@ -95,10 +95,10 @@ layui.config({
area: ['60vw', '30vh'], area: ['60vw', '30vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadassetfromTable(); loadassetfromTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -113,10 +113,10 @@ layui.config({ ...@@ -113,10 +113,10 @@ layui.config({
area: ['60vw', '30vh'], area: ['60vw', '30vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadassetfromTable(); loadassetfromTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
} }
...@@ -127,11 +127,11 @@ layui.config({ ...@@ -127,11 +127,11 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '上线操作' }, function (index) { layer.confirm(msg, { icon: 3, title: '上线操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "assetfrom007", params:{rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "assetfrom007", params:{rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("上线成功", {icon: 1,time: 2000}); winui.window.msg("上线成功", {icon: 1, time: 2000});
loadassetfromTable(); loadassetfromTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -143,11 +143,11 @@ layui.config({ ...@@ -143,11 +143,11 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '下线操作' }, function (index) { layer.confirm(msg, { icon: 3, title: '下线操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "assetfrom008", params:{rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "assetfrom008", params:{rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("下线成功", {icon: 1,time: 2000}); winui.window.msg("下线成功", {icon: 1, time: 2000});
loadassetfromTable(); loadassetfromTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -156,11 +156,11 @@ layui.config({ ...@@ -156,11 +156,11 @@ layui.config({
// 上移 // 上移
function assetfromtopOne(data){ function assetfromtopOne(data){
AjaxPostUtil.request({url: flowableBasePath + "assetfrom009", params:{rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "assetfrom009", params:{rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.moveUpOperationSuccessMsg"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.moveUpOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadassetfromTable(); loadassetfromTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
...@@ -168,11 +168,11 @@ layui.config({ ...@@ -168,11 +168,11 @@ layui.config({
// 下移 // 下移
function assetfromlowerOne(data){ function assetfromlowerOne(data){
AjaxPostUtil.request({url: flowableBasePath + "assetfrom010", params:{rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "assetfrom010", params:{rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.moveDownOperationSuccessMsg"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.moveDownOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadassetfromTable(); loadassetfromTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -102,7 +102,7 @@ layui.config({ ...@@ -102,7 +102,7 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '撤销操作' }, function (index) { layer.confirm(msg, { icon: 3, title: '撤销操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "asset037", params:{processInstanceId: data.processInstanceId}, type: 'json', method: "PUT", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "asset037", params:{processInstanceId: data.processInstanceId}, type: 'json', method: "PUT", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("提交成功", {icon: 1, time: 2000}); winui.window.msg("提交成功", {icon: 1, time: 2000});
loadCaigouTable(); loadCaigouTable();
}else{ }else{
...@@ -121,10 +121,10 @@ layui.config({ ...@@ -121,10 +121,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadCaigouTable(); loadCaigouTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -139,10 +139,10 @@ layui.config({ ...@@ -139,10 +139,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadCaigouTable(); loadCaigouTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
} }
}); });
...@@ -154,11 +154,11 @@ layui.config({ ...@@ -154,11 +154,11 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '作废操作' }, function (index) { layer.confirm(msg, { icon: 3, title: '作废操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "asset022", params:{rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "asset022", params:{rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadCaigouTable(); loadCaigouTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -174,7 +174,7 @@ layui.config({ ...@@ -174,7 +174,7 @@ layui.config({
approvalId: approvalId approvalId: approvalId
}; };
AjaxPostUtil.request({url: flowableBasePath + "asset020", params: params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "asset020", params: params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("提交成功", {icon: 1, time: 2000}); winui.window.msg("提交成功", {icon: 1, time: 2000});
loadCaigouTable(); loadCaigouTable();
}else{ }else{
......
...@@ -105,7 +105,7 @@ layui.config({ ...@@ -105,7 +105,7 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '撤销操作' }, function (index) { layer.confirm(msg, { icon: 3, title: '撤销操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "asset038", params:{processInstanceId: data.processInstanceId}, type: 'json', method: "PUT", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "asset038", params:{processInstanceId: data.processInstanceId}, type: 'json', method: "PUT", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("提交成功", {icon: 1, time: 2000}); winui.window.msg("提交成功", {icon: 1, time: 2000});
loadReturnTable(); loadReturnTable();
}else{ }else{
...@@ -124,10 +124,10 @@ layui.config({ ...@@ -124,10 +124,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadReturnTable(); loadReturnTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -142,10 +142,10 @@ layui.config({ ...@@ -142,10 +142,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadReturnTable(); loadReturnTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
} }
}); });
...@@ -157,11 +157,11 @@ layui.config({ ...@@ -157,11 +157,11 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '作废操作' }, function (index) { layer.confirm(msg, { icon: 3, title: '作废操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "asset030", params:{rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "asset030", params:{rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadReturnTable(); loadReturnTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -177,7 +177,7 @@ layui.config({ ...@@ -177,7 +177,7 @@ layui.config({
approvalId: approvalId approvalId: approvalId
}; };
AjaxPostUtil.request({url: flowableBasePath + "asset028", params: params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "asset028", params: params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("提交成功", {icon: 1, time: 2000}); winui.window.msg("提交成功", {icon: 1, time: 2000});
loadReturnTable(); loadReturnTable();
}else{ }else{
......
...@@ -18,11 +18,11 @@ layui.config({ ...@@ -18,11 +18,11 @@ layui.config({
typeName: $("#typeName").val() typeName: $("#typeName").val()
}; };
AjaxPostUtil.request({url: flowableBasePath + "assettype002", params:params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "assettype002", params:params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -28,11 +28,11 @@ layui.config({ ...@@ -28,11 +28,11 @@ layui.config({
typeName: $("#typeName").val() typeName: $("#typeName").val()
}; };
AjaxPostUtil.request({url: flowableBasePath + "assettype005", params: params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "assettype005", params: params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -76,11 +76,11 @@ layui.config({ ...@@ -76,11 +76,11 @@ layui.config({
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: flowableBasePath + "assettype003", params:{rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "assettype003", params:{rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadassettypeTable(); loadassettypeTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -95,10 +95,10 @@ layui.config({ ...@@ -95,10 +95,10 @@ layui.config({
area: ['60vw', '30vh'], area: ['60vw', '30vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadassettypeTable(); loadassettypeTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -113,10 +113,10 @@ layui.config({ ...@@ -113,10 +113,10 @@ layui.config({
area: ['60vw', '30vh'], area: ['60vw', '30vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadassettypeTable(); loadassettypeTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
} }
...@@ -127,11 +127,11 @@ layui.config({ ...@@ -127,11 +127,11 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '上线操作' }, function (index) { layer.confirm(msg, { icon: 3, title: '上线操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "assettype007", params:{rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "assettype007", params:{rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("上线成功", {icon: 1,time: 2000}); winui.window.msg("上线成功", {icon: 1, time: 2000});
loadassettypeTable(); loadassettypeTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -143,11 +143,11 @@ layui.config({ ...@@ -143,11 +143,11 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '下线操作' }, function (index) { layer.confirm(msg, { icon: 3, title: '下线操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "assettype008", params:{rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "assettype008", params:{rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("下线成功", {icon: 1,time: 2000}); winui.window.msg("下线成功", {icon: 1, time: 2000});
loadassettypeTable(); loadassettypeTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -156,11 +156,11 @@ layui.config({ ...@@ -156,11 +156,11 @@ layui.config({
// 上移 // 上移
function assettypetopOne(data){ function assettypetopOne(data){
AjaxPostUtil.request({url: flowableBasePath + "assettype009", params:{rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "assettype009", params:{rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.moveUpOperationSuccessMsg"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.moveUpOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadassettypeTable(); loadassettypeTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
...@@ -168,11 +168,11 @@ layui.config({ ...@@ -168,11 +168,11 @@ layui.config({
// 下移 // 下移
function assettypelowerOne(data){ function assettypelowerOne(data){
AjaxPostUtil.request({url: flowableBasePath + "assettype010", params:{rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "assettype010", params:{rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.moveDownOperationSuccessMsg"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.moveDownOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadassettypeTable(); loadassettypeTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -105,7 +105,7 @@ layui.config({ ...@@ -105,7 +105,7 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '撤销操作' }, function (index) { layer.confirm(msg, { icon: 3, title: '撤销操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "asset036", params:{processInstanceId: data.processInstanceId}, type: 'json', method: "PUT", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "asset036", params:{processInstanceId: data.processInstanceId}, type: 'json', method: "PUT", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("提交成功", {icon: 1, time: 2000}); winui.window.msg("提交成功", {icon: 1, time: 2000});
loadLingyongTable(); loadLingyongTable();
}else{ }else{
...@@ -124,10 +124,10 @@ layui.config({ ...@@ -124,10 +124,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadLingyongTable(); loadLingyongTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -142,10 +142,10 @@ layui.config({ ...@@ -142,10 +142,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadLingyongTable(); loadLingyongTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
} }
}); });
...@@ -157,11 +157,11 @@ layui.config({ ...@@ -157,11 +157,11 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '作废操作' }, function (index) { layer.confirm(msg, { icon: 3, title: '作废操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "asset016", params:{rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "asset016", params:{rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadLingyongTable(); loadLingyongTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -177,7 +177,7 @@ layui.config({ ...@@ -177,7 +177,7 @@ layui.config({
approvalId: approvalId approvalId: approvalId
}; };
AjaxPostUtil.request({url: flowableBasePath + "asset017", params: params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "asset017", params: params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("提交成功", {icon: 1, time: 2000}); winui.window.msg("提交成功", {icon: 1, time: 2000});
loadLingyongTable(); loadLingyongTable();
}else{ }else{
......
...@@ -45,7 +45,7 @@ layui.config({ ...@@ -45,7 +45,7 @@ layui.config({
}; };
params.roomImg = $("#roomImg").find("input[type='hidden'][name='upload']").attr("oldurl"); params.roomImg = $("#roomImg").find("input[type='hidden'][name='upload']").attr("oldurl");
if(isNull(params.roomImg)){ if(isNull(params.roomImg)){
winui.window.msg('请上传会议室图片', {icon: 2,time: 2000}); winui.window.msg('请上传会议室图片', {icon: 2, time: 2000});
return false; return false;
} }
if(userList.length == 0 || isNull($('#roomAdmin').tagEditor('getTags')[0].tags)){ if(userList.length == 0 || isNull($('#roomAdmin').tagEditor('getTags')[0].tags)){
...@@ -54,7 +54,7 @@ layui.config({ ...@@ -54,7 +54,7 @@ layui.config({
params.roomAdmin = userList[0].id; params.roomAdmin = userList[0].id;
} }
AjaxPostUtil.request({url: flowableBasePath + "conferenceroom002", params: params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "conferenceroom002", params: params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
......
...@@ -82,7 +82,7 @@ layui.config({ ...@@ -82,7 +82,7 @@ layui.config({
}; };
params.roomImg = $("#roomImg").find("input[type='hidden'][name='upload']").attr("oldurl"); params.roomImg = $("#roomImg").find("input[type='hidden'][name='upload']").attr("oldurl");
if(isNull(params.roomImg)){ if(isNull(params.roomImg)){
winui.window.msg('请上传会议室图片', {icon: 2,time: 2000}); winui.window.msg('请上传会议室图片', {icon: 2, time: 2000});
return false; return false;
} }
if(userList.length == 0 || isNull($('#roomAdmin').tagEditor('getTags')[0].tags)){ if(userList.length == 0 || isNull($('#roomAdmin').tagEditor('getTags')[0].tags)){
...@@ -91,7 +91,7 @@ layui.config({ ...@@ -91,7 +91,7 @@ layui.config({
params.roomAdmin = userList[0].id; params.roomAdmin = userList[0].id;
} }
AjaxPostUtil.request({url: flowableBasePath + "conferenceroom009", params: params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "conferenceroom009", params: params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
......
...@@ -111,7 +111,7 @@ layui.config({ ...@@ -111,7 +111,7 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '维修会议室' }, function (index) { layer.confirm(msg, { icon: 3, title: '维修会议室' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "conferenceroom005", params: {rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "conferenceroom005", params: {rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
}else{ }else{
...@@ -127,7 +127,7 @@ layui.config({ ...@@ -127,7 +127,7 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '报废会议室' }, function (index) { layer.confirm(msg, { icon: 3, title: '报废会议室' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "conferenceroom006", params: {rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "conferenceroom006", params: {rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
}else{ }else{
...@@ -143,7 +143,7 @@ layui.config({ ...@@ -143,7 +143,7 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '恢复正常操作' }, function (index) { layer.confirm(msg, { icon: 3, title: '恢复正常操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "conferenceroom004", params: {rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "conferenceroom004", params: {rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
}else{ }else{
...@@ -158,7 +158,7 @@ layui.config({ ...@@ -158,7 +158,7 @@ layui.config({
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: flowableBasePath + "conferenceroom003", params: {rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "conferenceroom003", params: {rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
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();
}else{ }else{
...@@ -177,10 +177,10 @@ layui.config({ ...@@ -177,10 +177,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -195,10 +195,10 @@ layui.config({ ...@@ -195,10 +195,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -96,7 +96,7 @@ layui.config({ ...@@ -96,7 +96,7 @@ layui.config({
processInstanceId: data.processInstanceId processInstanceId: data.processInstanceId
}; };
AjaxPostUtil.request({url: flowableBasePath + "conferenceroomreserve010", params: params, type: 'json', method: "PUT", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "conferenceroomreserve010", params: params, type: 'json', method: "PUT", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("提交成功", {icon: 1, time: 2000}); winui.window.msg("提交成功", {icon: 1, time: 2000});
loadReserveTable(); loadReserveTable();
}else{ }else{
...@@ -116,10 +116,10 @@ layui.config({ ...@@ -116,10 +116,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadReserveTable(); loadReserveTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
} }
}); });
...@@ -135,7 +135,7 @@ layui.config({ ...@@ -135,7 +135,7 @@ layui.config({
approvalId: approvalId approvalId: approvalId
}; };
AjaxPostUtil.request({url: flowableBasePath + "conferenceroomreserve006", params: params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "conferenceroomreserve006", params: params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("提交成功", {icon: 1, time: 2000}); winui.window.msg("提交成功", {icon: 1, time: 2000});
loadReserveTable(); loadReserveTable();
}else{ }else{
...@@ -152,7 +152,7 @@ layui.config({ ...@@ -152,7 +152,7 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '申请作废操作' }, function (index) { layer.confirm(msg, { icon: 3, title: '申请作废操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "conferenceroomreserve007", params: {rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "conferenceroomreserve007", params: {rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadReserveTable(); loadReserveTable();
}else{ }else{
...@@ -184,10 +184,10 @@ layui.config({ ...@@ -184,10 +184,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadReserveTable(); loadReserveTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
}); });
......
...@@ -44,7 +44,7 @@ layui.config({ ...@@ -44,7 +44,7 @@ layui.config({
}else if(val == '1'){ }else if(val == '1'){
$("#nextTime").removeClass('layui-hide'); $("#nextTime").removeClass('layui-hide');
}else{ }else{
winui.window.msg('状态值错误', {icon: 2,time: 2000}); winui.window.msg('状态值错误', {icon: 2, time: 2000});
} }
}); });
...@@ -56,7 +56,7 @@ layui.config({ ...@@ -56,7 +56,7 @@ layui.config({
$("#termTime").addClass('layui-hide'); $("#termTime").addClass('layui-hide');
$("#termOfValidityTime").val(""); $("#termOfValidityTime").val("");
}else{ }else{
winui.window.msg('状态值错误', {icon: 2,time: 2000}); winui.window.msg('状态值错误', {icon: 2, time: 2000});
} }
}); });
...@@ -88,11 +88,11 @@ layui.config({ ...@@ -88,11 +88,11 @@ layui.config({
params.borrowId = borrowList[0].id; params.borrowId = borrowList[0].id;
} }
AjaxPostUtil.request({url: flowableBasePath + "licence002", params:params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "licence002", params:params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -23,7 +23,7 @@ layui.config({ ...@@ -23,7 +23,7 @@ layui.config({
}else if(val == '1'){ }else if(val == '1'){
$("#nextTime").removeClass('layui-hide'); $("#nextTime").removeClass('layui-hide');
}else{ }else{
winui.window.msg('状态值错误', {icon: 2,time: 2000}); winui.window.msg('状态值错误', {icon: 2, time: 2000});
} }
}); });
...@@ -35,7 +35,7 @@ layui.config({ ...@@ -35,7 +35,7 @@ layui.config({
$("#termTime").addClass('layui-hide'); $("#termTime").addClass('layui-hide');
$("#termOfValidityTime").val(""); $("#termOfValidityTime").val("");
}else{ }else{
winui.window.msg('状态值错误', {icon: 2,time: 2000}); winui.window.msg('状态值错误', {icon: 2, time: 2000});
} }
}); });
...@@ -147,11 +147,11 @@ layui.config({ ...@@ -147,11 +147,11 @@ layui.config({
params.borrowId = borrowList[0].id; params.borrowId = borrowList[0].id;
} }
AjaxPostUtil.request({url: flowableBasePath + "licence005", params:params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "licence005", params:params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -81,11 +81,11 @@ layui.config({ ...@@ -81,11 +81,11 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '删除证照' }, function (index) { layer.confirm(msg, { icon: 3, title: '删除证照' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "licence003", params:{rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "licence003", params:{rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
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();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -100,10 +100,10 @@ layui.config({ ...@@ -100,10 +100,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -118,10 +118,10 @@ layui.config({ ...@@ -118,10 +118,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -93,7 +93,7 @@ layui.config({ ...@@ -93,7 +93,7 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '撤销操作' }, function (index) { layer.confirm(msg, { icon: 3, title: '撤销操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "licenceborrow010", params:{processInstanceId: data.processInstanceId}, type: 'json', method: "PUT", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "licenceborrow010", params:{processInstanceId: data.processInstanceId}, type: 'json', method: "PUT", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("提交成功", {icon: 1, time: 2000}); winui.window.msg("提交成功", {icon: 1, time: 2000});
loadBorrowTable(); loadBorrowTable();
}else{ }else{
...@@ -113,10 +113,10 @@ layui.config({ ...@@ -113,10 +113,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadBorrowTable(); loadBorrowTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
} }
}); });
...@@ -132,7 +132,7 @@ layui.config({ ...@@ -132,7 +132,7 @@ layui.config({
approvalId: approvalId approvalId: approvalId
}; };
AjaxPostUtil.request({url: flowableBasePath + "licenceborrow006", params: params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "licenceborrow006", params: params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("提交成功", {icon: 1, time: 2000}); winui.window.msg("提交成功", {icon: 1, time: 2000});
loadBorrowTable(); loadBorrowTable();
}else{ }else{
...@@ -149,11 +149,11 @@ layui.config({ ...@@ -149,11 +149,11 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '作废操作' }, function (index) { layer.confirm(msg, { icon: 3, title: '作废操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "licenceborrow007", params:{rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "licenceborrow007", params:{rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadBorrowTable(); loadBorrowTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -181,10 +181,10 @@ layui.config({ ...@@ -181,10 +181,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadBorrowTable(); loadBorrowTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
}); });
......
...@@ -93,7 +93,7 @@ layui.config({ ...@@ -93,7 +93,7 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '撤销操作' }, function (index) { layer.confirm(msg, { icon: 3, title: '撤销操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "licencerevert010", params:{processInstanceId: data.processInstanceId}, type: 'json', method: "PUT", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "licencerevert010", params:{processInstanceId: data.processInstanceId}, type: 'json', method: "PUT", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("提交成功", {icon: 1, time: 2000}); winui.window.msg("提交成功", {icon: 1, time: 2000});
loadRevertTable(); loadRevertTable();
}else{ }else{
...@@ -113,10 +113,10 @@ layui.config({ ...@@ -113,10 +113,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadRevertTable(); loadRevertTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
} }
}); });
...@@ -132,7 +132,7 @@ layui.config({ ...@@ -132,7 +132,7 @@ layui.config({
approvalId: approvalId approvalId: approvalId
}; };
AjaxPostUtil.request({url: flowableBasePath + "licencerevert006", params: params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "licencerevert006", params: params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("提交成功", {icon: 1, time: 2000}); winui.window.msg("提交成功", {icon: 1, time: 2000});
loadRevertTable(); loadRevertTable();
}else{ }else{
...@@ -149,11 +149,11 @@ layui.config({ ...@@ -149,11 +149,11 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '作废操作' }, function (index) { layer.confirm(msg, { icon: 3, title: '作废操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "licencerevert007", params:{rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "licencerevert007", params:{rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadRevertTable(); loadRevertTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -181,10 +181,10 @@ layui.config({ ...@@ -181,10 +181,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadRevertTable(); loadRevertTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
}); });
......
...@@ -34,7 +34,7 @@ layui.config({ ...@@ -34,7 +34,7 @@ layui.config({
enclosureInfo: skyeyeEnclosure.getEnclosureIdsByBoxId('enclosureUpload') enclosureInfo: skyeyeEnclosure.getEnclosureIdsByBoxId('enclosureUpload')
}; };
if(userList.length == 0 || isNull($('#sealAdmin').tagEditor('getTags')[0].tags)){ if(userList.length == 0 || isNull($('#sealAdmin').tagEditor('getTags')[0].tags)){
winui.window.msg("请选择管理人", {icon: 2,time: 2000}); winui.window.msg("请选择管理人", {icon: 2, time: 2000});
return false; return false;
}else{ }else{
params.sealAdmin = userList[0].id; params.sealAdmin = userList[0].id;
...@@ -45,11 +45,11 @@ layui.config({ ...@@ -45,11 +45,11 @@ layui.config({
params.borrowId = borrowuserList[0].id; params.borrowId = borrowuserList[0].id;
} }
AjaxPostUtil.request({url: flowableBasePath + "seal002", params:params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "seal002", params:params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -82,7 +82,7 @@ layui.config({ ...@@ -82,7 +82,7 @@ layui.config({
enclosureInfo: skyeyeEnclosure.getEnclosureIdsByBoxId('enclosureUpload') enclosureInfo: skyeyeEnclosure.getEnclosureIdsByBoxId('enclosureUpload')
}; };
if(userList.length == 0 || isNull($('#sealAdmin').tagEditor('getTags')[0].tags)){ if(userList.length == 0 || isNull($('#sealAdmin').tagEditor('getTags')[0].tags)){
winui.window.msg("请选择管理人", {icon: 2,time: 2000}); winui.window.msg("请选择管理人", {icon: 2, time: 2000});
return false; return false;
}else{ }else{
params.sealAdmin = userList[0].id; params.sealAdmin = userList[0].id;
...@@ -93,11 +93,11 @@ layui.config({ ...@@ -93,11 +93,11 @@ layui.config({
params.borrowId = borrowuserList[0].id; params.borrowId = borrowuserList[0].id;
} }
AjaxPostUtil.request({url: flowableBasePath + "seal005", params:params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "seal005", params:params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -80,11 +80,11 @@ layui.config({ ...@@ -80,11 +80,11 @@ layui.config({
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: flowableBasePath + "seal003", params:{rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "seal003", params:{rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
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();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -99,10 +99,10 @@ layui.config({ ...@@ -99,10 +99,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -117,10 +117,10 @@ layui.config({ ...@@ -117,10 +117,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -92,7 +92,7 @@ layui.config({ ...@@ -92,7 +92,7 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '撤销操作'}, function (index) { layer.confirm(msg, { icon: 3, title: '撤销操作'}, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "sealborrow010", params:{processInstanceId: data.processInstanceId}, type: 'json', method: "PUT", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "sealborrow010", params:{processInstanceId: data.processInstanceId}, type: 'json', method: "PUT", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("提交成功", {icon: 1, time: 2000}); winui.window.msg("提交成功", {icon: 1, time: 2000});
loadBorrowTable(); loadBorrowTable();
}else{ }else{
...@@ -112,10 +112,10 @@ layui.config({ ...@@ -112,10 +112,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadBorrowTable(); loadBorrowTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
} }
}); });
...@@ -131,7 +131,7 @@ layui.config({ ...@@ -131,7 +131,7 @@ layui.config({
approvalId: approvalId approvalId: approvalId
}; };
AjaxPostUtil.request({url: flowableBasePath + "sealborrow006", params: params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "sealborrow006", params: params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("提交成功", {icon: 1, time: 2000}); winui.window.msg("提交成功", {icon: 1, time: 2000});
loadBorrowTable(); loadBorrowTable();
}else{ }else{
...@@ -148,11 +148,11 @@ layui.config({ ...@@ -148,11 +148,11 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '作废操作' }, function (index) { layer.confirm(msg, { icon: 3, title: '作废操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "sealborrow007", params:{rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "sealborrow007", params:{rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadBorrowTable(); loadBorrowTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -180,10 +180,10 @@ layui.config({ ...@@ -180,10 +180,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadBorrowTable(); loadBorrowTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
}); });
......
...@@ -93,7 +93,7 @@ layui.config({ ...@@ -93,7 +93,7 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '撤销操作' }, function (index) { layer.confirm(msg, { icon: 3, title: '撤销操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "sealrevert010", params:{processInstanceId: data.processInstanceId}, type: 'json', method: "PUT", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "sealrevert010", params:{processInstanceId: data.processInstanceId}, type: 'json', method: "PUT", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("提交成功", {icon: 1, time: 2000}); winui.window.msg("提交成功", {icon: 1, time: 2000});
loadRevertTable(); loadRevertTable();
}else{ }else{
...@@ -113,10 +113,10 @@ layui.config({ ...@@ -113,10 +113,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadRevertTable(); loadRevertTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
} }
}); });
...@@ -132,7 +132,7 @@ layui.config({ ...@@ -132,7 +132,7 @@ layui.config({
approvalId: approvalId approvalId: approvalId
}; };
AjaxPostUtil.request({url: flowableBasePath + "sealrevert006", params: params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "sealrevert006", params: params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("提交成功", {icon: 1, time: 2000}); winui.window.msg("提交成功", {icon: 1, time: 2000});
loadRevertTable(); loadRevertTable();
}else{ }else{
...@@ -149,11 +149,11 @@ layui.config({ ...@@ -149,11 +149,11 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '作废操作' }, function (index) { layer.confirm(msg, { icon: 3, title: '作废操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "sealrevert007", params:{rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "sealrevert007", params:{rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadRevertTable(); loadRevertTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -181,10 +181,10 @@ layui.config({ ...@@ -181,10 +181,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadRevertTable(); loadRevertTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
}); });
......
...@@ -115,7 +115,7 @@ layui.config({ ...@@ -115,7 +115,7 @@ layui.config({
}; };
params.vehicleImg = $("#vehicleImg").find("input[type='hidden'][name='upload']").attr("oldurl"); params.vehicleImg = $("#vehicleImg").find("input[type='hidden'][name='upload']").attr("oldurl");
if(isNull(params.vehicleImg)){ if(isNull(params.vehicleImg)){
winui.window.msg('请上传车辆图片', {icon: 2,time: 2000}); winui.window.msg('请上传车辆图片', {icon: 2, time: 2000});
return false; return false;
} }
if(userList.length == 0 || isNull($('#vehicleAdmin').tagEditor('getTags')[0].tags)){ if(userList.length == 0 || isNull($('#vehicleAdmin').tagEditor('getTags')[0].tags)){
...@@ -124,11 +124,11 @@ layui.config({ ...@@ -124,11 +124,11 @@ layui.config({
params.vehicleAdmin = userList[0].id; params.vehicleAdmin = userList[0].id;
} }
AjaxPostUtil.request({url: flowableBasePath + "vehicle009", params:params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "vehicle009", params:params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -111,8 +111,8 @@ layui.config({ ...@@ -111,8 +111,8 @@ layui.config({
layer.confirm('确认维修该车辆吗?', {icon: 3, title: '维修操作'}, function (index) { layer.confirm('确认维修该车辆吗?', {icon: 3, title: '维修操作'}, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "vehicle005", params:{rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "vehicle005", params:{rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadVehicleTable(); loadVehicleTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2, time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
...@@ -126,8 +126,8 @@ layui.config({ ...@@ -126,8 +126,8 @@ layui.config({
layer.confirm('确认报废该车辆吗?', { icon: 3, title: '报废操作' }, function (index) { layer.confirm('确认报废该车辆吗?', { icon: 3, title: '报废操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "vehicle006", params:{rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "vehicle006", params:{rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadVehicleTable(); loadVehicleTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2, time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
...@@ -141,8 +141,8 @@ layui.config({ ...@@ -141,8 +141,8 @@ layui.config({
layer.confirm('确认对该车辆恢复正常吗?', { icon: 3, title: '恢复操作' }, function (index) { layer.confirm('确认对该车辆恢复正常吗?', { icon: 3, title: '恢复操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "vehicle004", params:{rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "vehicle004", params:{rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadVehicleTable(); loadVehicleTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2, time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
...@@ -156,8 +156,8 @@ layui.config({ ...@@ -156,8 +156,8 @@ layui.config({
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: flowableBasePath + "vehicle003", params:{rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "vehicle003", params:{rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadVehicleTable(); loadVehicleTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2, time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
...@@ -175,10 +175,10 @@ layui.config({ ...@@ -175,10 +175,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadVehicleTable(); loadVehicleTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -193,10 +193,10 @@ layui.config({ ...@@ -193,10 +193,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadVehicleTable(); loadVehicleTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -71,11 +71,11 @@ layui.config({ ...@@ -71,11 +71,11 @@ layui.config({
enclosureInfo: skyeyeEnclosure.getEnclosureIdsByBoxId('enclosureUpload') enclosureInfo: skyeyeEnclosure.getEnclosureIdsByBoxId('enclosureUpload')
}; };
AjaxPostUtil.request({url: flowableBasePath + "accident002", params:params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "accident002", params:params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -69,11 +69,11 @@ layui.config({ ...@@ -69,11 +69,11 @@ layui.config({
enclosureInfo: skyeyeEnclosure.getEnclosureIdsByBoxId('enclosureUpload') enclosureInfo: skyeyeEnclosure.getEnclosureIdsByBoxId('enclosureUpload')
}; };
AjaxPostUtil.request({url: flowableBasePath + "accident005", params:params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "accident005", params:params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -82,8 +82,8 @@ layui.config({ ...@@ -82,8 +82,8 @@ layui.config({
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: flowableBasePath + "accident003", params: {rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "accident003", params: {rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadAccidentTable(); loadAccidentTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2, time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
...@@ -101,10 +101,10 @@ layui.config({ ...@@ -101,10 +101,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadAccidentTable(); loadAccidentTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -119,10 +119,10 @@ layui.config({ ...@@ -119,10 +119,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadAccidentTable(); loadAccidentTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -18,11 +18,11 @@ layui.config({ ...@@ -18,11 +18,11 @@ layui.config({
coverageName: $("#coverageName").val() coverageName: $("#coverageName").val()
}; };
AjaxPostUtil.request({url: flowableBasePath + "coverage002", params: params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "coverage002", params: params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -28,11 +28,11 @@ layui.config({ ...@@ -28,11 +28,11 @@ layui.config({
coverageName: $("#coverageName").val() coverageName: $("#coverageName").val()
}; };
AjaxPostUtil.request({url: flowableBasePath + "coverage005", params: params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "coverage005", params: params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -56,8 +56,8 @@ layui.config({ ...@@ -56,8 +56,8 @@ layui.config({
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: flowableBasePath + "coverage003", params:{rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "coverage003", params:{rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadCoverageTable(); loadCoverageTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2, time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
...@@ -75,10 +75,10 @@ layui.config({ ...@@ -75,10 +75,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadCoverageTable(); loadCoverageTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -93,10 +93,10 @@ layui.config({ ...@@ -93,10 +93,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadCoverageTable(); loadCoverageTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -58,7 +58,7 @@ layui.config({ ...@@ -58,7 +58,7 @@ layui.config({
var mobile = /^0?1[3|4|5|8][0-9]\d{8}$/, phone = /^0[\d]{2,3}-[\d]{7,8}$/; var mobile = /^0?1[3|4|5|8][0-9]\d{8}$/, phone = /^0[\d]{2,3}-[\d]{7,8}$/;
var flag = mobile.test(params.contactInformation) || phone.test(params.contactInformation); var flag = mobile.test(params.contactInformation) || phone.test(params.contactInformation);
if(!flag){ if(!flag){
winui.window.msg('请输入正确的联系电话', {icon: 2,time: 2000}); winui.window.msg('请输入正确的联系电话', {icon: 2, time: 2000});
return false; return false;
} }
} }
...@@ -66,16 +66,16 @@ layui.config({ ...@@ -66,16 +66,16 @@ layui.config({
var str = /^0{1}([.]\d{1,2})?$|^[1-9]\d*([.]{1}[0-9]{1,2})?$/; var str = /^0{1}([.]\d{1,2})?$|^[1-9]\d*([.]{1}[0-9]{1,2})?$/;
var flag = str.test(params.inspectionPrice); var flag = str.test(params.inspectionPrice);
if(!flag){ if(!flag){
winui.window.msg('年检费用小数点后最多两位!', {icon: 2,time: 2000}); winui.window.msg('年检费用小数点后最多两位!', {icon: 2, time: 2000});
return false; return false;
} }
} }
AjaxPostUtil.request({url: flowableBasePath + "inspection002", params: params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "inspection002", params: params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -56,7 +56,7 @@ layui.config({ ...@@ -56,7 +56,7 @@ layui.config({
var mobile = /^0?1[3|4|5|8][0-9]\d{8}$/, phone = /^0[\d]{2,3}-[\d]{7,8}$/; var mobile = /^0?1[3|4|5|8][0-9]\d{8}$/, phone = /^0[\d]{2,3}-[\d]{7,8}$/;
var flag = mobile.test(params.contactInformation) || phone.test(params.contactInformation); var flag = mobile.test(params.contactInformation) || phone.test(params.contactInformation);
if(!flag){ if(!flag){
winui.window.msg('请输入正确的联系电话', {icon: 2,time: 2000}); winui.window.msg('请输入正确的联系电话', {icon: 2, time: 2000});
return false; return false;
} }
} }
...@@ -64,16 +64,16 @@ layui.config({ ...@@ -64,16 +64,16 @@ layui.config({
var str = /^0{1}([.]\d{1,2})?$|^[1-9]\d*([.]{1}[0-9]{1,2})?$/; var str = /^0{1}([.]\d{1,2})?$|^[1-9]\d*([.]{1}[0-9]{1,2})?$/;
var flag = str.test(params.inspectionPrice); var flag = str.test(params.inspectionPrice);
if(!flag){ if(!flag){
winui.window.msg('年检费用小数点后最多两位!', {icon: 2,time: 2000}); winui.window.msg('年检费用小数点后最多两位!', {icon: 2, time: 2000});
return false; return false;
} }
} }
AjaxPostUtil.request({url: flowableBasePath + "inspection005", params:params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "inspection005", params:params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -82,8 +82,8 @@ layui.config({ ...@@ -82,8 +82,8 @@ layui.config({
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: flowableBasePath + "inspection003", params: {rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "inspection003", params: {rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadInspectionTable(); loadInspectionTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2, time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
...@@ -101,10 +101,10 @@ layui.config({ ...@@ -101,10 +101,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadInspectionTable(); loadInspectionTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -119,10 +119,10 @@ layui.config({ ...@@ -119,10 +119,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadInspectionTable(); loadInspectionTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -31,7 +31,7 @@ layui.config({ ...@@ -31,7 +31,7 @@ layui.config({
form.render('checkbox'); form.render('checkbox');
} }
}else { }else {
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
...@@ -117,22 +117,22 @@ layui.config({ ...@@ -117,22 +117,22 @@ layui.config({
var bf = fu.next().find("input").val();//对应的保费 var bf = fu.next().find("input").val();//对应的保费
var be = fu.next().next().find("input").val();//对应的保额 var be = fu.next().next().find("input").val();//对应的保额
if(isNull(bf)){ if(isNull(bf)){
winui.window.msg('请输入选中的险种对应的保费', {icon: 2,time: 2000}); winui.window.msg('请输入选中的险种对应的保费', {icon: 2, time: 2000});
istrue = false; istrue = false;
}else{ }else{
var str = /^0{1}([.]\d{1,2})?$|^[1-9]\d*([.]{1}[0-9]{1,2})?$/; var str = /^0{1}([.]\d{1,2})?$|^[1-9]\d*([.]{1}[0-9]{1,2})?$/;
var flag = str.test(bf); var flag = str.test(bf);
if(!flag){ if(!flag){
winui.window.msg('保费小数点后最多两位!', {icon: 2,time: 2000}); winui.window.msg('保费小数点后最多两位!', {icon: 2, time: 2000});
istrue = false; istrue = false;
}else{ }else{
if(isNull(be)){ if(isNull(be)){
winui.window.msg('请输入选中的险种对应的保额', {icon: 2,time: 2000}); winui.window.msg('请输入选中的险种对应的保额', {icon: 2, time: 2000});
istrue = false; istrue = false;
}else{ }else{
var flag = str.test(be); var flag = str.test(be);
if(!flag){ if(!flag){
winui.window.msg('保额小数点后最多两位!', {icon: 2,time: 2000}); winui.window.msg('保额小数点后最多两位!', {icon: 2, time: 2000});
istrue = false; istrue = false;
} }
} }
...@@ -146,28 +146,28 @@ layui.config({ ...@@ -146,28 +146,28 @@ layui.config({
if(istrue){ if(istrue){
params.coverageIds = coverageIds; params.coverageIds = coverageIds;
if(isNull(params.coverageIds)){ if(isNull(params.coverageIds)){
winui.window.msg('请选择险种', {icon: 2,time: 2000}); winui.window.msg('请选择险种', {icon: 2, time: 2000});
return false; return false;
} }
params.vehicleId = data.field.licensePlate; params.vehicleId = data.field.licensePlate;
if(isNull(params.vehicleId)){ if(isNull(params.vehicleId)){
winui.window.msg('请选择车牌号', {icon: 2,time: 2000}); winui.window.msg('请选择车牌号', {icon: 2, time: 2000});
return false; return false;
} }
if(params.insuredTelephone != ""){ if(params.insuredTelephone != ""){
var mobile = /^0?1[3|4|5|8][0-9]\d{8}$/,phone = /^0[\d]{2,3}-[\d]{7,8}$/; var mobile = /^0?1[3|4|5|8][0-9]\d{8}$/,phone = /^0[\d]{2,3}-[\d]{7,8}$/;
var flag = mobile.test(params.insuredTelephone) || phone.test(params.insuredTelephone); var flag = mobile.test(params.insuredTelephone) || phone.test(params.insuredTelephone);
if(!flag){ if(!flag){
winui.window.msg('请输入正确的投保电话', {icon: 2,time: 2000}); winui.window.msg('请输入正确的投保电话', {icon: 2, time: 2000});
return false; return false;
} }
} }
AjaxPostUtil.request({url: flowableBasePath + "insurance002", params:params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "insurance002", params:params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -91,7 +91,7 @@ layui.config({ ...@@ -91,7 +91,7 @@ layui.config({
} }
} }
}else { }else {
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
} }
}); });
......
...@@ -132,22 +132,22 @@ layui.config({ ...@@ -132,22 +132,22 @@ layui.config({
var bf = fu.next().find("input").val();//对应的保费 var bf = fu.next().find("input").val();//对应的保费
var be = fu.next().next().find("input").val();//对应的保额 var be = fu.next().next().find("input").val();//对应的保额
if(isNull(bf)){ if(isNull(bf)){
winui.window.msg('请输入选中的险种对应的保费', {icon: 2,time: 2000}); winui.window.msg('请输入选中的险种对应的保费', {icon: 2, time: 2000});
istrue = false; istrue = false;
}else{ }else{
var str = /^0{1}([.]\d{1,2})?$|^[1-9]\d*([.]{1}[0-9]{1,2})?$/; var str = /^0{1}([.]\d{1,2})?$|^[1-9]\d*([.]{1}[0-9]{1,2})?$/;
var flag = str.test(bf); var flag = str.test(bf);
if(!flag){ if(!flag){
winui.window.msg('保费小数点后最多两位!', {icon: 2,time: 2000}); winui.window.msg('保费小数点后最多两位!', {icon: 2, time: 2000});
istrue = false; istrue = false;
}else{ }else{
if(isNull(be)){ if(isNull(be)){
winui.window.msg('请输入选中的险种对应的保额', {icon: 2,time: 2000}); winui.window.msg('请输入选中的险种对应的保额', {icon: 2, time: 2000});
istrue = false; istrue = false;
}else{ }else{
var flag = str.test(be); var flag = str.test(be);
if(!flag){ if(!flag){
winui.window.msg('保额小数点后最多两位!', {icon: 2,time: 2000}); winui.window.msg('保额小数点后最多两位!', {icon: 2, time: 2000});
istrue = false; istrue = false;
} }
} }
...@@ -161,23 +161,23 @@ layui.config({ ...@@ -161,23 +161,23 @@ layui.config({
if(istrue){ if(istrue){
params.coverageIds = coverageIds; params.coverageIds = coverageIds;
if(isNull(params.coverageIds)){ if(isNull(params.coverageIds)){
winui.window.msg('请选择险种', {icon: 2,time: 2000}); winui.window.msg('请选择险种', {icon: 2, time: 2000});
return false; return false;
} }
if(params.insuredTelephone != ""){ if(params.insuredTelephone != ""){
var mobile = /^0?1[3|4|5|8][0-9]\d{8}$/,phone = /^0[\d]{2,3}-[\d]{7,8}$/; var mobile = /^0?1[3|4|5|8][0-9]\d{8}$/,phone = /^0[\d]{2,3}-[\d]{7,8}$/;
var flag = mobile.test(params.insuredTelephone) || phone.test(params.insuredTelephone); var flag = mobile.test(params.insuredTelephone) || phone.test(params.insuredTelephone);
if(!flag){ if(!flag){
winui.window.msg('请输入正确的投保电话', {icon: 2,time: 2000}); winui.window.msg('请输入正确的投保电话', {icon: 2, time: 2000});
return false; return false;
} }
} }
AjaxPostUtil.request({url: flowableBasePath + "insurance005", params:params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "insurance005", params:params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
...@@ -185,7 +185,7 @@ layui.config({ ...@@ -185,7 +185,7 @@ layui.config({
return false; return false;
}); });
}else { }else {
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
} }
}); });
......
...@@ -82,8 +82,8 @@ layui.config({ ...@@ -82,8 +82,8 @@ layui.config({
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: flowableBasePath + "insurance003", params: {rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "insurance003", params: {rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadInsuranceTable(); loadInsuranceTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2, time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
...@@ -101,10 +101,10 @@ layui.config({ ...@@ -101,10 +101,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadInsuranceTable(); loadInsuranceTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -119,10 +119,10 @@ layui.config({ ...@@ -119,10 +119,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadInsuranceTable(); loadInsuranceTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -50,11 +50,11 @@ layui.config({ ...@@ -50,11 +50,11 @@ layui.config({
enclosureInfo: skyeyeEnclosure.getEnclosureIdsByBoxId('enclosureUpload') enclosureInfo: skyeyeEnclosure.getEnclosureIdsByBoxId('enclosureUpload')
}; };
AjaxPostUtil.request({url: flowableBasePath + "maintenance002", params:params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "maintenance002", params:params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -49,11 +49,11 @@ layui.config({ ...@@ -49,11 +49,11 @@ layui.config({
enclosureInfo: skyeyeEnclosure.getEnclosureIdsByBoxId('enclosureUpload') enclosureInfo: skyeyeEnclosure.getEnclosureIdsByBoxId('enclosureUpload')
}; };
AjaxPostUtil.request({url: flowableBasePath + "maintenance005", params:params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "maintenance005", params:params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -82,8 +82,8 @@ layui.config({ ...@@ -82,8 +82,8 @@ layui.config({
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: flowableBasePath + "maintenance003", params: {rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "maintenance003", params: {rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadMaintenanceTable(); loadMaintenanceTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2, time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
...@@ -101,10 +101,10 @@ layui.config({ ...@@ -101,10 +101,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadMaintenanceTable(); loadMaintenanceTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -119,10 +119,10 @@ layui.config({ ...@@ -119,10 +119,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadMaintenanceTable(); loadMaintenanceTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -46,11 +46,11 @@ layui.config({ ...@@ -46,11 +46,11 @@ layui.config({
enclosureInfo: skyeyeEnclosure.getEnclosureIdsByBoxId('enclosureUpload') enclosureInfo: skyeyeEnclosure.getEnclosureIdsByBoxId('enclosureUpload')
}; };
AjaxPostUtil.request({url: flowableBasePath + "oiling002", params: params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "oiling002", params: params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -44,11 +44,11 @@ layui.config({ ...@@ -44,11 +44,11 @@ layui.config({
enclosureInfo: skyeyeEnclosure.getEnclosureIdsByBoxId('enclosureUpload') enclosureInfo: skyeyeEnclosure.getEnclosureIdsByBoxId('enclosureUpload')
}; };
AjaxPostUtil.request({url: flowableBasePath + "oiling005", params:params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "oiling005", params:params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -89,8 +89,8 @@ layui.config({ ...@@ -89,8 +89,8 @@ layui.config({
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: flowableBasePath + "oiling003", params: {rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "oiling003", params: {rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadOilingTable(); loadOilingTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2, time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
...@@ -108,10 +108,10 @@ layui.config({ ...@@ -108,10 +108,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadOilingTable(); loadOilingTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -126,10 +126,10 @@ layui.config({ ...@@ -126,10 +126,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadOilingTable(); loadOilingTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
} }
......
...@@ -43,7 +43,7 @@ layui.config({ ...@@ -43,7 +43,7 @@ layui.config({
initDriver(); initDriver();
} }
}else{ }else{
winui.window.msg('状态值错误', {icon: 2,time: 2000}); winui.window.msg('状态值错误', {icon: 2, time: 2000});
} }
}); });
......
...@@ -66,7 +66,7 @@ layui.config({ ...@@ -66,7 +66,7 @@ layui.config({
initDriver(); initDriver();
} }
}else{ }else{
winui.window.msg('状态值错误', {icon: 2,time: 2000}); winui.window.msg('状态值错误', {icon: 2, time: 2000});
} }
}); });
......
...@@ -88,7 +88,7 @@ layui.config({ ...@@ -88,7 +88,7 @@ layui.config({
layer.confirm('确认撤销该用车申请吗?', {icon: 3, title: '撤销操作'}, function (index) { layer.confirm('确认撤销该用车申请吗?', {icon: 3, title: '撤销操作'}, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "vehicle022", params: {processInstanceId: data.processInstanceId}, type: 'json', method: "PUT", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "vehicle022", params: {processInstanceId: data.processInstanceId}, type: 'json', method: "PUT", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("提交成功", {icon: 1, time: 2000}); winui.window.msg("提交成功", {icon: 1, time: 2000});
loadTable(); loadTable();
}else{ }else{
...@@ -108,11 +108,11 @@ layui.config({ ...@@ -108,11 +108,11 @@ layui.config({
approvalId: approvalId approvalId: approvalId
}; };
AjaxPostUtil.request({url: flowableBasePath + "vehicle017", params: params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "vehicle017", params: params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("提交成功", {icon: 1,time: 2000}); winui.window.msg("提交成功", {icon: 1, time: 2000});
loadTable(); loadTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -124,11 +124,11 @@ layui.config({ ...@@ -124,11 +124,11 @@ layui.config({
layer.confirm('确认作废该条用车申请吗?', {icon: 3, title: '作废操作'}, function (index) { layer.confirm('确认作废该条用车申请吗?', {icon: 3, title: '作废操作'}, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "vehicle018", params: {rowId: data.id}, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "vehicle018", params: {rowId: data.id}, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -144,10 +144,10 @@ layui.config({ ...@@ -144,10 +144,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
} }
}); });
...@@ -162,10 +162,10 @@ layui.config({ ...@@ -162,10 +162,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
}); });
......
...@@ -83,7 +83,7 @@ layui.config({ ...@@ -83,7 +83,7 @@ layui.config({
*/ */
function loadListMation(appId){ function loadListMation(appId){
AjaxPostUtil.request({url: reqBasePath + "queryAllSysEveReqMapping", params: {appId: appId}, type: 'json', method: "GET", callback: function(json){ AjaxPostUtil.request({url: reqBasePath + "queryAllSysEveReqMapping", params: {appId: appId}, type: 'json', method: "GET", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
// 1.模块 // 1.模块
model = loadModel(json); model = loadModel(json);
$("#modelId").html(getDataUseHandlebars(getFileContent('tpl/template/select-option-must.tpl'), {rows: model})); $("#modelId").html(getDataUseHandlebars(getFileContent('tpl/template/select-option-must.tpl'), {rows: model}));
...@@ -221,7 +221,7 @@ layui.config({ ...@@ -221,7 +221,7 @@ layui.config({
rowId: $(this).attr("rowid") rowId: $(this).attr("rowid")
}; };
AjaxPostUtil.request({url: reqBasePath + "queryApiDetails", params: params, type: 'json', method: "GET", callback: function(json){ AjaxPostUtil.request({url: reqBasePath + "queryApiDetails", params: params, type: 'json', method: "GET", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
var str = getDataUseHandlebars(fileMationTemplate, json); var str = getDataUseHandlebars(fileMationTemplate, json);
$("#contentDesc").html(str); $("#contentDesc").html(str);
active[type] ? active[type].call(this) : ''; active[type] ? active[type].call(this) : '';
...@@ -267,7 +267,7 @@ layui.config({ ...@@ -267,7 +267,7 @@ layui.config({
function loadDefaultMain(){ function loadDefaultMain(){
AjaxPostUtil.request({url: reqBasePath + "queryLimitRestrictions", params: {}, type: 'json', method: "GET", callback: function(json){ AjaxPostUtil.request({url: reqBasePath + "queryLimitRestrictions", params: {}, type: 'json', method: "GET", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
var item = {}; var item = {};
item.reception = getReceptionLimitMation(); item.reception = getReceptionLimitMation();
item.backstage = json.rows; item.backstage = json.rows;
...@@ -295,7 +295,7 @@ layui.config({ ...@@ -295,7 +295,7 @@ layui.config({
}; };
var fileName = $("#apiMicroservicesId").find("option:selected").text() + "-" + $(this).attr("fileName"); var fileName = $("#apiMicroservicesId").find("option:selected").text() + "-" + $(this).attr("fileName");
AjaxPostUtil.request({url: reqBasePath + "queryApiDetails", params: params, type: 'json', method: "GET", callback: function(json){ AjaxPostUtil.request({url: reqBasePath + "queryApiDetails", params: params, type: 'json', method: "GET", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
var str = getDataUseHandlebars(getFileContent('tpl/apiPage/mdModelFile.tpl'), json); var str = getDataUseHandlebars(getFileContent('tpl/apiPage/mdModelFile.tpl'), json);
sysFileUtil.saveAs(new Blob([str]), fileName); sysFileUtil.saveAs(new Blob([str]), fileName);
}else{ }else{
......
...@@ -74,10 +74,10 @@ layui.config({ ...@@ -74,10 +74,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -92,10 +92,10 @@ layui.config({ ...@@ -92,10 +92,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
} }
}); });
...@@ -111,10 +111,10 @@ layui.config({ ...@@ -111,10 +111,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
} }
}); });
...@@ -128,7 +128,7 @@ layui.config({ ...@@ -128,7 +128,7 @@ layui.config({
id: data.id, id: data.id,
}; };
AjaxPostUtil.request({url: flowableBasePath + "submitBossInterviewArrangement", params: params, type: 'json', method: "PUT", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "submitBossInterviewArrangement", params: params, type: 'json', method: "PUT", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("提交成功", {icon: 1, time: 2000}); winui.window.msg("提交成功", {icon: 1, time: 2000});
loadTable(); loadTable();
}else{ }else{
...@@ -143,7 +143,7 @@ layui.config({ ...@@ -143,7 +143,7 @@ layui.config({
layer.confirm('确认作废该申请吗?', { icon: 3, title: '作废操作' }, function (index) { layer.confirm('确认作废该申请吗?', { icon: 3, title: '作废操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "nullifyBossInterviewArrangement", params: {id: data.id}, type: 'json', method: "PUT", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "nullifyBossInterviewArrangement", params: {id: data.id}, type: 'json', method: "PUT", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
}else{ }else{
......
...@@ -66,10 +66,10 @@ layui.config({ ...@@ -66,10 +66,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
} }
}); });
......
...@@ -48,15 +48,15 @@ layui.config({ ...@@ -48,15 +48,15 @@ layui.config({
function saveData(subType, approvalId) { function saveData(subType, approvalId) {
if(isNull(organizationUtil.getCompanyMation(dtree)['nodeId'])){ if(isNull(organizationUtil.getCompanyMation(dtree)['nodeId'])){
winui.window.msg('请选择企业', {icon: 2,time: 2000}); winui.window.msg('请选择企业', {icon: 2, time: 2000});
return false; return false;
} }
if(isNull(organizationUtil.getDepartmentMation(dtree)['nodeId'])){ if(isNull(organizationUtil.getDepartmentMation(dtree)['nodeId'])){
winui.window.msg('请选择部门', {icon: 2,time: 2000}); winui.window.msg('请选择部门', {icon: 2, time: 2000});
return false; return false;
} }
if(isNull(organizationUtil.getJobMation(dtree)['nodeId'])){ if(isNull(organizationUtil.getJobMation(dtree)['nodeId'])){
winui.window.msg('请选择岗位', {icon: 2,time: 2000}); winui.window.msg('请选择岗位', {icon: 2, time: 2000});
return false; return false;
} }
var params = { var params = {
......
...@@ -82,15 +82,15 @@ layui.config({ ...@@ -82,15 +82,15 @@ layui.config({
function saveData(subType, approvalId){ function saveData(subType, approvalId){
if(isNull(organizationUtil.getCompanyMation(dtree)['nodeId'])){ if(isNull(organizationUtil.getCompanyMation(dtree)['nodeId'])){
winui.window.msg('请选择企业', {icon: 2,time: 2000}); winui.window.msg('请选择企业', {icon: 2, time: 2000});
return false; return false;
} }
if(isNull(organizationUtil.getDepartmentMation(dtree)['nodeId'])){ if(isNull(organizationUtil.getDepartmentMation(dtree)['nodeId'])){
winui.window.msg('请选择部门', {icon: 2,time: 2000}); winui.window.msg('请选择部门', {icon: 2, time: 2000});
return false; return false;
} }
if(isNull(organizationUtil.getJobMation(dtree)['nodeId'])){ if(isNull(organizationUtil.getJobMation(dtree)['nodeId'])){
winui.window.msg('请选择岗位', {icon: 2,time: 2000}); winui.window.msg('请选择岗位', {icon: 2, time: 2000});
return false; return false;
} }
var params = { var params = {
......
...@@ -94,10 +94,10 @@ layui.config({ ...@@ -94,10 +94,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -107,7 +107,7 @@ layui.config({ ...@@ -107,7 +107,7 @@ layui.config({
layer.confirm('确认撤销该申请吗?', { icon: 3, title: '撤销操作' }, function (index) { layer.confirm('确认撤销该申请吗?', { icon: 3, title: '撤销操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "revokeBossInterviewJobTransfer", params: {processInstanceId: data.processInstanceId}, type: 'json', method: "PUT", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "revokeBossInterviewJobTransfer", params: {processInstanceId: data.processInstanceId}, type: 'json', method: "PUT", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("提交成功", {icon: 1, time: 2000}); winui.window.msg("提交成功", {icon: 1, time: 2000});
loadTable(); loadTable();
}else{ }else{
...@@ -127,10 +127,10 @@ layui.config({ ...@@ -127,10 +127,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
} }
}); });
...@@ -146,7 +146,7 @@ layui.config({ ...@@ -146,7 +146,7 @@ layui.config({
approvalId: approvalId approvalId: approvalId
}; };
AjaxPostUtil.request({url: flowableBasePath + "editBossInterviewJobTransferToSubApproval", params: params, type: 'json', method: "POST", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "editBossInterviewJobTransferToSubApproval", params: params, type: 'json', method: "POST", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("提交成功", {icon: 1, time: 2000}); winui.window.msg("提交成功", {icon: 1, time: 2000});
loadTable(); loadTable();
}else{ }else{
...@@ -162,7 +162,7 @@ layui.config({ ...@@ -162,7 +162,7 @@ layui.config({
layer.confirm('确认作废该申请吗?', { icon: 3, title: '作废操作' }, function (index) { layer.confirm('确认作废该申请吗?', { icon: 3, title: '作废操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "updateBossInterviewJobTransferToCancellation", params: {id: data.id}, type: 'json', method: "PUT", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "updateBossInterviewJobTransferToCancellation", params: {id: data.id}, type: 'json', method: "PUT", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
}else{ }else{
......
...@@ -82,10 +82,10 @@ layui.config({ ...@@ -82,10 +82,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -95,7 +95,7 @@ layui.config({ ...@@ -95,7 +95,7 @@ layui.config({
layer.confirm('确认撤销该申请吗?', { icon: 3, title: '撤销操作' }, function (index) { layer.confirm('确认撤销该申请吗?', { icon: 3, title: '撤销操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "revokeBossInterviewQuit", params: {processInstanceId: data.processInstanceId}, type: 'json', method: "PUT", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "revokeBossInterviewQuit", params: {processInstanceId: data.processInstanceId}, type: 'json', method: "PUT", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("提交成功", {icon: 1, time: 2000}); winui.window.msg("提交成功", {icon: 1, time: 2000});
loadTable(); loadTable();
}else{ }else{
...@@ -115,10 +115,10 @@ layui.config({ ...@@ -115,10 +115,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
} }
}); });
...@@ -134,7 +134,7 @@ layui.config({ ...@@ -134,7 +134,7 @@ layui.config({
approvalId: approvalId approvalId: approvalId
}; };
AjaxPostUtil.request({url: flowableBasePath + "editBossInterviewQuitToSubApproval", params: params, type: 'json', method: "POST", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "editBossInterviewQuitToSubApproval", params: params, type: 'json', method: "POST", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("提交成功", {icon: 1, time: 2000}); winui.window.msg("提交成功", {icon: 1, time: 2000});
loadTable(); loadTable();
}else{ }else{
...@@ -150,7 +150,7 @@ layui.config({ ...@@ -150,7 +150,7 @@ layui.config({
layer.confirm('确认作废该申请吗?', { icon: 3, title: '作废操作' }, function (index) { layer.confirm('确认作废该申请吗?', { icon: 3, title: '作废操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "updateBossInterviewQuitToCancellation", params: {id: data.id}, type: 'json', method: "PUT", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "updateBossInterviewQuitToCancellation", params: {id: data.id}, type: 'json', method: "PUT", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
}else{ }else{
......
...@@ -81,10 +81,10 @@ layui.config({ ...@@ -81,10 +81,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -94,7 +94,7 @@ layui.config({ ...@@ -94,7 +94,7 @@ layui.config({
layer.confirm('确认撤销该申请吗?', { icon: 3, title: '撤销操作' }, function (index) { layer.confirm('确认撤销该申请吗?', { icon: 3, title: '撤销操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "revokeBossInterviewRegularWorker", params: {processInstanceId: data.processInstanceId}, type: 'json', method: "PUT", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "revokeBossInterviewRegularWorker", params: {processInstanceId: data.processInstanceId}, type: 'json', method: "PUT", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("提交成功", {icon: 1, time: 2000}); winui.window.msg("提交成功", {icon: 1, time: 2000});
loadTable(); loadTable();
}else{ }else{
...@@ -114,10 +114,10 @@ layui.config({ ...@@ -114,10 +114,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
} }
}); });
...@@ -133,7 +133,7 @@ layui.config({ ...@@ -133,7 +133,7 @@ layui.config({
approvalId: approvalId approvalId: approvalId
}; };
AjaxPostUtil.request({url: flowableBasePath + "editBossInterviewRegularWorkerToSubApproval", params: params, type: 'json', method: "POST", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "editBossInterviewRegularWorkerToSubApproval", params: params, type: 'json', method: "POST", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("提交成功", {icon: 1, time: 2000}); winui.window.msg("提交成功", {icon: 1, time: 2000});
loadTable(); loadTable();
}else{ }else{
...@@ -149,7 +149,7 @@ layui.config({ ...@@ -149,7 +149,7 @@ layui.config({
layer.confirm('确认作废该申请吗?', { icon: 3, title: '作废操作' }, function (index) { layer.confirm('确认作废该申请吗?', { icon: 3, title: '作废操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "updateBossInterviewRegularWorkerToCancellation", params: {id: data.id}, type: 'json', method: "PUT", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "updateBossInterviewRegularWorkerToCancellation", params: {id: data.id}, type: 'json', method: "PUT", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
}else{ }else{
......
...@@ -59,11 +59,11 @@ layui.config({ ...@@ -59,11 +59,11 @@ layui.config({
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: flowableBasePath + "bossInterviewee003", params:{id: data.id}, type: 'json', method: "DELETE", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "bossInterviewee003", params:{id: data.id}, type: 'json', method: "DELETE", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
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();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -79,10 +79,10 @@ layui.config({ ...@@ -79,10 +79,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
} }
}); });
......
...@@ -65,10 +65,10 @@ layui.config({ ...@@ -65,10 +65,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -78,11 +78,11 @@ layui.config({ ...@@ -78,11 +78,11 @@ layui.config({
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: flowableBasePath + "bossInterviewee003", params:{id: data.id}, type: 'json', method: "DELETE", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "bossInterviewee003", params:{id: data.id}, type: 'json', method: "DELETE", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
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();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -98,10 +98,10 @@ layui.config({ ...@@ -98,10 +98,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
} }
}); });
......
...@@ -27,7 +27,7 @@ layui.config({ ...@@ -27,7 +27,7 @@ layui.config({
desc: $("#desc").val() desc: $("#desc").val()
}; };
AjaxPostUtil.request({url: flowableBasePath + "bossIntervieweeFrom002", params: params, type: 'json', method: "POST", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "bossIntervieweeFrom002", params: params, type: 'json', method: "POST", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
......
...@@ -36,7 +36,7 @@ layui.config({ ...@@ -36,7 +36,7 @@ layui.config({
}; };
AjaxPostUtil.request({url: flowableBasePath + "bossIntervieweeFrom005", params: params, type: 'json', method: "PUT", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "bossIntervieweeFrom005", params: params, type: 'json', method: "PUT", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
......
...@@ -57,10 +57,10 @@ layui.config({ ...@@ -57,10 +57,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -70,11 +70,11 @@ layui.config({ ...@@ -70,11 +70,11 @@ layui.config({
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: flowableBasePath + "bossIntervieweeFrom003", params:{id: data.id}, type: 'json', method: "DELETE", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "bossIntervieweeFrom003", params:{id: data.id}, type: 'json', method: "DELETE", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
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();
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -90,10 +90,10 @@ layui.config({ ...@@ -90,10 +90,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
} }
}); });
......
...@@ -66,10 +66,10 @@ layui.config({ ...@@ -66,10 +66,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
} }
}); });
......
...@@ -78,10 +78,10 @@ layui.config({ ...@@ -78,10 +78,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
} }
}); });
......
...@@ -86,10 +86,10 @@ layui.config({ ...@@ -86,10 +86,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
}}); }});
}); });
...@@ -99,7 +99,7 @@ layui.config({ ...@@ -99,7 +99,7 @@ layui.config({
layer.confirm('确认撤销该申请吗?', { icon: 3, title: '撤销操作' }, function (index) { layer.confirm('确认撤销该申请吗?', { icon: 3, title: '撤销操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "revokeBossPersonRequire", params: {processInstanceId: data.processInstanceId}, type: 'json', method: "PUT", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "revokeBossPersonRequire", params: {processInstanceId: data.processInstanceId}, type: 'json', method: "PUT", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("提交成功", {icon: 1, time: 2000}); winui.window.msg("提交成功", {icon: 1, time: 2000});
loadTable(); loadTable();
}else{ }else{
...@@ -119,10 +119,10 @@ layui.config({ ...@@ -119,10 +119,10 @@ layui.config({
area: ['90vw', '90vh'], area: ['90vw', '90vh'],
callBack: function(refreshCode){ callBack: function(refreshCode){
if (refreshCode == '0') { if (refreshCode == '0') {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
} else if (refreshCode == '-9999') { } else if (refreshCode == '-9999') {
winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2,time: 2000}); winui.window.msg(systemLanguage["com.skyeye.operationFailed"][languageType], {icon: 2, time: 2000});
} }
} }
}); });
...@@ -138,7 +138,7 @@ layui.config({ ...@@ -138,7 +138,7 @@ layui.config({
approvalId: approvalId approvalId: approvalId
}; };
AjaxPostUtil.request({url: flowableBasePath + "editBossPersonRequireToSubApproval", params: params, type: 'json', method: "POST", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "editBossPersonRequireToSubApproval", params: params, type: 'json', method: "POST", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg("提交成功", {icon: 1, time: 2000}); winui.window.msg("提交成功", {icon: 1, time: 2000});
loadTable(); loadTable();
}else{ }else{
...@@ -154,7 +154,7 @@ layui.config({ ...@@ -154,7 +154,7 @@ layui.config({
layer.confirm('确认作废该申请吗?', { icon: 3, title: '作废操作' }, function (index) { layer.confirm('确认作废该申请吗?', { icon: 3, title: '作废操作' }, function (index) {
layer.close(index); layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "updateBossPersonRequireToCancellation", params: {id: data.id}, type: 'json', method: "PUT", callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "updateBossPersonRequireToCancellation", params: {id: data.id}, type: 'json', method: "PUT", callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000}); winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable(); loadTable();
}else{ }else{
......
...@@ -107,11 +107,11 @@ layui.config({ ...@@ -107,11 +107,11 @@ layui.config({
form.on('submit(formAddBean)', function (data) { form.on('submit(formAddBean)', function (data) {
if (winui.verifyForm(data.elem)) { if (winui.verifyForm(data.elem)) {
if(isNull(workId)){ if(isNull(workId)){
winui.window.msg('请选择申诉内容', {icon: 2,time: 2000}); winui.window.msg('请选择申诉内容', {icon: 2, time: 2000});
return false; return false;
} }
if(isNull(appealReasonId)){ if(isNull(appealReasonId)){
winui.window.msg('请选择申诉原因类型', {icon: 2,time: 2000}); winui.window.msg('请选择申诉原因类型', {icon: 2, time: 2000});
return false; return false;
} }
var params = { var params = {
...@@ -123,15 +123,15 @@ layui.config({ ...@@ -123,15 +123,15 @@ layui.config({
}; };
if(!isNull($("#approvalId").val()) && !isNull(ids)){ if(!isNull($("#approvalId").val()) && !isNull(ids)){
AjaxPostUtil.request({url: flowableBasePath + "checkwork005", params:params, type: 'json', callback: function(json){ AjaxPostUtil.request({url: flowableBasePath + "checkwork005", params:params, type: 'json', callback: function(json){
if(json.returnCode == 0){ if (json.returnCode == 0) {
parent.layer.close(index); parent.layer.close(index);
parent.refreshCode = '0'; parent.refreshCode = '0';
}else{ }else{
winui.window.msg(json.returnMessage, {icon: 2,time: 2000}); winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
} }
}}); }});
}else{ }else{
winui.window.msg("请选择审批人!", {icon: 2,time: 2000}); winui.window.msg("请选择审批人!", {icon: 2, time: 2000});
} }
} }
return false; return false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册