forked from kidgrow-microservices-platform

kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/doctor_form.html
@@ -248,7 +248,7 @@
                } else {
                    layer.msg('获取角色失败', {
                        icon: 2,
                        time: 500
                        time: 2000
                    });
                }
            }, 'GET');
@@ -264,13 +264,13 @@
                        $("#" + username_id).val("")
                        layer.msg("该登录帐号已经使用", {
                            icon: 2,
                            time: 500
                            time: 2000
                        })
                    }
                } else {
                    layer.msg(data.msg, {
                        icon: 2,
                        time: 500
                        time: 2000
                    });
                }
            }, 'post');
@@ -353,8 +353,6 @@
            }
            // data.field.hospitalId = ""+data.field.hospitalId;
            data.field.roleId = null;
            debugger
            console.log(data.field, "data.fielddata.fielddata.fielddata.field")
            admin.req('api-user/sysdoctor', JSON.stringify(data.field), function (data) {
                layer.closeAll('loading');
                if (data.code == 0) {
@@ -407,7 +405,7 @@
                } else {
                    layer.msg(data.msg, {
                        icon: 2,
                        time: 500
                        time: 2000
                    });
                }
            }, 'get');
@@ -415,7 +413,7 @@
        //职称添加数据
        var getZhiCheng = function () {
            admin.req('api-user/sysdictionaries/findAll', JSON.stringify({
                dictionariesClassId: "1248150699682988034"
                dictionariesClassId: "DOCTOR_RANK"
            }), function (data) {
                layer.closeAll('loading');
                if (0 === data.code) {
@@ -434,7 +432,7 @@
                } else {
                    layer.msg(data.msg, {
                        icon: 2,
                        time: 500
                        time: 2000
                    });
                }
            }, 'Post');
@@ -453,7 +451,7 @@
                } else {
                    layer.msg(data.msg, {
                        icon: 2,
                        time: 500
                        time: 2000
                    });
                }
            }, 'get');
@@ -527,7 +525,6 @@
        var doctor = admin.getTempData('t_doctor');
        $('#app-form-add').attr('method', 'POST');
        if (doctor) {
            console.log("doctordoctordoctor",doctor);
            //重新装载科室
            getdepartment(doctor.hospitalId);
            //获取职称的