jiaojiao7 4 年之前
父节点
当前提交
ea0e1da721
共有 1 个文件被更改,包括 2 次插入33 次删除
  1. 2 33
      src/web/templates/client/index.html

+ 2 - 33
src/web/templates/client/index.html

@@ -99,7 +99,7 @@
                                                         </button>
                                               
                                                 </div>
-                                                <div class="row" style="margin-top: 8px;margin-left: 16px">
+                                                <div class="row" style="margin-top: 8px;margin-left: 97px">
                                                     <div class="col-lg-7 col-md-offset-1" id="mails">
                                                         <div class="input-group">
                                                             <span class="input-group-addon">示例:</span>
@@ -309,38 +309,7 @@
                     $(this).attr("selected",'selected');
                 }
             });
-        /*
-        if (dataMap.i_push && dataMap.i_push == 1) {
-            $('#pushSwitch').html("开启");
-        } else {
-            tagruleArr = {{.T.tagrule}}
-            if (dataMap.i_push && dataMap.i_push == 1) {
-                $('#pushSwitch').html("开启");
-            } else {
-                $('#pushSwitch').html("关闭");
-            }
-            if (dataMap.i_pushmodel == 0) {
-                $('#pushModelSelect').html("全局模式");
-            } else if (dataMap.i_pushmodel && dataMap.i_pushmodel == 1) {
-                $('#pushModelSelect').html("部门模式");
-            } else if (dataMap.i_pushmodel && dataMap.i_pushmodel == 2) {
-                $('#pushModelSelect').html("标签模式");
-            } else if (dataMap.i_pushmodel && dataMap.i_pushmodel == 3) {
-                $('#pushModelSelect').html("部门+标签模式");
-            } else if (dataMap.i_pushmodel && dataMap.i_pushmodel == 4) {
-                $('#pushModelSelect').html("规则模式(不去重)");
-            }
-            if (dataMap.i_pushtype == 0) {
-                $('#pushTypeSelect').html("邮箱");
-            } else if (dataMap.i_pushtype && dataMap.i_pushmodel == 1) {
-                $('#pushTypeSelect').html("接口");
-            }
-        }
-        if (dataMap.i_pushtype == 0) {
-            $('#pushTypeSelect').html("邮箱");
-        } else if (dataMap.i_pushtype && dataMap.i_pushmodel == 1) {
-           $('#pushTypeSelect').html("接口");
-        } */
+
         $('#S_name').html(dataMap.s_name);
         $('#departTable').DataTable({
             "paging": false,