123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345 |
- <!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">
- <link rel="stylesheet" href="${ctx}/assets/lib/bootstrap-Switch/bootstrapSwitch.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/lib/bootstrap-Switch/bootstrapSwitch.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 setCollapseIcon(collapseIcon)
- {
- var curCollapseIconClass=$("#"+collapseIcon).attr("class");
- if(curCollapseIconClass=="glyphicon glyphicon-menu-up")
- {
- $("#"+collapseIcon).attr("class","glyphicon glyphicon-menu-down");
- }
- else
- {
- $("#"+collapseIcon).attr("class","glyphicon glyphicon-menu-up");
- }
- }
- $(function () {
- //短信提醒开关
- $('#SMSFlagDiv').on('switch-change', function (e, data) {
- var $el = $(data.el);
- var fieldValue = data.value;
- if(fieldValue==false)
- {
- $('#SMSWaitDoFlagDiv').bootstrapSwitch('setState',false);
- $('#SMSSoonFlagDiv').bootstrapSwitch('setState',false);
- $('#SMSDayFlagDiv').bootstrapSwitch('setState',false);
- $('#SMSMonthFlagDiv').bootstrapSwitch('setState',false);
- $('#SMSSeasonsFlagDiv').bootstrapSwitch('setState',false);
-
- }
- $('#form1').attr('action','${ctx}/myconsole/complaint/rule/doRemindFlag?FieldName=SMSFlag&FieldValue='+fieldValue);
- $('#form1').ajaxSubmit(resultHandle);
- });
-
- $('#SMSWaitDoFlagDiv').on('switch-change', function (e, data) {
- var $el = $(data.el);
- var fieldValue = data.value;
- $('#form1').attr('action','${ctx}/myconsole/complaint/rule/doRemindFlag?FieldName=SMSWaitDoFlag&FieldValue='+fieldValue);
- $('#form1').ajaxSubmit(resultHandle);
- });
- $('#SMSSoonFlagDiv').on('switch-change', function (e, data) {
- var $el = $(data.el);
- var fieldValue = data.value;
- $('#form1').attr('action','${ctx}/myconsole/complaint/rule/doRemindFlag?FieldName=SMSSoonFlag&FieldValue='+fieldValue);
- $('#form1').ajaxSubmit(resultHandle);
- });
- $('#SMSDayFlagDiv').on('switch-change', function (e, data) {
- var $el = $(data.el);
- var fieldValue = data.value;
- $('#form1').attr('action','${ctx}/myconsole/complaint/rule/doRemindFlag?FieldName=SMSDayFlag&FieldValue='+fieldValue);
- $('#form1').ajaxSubmit(resultHandle);
- });
- $('#SMSMonthFlagDiv').on('switch-change', function (e, data) {
- var $el = $(data.el);
- var fieldValue = data.value;
- $('#form1').attr('action','${ctx}/myconsole/complaint/rule/doRemindFlag?FieldName=SMSMonthFlag&FieldValue='+fieldValue);
- $('#form1').ajaxSubmit(resultHandle);
- });
- $('#SMSSeasonsFlagDiv').on('switch-change', function (e, data) {
- var $el = $(data.el);
- var fieldValue = data.value;
- $('#form1').attr('action','${ctx}/myconsole/complaint/rule/doRemindFlag?FieldName=SMSSeasonsFlag&FieldValue='+fieldValue);
- $('#form1').ajaxSubmit(resultHandle);
- });
-
-
- //邮件提醒开关
- $('#EmailFlagDiv').on('switch-change', function (e, data) {
- var $el = $(data.el);
- var fieldValue = data.value;
- if(fieldValue==false)
- {
- $('#EmailWaitDoFlagDiv').bootstrapSwitch('setState',false);
- $('#EmailSoonFlagDiv').bootstrapSwitch('setState',false);
- $('#EmailDayFlagDiv').bootstrapSwitch('setState',false);
- $('#EmailMonthFlagDiv').bootstrapSwitch('setState',false);
- $('#EmailSeasonsFlagDiv').bootstrapSwitch('setState',false);
-
- }
- $('#form1').attr('action','${ctx}/myconsole/complaint/rule/doRemindFlag?FieldName=EmailFlag&FieldValue='+fieldValue);
- $('#form1').ajaxSubmit(resultHandle);
- });
- $('#EmailWaitDoFlagDiv').on('switch-change', function (e, data) {
- var $el = $(data.el);
- var fieldValue = data.value;
- $('#form1').attr('action','${ctx}/myconsole/complaint/rule/doRemindFlag?FieldName=EmailWaitDoFlag&FieldValue='+fieldValue);
- $('#form1').ajaxSubmit(resultHandle);
- });
- $('#EmailSoonFlagDiv').on('switch-change', function (e, data) {
- var $el = $(data.el);
- var fieldValue = data.value;
- $('#form1').attr('action','${ctx}/myconsole/complaint/rule/doRemindFlag?FieldName=EmailSoonFlag&FieldValue='+fieldValue);
- $('#form1').ajaxSubmit(resultHandle);
- });
- $('#EmailDayFlagDiv').on('switch-change', function (e, data) {
- var $el = $(data.el);
- var fieldValue = data.value;
- $('#form1').attr('action','${ctx}/myconsole/complaint/rule/doRemindFlag?FieldName=EmailDayFlag&FieldValue='+fieldValue);
- $('#form1').ajaxSubmit(resultHandle);
- });
- $('#EmailMonthFlagDiv').on('switch-change', function (e, data) {
- var $el = $(data.el);
- var fieldValue = data.value;
- $('#form1').attr('action','${ctx}/myconsole/complaint/rule/doRemindFlag?FieldName=EmailMonthFlag&FieldValue='+fieldValue);
- $('#form1').ajaxSubmit(resultHandle);
- });
- $('#EmailSeasonsFlagDiv').on('switch-change', function (e, data) {
- var $el = $(data.el);
- var fieldValue = data.value;
- $('#form1').attr('action','${ctx}/myconsole/complaint/rule/doRemindFlag?FieldName=EmailSeasonsFlag&FieldValue='+fieldValue);
- $('#form1').ajaxSubmit(resultHandle);
- });
-
- })
- //设置提醒标志
-
-
- function setRemindFlag(fieldName)
- {
- alert(fieldName);
- var fieldValue=$('#'+fieldName).is(':checked');
-
- }
- function setRemindFlag1(fieldName)
- {
- alert(fieldName);
-
- }
-
- function resultHandle(data){
-
- }
- </script>
-
- <title>提醒规则设置</title>
- <meta name="keywords" content="">
- <meta name="description" content="">
- </head>
- <body >
-
- <form id="form1" method="post" class="form-horizontal" role="form">
- <div style="display: none">
- <input type="hidden" id="KeyID" name="KeyID" value="${DoOrgID}"/>
-
- <input type="hidden" id="OrgID" name="OrgID" value="${DoOrgID}"/>
- <input type="hidden" id="OrgName" name="OrgName" value="${DoOrgName}"/>
- <input type="hidden" id="RecordUserID" name="RecordUserID" value="${user.UserID}"/>
- <input type="hidden" id="RecordUserName" name="RecordUserName" value="${user.UserName}"/>
-
-
-
-
- </div>
- <div class="container-fluid" style="margin-top:15px;">
- <div class="panel panel-primary">
- <div class="panel-heading">
- <div style="display:inline;" >短信提醒设置 </div>
-
- </div>
- <div id="collapsePerson" class="panel-collapse collapse in">
- <div class="panel-body" style="font-size:14px">
-
- <div class="row" style="padding:5px" >
-
- <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" style="text-align:right;">
- <label class="control-label" >短信提醒</label></div>
- <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3" >
- <div class="switch" id=SMSFlagDiv data-on="success" data-off="warning" data-on-label="开" data-off-label="关" >
- <input type="checkbox" id=SMSFlag name=SMSFlag />
- <script type="text/javascript">$(function(){$('#SMSFlagDiv').bootstrapSwitch('setState', ${remindRule.SMSFlag});})</script>
- </div>
- </div>
-
- </div>
-
- <div class="row" style="padding:5px" >
- <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" >
-
- </div>
-
- <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" style="text-align:right;">
- <label class="control-label" >待办提醒</label></div>
- <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" >
- <div class="switch" id=SMSWaitDoFlagDiv data-on="primary" data-off="info" data-on-label="开" data-off-label="关">
- <input type="checkbox" id=SMSWaitDoFlag name=SMSWaitDoFlag />
- <script type="text/javascript">$(function(){$('#SMSWaitDoFlagDiv').bootstrapSwitch('setState', ${remindRule.SMSWaitDoFlag});})</script>
- </div>
- </div>
- <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" style="text-align:right;">
- <label class="control-label" >到期提醒</label></div>
- <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" >
- <div class="switch" id=SMSSoonFlagDiv data-on="primary" data-off="info" data-on-label="开" data-off-label="关">
- <input type="checkbox" id=SMSSoonFlag name=SMSSoonFlag />
- <script type="text/javascript">$(function(){$('#SMSSoonFlagDiv').bootstrapSwitch('setState', ${remindRule.SMSSoonFlag});})</script>
- </div>
- </div>
- <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" style="text-align:right;">
- <label class="control-label" >日报提醒</label></div>
- <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" >
- <div class="switch" id=SMSDayFlagDiv data-on="primary" data-off="info" data-on-label="开" data-off-label="关">
- <input type="checkbox" id=SMSDayFlag name=SMSDayFlag />
- <script type="text/javascript">$(function(){$('#SMSDayFlagDiv').bootstrapSwitch('setState', ${remindRule.SMSDayFlag});})</script>
- </div>
- </div>
- <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" style="text-align:right;">
- <label class="control-label" >月报提醒</label></div>
- <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" >
- <div class="switch" id=SMSMonthFlagDiv data-on="primary" data-off="info" data-on-label="开" data-off-label="关">
- <input type="checkbox" id=SMSMonthFlag name=SMSMonthFlag />
- <script type="text/javascript">$(function(){$('#SMSMonthFlagDiv').bootstrapSwitch('setState', ${remindRule.SMSMonthFlag});})</script>
- </div>
- </div>
- <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" style="text-align:right;">
- <label class="control-label" >季报提醒</label></div>
- <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" >
- <div class="switch" id=SMSSeasonsFlagDiv data-on="primary" data-off="info" data-on-label="开" data-off-label="关">
- <input type="checkbox" id=SMSSeasonsFlag name=SMSSeasonsFlag />
- <script type="text/javascript">$(function(){$('#SMSSeasonsFlagDiv').bootstrapSwitch('setState', ${remindRule.SMSSeasonsFlag});})</script>
- </div>
- </div>
-
- </div>
-
-
-
- </div>
- </div>
- </div>
-
- <div class="panel panel-success">
- <div class="panel-heading">
- <div style="display:inline;" >邮件提醒设置 </div>
-
- </div>
- <div id="collapsePerson" class="panel-collapse collapse in">
- <div class="panel-body" style="font-size:14px">
-
- <div class="row" style="padding:5px" >
-
- <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" style="text-align:right;">
- <label class="control-label" >邮件提醒</label></div>
- <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3" >
- <div class="switch" id=EmailFlagDiv data-on="success" data-off="warning" data-on-label="开" data-off-label="关" >
- <input type="checkbox" id=EmailFlag name=EmailFlag />
- <script type="text/javascript">$(function(){$('#EmailFlagDiv').bootstrapSwitch('setState', ${remindRule.EmailFlag});})</script>
- </div>
- </div>
-
- </div>
-
- <div class="row" style="padding:5px" >
- <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" >
-
- </div>
-
- <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" style="text-align:right;">
- <label class="control-label" >待办提醒</label></div>
- <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" >
- <div class="switch" id=EmailWaitDoFlagDiv data-on="primary" data-off="info" data-on-label="开" data-off-label="关">
- <input type="checkbox" id=EmailWaitDoFlag name=EmailWaitDoFlag />
- <script type="text/javascript">$(function(){$('#EmailWaitDoFlagDiv').bootstrapSwitch('setState', ${remindRule.EmailWaitDoFlag});})</script>
- </div>
- </div>
- <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" style="text-align:right;">
- <label class="control-label" >到期提醒</label></div>
- <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" >
- <div class="switch" id=EmailSoonFlagDiv data-on="primary" data-off="info" data-on-label="开" data-off-label="关">
- <input type="checkbox" id=EmailSoonFlag name=EmailSoonFlag />
- <script type="text/javascript">$(function(){$('#EmailSoonFlagDiv').bootstrapSwitch('setState', ${remindRule.EmailSoonFlag});})</script>
- </div>
- </div>
- <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" style="text-align:right;">
- <label class="control-label" >日报提醒</label></div>
- <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" >
- <div class="switch" id=EmailDayFlagDiv data-on="primary" data-off="info" data-on-label="开" data-off-label="关">
- <input type="checkbox" id=EmailDayFlag name=EmailDayFlag />
- <script type="text/javascript">$(function(){$('#EmailDayFlagDiv').bootstrapSwitch('setState', ${remindRule.EmailDayFlag});})</script>
- </div>
- </div>
- <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" style="text-align:right;">
- <label class="control-label" >月报提醒</label></div>
- <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" >
- <div class="switch" id=EmailMonthFlagDiv data-on="primary" data-off="info" data-on-label="开" data-off-label="关">
- <input type="checkbox" id=EmailMonthFlag name=EmailMonthFlag />
- <script type="text/javascript">$(function(){$('#EmailMonthFlagDiv').bootstrapSwitch('setState', ${remindRule.EmailMonthFlag});})</script>
- </div>
- </div>
- <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" style="text-align:right;">
- <label class="control-label" >季报提醒</label></div>
- <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" >
- <div class="switch" id=EmailSeasonsFlagDiv data-on="primary" data-off="info" data-on-label="开" data-off-label="关">
- <input type="checkbox" id=EmailSeasonsFlag name=EmailSeasonsFlag />
- <script type="text/javascript">$(function(){$('#EmailSeasonsFlagDiv').bootstrapSwitch('setState', ${remindRule.EmailSeasonsFlag});})</script>
- </div>
- </div>
-
- </div>
-
-
-
- </div>
- </div>
- </div>
-
-
-
-
-
- </div>
- </form>
- </body>
-
- </html>
|