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

部分函数名调整

上级 83cdcb09
......@@ -67,7 +67,7 @@ layui.config({
elem: '#myGetTable',
method: 'post',
url: flowableBasePath + 'checkwork007',
where: getTablePatams(),
where: getTableParams(),
even: true,
page: true,
limits: getLimits(),
......@@ -76,7 +76,7 @@ layui.config({
{ title: systemLanguage["com.skyeye.serialNumber"][languageType], type: 'numbers' },
{ field: 'checkDate', title: '申诉内容', align: 'left', width: 160, templet: function (d) {
var text = d.checkDate;
return text += d.situation;
return text + d.situation;
}},
{ field: 'appealName', title: '申诉原因', align: 'center', width: 100 },
{ field: 'appealReason', title: '申诉具体原因', align: 'left', width: 170 },
......@@ -141,7 +141,7 @@ layui.config({
// 搜索员工考勤申诉审批
$("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({
});
function reloadMyGetTable(){
table.reloadData("myGetTable", {where: getTablePatams()});
table.reloadData("myGetTable", {where: getTableParams()});
}
function getTablePatams(){
function getTableParams(){
if(isNull($("#createId").val())) {
createid = "";
}
......
......@@ -20,7 +20,7 @@ layui.config({
elem: '#messageTable',
method: 'post',
url: flowableBasePath + 'erpfarm001',
where: getTablePatams(),
where: getTableParams(),
even: true,
page: true,
overflow: {
......@@ -78,7 +78,7 @@ layui.config({
form.render();
form.on('submit(formSearch)', function (data) {
if (winui.verifyForm(data.elem)) {
table.reloadData("messageTable", {page: {curr: 1}, where: getTablePatams()})
table.reloadData("messageTable", {page: {curr: 1}, where: getTableParams()})
}
return false;
});
......@@ -158,10 +158,10 @@ layui.config({
//刷新
function loadTable() {
table.reloadData("messageTable", {where: getTablePatams()});
table.reloadData("messageTable", {where: getTableParams()});
}
function getTablePatams(){
function getTableParams(){
return {
farmNumber: $("#farmNumber").val(),
farmName: $("#farmName").val(),
......
......@@ -20,7 +20,7 @@ layui.config({
elem: '#messageTable',
method: 'post',
url: flowableBasePath + 'erpmachin001',
where: getTablePatams(),
where: getTableParams(),
even: true,
page: true,
overflow: {
......@@ -168,12 +168,11 @@ layui.config({
loadTable();
});
// 刷新
function loadTable() {
table.reloadData("messageTable", {where: getTablePatams()});
table.reloadData("messageTable", {where: getTableParams()});
}
function getTablePatams(){
function getTableParams(){
return $.extend(true, {}, initTableSearchUtil.getSearchValue("messageTable"));
}
......
......@@ -16,7 +16,7 @@ layui.config({
elem: '#messageTable',
method: 'post',
url: flowableBasePath + 'erpwayprocedure009',
where: getTablePatams(),
where: getTableParams(),
even: true,
page: true,
limits: [8, 16, 24, 32, 40, 48, 56],
......@@ -62,7 +62,7 @@ layui.config({
form.render();
form.on('submit(formSearch)', function (data) {
if (winui.verifyForm(data.elem)) {
table.reloadData("messageTable", {page: {curr: 1}, where: getTablePatams()})
table.reloadData("messageTable", {page: {curr: 1}, where: getTableParams()})
}
return false;
});
......@@ -72,10 +72,10 @@ layui.config({
});
function loadTable() {
table.reloadData("messageTable", {where: getTablePatams()});
table.reloadData("messageTable", {where: getTableParams()});
}
function getTablePatams(){
function getTableParams(){
return {
wayNumber: $("#wayNumber").val(),
wayName: $("#wayName").val()
......
......@@ -20,7 +20,7 @@ layui.config({
elem: '#messageTable',
method: 'post',
url: flowableBasePath + 'erpwayprocedure001',
where: getTablePatams(),
where: getTableParams(),
even: true,
page: true,
overflow: {
......@@ -78,7 +78,7 @@ layui.config({
form.render();
form.on('submit(formSearch)', function (data) {
if (winui.verifyForm(data.elem)) {
table.reloadData("messageTable", {page: {curr: 1}, where: getTablePatams()})
table.reloadData("messageTable", {page: {curr: 1}, where: getTableParams()})
}
return false;
});
......@@ -158,10 +158,10 @@ layui.config({
//刷新
function loadTable() {
table.reloadData("messageTable", {where: getTablePatams()});
table.reloadData("messageTable", {where: getTableParams()});
}
function getTablePatams(){
function getTableParams(){
return {
wayNumber: $("#wayNumber").val(),
wayName: $("#wayName").val()
......
......@@ -69,7 +69,7 @@ layui.config({
elem: '#messageTable',
method: 'post',
url: schoolBasePath + 'schoolquestionbank019',
where: getTablePatams(),
where: getTableParams(),
even: true,
page: true,
limits: getLimits(),
......@@ -86,10 +86,10 @@ layui.config({
return '<span style="color: goldenrod">' + d.typeName + '</span>';
}
}},
{ field: 'cName', width: 100, title: '题型'},
{ field: 'schoolName', width: 150, title: '学校'},
{ field: 'gradeName', width: 80, align: 'center', title: '年级'},
{ field: 'subjectName', width: 80, align: 'center', title: '科目'},
{ field: 'cName', width: 100, title: '题型' },
{ field: 'schoolName', width: 150, title: '学校' },
{ field: 'gradeName', width: 80, align: 'center', title: '年级' },
{ field: 'subjectName', width: 80, align: 'center', title: '科目' },
{ field: 'createTime', title: systemLanguage["com.skyeye.createTime"][languageType], align: 'center', width: 140 }
]],
done: function(json) {
......@@ -148,10 +148,10 @@ layui.config({
});
function refreshTable(){
table.reloadData("messageTable", {page: {curr: 1}, where: getTablePatams()});
table.reloadData("messageTable", {page: {curr: 1}, where: getTableParams()});
}
function getTablePatams(){
function getTableParams(){
return {
schoolId: $("#schoolId").val(),
gradeId: gradeId,
......
......@@ -83,7 +83,7 @@ layui.config({
elem: '#messageTable',
method: 'post',
url: schoolBasePath + 'schoolquestionbank001',
where: getTablePatams(),
where: getTableParams(),
even: true,
page: true,
limits: getLimits(),
......@@ -326,14 +326,14 @@ layui.config({
});
function loadTable() {
table.reloadData("messageTable", {where: getTablePatams()});
table.reloadData("messageTable", {where: getTableParams()});
}
function refreshTable(){
table.reloadData("messageTable", {page: {curr: 1}, where: getTablePatams()});
table.reloadData("messageTable", {page: {curr: 1}, where: getTableParams()});
}
function getTablePatams(){
function getTableParams(){
return {
quTitle: $("#quTitle").val(),
schoolId: $("#schoolId").val(),
......
......@@ -46,7 +46,7 @@ layui.config({
});
}
function initloadTable() {
function initLoadTable() {
tableTree.render({
id: 'messageTable',
elem: '#messageTable',
......
......@@ -69,7 +69,7 @@ layui.config({
elem: '#messageTable',
method: 'post',
url: schoolBasePath + 'knowledgepoints009',
where: getTablePatams(),
where: getTableParams(),
even: true,
page: true,
limits: getLimits(),
......@@ -140,10 +140,10 @@ layui.config({
});
function refreshTable(){
table.reloadData("messageTable", {page: {curr: 1}, where: getTablePatams()});
table.reloadData("messageTable", {page: {curr: 1}, where: getTableParams()});
}
function getTablePatams(){
function getTableParams(){
return {
schoolId: $("#schoolId").val(),
gradeId: gradeId,
......
......@@ -74,7 +74,7 @@ layui.config({
elem: '#messageTable',
method: 'post',
url: schoolBasePath + 'knowledgepoints001',
where: getTablePatams(),
where: getTableParams(),
even: true,
page: true,
limits: getLimits(),
......@@ -179,14 +179,14 @@ layui.config({
});
function loadTable() {
table.reloadData("messageTable", {where: getTablePatams()});
table.reloadData("messageTable", {where: getTableParams()});
}
function refreshTable(){
table.reloadData("messageTable", {page: {curr: 1}, where: getTablePatams()});
table.reloadData("messageTable", {page: {curr: 1}, where: getTableParams()});
}
function getTablePatams() {
function getTableParams() {
return {
title: $("#title").val(),
schoolId: $("#schoolId").val(),
......
......@@ -270,7 +270,7 @@ var postDownLoadFile = function(options) {
* 权限验证
* @param urlNum
*/
function auth(urlNum){
function auth(urlNum) {
var authList = JSON.parse(localStorage.getItem("authpoints"));
if (!isNull(authList)) {
for (var i = 0; i < authList.length; i++) {
......
......@@ -21,6 +21,14 @@
"assemblySheetOrder": {"name": "组装订单", "key": "com.skyeye.other.service.impl.AssemblySheetServiceImpl"},
"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"},
"proTask": {"name": "项目任务审核", "key": "com.skyeye.service.impl.ProTaskServiceImpl"},
"proProject": {"name": "项目立项审批", "key": "com.skyeye.service.impl.ProProjectServiceImpl"},
......@@ -47,14 +55,6 @@
"assetArticlesUse": {"name": "用品领用", "key": "com.skyeye.eve.articles.service.impl.AssetArticlesApplyUseServiceImpl"},
"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"},
"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.
先完成此消息的编辑!
想要评论请 注册