فهرست منبع

考试管理时间字段筛选修复

tianxinyu 2 ماه پیش
والد
کامیت
3c1b53ba61
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/views/platform/examination/exam/list.vue

+ 1 - 1
src/views/platform/examination/exam/list.vue

@@ -389,7 +389,7 @@ export default {
             const addDateCondition = (key, field) => {
             const addDateCondition = (key, field) => {
                 const dateParam = parameters.find(i => i.key.includes(key))
                 const dateParam = parameters.find(i => i.key.includes(key))
                 if (dateParam) {
                 if (dateParam) {
-                    params += ` and (${field} >= '${temp[key + '0']}' and ${field} <= '${temp[key + '1']}' or ${field} is null)`
+                    params += ` and (${field} >= '${temp[key + '0']} 00:00:00' and ${field} <= '${temp[key + '1']} 23:59:59' or ${field} is null)`
                 }
                 }
             }
             }
             addDateCondition('createTime', 'ex.chuang_jian_shi_j')
             addDateCondition('createTime', 'ex.chuang_jian_shi_j')