|
|
|
|
<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:90:"/alidata/www/myproject/hospital/public/../application/admin/view/member_manager/write.html";i:1590930493;}*/ ?>
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html>
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
|
<title>修改职工信息</title>
|
|
|
|
|
<meta name="renderer" content="webkit">
|
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
|
|
|
<meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
|
|
|
|
|
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
|
|
|
|
|
<link rel="stylesheet" href="/hospital/public/static/admin/x-admin/css/font.css">
|
|
|
|
|
<link rel="stylesheet" href="/hospital/public/static/admin/x-admin/css/xadmin.css">
|
|
|
|
|
<script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
|
|
|
|
|
<script type="text/javascript" src="/hospital/public/static/admin/x-admin/lib/layui/layui.js" charset="utf-8"></script>
|
|
|
|
|
<script type="text/javascript" src="/hospital/public/static/admin/x-admin/js/xadmin.js"></script>
|
|
|
|
|
<!-- 让IE8/9支持媒体查询,从而兼容栅格 -->
|
|
|
|
|
<!--[if lt IE 9]>
|
|
|
|
|
<script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
|
|
|
|
|
<script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
|
|
|
|
|
<![endif]-->
|
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
|
<link rel="stylesheet" href="/hospital/public/kindeditor/themes/default/default.css" />
|
|
|
|
|
<link rel="stylesheet" href="/hospital/public/kindeditor/plugins/code/prettify.css" />
|
|
|
|
|
<script charset="utf-8" src="/hospital/public/kindeditor/kindeditor-all.js"></script>
|
|
|
|
|
<script charset="utf-8" src="/hospital/public/kindeditor/lang/zh-CN.js"></script>
|
|
|
|
|
<title>CEST</title>
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body class="layui-anim layui-anim-up">
|
|
|
|
|
<form method="post" class="layui-form" action="<?php echo url('MemberManager/write'); ?>">
|
|
|
|
|
<div class="x-body">
|
|
|
|
|
<table class="layui-table">
|
|
|
|
|
<thead>
|
|
|
|
|
<input type="hidden" class="layui-input" name="id" value="<?php echo $user['id']; ?>">
|
|
|
|
|
<tr>
|
|
|
|
|
<td style="width: 35vh">
|
|
|
|
|
<input type="radio" name="nameType" value="1" title="修改">
|
|
|
|
|
<input type="radio" name="nameType" value="2" title="不修改" >
|
|
|
|
|
</td>
|
|
|
|
|
<td style="background-color: #99CCCC">原姓名: <?php echo $user['name']; ?>
|
|
|
|
|
<input type="text" class="layui-input" name="name" value="<?php echo $user['name']; ?>"></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td >
|
|
|
|
|
<input type="radio" name="mobileType" value="1" title="修改">
|
|
|
|
|
<input type="radio" name="mobileType" value="2" title="不修改" >
|
|
|
|
|
</td>
|
|
|
|
|
<td>原手机号: <?php echo $user['mobile']; ?>
|
|
|
|
|
<input type="text" class="layui-input" name="mobile" value="<?php echo $user['mobile']; ?>"></td>
|
|
|
|
|
</tbody>
|
|
|
|
|
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<input type="radio" name="sexType" value="1" title="修改">
|
|
|
|
|
<input type="radio" name="sexType" value="2" title="不修改" >
|
|
|
|
|
</td>
|
|
|
|
|
<td style="background-color: #99CCCC">原性别: <?php echo $user['sex']; ?>
|
|
|
|
|
<br>
|
|
|
|
|
<input type="radio" name="sex" value="1" title="男">
|
|
|
|
|
<input type="radio" name="sex" value="2" title="女">
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<input type="radio" name="positionType" value="1" title="修改">
|
|
|
|
|
<input type="radio" name="positionType" value="2" title="不修改" >
|
|
|
|
|
</td>
|
|
|
|
|
<td>原职位: <?php echo $user['position']; ?>
|
|
|
|
|
<select class="form-control select" name="roleId">
|
|
|
|
|
<option value="0">请选择职位</option>
|
|
|
|
|
<?php if(is_array($roles) || $roles instanceof \think\Collection || $roles instanceof \think\Paginator): if( count($roles)==0 ) : echo "" ;else: foreach($roles as $key=>$v): ?>
|
|
|
|
|
<option value="<?php echo $v['id']; ?>" ><?php echo $v['role']; ?></option>
|
|
|
|
|
<?php endforeach; endif; else: echo "" ;endif; ?>
|
|
|
|
|
</select>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<input type="radio" name="departmentType" value="1" title="修改">
|
|
|
|
|
<input type="radio" name="departmentType" value="2" title="不修改" >
|
|
|
|
|
</td>
|
|
|
|
|
<td style="background-color: #99CCCC">原科室: <?php echo $user['department']; ?>
|
|
|
|
|
<select class="form-control select" name="departmentId">
|
|
|
|
|
<option value="0">请选择科室</option>
|
|
|
|
|
<?php if(is_array($department) || $department instanceof \think\Collection || $department instanceof \think\Paginator): if( count($department)==0 ) : echo "" ;else: foreach($department as $key=>$v): ?>
|
|
|
|
|
<option value="<?php echo $v['id']; ?>" ><?php echo $v['name']; ?></option>
|
|
|
|
|
<?php endforeach; endif; else: echo "" ;endif; ?>
|
|
|
|
|
</select>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<input type="radio" name="passwordType" value="1" title="修改">
|
|
|
|
|
<input type="radio" name="passwordType" value="2" title="不修改" >
|
|
|
|
|
</td>
|
|
|
|
|
<td class="col-sm-8">修改密码:
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input name="password" type="text" class="form-control">
|
|
|
|
|
</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
<td class="col-sm-3 control-label">再次输入确认密码:
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input type="text" class="form-control" name="surePassword">
|
|
|
|
|
</div>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<input type="radio" name="timeType" value="1" title="修改">
|
|
|
|
|
<input type="radio" name="timeType" value="2" title="不修改" >
|
|
|
|
|
</td>
|
|
|
|
|
<td style="background-color: #99CCCC" >原入职时间: <?php echo $user['entry_time']; ?>
|
|
|
|
|
<div class="layui-col-md12 x-so">
|
|
|
|
|
<input class="layui-input" placeholder="请选择日期" name="entry_time" id="time" value=""></div>
|
|
|
|
|
</td>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<div class="layui-input-block">
|
|
|
|
|
<input type="submit" value="立即提交" class="layui-btn" formnovalidate/>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</body>
|
|
|
|
|
<script>
|
|
|
|
|
KindEditor.ready(function(K) {
|
|
|
|
|
var editor1 = K.create('textarea[name="description"]', {
|
|
|
|
|
cssPath : '/hospital/public/kindeditor/plugins/code/prettify.css',
|
|
|
|
|
uploadJson : '/hospital/public/kindeditor/php/upload_json.php',
|
|
|
|
|
fileManagerJson : '/hospital/public/kindeditor/php/file_manager_json.php',
|
|
|
|
|
allowFileManager : true,
|
|
|
|
|
afterCreate : function() {
|
|
|
|
|
var self = this;
|
|
|
|
|
K.ctrl(document, 13, function() {
|
|
|
|
|
self.sync();
|
|
|
|
|
K('form[name=example]')[0].submit();
|
|
|
|
|
});
|
|
|
|
|
K.ctrl(self.edit.doc, 13, function() {
|
|
|
|
|
self.sync();
|
|
|
|
|
K('form[name=example]')[0].submit();
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
prettyPrint();
|
|
|
|
|
});
|
|
|
|
|
layui.use('laydate', function(){
|
|
|
|
|
var laydate = layui.laydate;
|
|
|
|
|
|
|
|
|
|
//执行一个laydate实例
|
|
|
|
|
laydate.render({
|
|
|
|
|
elem: '#time' //指定元素
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
</html>
|