| | |
| | | </div> |
| | | <div class="layui-form-item model-form-footer"> |
| | | <button class="layui-btn layui-btn-primary" ew-event="closeDialog" type="button">取消</button> |
| | | <button class="layui-btn" id="sure" lay-filter="user-form-submit permissions" permissions=" |
| | | <button class="layui-btn" id="sure" lay-filter="user-form-submit" permissions=" |
| | | doctortemplete-edit" lay-submit>保存</button> |
| | | </div> |
| | | </form> |
| | |
| | | { field: 'templeteTitle', width: 180, sort: true, title: '标题' }, |
| | | { |
| | | field: 'publicType', width: 200, sort: true, title: '开放类型', templet: function (d) { |
| | | return d.publicType ==true ? "公开" : "私有" |
| | | return d.publicType ==true ? "私有" : "公开" |
| | | } |
| | | }, |
| | | { |
| | |
| | | { field: 'enabled', width: 100, sort: true, templet: '#doctor-templete-tpl-state', title: '状态' }, |
| | | { field: 'recordTitle', width: 300, toolbar: '#doctor-templete-table-bar', sort: true, title: '操作' }, |
| | | ]], |
| | | done:function(){ |
| | | permissionsInput(); |
| | | done:function(res){ |
| | | permissionsInput(res,config); |
| | | } |
| | | }); |
| | | |