505 lines
20 KiB
Plaintext
505 lines
20 KiB
Plaintext
|
|
<%@ page language="java" pageEncoding="UTF-8" %>
|
|||
|
|
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
|
|||
|
|
|
|||
|
|
<%@page import="com.sipai.entity.report.RptInfoSet" %>
|
|||
|
|
<% request.setAttribute("RptType_Day", RptInfoSet.RptType_Day); %>
|
|||
|
|
<% request.setAttribute("RptType_Week", RptInfoSet.RptType_Week); %>
|
|||
|
|
<% request.setAttribute("RptType_Tenday", RptInfoSet.RptType_Tenday); %>
|
|||
|
|
<% request.setAttribute("RptType_Month", RptInfoSet.RptType_Month); %>
|
|||
|
|
<% request.setAttribute("RptType_Quarterly", RptInfoSet.RptType_Quarterly); %>
|
|||
|
|
<% request.setAttribute("RptType_Year", RptInfoSet.RptType_Year); %>
|
|||
|
|
|
|||
|
|
<%request.setAttribute("TYPE_CATALOGUE", RptInfoSet.TYPE_CATALOGUE);%>
|
|||
|
|
<%request.setAttribute("TYPE_SETTING", RptInfoSet.TYPE_SETTING);%>
|
|||
|
|
|
|||
|
|
<style type="text/css">
|
|||
|
|
.select2-container .select2-selection--single {
|
|||
|
|
height: 34px;
|
|||
|
|
line-height: 34px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.select2-selection__arrow {
|
|||
|
|
margin-top: 3px;
|
|||
|
|
}
|
|||
|
|
</style>
|
|||
|
|
<script type="text/javascript">
|
|||
|
|
// var masterId = '${id}';
|
|||
|
|
// var tbName = 'TB_Report_RptInfoSetFile'; //数据表
|
|||
|
|
// var nameSpace = 'Report';//保存文件夹
|
|||
|
|
// var previews = new Array();
|
|||
|
|
// var previewConfigs = new Array();
|
|||
|
|
|
|||
|
|
var masterId_process = '${rptInfoSet.id}';//业务Id
|
|||
|
|
var tbName_process = 'TB_Report_RptInfoSetFile'; //数据表
|
|||
|
|
var nameSpace_process = 'Report';//保存文件夹
|
|||
|
|
var status = 'delete';//有删除权限
|
|||
|
|
|
|||
|
|
function showFileInput(ctrlName) {
|
|||
|
|
var control = $('#' + ctrlName);
|
|||
|
|
|
|||
|
|
control.fileinput('destroy');
|
|||
|
|
control.fileinput({
|
|||
|
|
language: 'zh', //设置语言
|
|||
|
|
showUpload: false, //是否显示上传按钮
|
|||
|
|
showRemove: false,
|
|||
|
|
showCaption: false,//是否显示标题
|
|||
|
|
showBrowse: false,//选择按钮
|
|||
|
|
showClose: false,//右上角关闭按钮
|
|||
|
|
dropZoneEnabled: false,//是否显示拖拽区域
|
|||
|
|
fileActionSettings: {
|
|||
|
|
showDrag: false
|
|||
|
|
},
|
|||
|
|
browseClass: "btn btn-primary", //按钮样式
|
|||
|
|
maxFileCount: 10, //表示允许同时上传的最大文件个数
|
|||
|
|
enctype: 'multipart/form-data',
|
|||
|
|
validateInitialCount: true,
|
|||
|
|
previewFileIcon: "<i class='glyphicon glyphicon-king'></i>",
|
|||
|
|
initialPreviewAsData: true,
|
|||
|
|
initialPreview: previews,
|
|||
|
|
initialPreviewConfig: previewConfigs,
|
|||
|
|
layoutTemplates: {
|
|||
|
|
actionUpload: ''
|
|||
|
|
},
|
|||
|
|
deleteUrl: ext.contextPath + "/base/deleteInputFile.do",
|
|||
|
|
deleteExtraData: function () { //传参
|
|||
|
|
var data = {
|
|||
|
|
"tbName": tbName
|
|||
|
|
};
|
|||
|
|
return data;
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
$('#kvFileinputModal').on("hidden.bs.modal", function () {
|
|||
|
|
$(this).removeData("bs.modal");
|
|||
|
|
//modal重复打开会导致前面的滚动条失去作用
|
|||
|
|
$('.modal').css("overflow", "auto");
|
|||
|
|
});
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
function dodel() {
|
|||
|
|
swal({
|
|||
|
|
text: "您确定要删除此记录?",
|
|||
|
|
dangerMode: true,
|
|||
|
|
buttons: {
|
|||
|
|
cancel: {
|
|||
|
|
text: "取消",
|
|||
|
|
value: null,
|
|||
|
|
visible: true,
|
|||
|
|
className: "btn btn-default btn-sm",
|
|||
|
|
closeModal: true,
|
|||
|
|
},
|
|||
|
|
confirm: {
|
|||
|
|
text: "确定",
|
|||
|
|
value: true,
|
|||
|
|
visible: true,
|
|||
|
|
className: "btn btn-danger btn-sm",
|
|||
|
|
closeModal: true
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
})
|
|||
|
|
.then(function (willDelete) {
|
|||
|
|
if (willDelete) {
|
|||
|
|
$.post(ext.contextPath + '/report/rptInfoSet/dodelete.do', $("#subForm").serialize(), function (result) {
|
|||
|
|
// var data= $.parseJSON(result);
|
|||
|
|
if (result.code == 1) {
|
|||
|
|
initTreeView();
|
|||
|
|
} else {
|
|||
|
|
showAlert('d', result.msg);
|
|||
|
|
}
|
|||
|
|
}, 'json');
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
//名称定义不可修改
|
|||
|
|
var getFileList = function () {
|
|||
|
|
$.post(ext.contextPath + '/base/getInputFileList.do', {masterId: masterId, tbName: tbName}, function (data) {
|
|||
|
|
//console.info(data)
|
|||
|
|
if (data.length > 0) {
|
|||
|
|
previews = new Array();
|
|||
|
|
// $('#maintenancefile').show();
|
|||
|
|
for (var i = 0; i < data.length; i++) {
|
|||
|
|
var previewConfig = new Object();
|
|||
|
|
var path = data[i].abspath;
|
|||
|
|
path = path.substring(path.indexOf('webapps') + 7, path.length);
|
|||
|
|
path = ext.basePath.replace(ext.contextPath, '') + path.replace(/\\/g, "\/");
|
|||
|
|
;
|
|||
|
|
previews.push(path);
|
|||
|
|
previewConfig['width'] = '50px';
|
|||
|
|
previewConfig['caption'] = data[i].filename;
|
|||
|
|
previewConfig['key'] = data[i].id;
|
|||
|
|
previewConfigs.push(previewConfig);
|
|||
|
|
}
|
|||
|
|
showFileInput("rptInfoSetFile");
|
|||
|
|
} else {
|
|||
|
|
$('#rptInfoSetFile').hide();
|
|||
|
|
}
|
|||
|
|
}, 'json');
|
|||
|
|
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
var fileinput = function () {
|
|||
|
|
$.post(ext.contextPath + '/base/fileinput.do', {
|
|||
|
|
masterId: masterId,
|
|||
|
|
tbName: tbName,
|
|||
|
|
nameSpace: nameSpace
|
|||
|
|
}, function (data) {
|
|||
|
|
$("#fileInputDiv").html(data);
|
|||
|
|
openModal('fileInputModal');
|
|||
|
|
});
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
|
|||
|
|
var showUser4SelectsFun1 = function () {
|
|||
|
|
var userIds = $("#checkuser").val();
|
|||
|
|
$.post(ext.contextPath + '/user/userForSelect.do', {
|
|||
|
|
formId: "subForm",
|
|||
|
|
hiddenId: "checkuser",
|
|||
|
|
textId: "auditMan1",
|
|||
|
|
userIds: userIds
|
|||
|
|
}, function (data) {
|
|||
|
|
$("#user4SelectDiv").html(data);
|
|||
|
|
openModal("user4SelectModal");
|
|||
|
|
});
|
|||
|
|
};
|
|||
|
|
var showUser4SelectsFun2 = function () {
|
|||
|
|
var userIds = $("#createusers").val();
|
|||
|
|
$.post(ext.contextPath + '/user/userForSelect.do', {
|
|||
|
|
formId: "subForm",
|
|||
|
|
hiddenId: "createusers",
|
|||
|
|
textId: "auditMan2",
|
|||
|
|
userIds: userIds
|
|||
|
|
}, function (data) {
|
|||
|
|
$("#user4SelectDiv").html(data);
|
|||
|
|
openModal("user4SelectModal");
|
|||
|
|
});
|
|||
|
|
};
|
|||
|
|
var showUser4SelectsFun3 = function () {
|
|||
|
|
var userIds = $("#browseusers").val();
|
|||
|
|
$.post(ext.contextPath + '/user/userForSelect.do', {
|
|||
|
|
formId: "subForm",
|
|||
|
|
hiddenId: "browseusers",
|
|||
|
|
textId: "auditMan3",
|
|||
|
|
userIds: userIds
|
|||
|
|
}, function (data) {
|
|||
|
|
$("#user4SelectDiv").html(data);
|
|||
|
|
openModal("user4SelectModal");
|
|||
|
|
});
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
function dosave() {
|
|||
|
|
$("#subForm").bootstrapValidator('validate');//提交验证
|
|||
|
|
if ($("#subForm").data('bootstrapValidator').isValid()) {//获取验证结果,如果成功,执行下面代码
|
|||
|
|
$.post(ext.contextPath + "/report/rptInfoSet/doupdate.do", $("#subForm").serialize(), function (result) {
|
|||
|
|
if (result.code == 1) {
|
|||
|
|
initTreeView();
|
|||
|
|
showAlert('s', '保存成功');
|
|||
|
|
} else {
|
|||
|
|
showAlert('d', '保存失败');
|
|||
|
|
}
|
|||
|
|
}, 'json');
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
$("#subForm").bootstrapValidator({
|
|||
|
|
live: 'disabled',//验证时机,enabled是内容有变化就验证(默认),disabled和submitted是提交再验证
|
|||
|
|
fields: {
|
|||
|
|
name: {
|
|||
|
|
validators: {
|
|||
|
|
notEmpty: {
|
|||
|
|
message: '名称不能为空'
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
morder: {
|
|||
|
|
validators: {
|
|||
|
|
notEmpty: {
|
|||
|
|
message: '顺序不能为空'
|
|||
|
|
},
|
|||
|
|
regexp: {
|
|||
|
|
regexp: /^[0-9]*$/,
|
|||
|
|
message: '顺序必须为数字'
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
|
|||
|
|
$(function () {
|
|||
|
|
|
|||
|
|
|
|||
|
|
$("#tableSp").bootstrapTable({ // 对应table标签的id
|
|||
|
|
url: ext.contextPath + '/report/rptSpSet/getList.do?id=${rptInfoSet.id}', // 获取表格数据的url
|
|||
|
|
cache: false, // 设置为 false 禁用 AJAX 数据缓存, 默认为true
|
|||
|
|
striped: true, //表格显示条纹,默认为false
|
|||
|
|
pagination: true, // 在表格底部显示分页组件,默认false
|
|||
|
|
pageList: [10, 20, 50], // 设置页面可以显示的数据条数
|
|||
|
|
pageSize: 50, // 页面数据条数
|
|||
|
|
pageNumber: 1, // 首页页码
|
|||
|
|
sidePagination: 'server', // 设置为服务器端分页
|
|||
|
|
queryParams: function (params) { // 请求服务器数据时发送的参数,可以在这里添加额外的查询参数,返回false则终止请求
|
|||
|
|
return {
|
|||
|
|
rows: params.limit, // 每页要显示的数据条数
|
|||
|
|
page: params.offset / params.limit + 1, // 每页显示数据的开始页码
|
|||
|
|
sort: params.sort, // 要排序的字段
|
|||
|
|
order: params.order // 排序规则
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
sortName: 'id', // 要排序的字段
|
|||
|
|
sortOrder: 'desc', // 排序规则
|
|||
|
|
columns: [
|
|||
|
|
{
|
|||
|
|
checkbox: true, // 显示一个勾选框
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
field: '', // 返回json数据中的name
|
|||
|
|
title: 'sp名称', // 表格表头显示文字
|
|||
|
|
align: 'center', // 左右居中
|
|||
|
|
valign: 'middle',
|
|||
|
|
width: '10%',
|
|||
|
|
formatter: function (value, row, index) {
|
|||
|
|
return row.spname;
|
|||
|
|
}
|
|||
|
|
}, {
|
|||
|
|
field: '', // 返回json数据中的name
|
|||
|
|
title: 'sheet名', // 表格表头显示文字
|
|||
|
|
align: 'center', // 左右居中
|
|||
|
|
valign: 'middle',
|
|||
|
|
width: '10%',
|
|||
|
|
formatter: function (value, row, index) {
|
|||
|
|
return row.sheet;
|
|||
|
|
}
|
|||
|
|
}, {
|
|||
|
|
field: '', // 返回json数据中的name
|
|||
|
|
title: '单元格X值', // 表格表头显示文字
|
|||
|
|
align: 'center', // 左右居中
|
|||
|
|
valign: 'middle', // 上下居中
|
|||
|
|
width: '10%',
|
|||
|
|
formatter: function (value, row, index) {
|
|||
|
|
return row.posx;
|
|||
|
|
}
|
|||
|
|
}, {
|
|||
|
|
field: '', // 返回json数据中的name
|
|||
|
|
title: '单元格Y值', // 表格表头显示文字
|
|||
|
|
align: 'center', // 左右居中
|
|||
|
|
valign: 'middle', // 上下居中
|
|||
|
|
width: '10%',
|
|||
|
|
formatter: function (value, row, index) {
|
|||
|
|
return row.posy;
|
|||
|
|
}
|
|||
|
|
}, {
|
|||
|
|
field: '', // 返回json数据中的name
|
|||
|
|
title: '插入方式', // 表格表头显示文字
|
|||
|
|
align: 'center', // 左右居中
|
|||
|
|
valign: 'middle', // 上下居中
|
|||
|
|
width: '10%',
|
|||
|
|
formatter: function (value, row, index) {
|
|||
|
|
return row.writermode;
|
|||
|
|
}
|
|||
|
|
}, {
|
|||
|
|
field: '', // 返回json数据中的name
|
|||
|
|
title: '开始日期', // 表格表头显示文字
|
|||
|
|
align: 'center', // 左右居中
|
|||
|
|
valign: 'middle', // 上下居中
|
|||
|
|
width: '8%',
|
|||
|
|
formatter: function (value, row, index) {
|
|||
|
|
return row.rptsdt;
|
|||
|
|
}
|
|||
|
|
}, {
|
|||
|
|
field: '', // 返回json数据中的name
|
|||
|
|
title: '结束日期', // 表格表头显示文字
|
|||
|
|
align: 'center', // 左右居中
|
|||
|
|
valign: 'middle', // 上下居中
|
|||
|
|
width: '8%',
|
|||
|
|
formatter: function (value, row, index) {
|
|||
|
|
return row.rptedt;
|
|||
|
|
}
|
|||
|
|
}, {
|
|||
|
|
field: '', // 返回json数据中的name
|
|||
|
|
title: '时间间隔', // 表格表头显示文字
|
|||
|
|
align: 'center', // 左右居中
|
|||
|
|
valign: 'middle', // 上下居中
|
|||
|
|
width: '8%',
|
|||
|
|
formatter: function (value, row, index) {
|
|||
|
|
return row.intv;
|
|||
|
|
}
|
|||
|
|
}, {
|
|||
|
|
field: '', // 返回json数据中的name
|
|||
|
|
title: '开始时间', // 表格表头显示文字
|
|||
|
|
align: 'center', // 左右居中
|
|||
|
|
valign: 'middle', // 上下居中
|
|||
|
|
width: '8%',
|
|||
|
|
formatter: function (value, row, index) {
|
|||
|
|
return row.starthour;
|
|||
|
|
}
|
|||
|
|
}, {
|
|||
|
|
field: '', // 返回json数据中的name
|
|||
|
|
title: '结束时间', // 表格表头显示文字
|
|||
|
|
align: 'center', // 左右居中
|
|||
|
|
valign: 'middle', // 上下居中
|
|||
|
|
width: '8%',
|
|||
|
|
formatter: function (value, row, index) {
|
|||
|
|
return row.endhour;
|
|||
|
|
}
|
|||
|
|
}, {
|
|||
|
|
title: "操作",
|
|||
|
|
align: 'center',
|
|||
|
|
valign: 'middle',
|
|||
|
|
width: '10%',
|
|||
|
|
formatter: function (value, row, index) {
|
|||
|
|
return '<div class="btn-group">' +
|
|||
|
|
'<button class="btn btn-default btn-sm" onclick="doSpEdit(\'' + row.id + '\')"><i class="fa fa-edit"></i></button>' +
|
|||
|
|
// '<button class="btn btn-default btn-sm" onclick="doSpDelete(\'' + row.id + '\')"><i class="fa fa-trash-o"></i></button>' +
|
|||
|
|
'<button class="btn btn-default btn-sm" onclick="doMpList(\'' + row.id + '\')"><i class="fa fa-list"></i></button>' +
|
|||
|
|
'</div>';
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
onLoadSuccess: function () { //加载成功时执行
|
|||
|
|
$(".bs-checkbox").css({'text-align': 'center', 'vertical-align': 'middle'})
|
|||
|
|
},
|
|||
|
|
onLoadError: function () { //加载失败时执行
|
|||
|
|
console.info("加载数据失败");
|
|||
|
|
}
|
|||
|
|
})
|
|||
|
|
|
|||
|
|
$('#rpttype').select2({minimumResultsForSearch: 10}).val('${rptInfoSet.rpttype}').trigger('change');
|
|||
|
|
$('#checkst').select2({minimumResultsForSearch: 10}).val('${rptInfoSet.checkst}').trigger('change');
|
|||
|
|
$('#createauto').select2({minimumResultsForSearch: 10}).val('${rptInfoSet.createauto}').trigger('change');
|
|||
|
|
//初始化文件显示
|
|||
|
|
getFileList_process();
|
|||
|
|
|
|||
|
|
//不审核则不显示 “可审核报表用户” 框
|
|||
|
|
var checkst = $('#checkst').val();
|
|||
|
|
if (checkst == '是') {
|
|||
|
|
$('#checkDivId').show();
|
|||
|
|
}
|
|||
|
|
if (checkst == '否') {
|
|||
|
|
$('#checkDivId').hide();
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
|
|||
|
|
//是否审核 不审核则不显示 “可审核报表用户” 框
|
|||
|
|
$('#checkst').on('change', function () {
|
|||
|
|
var val = $(this).val();
|
|||
|
|
if (val == '是') {
|
|||
|
|
$('#checkDivId').show();
|
|||
|
|
}
|
|||
|
|
if (val == '否') {
|
|||
|
|
$('#checkDivId').hide();
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
|
|||
|
|
//新增sp
|
|||
|
|
var doSpAdd = function (pid) {
|
|||
|
|
$.post(ext.contextPath + '/report/rptSpSet/doadd.do', {pid: pid}, function (data) {
|
|||
|
|
$("#subDivSp").html(data);
|
|||
|
|
openModal('subModalSp');
|
|||
|
|
});
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
//修改sp
|
|||
|
|
var doSpEdit = function (id) {
|
|||
|
|
$.post(ext.contextPath + '/report/rptSpSet/doedit.do', {id: id}, function (data) {
|
|||
|
|
$("#subDivSp").html(data);
|
|||
|
|
openModal('subModalSp');
|
|||
|
|
});
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
//配置测量点列表
|
|||
|
|
var doMpList = function (id) {
|
|||
|
|
$.post(ext.contextPath + '/report/rptMpSet/showList.do', {spId: id}, function (data) {
|
|||
|
|
$("#subDivMpList").html(data);
|
|||
|
|
openModal('subModalMpList');
|
|||
|
|
});
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
//删除sp--多删
|
|||
|
|
var doSpDeletes = function () {
|
|||
|
|
var checkedItems = $("#tableSp").bootstrapTable('getSelections');
|
|||
|
|
var datas = "";
|
|||
|
|
$.each(checkedItems, function (index, item) {
|
|||
|
|
datas += item.id + ",";
|
|||
|
|
});
|
|||
|
|
if (datas == "") {
|
|||
|
|
showAlert('d', '请先选择记录', 'mainAlertdiv2');
|
|||
|
|
} else {
|
|||
|
|
swal({
|
|||
|
|
text: "您确定要删除此记录?",
|
|||
|
|
dangerMode: true,
|
|||
|
|
buttons: {
|
|||
|
|
cancel: {
|
|||
|
|
text: "取消",
|
|||
|
|
value: null,
|
|||
|
|
visible: true,
|
|||
|
|
className: "btn btn-default btn-sm",
|
|||
|
|
closeModal: true,
|
|||
|
|
},
|
|||
|
|
confirm: {
|
|||
|
|
text: "确定",
|
|||
|
|
value: true,
|
|||
|
|
visible: true,
|
|||
|
|
className: "btn btn-danger btn-sm",
|
|||
|
|
closeModal: true
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
})
|
|||
|
|
.then(function (willDelete) {
|
|||
|
|
if (willDelete) {
|
|||
|
|
$.post(ext.contextPath + '/report/rptSpSet/dodeletes.do', {ids: datas}, function (data) {
|
|||
|
|
var datastr = eval('(' + data + ')');
|
|||
|
|
if (datastr.code == 1) {
|
|||
|
|
$("#tableSp").bootstrapTable('refresh');
|
|||
|
|
} else {
|
|||
|
|
showAlert('d', '删除失败', 'mainAlertdiv2');
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
}
|
|||
|
|
};
|
|||
|
|
</script>
|
|||
|
|
<div class="box box-primary">
|
|||
|
|
<div class="box-header with-border">
|
|||
|
|
<h3 class="box-title">修改</h3>
|
|||
|
|
|
|||
|
|
<div class="box-tools pull-right">
|
|||
|
|
<a onclick="dosave()" class="btn btn-box-tool" data-toggle="tooltip" title="保存"><i
|
|||
|
|
class="glyphicon glyphicon-floppy-disk"></i></a>
|
|||
|
|
<a onclick="dodel()" class="btn btn-box-tool" data-toggle="tooltip" title="删除"><i
|
|||
|
|
class="glyphicon glyphicon-trash"></i></a>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
<!-- /.box-header -->
|
|||
|
|
<div class="box-body ">
|
|||
|
|
<form class="form-horizontal " id="subForm">
|
|||
|
|
<input id="id" name="id" type="hidden" value="${rptInfoSet.id}"/>
|
|||
|
|
<input id="unitId" name="unitId" type="hidden" value="${rptInfoSet.unitId}"/>
|
|||
|
|
<input type="hidden" id="type" name="type" value="${TYPE_CATALOGUE}">
|
|||
|
|
<!-- 界面提醒div强制id为alertDiv -->
|
|||
|
|
<div id="alertDiv"></div>
|
|||
|
|
<div id="menu4SelectDiv"></div>
|
|||
|
|
<div class="form-group">
|
|||
|
|
<label class="col-sm-2 control-label">报表名称</label>
|
|||
|
|
<div class="col-sm-4">
|
|||
|
|
<input type="text" class="form-control" id="name" name="name" placeholder="报表名称"
|
|||
|
|
value="${rptInfoSet.name }" autocomplete="off">
|
|||
|
|
</div>
|
|||
|
|
<label class="col-sm-2 control-label">上级菜单</label>
|
|||
|
|
<div class="col-sm-4">
|
|||
|
|
<input type="text" class="form-control" id="pname" name="pname" placeholder="上级菜单"
|
|||
|
|
onclick="showMenu4SelectFun()" value="${pname}" readonly>
|
|||
|
|
<input id="pid" name="pid" type="hidden" value="${rptInfoSet.pid}"/>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
<div class="form-group">
|
|||
|
|
<label class="col-sm-2 control-label">顺序</label>
|
|||
|
|
<div class="col-sm-4">
|
|||
|
|
<input type="number" class="form-control" id="morder" name="morder" placeholder="顺序"
|
|||
|
|
value="${rptInfoSet.morder }" autocomplete="off">
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
</form>
|
|||
|
|
</div>
|
|||
|
|
</div>
|