diff --git a/erp/src/main/resources/template/js/material/materialList.js b/erp/src/main/resources/template/js/material/materialList.js
index 2cf336ca069a6b050452161bd270095419e98e85..79844a9e07a75d3984ce66d8168fc58330eba212 100644
--- a/erp/src/main/resources/template/js/material/materialList.js
+++ b/erp/src/main/resources/template/js/material/materialList.js
@@ -27,7 +27,7 @@ layui.config({
cols: [[
{ title: systemLanguage["com.skyeye.serialNumber"][languageType], type: 'numbers' },
{ field: 'name', title: '商品名称', align: 'left', width: 150, templet: function (d) {
- return '' + d.name + '';
+ return '' + d.name + '';
}},
{ field: 'model', title: '型号', align: 'left', width: 150 },
{ field: 'categoryName', title: '所属类型', width: 100 },
diff --git a/organization/src/main/resources/template/js/companydepartment/companydepartmentadd.js b/organization/src/main/resources/template/js/companyDepartment/companyDepartmentAdd.js
similarity index 100%
rename from organization/src/main/resources/template/js/companydepartment/companydepartmentadd.js
rename to organization/src/main/resources/template/js/companyDepartment/companyDepartmentAdd.js
diff --git a/organization/src/main/resources/template/js/companydepartment/companyDepartmentChooseList.js b/organization/src/main/resources/template/js/companyDepartment/companyDepartmentChooseList.js
similarity index 100%
rename from organization/src/main/resources/template/js/companydepartment/companyDepartmentChooseList.js
rename to organization/src/main/resources/template/js/companyDepartment/companyDepartmentChooseList.js
diff --git a/organization/src/main/resources/template/js/companydepartment/companydepartmentedit.js b/organization/src/main/resources/template/js/companyDepartment/companyDepartmentEdit.js
similarity index 96%
rename from organization/src/main/resources/template/js/companydepartment/companydepartmentedit.js
rename to organization/src/main/resources/template/js/companyDepartment/companyDepartmentEdit.js
index a7ee534b9a59ac1fbe4a98d808b977be7b325d1c..9e552d4d4b339535e4439c01b64b6053210b45d4 100644
--- a/organization/src/main/resources/template/js/companydepartment/companydepartmentedit.js
+++ b/organization/src/main/resources/template/js/companyDepartment/companyDepartmentEdit.js
@@ -18,11 +18,10 @@ layui.config({
url: reqBasePath + "companydepartment004",
params: {rowId: parent.rowId},
pagination: false,
- template: getFileContent('tpl/companydepartment/companydepartmenteditTemplate.tpl'),
+ template: $("#beanTemplate").html(),
ajaxSendLoadBefore: function(hdb) {
},
ajaxSendAfter:function (json) {
-
$("#overtimeSettlementType").val(json.bean.overtimeSettlementType);
layedit.set({
@@ -83,7 +82,6 @@ layui.config({
// 加载公司数据
systemCommonUtil.getSysCompanyList(function(data) {
- // 加载企业数据
$("#companyId").html(getDataUseHandlebars(getFileContent('tpl/template/select-option.tpl'), data));
$("#companyId").val(json.bean.companyId);
});
diff --git a/organization/src/main/resources/template/js/companydepartment/companydepartmentlist.js b/organization/src/main/resources/template/js/companyDepartment/companyDepartmentList.js
similarity index 94%
rename from organization/src/main/resources/template/js/companydepartment/companydepartmentlist.js
rename to organization/src/main/resources/template/js/companyDepartment/companyDepartmentList.js
index 3d98e1ebcd6fa9cf4755ceaa1c76f737fe22d89e..86471c9ba958c5b790dae52ec355e6c19c75bfa8 100644
--- a/organization/src/main/resources/template/js/companydepartment/companydepartmentlist.js
+++ b/organization/src/main/resources/template/js/companyDepartment/companyDepartmentList.js
@@ -93,9 +93,9 @@ layui.config({
function edit(data) {
rowId = data.id;
_openNewWindows({
- url: "../../tpl/companydepartment/companydepartmentedit.html",
+ url: "../../tpl/companyDepartment/companyDepartmentEdit.html",
title: systemLanguage["com.skyeye.editPageTitle"][languageType],
- pageId: "companydepartmentedit",
+ pageId: "companyDepartmentEdit",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
@@ -106,9 +106,9 @@ layui.config({
// 新增
$("body").on("click", "#addBean", function() {
_openNewWindows({
- url: "../../tpl/companydepartment/companydepartmentadd.html",
+ url: "../../tpl/companyDepartment/companyDepartmentAdd.html",
title: systemLanguage["com.skyeye.addPageTitle"][languageType],
- pageId: "companydepartmentadd",
+ pageId: "companyDepartmentAdd",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
@@ -137,5 +137,5 @@ layui.config({
}
}
- exports('companydepartmentlist', {});
+ exports('companyDepartmentList', {});
});
diff --git a/organization/src/main/resources/template/js/companyjob/companyjobadd.js b/organization/src/main/resources/template/js/companyJob/companyJobAdd.js
similarity index 100%
rename from organization/src/main/resources/template/js/companyjob/companyjobadd.js
rename to organization/src/main/resources/template/js/companyJob/companyJobAdd.js
diff --git a/organization/src/main/resources/template/js/companyjob/companyjobedit.js b/organization/src/main/resources/template/js/companyJob/companyJobEdit.js
similarity index 99%
rename from organization/src/main/resources/template/js/companyjob/companyjobedit.js
rename to organization/src/main/resources/template/js/companyJob/companyJobEdit.js
index 16c5826f0aad7f6e222a5044ce822967a26579a1..d2b7b2c93c934c237154b101cef08f6bdcc13b9f 100644
--- a/organization/src/main/resources/template/js/companyjob/companyjobedit.js
+++ b/organization/src/main/resources/template/js/companyJob/companyJobEdit.js
@@ -22,7 +22,7 @@ layui.config({
url: reqBasePath + "companyjob004",
params: {rowId: parent.rowId},
pagination: false,
- template: getFileContent('tpl/companyjob/companyjobeditTemplate.tpl'),
+ template: $("#beanTemplate").html(),
ajaxSendLoadBefore: function(hdb) {
},
ajaxSendAfter:function (json) {
diff --git a/organization/src/main/resources/template/js/companyjob/companyjoblist.js b/organization/src/main/resources/template/js/companyJob/companyJobList.js
similarity index 93%
rename from organization/src/main/resources/template/js/companyjob/companyjoblist.js
rename to organization/src/main/resources/template/js/companyJob/companyJobList.js
index 15e2c5d8fdfa2c0c1990465a4ee48b826ed4ed7c..0f948e9acf055f0b577a13ebec23a2a01458cc4b 100644
--- a/organization/src/main/resources/template/js/companyjob/companyjoblist.js
+++ b/organization/src/main/resources/template/js/companyJob/companyJobList.js
@@ -54,6 +54,7 @@ layui.config({
url: reqBasePath + 'companyjob001',
where: getTableParams(),
cols: [[
+ { title: systemLanguage["com.skyeye.serialNumber"][languageType], type: 'numbers' },
{ field: 'jobName', title: '职位名称', width: 180 },
{ field: 'id', title: '职位简介', width: 80, align: 'center', templet: function (d) {
return '';
@@ -62,7 +63,7 @@ layui.config({
{ field: 'companyName', title: '所属公司', width: 150 },
{ field: 'departmentName', title: '所属部门', width: 100 },
{ field: 'createTime', title: systemLanguage["com.skyeye.createTime"][languageType], width: 150 },
- { title: systemLanguage["com.skyeye.operation"][languageType], fixed: 'right', align: 'center', width: 240, toolbar: '#tableBar'}
+ { title: systemLanguage["com.skyeye.operation"][languageType], fixed: 'right', align: 'center', width: 240, toolbar: '#tableBar' }
]],
done: function(json) {
matchingLanguage();
@@ -103,7 +104,7 @@ layui.config({
return false;
});
- //删除
+ // 删除
function del(data, obj) {
layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function (index) {
layer.close(index);
@@ -114,13 +115,13 @@ layui.config({
});
}
- //编辑
+ // 编辑
function edit(data) {
rowId = data.id;
_openNewWindows({
- url: "../../tpl/companyjob/companyjobedit.html",
+ url: "../../tpl/companyJob/companyJobEdit.html",
title: systemLanguage["com.skyeye.editPageTitle"][languageType],
- pageId: "companyjobedit",
+ pageId: "companyJobEdit",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
@@ -148,9 +149,9 @@ layui.config({
// 新增
$("body").on("click", "#addBean", function() {
_openNewWindows({
- url: "../../tpl/companyjob/companyjobadd.html",
+ url: "../../tpl/companyJob/companyJobAdd.html",
title: systemLanguage["com.skyeye.addPageTitle"][languageType],
- pageId: "companyjobadd",
+ pageId: "companyJobAdd",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
@@ -170,5 +171,5 @@ layui.config({
};
}
- exports('companyjoblist', {});
+ exports('companyJobList', {});
});
diff --git a/organization/src/main/resources/template/js/companymation/companyChooseList.js b/organization/src/main/resources/template/js/companyMation/companyChooseList.js
similarity index 100%
rename from organization/src/main/resources/template/js/companymation/companyChooseList.js
rename to organization/src/main/resources/template/js/companyMation/companyChooseList.js
diff --git a/organization/src/main/resources/template/js/companymation/companymationadd.js b/organization/src/main/resources/template/js/companyMation/companyMationAdd.js
similarity index 100%
rename from organization/src/main/resources/template/js/companymation/companymationadd.js
rename to organization/src/main/resources/template/js/companyMation/companyMationAdd.js
diff --git a/organization/src/main/resources/template/js/companymation/companymationedit.js b/organization/src/main/resources/template/js/companyMation/companyMationEdit.js
similarity index 100%
rename from organization/src/main/resources/template/js/companymation/companymationedit.js
rename to organization/src/main/resources/template/js/companyMation/companyMationEdit.js
diff --git a/organization/src/main/resources/template/js/companymation/companymationlist.js b/organization/src/main/resources/template/js/companyMation/companyMationList.js
similarity index 90%
rename from organization/src/main/resources/template/js/companymation/companymationlist.js
rename to organization/src/main/resources/template/js/companyMation/companyMationList.js
index 0cc680803d313daef7171168eae57badb3867263..43008a7431dfa9808401465260dcdfadfc548d1b 100644
--- a/organization/src/main/resources/template/js/companymation/companymationlist.js
+++ b/organization/src/main/resources/template/js/companyMation/companyMationList.js
@@ -13,7 +13,6 @@ layui.config({
tableTree = layui.tableTreeDj;
authBtn('1552959308337');
- // 公司列表
tableTree.render({
id: 'messageTable',
elem: '#messageTable',
@@ -21,6 +20,7 @@ layui.config({
url: reqBasePath + 'companymation001',
where:{companyName: $("#companyName").val()},
cols: [[
+ { title: systemLanguage["com.skyeye.serialNumber"][languageType], type: 'numbers' },
{ field: 'companyName', width: 300, title: '公司名称'},
{ field: 'companyDesc', width: 80, title: '公司简介', align: 'center', templet: function (d) {
return '';
@@ -43,8 +43,8 @@ layui.config({
}
return str;
}},
- { field:'createTime', width:150, align: 'center', title: systemLanguage["com.skyeye.entryTime"][languageType]},
- { title: systemLanguage["com.skyeye.operation"][languageType], fixed: 'right', align: 'center', width: 240, toolbar: '#tableBar'}
+ { field:'createTime', width:150, align: 'center', title: systemLanguage["com.skyeye.entryTime"][languageType] },
+ { title: systemLanguage["com.skyeye.operation"][languageType], fixed: 'right', align: 'center', width: 240, toolbar: '#tableBar' }
]],
isPage:false,
done: function(json) {
@@ -83,7 +83,7 @@ layui.config({
return false;
});
- //删除
+ // 删除
function del(data, obj) {
layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function (index) {
layer.close(index);
@@ -94,13 +94,13 @@ layui.config({
});
}
- //编辑
+ // 编辑
function edit(data) {
rowId = data.id;
_openNewWindows({
- url: "../../tpl/companymation/companymationedit.html",
+ url: "../../tpl/companyMation/companyMationEdit.html",
title: systemLanguage["com.skyeye.editPageTitle"][languageType],
- pageId: "companymationedit",
+ pageId: "companyMationEdit",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
@@ -108,17 +108,17 @@ layui.config({
}});
}
- //刷新数据
+ // 刷新数据
$("body").on("click", "#reloadTable", function() {
loadTable();
});
- //新增
+ // 新增
$("body").on("click", "#addBean", function() {
_openNewWindows({
- url: "../../tpl/companymation/companymationadd.html",
+ url: "../../tpl/companyMation/companyMationAdd.html",
title: systemLanguage["com.skyeye.addPageTitle"][languageType],
- pageId: "companymationadd",
+ pageId: "companyMationAdd",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
@@ -130,5 +130,5 @@ layui.config({
tableTree.reload("messageTable", {where:{companyName: $("#companyName").val()}});
}
- exports('companymationlist', {});
+ exports('companyMationList', {});
});
diff --git a/organization/src/main/resources/template/tpl/companydepartment/companydepartmentadd.html b/organization/src/main/resources/template/tpl/companyDepartment/companyDepartmentAdd.html
similarity index 96%
rename from organization/src/main/resources/template/tpl/companydepartment/companydepartmentadd.html
rename to organization/src/main/resources/template/tpl/companyDepartment/companyDepartmentAdd.html
index 836137998945a39b05166a4bb67cd8b8f2de7369..191483c81d1dd314f8a5ea0998d692ef9ea83f44 100644
--- a/organization/src/main/resources/template/tpl/companydepartment/companydepartmentadd.html
+++ b/organization/src/main/resources/template/tpl/companyDepartment/companyDepartmentAdd.html
@@ -52,7 +52,7 @@