123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175 |
- <!DOCTYPE HTML>
- <html>
- <head>
- <meta charset="utf-8">
- <meta name="renderer" content="webkit|ie-comp|ie-stand">
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
- <meta http-equiv="Cache-Control" content="no-siteapp" />
- <link rel="stylesheet" href="${ctx}/assets/lib/bootstrap-3.3.7/css/bootstrap.min.css">
- <link rel="stylesheet" href="${ctx}/assets/lib/bootstrap-upload/css/default.css">
- <link rel="stylesheet" href="${ctx}/assets/lib/bootstrap-upload/css/fileinput.css">
- <script type="text/javascript" src="${ctx}/assets/lib/jquery/1.9.1/jquery.min.js"></script>
- <script type="text/javascript" src="${ctx}/assets/lib/jquery.form/jquery.form.min.js"></script>
- <script type="text/javascript" src="${ctx}/assets/lib/layer/3.0.3/layer.js"></script>
- <script type="text/javascript" src="${ctx}/assets/lib/My97DatePicker/WdatePicker.js"></script>
- <script type="text/javascript" src="${ctx}/assets/lib/bootstrap-upload/js/fileinput.js"></script>
- <script type="text/javascript" src="${ctx}/assets/lib/bootstrap-upload/js/locales/zh.js"></script>
- <script type="text/javascript" src="${ctx}/assets/lib/bootstrap-3.3.7/js/bootstrap.min.js"></script>
- <script type="text/javascript" src="${ctx}/assets/js/base.js"></script>
- <script src="${ctx}/assets/js/validate.js" ></script>
-
- <script type="text/javascript">
- function doSubmit(oper){
- if(doValidate(form1)){
- $('#oper').val(oper);
- $('#form1').attr('action','${ctx}/myconsole/complaint/report/saveorUpdaeData');
- $('#form1').ajaxSubmit(resultHandle);
- }
- }
-
- function resultHandle(data){
- var res=eval('(' + data + ')');
- if(res.flag){
- layer.alert(res.message, {skin: 'layui-layer-molv',closeBtn: 1},
- function(){
- layer.closeAll('dialog');
- window.parent.location.reload();
- });
-
- }else{
- if(res.flag == false)
- {
- layer.alert(res.message, {skin: 'layui-layer-molv',closeBtn: 0}, function(){layer.closeAll('dialog');});
- }
- }
- }
- </script>
-
- <!--/请在上方写此页面业务相关的脚本-->
- <title>表数据维护</title>
- <meta name="keywords" content="">
- <meta name="description" content="">
- </head>
- <body style="line-height:1;">
-
- <form id="form1" method="post" class="form-horizontal" role="form">
- <div style="display: none">
- <input type="hidden" id="oper" name="oper" value=""/>
- <input type="hidden" name='selfReport.IsLeaf' value="${selfReport.IsLeaf!''}">
- <input type="hidden" name='selfReport.TLevel' value="${selfReport.tlevel!''}">
- <input type="hidden" name='selfReport.TType' value="${selfReport.TType!''}">
-
- </div>
- <div class="container-fluid" style="margin-top:15px;">
- <div class="panel panel-primary">
- <div class="panel-heading">维度数据维护</div>
- <div class="panel-body" style="font-size:14px">
- <div class="row" style="padding:5px">
- <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2" >
- <label class="control-label" for="TID">数据编号</label>
- </div>
- <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
- <input type="text" class="form-control" style='background-color:#F5F5F5;border:0' readOnly value="${selfReport.TID!''}" placeholder="" id="TID" name="selfReport.TID" vdisp='数据编号' vtype='string'>
- </div>
- </div>
- <div class="row" style="padding:5px">
- <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 has-error has-feedback" >
- <label class="form-label" for="TableField">维度名称</label>
- </div>
- <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8 has-error has-feedback" >
- <input type="text" class="form-control" value="${selfReport.TableField!''}" placeholder="" id="TableField" name="selfReport.TableField" vdisp='维度名称' vmode='not null' vtype='string'>
- </div>
- </div>
- <div class="row" style="padding:5px">
- <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 has-error has-feedback" >
- <label class="form-label" for="TName">维度显示名</label>
- </div>
- <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8 has-error has-feedback">
- <input type="text" class="form-control" value="${selfReport.TName!''}" placeholder="" id="TName" name="selfReport.TName" vdisp='维度显示名' vmode='not null' vtype='string'>
- </div>
- </div>
- <div class="row" style="padding:5px">
- <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 has-error has-feedback" >
- <label class="form-label" for="SortID">排序编号</label>
- </div>
- <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8 has-error has-feedback">
- <input type="text" class="form-control" value="${selfReport.SortID!''}" placeholder="" id="SortID" name=selfReport.SortID vdisp='排序编号' vmode='not null' vtype='integer'>
- (1排在第一位,2排在第二位,3排在第三位,...)
- </div>
- </div>
- <div class="row" style="padding:5px">
- <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2" >
- <label class="form-label" for="FieldType">维度类型</label>
- </div>
- <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
- <select id="FieldType" name="selfReport.FieldType" class="form-control" vdisp='维度类型' vtype='string'>
- <option value="" >行列皆可</option>
- <option value="row">只作为行</option>
- <option value="col">只作为列</option>
- </select> (报表行、列来源中是否都能看到或只能在其中一个里看到)
- <script type="text/javascript">$(function(){$("#FieldType").val("${selfReport.FieldType!''}");})</script>
- </div>
- </div>
- <div class="row" style="padding:5px">
- <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2" >
- <label class="form-label" for="FieldSource">维度值来源</label>
- </div>
- <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
- <textarea class="form-control" rows="2" value="${selfReport.FieldSource!''}" placeholder="" id="FieldSource" name="selfReport.FieldSource" vmode="" vdisp="维度值来源" vtype="string" maxlength='1000'>${selfReport.FieldSource!''}</textarea>
- <label class="form-control" for="web.title"> 注:SQL语句(对应值用TID,显示值用TName)或“对应值=显示值, ...”</label>
- </div>
- </div>
-
- <div class="row" style="padding:5px">
- <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2" >
- <label class="form-label" for="ValueSource">维度特殊处理</label>
- </div>
- <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
- <textarea class="form-control" rows="2" value="${selfReport.ValueSource!''}" placeholder="" id="ValueSource" name="selfReport.ValueSource" vmode="" vdisp="维度特殊处理" vtype="string" maxlength='1000'>${selfReport.ValueSource!''}</textarea>
- <label class="form-control" for="web.title"> 注:字段值特殊处理,处理好的数据用于和上面值来源对应</label>
- </div>
- </div>
- <div class="row" style="padding:5px">
- <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2" >
- <label class="form-label" for="DescInfo">描 述</label>
- </div>
- <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
- <textarea class="form-control" rows="2" value="${selfReport.DescInfo!''}" placeholder="" id="DescInfo" name="selfReport.DescInfo" vmode="" vdisp="描述" vtype="string" maxlength='500'>${selfReport.DescInfo!''}</textarea>
- </div>
- </div>
-
-
- <div class="row" style="padding:5px">
- <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2" >
- <label class="form-label" for="UpperID">上级编号</label>
- </div>
- <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
- <input type="text" class="form-control" style="background-color:#F5F5F5; border:0;" readonly value="${selfReport.UpperID!''}" placeholder="" id="UpperID" name="selfReport.UpperID" vdisp='上级编号' vtype='string' readonly>
- </div>
- </div>
- <div class="row" style="padding:5px">
- <div class="col-xs-10 col-sm-10 col-md-10 col-lg-10" align=center>
- <button type="button" class="btn btn-primary" id="SubmitButton1" onclick="doSubmit('edit')"> 修 改</button>
- <button type="button" class="btn btn-danger" id="SubmitButton1" onclick="doSubmit('del')"> 删 除</button>
- </div>
-
- </div>
- </div>
-
- </div>
- </div>
- </form>
-
- </body>
- </html>
|