From 5fff25010078bb536ef5bb4199ed345502b11ed0 Mon Sep 17 00:00:00 2001 From: wyx Date: Mon, 16 Jan 2023 16:18:51 +0800 Subject: [PATCH 01/11] =?UTF-8?q?feat:=E5=A2=9E=E5=8A=A0=E5=BE=85=E5=AE=A1?= =?UTF-8?q?=E6=A0=B8=E8=AF=BE=E7=A8=8B=EF=BC=8C=E5=B7=B2=E5=AE=A1=E6=A0=B8?= =?UTF-8?q?=E8=AF=BE=E7=A8=8B=EF=BC=8C=E5=B7=B2=E5=AE=A1=E6=A0=B8=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E5=AF=B9=E5=BA=94=E6=97=B6=E9=97=B4=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/examine/CourseReviewed.vue | 57 +++++++++++++++++++++----- src/views/examine/CourseReviewedN.vue | 13 +++++- src/views/examine/ProjectReviewed.vue | 2 +- src/views/examine/ProjectReviewedN.vue | 44 +++++++++++++++++--- src/views/projectcenter/TaskAdd.vue | 8 ++-- 5 files changed, 101 insertions(+), 23 deletions(-) diff --git a/src/views/examine/CourseReviewed.vue b/src/views/examine/CourseReviewed.vue index 53f61585..e54c911f 100644 --- a/src/views/examine/CourseReviewed.vue +++ b/src/views/examine/CourseReviewed.vue @@ -46,19 +46,29 @@
+ width: 270px; + height: 40px; + border-radius: 8px; + margin-right: 14px; + " placeholder="请输入创建人" />
+ width: 270px; + height: 40px; + border-radius: 8px; + margin-right: 14px; + " placeholder="请输入名称" /> +
+
+
审核时间:
+
@@ -120,6 +130,7 @@ import {reactive, toRefs, onMounted, computed} from "vue"; import { courseListView } from "../../api/indexAudit"; import * as api1 from "@/api/index1"; import {useStore} from "vuex"; +import dayjs from "dayjs"; export default { name: "CoursereViewed", @@ -406,6 +417,7 @@ export default { ], } ], + searchParam:[], // 时间搜索 }); const store = useStore(); @@ -424,9 +436,12 @@ export default { } const getList = () => { + console.log(state.searchParam[0],state.searchParam[1],new Date(state.searchParam[0]).getTime(),new Date(state.searchParam[0])) state.loading = true let objn = { auditStatus: 0, + beginTime:state.searchParam.length!==0? dayjs(new Date(state.searchParam[0]).getTime()).format("YYYY-MM-DD"): "", + endTime:state.searchParam.length!==0? dayjs(new Date(state.searchParam[1]).getTime()).format("YYYY-MM-DD"): "", sysTypeId: state.valueproj, createName: state.valuecreater, name: state.valuename, @@ -530,6 +545,28 @@ export default { };