From fa77f0c470299f2cdbf4abf31c3591ec184acd39 Mon Sep 17 00:00:00 2001
From: yangjun <1173114630@qq.com>
Date: Thu, 1 Aug 2024 13:48:43 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../kc/wjxWjxx/components/WjxWjxxForm.vue | 16 +-
src/views/zy/jiaoXueDanYuanNeiRong/index.vue | 116 ++++++------
.../zy/jiaoXueDanYuanNeiRong/stuIndex.vue | 113 +++++++++++-
src/views/zy/sysZy/jxnr/ZyJxdgList.vue | 4 +-
src/views/zy/sysZy/kccygl/KccyglList.vue | 4 +-
src/views/zy/sysZy/kcwjgl/KcwjglList.vue | 4 +-
src/views/zy/sysZy/kczygl/KczyglList.vue | 4 +-
.../zy/sysZy/studentcygl/StudentcyglList.vue | 2 +-
.../zy/sysZy/studentwjgl/StudentwjglList.vue | 2 +-
.../zy/sysZy/studentzygl/StudentzyglList.vue | 2 +-
src/views/zy/zyGonggao/ZyGonggaoList.vue | 15 +-
src/views/zy/zyInfo/StudentZyInfoList.vue | 59 +++++-
src/views/zy/zyInfo/ZyInfoV2List.vue | 34 +++-
.../components/SzybStudentForm.vue | 5 +-
.../components/SzybStudentModal.vue | 2 +-
.../components/ZyInfoStudentForm.vue | 171 +++++++++---------
.../components/ZyInfoStudentScoreForm.vue | 4 +-
.../zyInfoStudentHp/ZyInfoStudentHpList.vue | 2 +-
.../ZyInfoStudentHpYpyList.vue | 2 +-
19 files changed, 386 insertions(+), 175 deletions(-)
diff --git a/src/views/kc/wjxWjxx/components/WjxWjxxForm.vue b/src/views/kc/wjxWjxx/components/WjxWjxxForm.vue
index 5c820d8..347bf66 100644
--- a/src/views/kc/wjxWjxx/components/WjxWjxxForm.vue
+++ b/src/views/kc/wjxWjxx/components/WjxWjxxForm.vue
@@ -160,7 +160,21 @@ import {ref, reactive, defineExpose, nextTick, defineProps, computed, onMounted,
}
}
}
- model.public = "0"
+ model.public = "0";
+
+
+ var endTime = model.endTime;
+ var startTime = model.startTime;
+ if (endTime && startTime) {
+ var endTimestamp = Date.parse(endTime);
+ var startTimestamp = Date.parse(startTime);
+ if (endTimestamp < startTimestamp) {
+ createMessage.warning('开始时间不能小于结束时间!');
+ confirmLoading.value = false;
+ return;
+ }
+ }
+
await saveOrUpdate(model, isUpdate.value)
.then((res) => {
if (res.success) {
diff --git a/src/views/zy/jiaoXueDanYuanNeiRong/index.vue b/src/views/zy/jiaoXueDanYuanNeiRong/index.vue
index ab0db5d..aa4a053 100644
--- a/src/views/zy/jiaoXueDanYuanNeiRong/index.vue
+++ b/src/views/zy/jiaoXueDanYuanNeiRong/index.vue
@@ -30,7 +30,7 @@
"
class="addBtn"
title="预览"
- >