提交 3df87298 编写于 作者: doc_wei's avatar doc_wei

部分函数名调整

上级 83cdcb09
...@@ -67,7 +67,7 @@ layui.config({ ...@@ -67,7 +67,7 @@ layui.config({
elem: '#myGetTable', elem: '#myGetTable',
method: 'post', method: 'post',
url: flowableBasePath + 'checkwork007', url: flowableBasePath + 'checkwork007',
where: getTablePatams(), where: getTableParams(),
even: true, even: true,
page: true, page: true,
limits: getLimits(), limits: getLimits(),
...@@ -76,7 +76,7 @@ layui.config({ ...@@ -76,7 +76,7 @@ layui.config({
{ title: systemLanguage["com.skyeye.serialNumber"][languageType], type: 'numbers' }, { title: systemLanguage["com.skyeye.serialNumber"][languageType], type: 'numbers' },
{ field: 'checkDate', title: '申诉内容', align: 'left', width: 160, templet: function (d) { { field: 'checkDate', title: '申诉内容', align: 'left', width: 160, templet: function (d) {
var text = d.checkDate; var text = d.checkDate;
return text += d.situation; return text + d.situation;
}}, }},
{ field: 'appealName', title: '申诉原因', align: 'center', width: 100 }, { field: 'appealName', title: '申诉原因', align: 'center', width: 100 },
{ field: 'appealReason', title: '申诉具体原因', align: 'left', width: 170 }, { field: 'appealReason', title: '申诉具体原因', align: 'left', width: 170 },
...@@ -141,7 +141,7 @@ layui.config({ ...@@ -141,7 +141,7 @@ layui.config({
// 搜索员工考勤申诉审批 // 搜索员工考勤申诉审批
$("body").on("click", "#searchForm2", function() { $("body").on("click", "#searchForm2", function() {
table.reloadData("myGetTable", {page: {curr: 1}, where: getTablePatams()}); table.reloadData("myGetTable", {page: {curr: 1}, where: getTableParams()});
}); });
// 刷新员工考勤申诉审批 // 刷新员工考勤申诉审批
...@@ -150,10 +150,10 @@ layui.config({ ...@@ -150,10 +150,10 @@ layui.config({
}); });
function reloadMyGetTable(){ function reloadMyGetTable(){
table.reloadData("myGetTable", {where: getTablePatams()}); table.reloadData("myGetTable", {where: getTableParams()});
} }
function getTablePatams(){ function getTableParams(){
if(isNull($("#createId").val())) { if(isNull($("#createId").val())) {
createid = ""; createid = "";
} }
......
...@@ -20,7 +20,7 @@ layui.config({ ...@@ -20,7 +20,7 @@ layui.config({
elem: '#messageTable', elem: '#messageTable',
method: 'post', method: 'post',
url: flowableBasePath + 'erpfarm001', url: flowableBasePath + 'erpfarm001',
where: getTablePatams(), where: getTableParams(),
even: true, even: true,
page: true, page: true,
overflow: { overflow: {
...@@ -78,7 +78,7 @@ layui.config({ ...@@ -78,7 +78,7 @@ layui.config({
form.render(); form.render();
form.on('submit(formSearch)', function (data) { form.on('submit(formSearch)', function (data) {
if (winui.verifyForm(data.elem)) { if (winui.verifyForm(data.elem)) {
table.reloadData("messageTable", {page: {curr: 1}, where: getTablePatams()}) table.reloadData("messageTable", {page: {curr: 1}, where: getTableParams()})
} }
return false; return false;
}); });
...@@ -158,10 +158,10 @@ layui.config({ ...@@ -158,10 +158,10 @@ layui.config({
//刷新 //刷新
function loadTable() { function loadTable() {
table.reloadData("messageTable", {where: getTablePatams()}); table.reloadData("messageTable", {where: getTableParams()});
} }
function getTablePatams(){ function getTableParams(){
return { return {
farmNumber: $("#farmNumber").val(), farmNumber: $("#farmNumber").val(),
farmName: $("#farmName").val(), farmName: $("#farmName").val(),
......
...@@ -20,7 +20,7 @@ layui.config({ ...@@ -20,7 +20,7 @@ layui.config({
elem: '#messageTable', elem: '#messageTable',
method: 'post', method: 'post',
url: flowableBasePath + 'erpmachin001', url: flowableBasePath + 'erpmachin001',
where: getTablePatams(), where: getTableParams(),
even: true, even: true,
page: true, page: true,
overflow: { overflow: {
...@@ -168,12 +168,11 @@ layui.config({ ...@@ -168,12 +168,11 @@ layui.config({
loadTable(); loadTable();
}); });
// 刷新
function loadTable() { function loadTable() {
table.reloadData("messageTable", {where: getTablePatams()}); table.reloadData("messageTable", {where: getTableParams()});
} }
function getTablePatams(){ function getTableParams(){
return $.extend(true, {}, initTableSearchUtil.getSearchValue("messageTable")); return $.extend(true, {}, initTableSearchUtil.getSearchValue("messageTable"));
} }
......
...@@ -16,7 +16,7 @@ layui.config({ ...@@ -16,7 +16,7 @@ layui.config({
elem: '#messageTable', elem: '#messageTable',
method: 'post', method: 'post',
url: flowableBasePath + 'erpwayprocedure009', url: flowableBasePath + 'erpwayprocedure009',
where: getTablePatams(), where: getTableParams(),
even: true, even: true,
page: true, page: true,
limits: [8, 16, 24, 32, 40, 48, 56], limits: [8, 16, 24, 32, 40, 48, 56],
...@@ -62,7 +62,7 @@ layui.config({ ...@@ -62,7 +62,7 @@ layui.config({
form.render(); form.render();
form.on('submit(formSearch)', function (data) { form.on('submit(formSearch)', function (data) {
if (winui.verifyForm(data.elem)) { if (winui.verifyForm(data.elem)) {
table.reloadData("messageTable", {page: {curr: 1}, where: getTablePatams()}) table.reloadData("messageTable", {page: {curr: 1}, where: getTableParams()})
} }
return false; return false;
}); });
...@@ -72,10 +72,10 @@ layui.config({ ...@@ -72,10 +72,10 @@ layui.config({
}); });
function loadTable() { function loadTable() {
table.reloadData("messageTable", {where: getTablePatams()}); table.reloadData("messageTable", {where: getTableParams()});
} }
function getTablePatams(){ function getTableParams(){
return { return {
wayNumber: $("#wayNumber").val(), wayNumber: $("#wayNumber").val(),
wayName: $("#wayName").val() wayName: $("#wayName").val()
......
...@@ -20,7 +20,7 @@ layui.config({ ...@@ -20,7 +20,7 @@ layui.config({
elem: '#messageTable', elem: '#messageTable',
method: 'post', method: 'post',
url: flowableBasePath + 'erpwayprocedure001', url: flowableBasePath + 'erpwayprocedure001',
where: getTablePatams(), where: getTableParams(),
even: true, even: true,
page: true, page: true,
overflow: { overflow: {
...@@ -78,7 +78,7 @@ layui.config({ ...@@ -78,7 +78,7 @@ layui.config({
form.render(); form.render();
form.on('submit(formSearch)', function (data) { form.on('submit(formSearch)', function (data) {
if (winui.verifyForm(data.elem)) { if (winui.verifyForm(data.elem)) {
table.reloadData("messageTable", {page: {curr: 1}, where: getTablePatams()}) table.reloadData("messageTable", {page: {curr: 1}, where: getTableParams()})
} }
return false; return false;
}); });
...@@ -158,10 +158,10 @@ layui.config({ ...@@ -158,10 +158,10 @@ layui.config({
//刷新 //刷新
function loadTable() { function loadTable() {
table.reloadData("messageTable", {where: getTablePatams()}); table.reloadData("messageTable", {where: getTableParams()});
} }
function getTablePatams(){ function getTableParams(){
return { return {
wayNumber: $("#wayNumber").val(), wayNumber: $("#wayNumber").val(),
wayName: $("#wayName").val() wayName: $("#wayName").val()
......
...@@ -69,7 +69,7 @@ layui.config({ ...@@ -69,7 +69,7 @@ layui.config({
elem: '#messageTable', elem: '#messageTable',
method: 'post', method: 'post',
url: schoolBasePath + 'schoolquestionbank019', url: schoolBasePath + 'schoolquestionbank019',
where: getTablePatams(), where: getTableParams(),
even: true, even: true,
page: true, page: true,
limits: getLimits(), limits: getLimits(),
...@@ -86,10 +86,10 @@ layui.config({ ...@@ -86,10 +86,10 @@ layui.config({
return '<span style="color: goldenrod">' + d.typeName + '</span>'; return '<span style="color: goldenrod">' + d.typeName + '</span>';
} }
}}, }},
{ field: 'cName', width: 100, title: '题型'}, { field: 'cName', width: 100, title: '题型' },
{ field: 'schoolName', width: 150, title: '学校'}, { field: 'schoolName', width: 150, title: '学校' },
{ field: 'gradeName', width: 80, align: 'center', title: '年级'}, { field: 'gradeName', width: 80, align: 'center', title: '年级' },
{ field: 'subjectName', width: 80, align: 'center', title: '科目'}, { field: 'subjectName', width: 80, align: 'center', title: '科目' },
{ field: 'createTime', title: systemLanguage["com.skyeye.createTime"][languageType], align: 'center', width: 140 } { field: 'createTime', title: systemLanguage["com.skyeye.createTime"][languageType], align: 'center', width: 140 }
]], ]],
done: function(json) { done: function(json) {
...@@ -148,10 +148,10 @@ layui.config({ ...@@ -148,10 +148,10 @@ layui.config({
}); });
function refreshTable(){ function refreshTable(){
table.reloadData("messageTable", {page: {curr: 1}, where: getTablePatams()}); table.reloadData("messageTable", {page: {curr: 1}, where: getTableParams()});
} }
function getTablePatams(){ function getTableParams(){
return { return {
schoolId: $("#schoolId").val(), schoolId: $("#schoolId").val(),
gradeId: gradeId, gradeId: gradeId,
......
...@@ -83,7 +83,7 @@ layui.config({ ...@@ -83,7 +83,7 @@ layui.config({
elem: '#messageTable', elem: '#messageTable',
method: 'post', method: 'post',
url: schoolBasePath + 'schoolquestionbank001', url: schoolBasePath + 'schoolquestionbank001',
where: getTablePatams(), where: getTableParams(),
even: true, even: true,
page: true, page: true,
limits: getLimits(), limits: getLimits(),
...@@ -326,14 +326,14 @@ layui.config({ ...@@ -326,14 +326,14 @@ layui.config({
}); });
function loadTable() { function loadTable() {
table.reloadData("messageTable", {where: getTablePatams()}); table.reloadData("messageTable", {where: getTableParams()});
} }
function refreshTable(){ function refreshTable(){
table.reloadData("messageTable", {page: {curr: 1}, where: getTablePatams()}); table.reloadData("messageTable", {page: {curr: 1}, where: getTableParams()});
} }
function getTablePatams(){ function getTableParams(){
return { return {
quTitle: $("#quTitle").val(), quTitle: $("#quTitle").val(),
schoolId: $("#schoolId").val(), schoolId: $("#schoolId").val(),
......
...@@ -46,7 +46,7 @@ layui.config({ ...@@ -46,7 +46,7 @@ layui.config({
}); });
} }
function initloadTable() { function initLoadTable() {
tableTree.render({ tableTree.render({
id: 'messageTable', id: 'messageTable',
elem: '#messageTable', elem: '#messageTable',
......
...@@ -69,7 +69,7 @@ layui.config({ ...@@ -69,7 +69,7 @@ layui.config({
elem: '#messageTable', elem: '#messageTable',
method: 'post', method: 'post',
url: schoolBasePath + 'knowledgepoints009', url: schoolBasePath + 'knowledgepoints009',
where: getTablePatams(), where: getTableParams(),
even: true, even: true,
page: true, page: true,
limits: getLimits(), limits: getLimits(),
...@@ -140,10 +140,10 @@ layui.config({ ...@@ -140,10 +140,10 @@ layui.config({
}); });
function refreshTable(){ function refreshTable(){
table.reloadData("messageTable", {page: {curr: 1}, where: getTablePatams()}); table.reloadData("messageTable", {page: {curr: 1}, where: getTableParams()});
} }
function getTablePatams(){ function getTableParams(){
return { return {
schoolId: $("#schoolId").val(), schoolId: $("#schoolId").val(),
gradeId: gradeId, gradeId: gradeId,
......
...@@ -74,7 +74,7 @@ layui.config({ ...@@ -74,7 +74,7 @@ layui.config({
elem: '#messageTable', elem: '#messageTable',
method: 'post', method: 'post',
url: schoolBasePath + 'knowledgepoints001', url: schoolBasePath + 'knowledgepoints001',
where: getTablePatams(), where: getTableParams(),
even: true, even: true,
page: true, page: true,
limits: getLimits(), limits: getLimits(),
...@@ -179,14 +179,14 @@ layui.config({ ...@@ -179,14 +179,14 @@ layui.config({
}); });
function loadTable() { function loadTable() {
table.reloadData("messageTable", {where: getTablePatams()}); table.reloadData("messageTable", {where: getTableParams()});
} }
function refreshTable(){ function refreshTable(){
table.reloadData("messageTable", {page: {curr: 1}, where: getTablePatams()}); table.reloadData("messageTable", {page: {curr: 1}, where: getTableParams()});
} }
function getTablePatams() { function getTableParams() {
return { return {
title: $("#title").val(), title: $("#title").val(),
schoolId: $("#schoolId").val(), schoolId: $("#schoolId").val(),
......
...@@ -270,7 +270,7 @@ var postDownLoadFile = function(options) { ...@@ -270,7 +270,7 @@ var postDownLoadFile = function(options) {
* 权限验证 * 权限验证
* @param urlNum * @param urlNum
*/ */
function auth(urlNum){ function auth(urlNum) {
var authList = JSON.parse(localStorage.getItem("authpoints")); var authList = JSON.parse(localStorage.getItem("authpoints"));
if (!isNull(authList)) { if (!isNull(authList)) {
for (var i = 0; i < authList.length; i++) { for (var i = 0; i < authList.length; i++) {
......
...@@ -21,6 +21,14 @@ ...@@ -21,6 +21,14 @@
"assemblySheetOrder": {"name": "组装订单", "key": "com.skyeye.other.service.impl.AssemblySheetServiceImpl"}, "assemblySheetOrder": {"name": "组装订单", "key": "com.skyeye.other.service.impl.AssemblySheetServiceImpl"},
"allocationFormOrder": {"name": "调拨订单", "key": "com.skyeye.other.service.impl.AllocationServiceImpl"}, "allocationFormOrder": {"name": "调拨订单", "key": "com.skyeye.other.service.impl.AllocationServiceImpl"},
"putAcceptanceWarehousing": {"name": "验收入库单", "key": "com.skyeye.machin.service.impl.ErpAcceptanceReceiptServiceImpl"},
"machinHeader": {"name": "加工单", "key": "com.skyeye.machin.service.impl.ErpMachinServiceImpl"},
"machinChild": {"name": "工序验收单", "key": "com.skyeye.machin.service.impl.ErpProcessAcceptanceSheetServiceImpl"},
"productionHead": {"name": "生产计划单", "key": "com.skyeye.production.service.impl.ErpProductionServiceImpl"},
"pickPicking": {"name": "领料单", "key": "com.skyeye.pick.service.impl.RequisitionMaterialServiceImpl"},
"pickReplenishment": {"name": "补料单", "key": "com.skyeye.pick.service.impl.PatchMaterialServiceImpl"},
"pickReturn": {"name": "退料单", "key": "com.skyeye.pick.service.impl.ReturnMaterialServiceImpl"},
"proworkLoad": {"name": "项目工作量审核", "key": "com.skyeye.service.impl.ProWorkloadServiceImpl"}, "proworkLoad": {"name": "项目工作量审核", "key": "com.skyeye.service.impl.ProWorkloadServiceImpl"},
"proTask": {"name": "项目任务审核", "key": "com.skyeye.service.impl.ProTaskServiceImpl"}, "proTask": {"name": "项目任务审核", "key": "com.skyeye.service.impl.ProTaskServiceImpl"},
"proProject": {"name": "项目立项审批", "key": "com.skyeye.service.impl.ProProjectServiceImpl"}, "proProject": {"name": "项目立项审批", "key": "com.skyeye.service.impl.ProProjectServiceImpl"},
...@@ -47,14 +55,6 @@ ...@@ -47,14 +55,6 @@
"assetArticlesUse": {"name": "用品领用", "key": "com.skyeye.eve.articles.service.impl.AssetArticlesApplyUseServiceImpl"}, "assetArticlesUse": {"name": "用品领用", "key": "com.skyeye.eve.articles.service.impl.AssetArticlesApplyUseServiceImpl"},
"assetArticlesPurchase": {"name": "用品采购", "key": "com.skyeye.eve.articles.service.impl.AssetArticlesApplyPurchaseServiceImpl"}, "assetArticlesPurchase": {"name": "用品采购", "key": "com.skyeye.eve.articles.service.impl.AssetArticlesApplyPurchaseServiceImpl"},
"putAcceptanceWarehousing": {"name": "验收入库单", "key": "com.skyeye.service.impl.AcceptanceReceiptServiceImpl"},
"machinHeader": {"name": "加工单", "key": "com.skyeye.service.impl.ErpMachinServiceImpl"},
"machinChild": {"name": "工序验收单", "key": "com.skyeye.service.impl.ErpProcessAcceptanceSheetServiceImpl"},
"productionHead": {"name": "生产计划单", "key": "com.skyeye.service.impl.ErpProductionServiceImpl"},
"pickPicking": {"name": "领料单", "key": "com.skyeye.pick.service.impl.RequisitionMaterialServiceImpl"},
"pickReplenishment": {"name": "补料单", "key": "com.skyeye.pick.service.impl.PatchMaterialServiceImpl"},
"pickReturn": {"name": "退料单", "key": "com.skyeye.pick.service.impl.ReturnMaterialServiceImpl"},
"incomeOrder": {"name": "财务明细账", "key": "com.skyeye.service.impl.IncomeServiceImpl"}, "incomeOrder": {"name": "财务明细账", "key": "com.skyeye.service.impl.IncomeServiceImpl"},
"bossPersonRequire": {"name": "人员需求申请", "key": "com.skyeye.service.impl.BossPersonRequireServiceImpl"}, "bossPersonRequire": {"name": "人员需求申请", "key": "com.skyeye.service.impl.BossPersonRequireServiceImpl"},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册