| | |
| | | <input id="doctorName" class="layui-input search-input" type="text" placeholder="按医生名" />  |
| | | <select id="doctorState" lay-filter="role_clients"> |
| | | <option value="">-医院状态-</option> |
| | | <option value="true">正常</option> |
| | | <option value="false">试用</option> |
| | | <option value="1">正常</option> |
| | | <option value="0">试用</option> |
| | | </select>  |
| | | <input name="hospitalName" id="hospitalName-seach" placeholder="按医院名称" type="text" |
| | | class="layui-input search-input" maxlength="50" autocomplete="off" />  |
| | |
| | | <button class="layui-btn layui-btn-primary layui-btn-xs permissions" permissions="users-edit" |
| | | lay-event="reset">重置密码</button> |
| | | {{#}}} |
| | | |
| | | |
| | | <button class="layui-btn layui-btn-primary layui-btn-xs permissions" permissions="sysdoctor-edit" |
| | | lay-event="edit">修改</button> |
| | | <button class="layui-btn layui-btn-xs permissions" permissions="sysdoctor-del" lay-event="del">删除</button> |
| | |
| | | <label class="layui-form-label">医生简介</label> |
| | | <div class="layui-input-block"> |
| | | <textarea name="doctorAbout" id="doctorAbout" class="layui-textarea" maxlength="300" |
| | | style="width: 650px;"></textarea> |
| | | style="width: 697px;"></textarea> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | [{ |
| | | field: 'hospitalName', |
| | | width: 180, |
| | | title: '医院名称' |
| | | title: '医院名称', |
| | | fixed: 'left' |
| | | }, |
| | | { |
| | | field: 'departmentName', |
| | | width: 80, |
| | | title: '科室', |
| | | fixed: 'left' |
| | | }, |
| | | { |
| | | field: 'doctorName', |
| | | width: 120, |
| | | title: '医生姓名' |
| | | width: 100, |
| | | title: '医生姓名', |
| | | fixed: 'left' |
| | | }, |
| | | { |
| | | field: 'doctorRank', |
| | |
| | | title: '销售代表' |
| | | }, |
| | | { |
| | | width: 350, |
| | | width: 300, |
| | | align: 'center', |
| | | toolbar: '#doctor-table-bar', |
| | | title: '操作' |
| | | title: '操作', |
| | | fixed: 'right' |
| | | }, |
| | | ] |
| | | ], |
| | |
| | | data) { |
| | | layer.closeAll('loading'); |
| | | if (data.code == 0) { |
| | | layer.msg(data.msg, { |
| | | icon: 1, |
| | | time: 2000 |
| | | layer.alert("密码重置为:" + data.data, { |
| | | icon: 1 |
| | | }); |
| | | } else { |
| | | layer.msg(data.msg, { |
| | |
| | | }, 'PUT'); |
| | | }); |
| | | } else if (layEvent === 'edit') { |
| | | showEditModel_add("编辑",data); |
| | | showEditModel_add("编辑", data); |
| | | } else if (layEvent === 'del') { |
| | | layer.confirm('确定删除此用户吗?', function (i) { |
| | | layer.close(i); |
| | |
| | | }); |
| | | |
| | | // 显示新增弹窗 |
| | | var showEditModel_add = function (title,data) { |
| | | var showEditModel_add = function (title, data) { |
| | | admin.putTempData('t_doctor', data); |
| | | admin.popupCenter({ |
| | | title: title, |