From c3da2231e18795f6865f46217a0c76124cafdb8f Mon Sep 17 00:00:00 2001 From: sobear <410731299@qq.com> Date: Wed, 15 May 2024 23:28:26 +0800 Subject: [PATCH] add pass modify --- .../worker/WorkerOrderStatusController.java | 2 +- .../cn/edu/cqwu/repair/dao/WorkerDao.java | 2 + .../cqwu/repair/dao/impl/WorkerDaoImpl.java | 3 + src/main/webapp/includes/dropdown.jsp | 19 +++++ src/main/webapp/includes/menu.jsp | 2 +- src/main/webapp/worker/worker_fixList.jsp | 2 +- src/main/webapp/worker/worker_modify.jsp | 72 ++++++++++--------- 7 files changed, 64 insertions(+), 38 deletions(-) diff --git a/src/main/java/cn/edu/cqwu/repair/controller/worker/WorkerOrderStatusController.java b/src/main/java/cn/edu/cqwu/repair/controller/worker/WorkerOrderStatusController.java index 00ced50..3fc3615 100644 --- a/src/main/java/cn/edu/cqwu/repair/controller/worker/WorkerOrderStatusController.java +++ b/src/main/java/cn/edu/cqwu/repair/controller/worker/WorkerOrderStatusController.java @@ -23,7 +23,7 @@ public class WorkerOrderStatusController { } - @RequestMapping("/updateOrderStatus") + @RequestMapping("/worker/updateOrderStatus.do") public String updateOrderStatus(HttpServletRequest request,Model model) { int orderId = Integer.parseInt(request.getParameter("orderId")); if(orderDao.statusModify(orderId) != 0){ diff --git a/src/main/java/cn/edu/cqwu/repair/dao/WorkerDao.java b/src/main/java/cn/edu/cqwu/repair/dao/WorkerDao.java index d47a431..30af2a0 100644 --- a/src/main/java/cn/edu/cqwu/repair/dao/WorkerDao.java +++ b/src/main/java/cn/edu/cqwu/repair/dao/WorkerDao.java @@ -19,4 +19,6 @@ public interface WorkerDao { + + } diff --git a/src/main/java/cn/edu/cqwu/repair/dao/impl/WorkerDaoImpl.java b/src/main/java/cn/edu/cqwu/repair/dao/impl/WorkerDaoImpl.java index 1923fcf..ba0e83e 100644 --- a/src/main/java/cn/edu/cqwu/repair/dao/impl/WorkerDaoImpl.java +++ b/src/main/java/cn/edu/cqwu/repair/dao/impl/WorkerDaoImpl.java @@ -71,4 +71,7 @@ public class WorkerDaoImpl implements WorkerDao { } + + + } diff --git a/src/main/webapp/includes/dropdown.jsp b/src/main/webapp/includes/dropdown.jsp index 51d68d6..86782b2 100644 --- a/src/main/webapp/includes/dropdown.jsp +++ b/src/main/webapp/includes/dropdown.jsp @@ -50,4 +50,23 @@ + +
+ +
\ No newline at end of file diff --git a/src/main/webapp/includes/menu.jsp b/src/main/webapp/includes/menu.jsp index 0cf3214..10e63a3 100644 --- a/src/main/webapp/includes/menu.jsp +++ b/src/main/webapp/includes/menu.jsp @@ -91,7 +91,7 @@ >> 历史登录记录 - + >> 修改用户信息 diff --git a/src/main/webapp/worker/worker_fixList.jsp b/src/main/webapp/worker/worker_fixList.jsp index 72eedd2..dcbcdab 100644 --- a/src/main/webapp/worker/worker_fixList.jsp +++ b/src/main/webapp/worker/worker_fixList.jsp @@ -85,7 +85,7 @@ ${order.faultDesc} ${order.faultImg} - + ${order.orderStatus == 1 ? '未完成' : '已完成'} diff --git a/src/main/webapp/worker/worker_modify.jsp b/src/main/webapp/worker/worker_modify.jsp index 0c9d137..8494df3 100644 --- a/src/main/webapp/worker/worker_modify.jsp +++ b/src/main/webapp/worker/worker_modify.jsp @@ -2,7 +2,7 @@ Created by IntelliJ IDEA. User: sobear Date: 2024/5/12 - Time: 21:41 + Time: 20:18 To change this template use File | Settings | File Templates. --%> <%@ page contentType="text/html;charset=UTF-8" language="java" %> @@ -11,7 +11,7 @@ <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> <%@ page isELIgnored="false" %> - + @@ -25,43 +25,45 @@
<%@ include file="../includes/header.jsp" %> -
-
- - - - - - - - - - - - - - - - - +
+
+ +

修改密码

+ + + -
-
- - 登录用户名用户类型登录ip登录时间
- - veveve
-
- +
+ + +
+
+ + +
+
+ + +
+
+ + + + +
+ +

+
- -
- - + - -