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

【EHR】EHR模块拆分微服务完成

上级 96329d46
......@@ -18,7 +18,7 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: reqBasePath + 'sysstaffarchives001',
url: sysMainMation.ehrBasePath + 'sysstaffarchives001',
where: getTableParams(),
even: true,
page: true,
......
......@@ -45,7 +45,7 @@ layui.config({
staffId: parent.staffId,
enclosureInfo: skyeyeEnclosure.getEnclosureIdsByBoxId('enclosureUpload')
};
AjaxPostUtil.request({url: reqBasePath + "sysstaffarchives005", params: params, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstaffarchives005", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
......
......@@ -17,7 +17,7 @@ layui.config({
showGrid({
id: "showForm",
url: reqBasePath + "sysstaffarchives006",
url: sysMainMation.ehrBasePath + "sysstaffarchives006",
params: {rowId: parent.rowId},
pagination: false,
method: "GET",
......@@ -60,7 +60,7 @@ layui.config({
rowId: parent.rowId,
enclosureInfo: skyeyeEnclosure.getEnclosureIdsByBoxId('enclosureUpload')
};
AjaxPostUtil.request({url: reqBasePath + "sysstaffarchives007", params: params, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstaffarchives007", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
......
......@@ -19,7 +19,7 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: reqBasePath + 'sysstaffarchives002',
url: sysMainMation.ehrBasePath + 'sysstaffarchives002',
where: getTableParams(),
even: true,
page: true,
......
......@@ -23,7 +23,7 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: reqBasePath + 'sysstaffarchives004',
url: sysMainMation.ehrBasePath + 'sysstaffarchives004',
where: getTableParams(),
even: true,
page: true,
......
......@@ -19,7 +19,7 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: reqBasePath + 'sysstaffarchives003',
url: sysMainMation.ehrBasePath + 'sysstaffarchives003',
where: getTableParams(),
even: true,
page: true,
......
......@@ -36,7 +36,7 @@ layui.config({
staffId: parent.staffId,
enclosureInfo: skyeyeEnclosure.getEnclosureIdsByBoxId('enclosureUpload')
};
AjaxPostUtil.request({url: reqBasePath + "sysstaffcertificate002", params: params, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstaffcertificate002", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
......
......@@ -15,7 +15,7 @@ layui.config({
showGrid({
id: "showForm",
url: reqBasePath + "sysstaffcertificate003",
url: sysMainMation.ehrBasePath + "sysstaffcertificate003",
params: {rowId: parent.rowId},
pagination: false,
method: "GET",
......@@ -48,7 +48,7 @@ layui.config({
rowId: parent.rowId,
enclosureInfo: skyeyeEnclosure.getEnclosureIdsByBoxId('enclosureUpload')
};
AjaxPostUtil.request({url: reqBasePath + "sysstaffcertificate004", params: params, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstaffcertificate004", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
......
......@@ -18,7 +18,7 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: reqBasePath + 'sysstaffcertificate001',
url: sysMainMation.ehrBasePath + 'sysstaffcertificate001',
where: getTableParams(),
even: true,
page: true,
......@@ -94,7 +94,7 @@ layui.config({
function deleteRow(data){
layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index){
layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "sysstaffcertificate005", params:{rowId: data.id}, type: 'json', method: "DELETE", callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstaffcertificate005", params: {rowId: data.id}, type: 'json', method: "DELETE", callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
......
......@@ -26,7 +26,7 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: reqBasePath + 'sysstaffcertificate006',
url: sysMainMation.ehrBasePath + 'sysstaffcertificate006',
where: getTableParams(),
even: true,
page: true,
......@@ -115,7 +115,7 @@ layui.config({
function deleteRow(data){
layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index) {
layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "sysstaffcertificate005", params: {rowId: data.id}, type: 'json', method: "DELETE", callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstaffcertificate005", params: {rowId: data.id}, type: 'json', method: "DELETE", callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
......
......@@ -64,7 +64,7 @@ layui.config({
enclosureInfo: skyeyeEnclosure.getEnclosureIdsByBoxId('enclosureUpload'),
companyId: $("#companyId").val()
};
AjaxPostUtil.request({url: reqBasePath + "sysstaffcontract002", params: params, type: 'json', method: "POST", callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstaffcontract002", params: params, type: 'json', method: "POST", callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
......
......@@ -17,7 +17,7 @@ layui.config({
showGrid({
id: "showForm",
url: reqBasePath + "sysstaffcontract003",
url: sysMainMation.ehrBasePath + "sysstaffcontract003",
params: {rowId: parent.rowId},
pagination: false,
method: "GET",
......@@ -76,7 +76,7 @@ layui.config({
enclosureInfo: skyeyeEnclosure.getEnclosureIdsByBoxId('enclosureUpload'),
companyId: $("#companyId").val()
};
AjaxPostUtil.request({url: reqBasePath + "sysstaffcontract004", params: params, type: 'json', method: "PUT", callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstaffcontract004", params: params, type: 'json', method: "PUT", callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
......
......@@ -16,7 +16,7 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: reqBasePath + 'sysstaffcontract001',
url: sysMainMation.ehrBasePath + 'sysstaffcontract001',
where: getTableParams(),
even: true,
page: true,
......@@ -93,7 +93,7 @@ layui.config({
function deleteRow(data){
layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index){
layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "sysstaffcontract005", params:{rowId: data.id}, type: 'json', method: "DELETE", callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstaffcontract005", params: {rowId: data.id}, type: 'json', method: "DELETE", callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
......
......@@ -25,7 +25,7 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: reqBasePath + 'sysstaffcontract006',
url: sysMainMation.ehrBasePath + 'sysstaffcontract006',
where: getTableParams(),
even: true,
page: true,
......@@ -86,7 +86,7 @@ layui.config({
function signUp(data){
layer.confirm('确认签约该合同吗?', { icon: 3, title: '签约操作' }, function (index) {
layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "sysstaffcontract007", params:{rowId: data.id}, type: 'json', method: "GET", callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstaffcontract007", params: {rowId: data.id}, type: 'json', method: "GET", callback: function (json) {
winui.window.msg("签约成功", {icon: 1, time: 2000});
loadTable();
}});
......
......@@ -61,7 +61,7 @@ layui.config({
staffId: parent.staffId,
enclosureInfo: skyeyeEnclosure.getEnclosureIdsByBoxId('enclosureUpload')
};
AjaxPostUtil.request({url: reqBasePath + "sysstaffeducation002", params: params, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstaffeducation002", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
......
......@@ -15,7 +15,7 @@ layui.config({
showGrid({
id: "showForm",
url: reqBasePath + "sysstaffeducation003",
url: sysMainMation.ehrBasePath + "sysstaffeducation003",
params: {rowId: parent.rowId},
pagination: false,
method: "GET",
......@@ -72,7 +72,7 @@ layui.config({
rowId: parent.rowId,
enclosureInfo: skyeyeEnclosure.getEnclosureIdsByBoxId('enclosureUpload')
};
AjaxPostUtil.request({url: reqBasePath + "sysstaffeducation004", params: params, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstaffeducation004", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
......
......@@ -18,7 +18,7 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: reqBasePath + 'sysstaffeducation001',
url: sysMainMation.ehrBasePath + 'sysstaffeducation001',
where: getTableParams(),
even: true,
page: true,
......@@ -88,7 +88,7 @@ layui.config({
function deleteRow(data){
layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index){
layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "sysstaffeducation005", params:{rowId: data.id}, type: 'json', method: "DELETE", callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstaffeducation005", params: {rowId: data.id}, type: 'json', method: "DELETE", callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
......
......@@ -26,7 +26,7 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: reqBasePath + 'sysstaffeducation006',
url: sysMainMation.ehrBasePath + 'sysstaffeducation006',
where: getTableParams(),
even: true,
page: true,
......@@ -109,7 +109,7 @@ layui.config({
function deleteRow(data){
layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index){
layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "sysstaffeducation005", params:{rowId: data.id}, type: 'json', method: "DELETE", callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstaffeducation005", params: {rowId: data.id}, type: 'json', method: "DELETE", callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
......
......@@ -37,7 +37,7 @@ layui.config({
staffId: parent.staffId
};
AjaxPostUtil.request({url: reqBasePath + "sysstafffamily002", params: params, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstafffamily002", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
......
......@@ -13,7 +13,7 @@ layui.config({
showGrid({
id: "showForm",
url: reqBasePath + "sysstafffamily003",
url: sysMainMation.ehrBasePath + "sysstafffamily003",
params: {rowId: parent.rowId},
pagination: false,
method: "GET",
......@@ -49,7 +49,7 @@ layui.config({
rowId: parent.rowId
};
AjaxPostUtil.request({url: reqBasePath + "sysstafffamily004", params: params, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstafffamily004", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
......
......@@ -18,7 +18,7 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: reqBasePath + 'sysstafffamily001',
url: sysMainMation.ehrBasePath + 'sysstafffamily001',
where: getTableParams(),
even: true,
page: true,
......@@ -97,7 +97,7 @@ layui.config({
function deleteRow(data){
layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index){
layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "sysstafffamily005", params:{rowId: data.id}, type: 'json', method: "DELETE", callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstafffamily005", params: {rowId: data.id}, type: 'json', method: "DELETE", callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
......
......@@ -26,7 +26,7 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: reqBasePath + 'sysstafffamily006',
url: sysMainMation.ehrBasePath + 'sysstafffamily006',
where: getTableParams(),
even: true,
page: true,
......@@ -118,7 +118,7 @@ layui.config({
function deleteRow(data){
layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index){
layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "sysstafffamily005", params:{rowId: data.id}, type: 'json', method: "DELETE", callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstafffamily005", params: {rowId: data.id}, type: 'json', method: "DELETE", callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
......
......@@ -51,7 +51,7 @@ layui.config({
enclosureInfo: skyeyeEnclosure.getEnclosureIdsByBoxId('enclosureUpload')
};
AjaxPostUtil.request({url: reqBasePath + "sysstaffjobresume002", params: params, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstaffjobresume002", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
......
......@@ -14,7 +14,7 @@ layui.config({
showGrid({
id: "showForm",
url: reqBasePath + "sysstaffjobresume003",
url: sysMainMation.ehrBasePath + "sysstaffjobresume003",
params: {rowId: parent.rowId},
pagination: false,
method: "GET",
......@@ -61,7 +61,7 @@ layui.config({
enclosureInfo: skyeyeEnclosure.getEnclosureIdsByBoxId('enclosureUpload')
};
AjaxPostUtil.request({url: reqBasePath + "sysstaffjobresume004", params: params, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstaffjobresume004", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
......
......@@ -18,7 +18,7 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: reqBasePath + 'sysstaffjobresume001',
url: sysMainMation.ehrBasePath + 'sysstaffjobresume001',
where: getTableParams(),
even: true,
page: true,
......@@ -87,7 +87,7 @@ layui.config({
function deleteRow(data){
layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index){
layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "sysstaffjobresume005", params:{rowId: data.id}, type: 'json', method: "DELETE", callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstaffjobresume005", params: {rowId: data.id}, type: 'json', method: "DELETE", callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
......
......@@ -26,7 +26,7 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: reqBasePath + 'sysstaffjobresume006',
url: sysMainMation.ehrBasePath + 'sysstaffjobresume006',
where: getTableParams(),
even: true,
page: true,
......@@ -108,7 +108,7 @@ layui.config({
function deleteRow(data){
layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index){
layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "sysstaffjobresume005", params:{rowId: data.id}, type: 'json', method: "DELETE", callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstaffjobresume005", params: {rowId: data.id}, type: 'json', method: "DELETE", callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
......
......@@ -28,7 +28,7 @@ layui.config({
// 语种等级
showGrid({
id: "levelId",
url: reqBasePath + "sysstafflanguagelevel008",
url: sysMainMation.ehrBasePath + "sysstafflanguagelevel008",
params: {typeId: data.value},
pagination: false,
template: selTemplate,
......@@ -52,7 +52,7 @@ layui.config({
staffId: parent.staffId,
enclosureInfo: skyeyeEnclosure.getEnclosureIdsByBoxId('enclosureUpload')
};
AjaxPostUtil.request({url: reqBasePath + "sysstafflanguage002", params: params, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstafflanguage002", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
......
......@@ -17,7 +17,7 @@ layui.config({
showGrid({
id: "showForm",
url: reqBasePath + "sysstafflanguage003",
url: sysMainMation.ehrBasePath + "sysstafflanguage003",
params: {rowId: parent.rowId},
pagination: false,
method: "GET",
......@@ -31,7 +31,7 @@ layui.config({
// 语种等级
showGrid({
id: "levelId",
url: reqBasePath + "sysstafflanguagelevel008",
url: sysMainMation.ehrBasePath + "sysstafflanguagelevel008",
params: {typeId: $("#languageId").val()},
pagination: false,
template: selTemplate,
......@@ -50,7 +50,7 @@ layui.config({
// 语种等级
showGrid({
id: "levelId",
url: reqBasePath + "sysstafflanguagelevel008",
url: sysMainMation.ehrBasePath + "sysstafflanguagelevel008",
params: {typeId: data.value},
pagination: false,
template: selTemplate,
......@@ -76,7 +76,7 @@ layui.config({
rowId: parent.rowId,
enclosureInfo: skyeyeEnclosure.getEnclosureIdsByBoxId('enclosureUpload')
};
AjaxPostUtil.request({url: reqBasePath + "sysstafflanguage004", params: params, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstafflanguage004", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
......
......@@ -18,7 +18,7 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: reqBasePath + 'sysstafflanguage001',
url: sysMainMation.ehrBasePath + 'sysstafflanguage001',
where: getTableParams(),
even: true,
page: true,
......@@ -84,7 +84,7 @@ layui.config({
function deleteRow(data){
layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index){
layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "sysstafflanguage005", params:{rowId: data.id}, type: 'json', method: "DELETE", callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstafflanguage005", params: {rowId: data.id}, type: 'json', method: "DELETE", callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
......
......@@ -26,7 +26,7 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: reqBasePath + 'sysstafflanguage006',
url: sysMainMation.ehrBasePath + 'sysstafflanguage006',
where: getTableParams(),
even: true,
page: true,
......@@ -105,7 +105,7 @@ layui.config({
function deleteRow(data){
layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index){
layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "sysstafflanguage005", params:{rowId: data.id}, type: 'json', method: "DELETE", callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstafflanguage005", params: {rowId: data.id}, type: 'json', method: "DELETE", callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
......
......@@ -21,7 +21,7 @@ layui.config({
typeName: $("#typeName").val(),
typeId: $("#typeId").val()
};
AjaxPostUtil.request({url: reqBasePath + "sysstafflanguagelevel002", params: params, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstafflanguagelevel002", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
......
......@@ -12,7 +12,7 @@ layui.config({
showGrid({
id: "showForm",
url: reqBasePath + "sysstafflanguagelevel003",
url: sysMainMation.ehrBasePath + "sysstafflanguagelevel003",
params: {rowId: parent.rowId},
pagination: false,
template: getFileContent('tpl/sysStaffLanguageLevel/sysStaffLanguageLevelEditTemplate.tpl'),
......@@ -24,7 +24,7 @@ layui.config({
rowId: parent.rowId,
typeName: $("#typeName").val()
};
AjaxPostUtil.request({url: reqBasePath + "sysstafflanguagelevel004", params: params, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstafflanguagelevel004", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
......
......@@ -23,7 +23,7 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: reqBasePath + 'sysstafflanguagelevel001',
url: sysMainMation.ehrBasePath + 'sysstafflanguagelevel001',
where: getTableParams(),
even: true,
page: true,
......@@ -66,8 +66,7 @@ layui.config({
});
form.render();
}
// 添加
$("body").on("click", "#addBean", function() {
_openNewWindows({
......@@ -100,7 +99,7 @@ layui.config({
function delet(data){
layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index){
layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "sysstafflanguagelevel007", params:{rowId: data.id}, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstafflanguagelevel007", params: {rowId: data.id}, type: 'json', callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
......@@ -111,7 +110,7 @@ layui.config({
function up(data){
layer.confirm('确认启用选中数据吗?', { icon: 3, title: '启用操作' }, function (index) {
layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "sysstafflanguagelevel006", params:{rowId: data.id}, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstafflanguagelevel006", params: {rowId: data.id}, type: 'json', callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
......@@ -122,7 +121,7 @@ layui.config({
function down(data){
layer.confirm('确认禁用选中数据吗?', { icon: 3, title: '禁用操作' }, function (index) {
layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "sysstafflanguagelevel005", params:{rowId: data.id}, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstafflanguagelevel005", params: {rowId: data.id}, type: 'json', callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
......
......@@ -38,7 +38,7 @@ layui.config({
staffId: systemCommonUtil.checkStaffMation.id,
enclosureInfo: skyeyeEnclosure.getEnclosureIdsByBoxId('enclosureUpload')
};
AjaxPostUtil.request({url: reqBasePath + "sysstaffrewardpunish002", params: params, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstaffrewardpunish002", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
......
......@@ -15,7 +15,7 @@ layui.config({
showGrid({
id: "showForm",
url: reqBasePath + "sysstaffrewardpunish003",
url: sysMainMation.ehrBasePath + "sysstaffrewardpunish003",
params: {rowId: parent.rowId},
pagination: false,
method: "GET",
......@@ -54,7 +54,7 @@ layui.config({
rowId: parent.rowId,
enclosureInfo: skyeyeEnclosure.getEnclosureIdsByBoxId('enclosureUpload')
};
AjaxPostUtil.request({url: reqBasePath + "sysstaffrewardpunish004", params: params, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstaffrewardpunish004", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
......
......@@ -21,7 +21,7 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: reqBasePath + 'sysstaffrewardpunish001',
url: sysMainMation.ehrBasePath + 'sysstaffrewardpunish001',
where: getTableParams(),
even: true,
page: true,
......@@ -110,7 +110,7 @@ layui.config({
function deleteRow(data){
layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index){
layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "sysstaffrewardpunish005", params:{rowId: data.id}, type: 'json', method: "DELETE", callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstaffrewardpunish005", params: {rowId: data.id}, type: 'json', method: "DELETE", callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
......
......@@ -25,7 +25,7 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: reqBasePath + 'sysstaffrewardpunish006',
url: sysMainMation.ehrBasePath + 'sysstaffrewardpunish006',
where: getTableParams(),
even: true,
page: true,
......
......@@ -42,7 +42,7 @@ layui.config({
id: 'sysStaffFamilyTable',
elem: '#sysStaffFamilyTable',
method: 'post',
url: reqBasePath + 'sysstafffamily006',
url: sysMainMation.ehrBasePath + 'sysstafffamily006',
where: {staffId: staffId},
even: true,
page: true,
......@@ -93,7 +93,7 @@ layui.config({
id: 'sysStaffEducationTable',
elem: '#sysStaffEducationTable',
method: 'post',
url: reqBasePath + 'sysstaffeducation006',
url: sysMainMation.ehrBasePath + 'sysstaffeducation006',
where: {staffId: staffId},
even: true,
page: true,
......@@ -135,7 +135,7 @@ layui.config({
id: 'sysStaffJobTable',
elem: '#sysStaffJobTable',
method: 'post',
url: reqBasePath + 'sysstaffjobresume006',
url: sysMainMation.ehrBasePath + 'sysstaffjobresume006',
where: {staffId: staffId},
even: true,
page: true,
......@@ -176,7 +176,7 @@ layui.config({
id: 'sysStaffLanguageTable',
elem: '#sysStaffLanguageTable',
method: 'post',
url: reqBasePath + 'sysstafflanguage006',
url: sysMainMation.ehrBasePath + 'sysstafflanguage006',
where: {staffId: staffId},
even: true,
page: true,
......@@ -214,7 +214,7 @@ layui.config({
id: 'sysStaffCertificateTable',
elem: '#sysStaffCertificateTable',
method: 'post',
url: reqBasePath + 'sysstaffcertificate006',
url: sysMainMation.ehrBasePath + 'sysstaffcertificate006',
where: {staffId: staffId},
even: true,
page: true,
......@@ -262,7 +262,7 @@ layui.config({
id: 'sysStaffRewardTable',
elem: '#sysStaffRewardTable',
method: 'post',
url: reqBasePath + 'sysstaffrewardpunish006',
url: sysMainMation.ehrBasePath + 'sysstaffrewardpunish006',
where: {staffId: staffId},
even: true,
page: true,
......@@ -304,7 +304,7 @@ layui.config({
id: 'sysStaffContractTable',
elem: '#sysStaffContractTable',
method: 'post',
url: reqBasePath + 'sysstaffcontract006',
url: sysMainMation.ehrBasePath + 'sysstaffcontract006',
where: {staffId: staffId},
even: true,
page: true,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册