From 9765071f9a6be74d674234505d0ba395bcd274ec Mon Sep 17 00:00:00 2001 From: wangxy <1356089412@qq.com> Date: Fri, 21 Jun 2024 11:43:22 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E7=BB=B4=E4=BF=AE=E5=95=86=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/templates/system/exam/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-admin/src/main/resources/templates/system/exam/index.html b/ruoyi-admin/src/main/resources/templates/system/exam/index.html index 80cca11..73e9e40 100644 --- a/ruoyi-admin/src/main/resources/templates/system/exam/index.html +++ b/ruoyi-admin/src/main/resources/templates/system/exam/index.html @@ -82,8 +82,8 @@ alert("请选择相关考题!"); return false; } - var userName = document.querySelector('.user_name').innerHTML - var deptName = document.querySelector('.dept_name').innerHTML + var userName = [[${user.userName}]]; + var deptName = [[${user.dept.deptName}]]; window.location.href = `/system/exam/edit?TYPEID=${form1.TYPEID.value}&userName=${userName}&deptName=${deptName}`; // form1.action = "/zhyw/smsj/TryBook.jsp"; // form1.button1.disabled=true;