| | |
| | | <div class="layui-card"> |
| | | <div class="layui-card-header"> |
| | | <h2 class="header-title">业务日志</h2> |
| | | <h2 class="header-title">字典管理</h2> |
| | | <span class="layui-breadcrumb pull-right"> |
| | | <a href="#!home_console">首页</a> |
| | | <a><cite>业务日志</cite></a> |
| | | <a><cite>字典管理</cite></a> |
| | | </span> |
| | | </div> |
| | | <div class="layui-card-body"> |
| | |
| | | }, |
| | | { field: 'dictionariesClassName', width: 200, sort: true, title: '字典分类' }, |
| | | { field: 'dictionariesKey', width: 180, sort: true, title: '字典Key' }, |
| | | { field: 'dictionariesName', width: 300, sort: true, title: '字典值' }, |
| | | { field: 'dictionariesName', width: 264, sort: true, title: '字典值' }, |
| | | { field: 'id', width: 250, align: 'center', toolbar: '#dictionaries-tpl-state', sort: true, title: '状态' },// 0就诊数据 1筛查 |
| | | { field: 'createTime', width: 250, sort: true, title: '创建时间', templet: "<div>{{layui.util.toDateString(d.createTime, 'yyyy年MM月dd日 HH:mm:ss')}}</div>" }, |
| | | { field: 'id', width: 250, align: 'center', toolbar: '#dictionaries-table-bar', sort: true, title: '操作' },// 0就诊数据 1筛查 |
| | |
| | | // 表单提交事件 |
| | | form.on('submit(user-form-submit)', function (data) { |
| | | layer.load(2); |
| | | if(data.field.dictionariesClassId==""){ |
| | | data.field.dictionariesClassId=null; |
| | | } |
| | | admin.req('api-user/sysdictionaries', JSON.stringify(data.field), function (data) { |
| | | layer.closeAll('loading'); |
| | | if (data.code == 0) { |