Commit fb222b35891c6e2b5a4273082809a6d362e81be0
1 parent
c04499a403
Exists in
master
窗口最大化问题优化
Showing 4 changed files with 20 additions and 16 deletions
- parent/center.manager/src/main/webapp/WEB-INF/views/articles/articles_list.html
- parent/center.manager/src/main/webapp/WEB-INF/views/categories/categonies_list.html
- parent/center.manager/src/main/webapp/WEB-INF/views/content/org_operate.html
- parent/center.manager/src/main/webapp/WEB-INF/views/content/template_list.html
parent/center.manager/src/main/webapp/WEB-INF/views/articles/articles_list.html
View file @
fb222b3
| ... | ... | @@ -163,7 +163,7 @@ |
| 163 | 163 | } |
| 164 | 164 | |
| 165 | 165 | function add(){ |
| 166 | - popWindow("添加图文内容", APP.PATH + controllerRequestMappint + "0/toEdit",850,800); | |
| 166 | + fullWindow("添加图文内容", APP.PATH + controllerRequestMappint + "0/toEdit",850,800); | |
| 167 | 167 | } |
| 168 | 168 | |
| 169 | 169 | function del(){ |
| ... | ... | @@ -200,7 +200,7 @@ |
| 200 | 200 | showToggle: true, |
| 201 | 201 | detailView: false, |
| 202 | 202 | onDblClickRow:function(row,ev){ |
| 203 | - popWindow("修改图文信息", APP.PATH + controllerRequestMappint + row.id+"/toEdit?id="+row.id,850,800); | |
| 203 | + fullWindow("修改图文信息", APP.PATH + controllerRequestMappint + row.id+"/toEdit?id="+row.id,850,800); | |
| 204 | 204 | }, |
| 205 | 205 | columns:[{ |
| 206 | 206 | field: 'perent', |
parent/center.manager/src/main/webapp/WEB-INF/views/categories/categonies_list.html
View file @
fb222b3
| ... | ... | @@ -43,11 +43,11 @@ |
| 43 | 43 | var controllerRequestMappint = "/contentCategories/"; |
| 44 | 44 | |
| 45 | 45 | function add(id,level,cgName) { |
| 46 | - popWindow("新增栏目", APP.PATH + controllerRequestMappint + "0/toEdit?perId="+id+"&perCgName="+cgName+"&level="+level,800,800); | |
| 46 | + fullWindow("新增栏目", APP.PATH + controllerRequestMappint + "0/toEdit?perId="+id+"&perCgName="+cgName+"&level="+level,800,800); | |
| 47 | 47 | } |
| 48 | 48 | |
| 49 | 49 | function edit(id){ |
| 50 | - popWindow("修改栏目", APP.PATH + controllerRequestMappint + id + "/toEdit",800,800); | |
| 50 | + fullWindow("修改栏目", APP.PATH + controllerRequestMappint + id + "/toEdit",800,800); | |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | function del(id){ |
parent/center.manager/src/main/webapp/WEB-INF/views/content/org_operate.html
View file @
fb222b3
| 1 | 1 | #override("body") |
| 2 | 2 | <div class="wrapper wrapper-content"> |
| 3 | 3 | <div class="row"> |
| 4 | - <div class="col-sm-3"> | |
| 4 | + <!--<div class="col-sm-3"> | |
| 5 | 5 | <div class="ibox float-e-margins"> |
| 6 | 6 | <div class="ibox-content mailbox-content"> |
| 7 | 7 | <div class="container-fluid"> |
| ... | ... | @@ -20,8 +20,8 @@ |
| 20 | 20 | </div> |
| 21 | 21 | </div> |
| 22 | 22 | </div> |
| 23 | - </div> | |
| 24 | - <div class="col-sm-9 animated fadeInRight"> | |
| 23 | + </div>--> | |
| 24 | + <div class="col-sm-12 animated fadeInRight"> | |
| 25 | 25 | <div class="panel panel-default"> |
| 26 | 26 | <div class="panel-heading"> |
| 27 | 27 | <label><h3 class="panel-title">短信内容设置</h3></label> |
| ... | ... | @@ -42,7 +42,7 @@ |
| 42 | 42 | </div> |
| 43 | 43 | </div> |
| 44 | 44 | <div class="col-sm-8"> |
| 45 | - <div class="form-group" onclick="confirmVer();"> | |
| 45 | + <div class="form-group"> | |
| 46 | 46 | <a class="btn btn-primary" href="javascript:configVer()">确定</a> |
| 47 | 47 | </div> |
| 48 | 48 | </div> |
| ... | ... | @@ -102,7 +102,7 @@ |
| 102 | 102 | var controllerRequestMappint = "/contentDoctorMessage/"; |
| 103 | 103 | |
| 104 | 104 | function add(){ |
| 105 | - popWindow("新增信息", APP.PATH + controllerRequestMappint + "0/toEdit?hId=$hospId", 850, 800); | |
| 105 | + fullWindow("新增信息", APP.PATH + controllerRequestMappint + "0/toEdit?hId=$hospId", 850, 800); | |
| 106 | 106 | } |
| 107 | 107 | function showMessageList() { |
| 108 | 108 | layer.closeAll();//关闭弹窗 |
| ... | ... | @@ -116,10 +116,14 @@ |
| 116 | 116 | } |
| 117 | 117 | |
| 118 | 118 | function del(msgId){ |
| 119 | - $.post(APP.PATH + controllerRequestMappint + msgId+"/delete", "", function (data) { | |
| 120 | - msg(r.message); | |
| 121 | - showMessageList(); | |
| 122 | - }, "json"); | |
| 119 | + layer.confirm('确定删除选中的数据', { | |
| 120 | + btn: ['确定','取消'] //按钮 | |
| 121 | + }, function(){ | |
| 122 | + $.post(APP.PATH + controllerRequestMappint + msgId+"/delete", "", function (data) { | |
| 123 | + msg(data.message); | |
| 124 | + showMessageList(); | |
| 125 | + }, "json"); | |
| 126 | + }); | |
| 123 | 127 | } |
| 124 | 128 | |
| 125 | 129 | function changeVer() { |
| ... | ... | @@ -199,7 +203,7 @@ |
| 199 | 203 | pageList: [200], //可供选择的每页的行数(*) |
| 200 | 204 | strictSearch: true, |
| 201 | 205 | onDblClickRow: function (row, ev) { |
| 202 | - popWindow("修改信息", APP.PATH + controllerRequestMappint + row.id + "/toEdit?hId=$hospId", 850, 800); | |
| 206 | + fullWindow("修改信息", APP.PATH + controllerRequestMappint + row.id + "/toEdit?hId=$hospId", 850, 800); | |
| 203 | 207 | }, |
| 204 | 208 | queryParams: function (params) { |
| 205 | 209 | return { |
parent/center.manager/src/main/webapp/WEB-INF/views/content/template_list.html
View file @
fb222b3
| ... | ... | @@ -135,7 +135,7 @@ |
| 135 | 135 | return; |
| 136 | 136 | } |
| 137 | 137 | var vName = version.versionName; |
| 138 | - popWindow("新增信息模板", APP.PATH + controllerRequestMappint + verId+"/toEdit?vName="+vName,850,800); | |
| 138 | + fullWindow("新增信息模板", APP.PATH + controllerRequestMappint + verId+"/toEdit?vName="+vName,850,800); | |
| 139 | 139 | } |
| 140 | 140 | |
| 141 | 141 | var templateVer = []; |
| ... | ... | @@ -172,7 +172,7 @@ |
| 172 | 172 | pageList: [200], //可供选择的每页的行数(*) |
| 173 | 173 | strictSearch: true, |
| 174 | 174 | onDblClickRow:function(row,ev){ |
| 175 | - popWindow("修改信息模板", APP.PATH + controllerRequestMappint + version.id+"/toEdit?id="+row.id+"&vName="+version.versionName,850,800); | |
| 175 | + fullWindow("修改信息模板", APP.PATH + controllerRequestMappint + version.id+"/toEdit?id="+row.id+"&vName="+version.versionName,850,800); | |
| 176 | 176 | }, |
| 177 | 177 | queryParams:function (params) { |
| 178 | 178 | return { |