Files
MES/app/views/Admin/employeeResetPwd.php
T
2026-08-08 18:28:49 +08:00

42 lines
1.9 KiB
PHP

<?php
$activeMenu = 'employee';
include APP_PATH . 'app/views/layouts/admin_header.php';
?>
<div class="row">
<div class="col-md-6 col-md-offset-3">
<div class="box box-warning">
<div class="box-header with-border">
<h3 class="box-title"><i class="fa fa-key"></i> 重置密码</h3>
</div>
<form method="post" action="">
<input type="hidden" name="csrf_token" value="<?php echo htmlspecialchars($csrfToken); ?>">
<div class="box-body">
<div class="form-group">
<label>员工编号</label>
<input type="text" class="form-control" value="<?php echo htmlspecialchars($emp['emp_no']); ?>" disabled>
</div>
<div class="form-group">
<label>姓名</label>
<input type="text" class="form-control" value="<?php echo htmlspecialchars($emp['emp_name']); ?>" disabled>
</div>
<div class="form-group">
<label>新密码</label>
<input type="password" name="new_password" class="form-control" placeholder="请输入新密码" required>
</div>
<div class="form-group">
<label>确认密码</label>
<input type="password" name="confirm_password" class="form-control" placeholder="请再次输入新密码" required>
</div>
</div>
<div class="box-footer">
<button type="submit" class="btn btn-warning"><i class="fa fa-key"></i> 重置密码</button>
<a href="<?php echo BASE_URL; ?>/Admin/employee" class="btn btn-default"><i class="fa fa-arrow-left"></i> 返回</a>
</div>
</form>
</div>
</div>
</div>
<?php include APP_PATH . 'app/views/layouts/admin_footer.php'; ?>