From 5d8bb8983180582ad4d6a8f4c25a8e8fa7f9eb1d Mon Sep 17 00:00:00 2001 From: zhanglipeng Date: Thu, 29 Jul 2021 16:12:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E6=97=A5=E6=B5=81=E7=A8=8B=E8=AF=84?= =?UTF-8?q?=E4=BC=B0=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/benyi/teacherassessment/index.vue | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/ruoyi-ui/src/views/benyi/teacherassessment/index.vue b/ruoyi-ui/src/views/benyi/teacherassessment/index.vue index ecb4dd15b..05bfea41b 100644 --- a/ruoyi-ui/src/views/benyi/teacherassessment/index.vue +++ b/ruoyi-ui/src/views/benyi/teacherassessment/index.vue @@ -213,6 +213,7 @@ @@ -337,25 +338,25 @@ export default { }, watch: { "queryParams.classid": function (val) { - //console.log(val); - if (val != "undefined") { + //console.log("1"); + if (val == "undefined" || val == "" || val == null) { + } else { getUserList(val).then((response) => { //console.log(response); this.userOptions = response.rows; }); - } else { } }, "form.classid": function (val) { - console.log(val); - if (val != "undefined") { + //console.log(val); + if (val == "undefined" || val == "" || val == null) { + } else { getUserList(val) .then((response) => { //console.log(response); this.userOptions = response.rows; }) .catch((e) => {}); - } else { } }, "form.month": function (val) {