From 8cc8cd11ea85f1fa628a44201b87e3e8d4a7f1fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=8E=E4=B8=9C=E8=BF=9B1?= <963286636@qq.com>
Date: Fri, 8 Apr 2022 18:00:54 +0800
Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/drawers/CheckStu.vue | 16 ++++++++--------
src/views/projectcenter/ProjectAdd.vue | 19 ++++++++++++++++---
2 files changed, 24 insertions(+), 11 deletions(-)
diff --git a/src/components/drawers/CheckStu.vue b/src/components/drawers/CheckStu.vue
index bf590b0b..ce801566 100644
--- a/src/components/drawers/CheckStu.vue
+++ b/src/components/drawers/CheckStu.vue
@@ -22,8 +22,8 @@
-
{{pro.routerInfo.name}}
-
{{pro.routerInfo.organizationName?pro.routerInfo.organizationName:"" + '-' + pro.routerInfo.jobName?pro.routerInfo.jobName:""}}
+
{{pro==null?"":pro.routerInfo.name}}
+
{{pro==null?"":pro.routerInfo.organizationName?pro.routerInfo.organizationName:"" + '-' + pro==null?"":pro.routerInfo.jobName?pro.routerInfo.jobName:""}}
进度排名
@@ -43,8 +43,8 @@
完成必修
- {{pro.currentReqCnt}}
- /{{pro.totalReqCnt}}
+ {{pro==null?"":pro.currentReqCnt}}
+ /{{pro==null?"":pro.totalReqCnt}}
已修证书
- {{pro.routerInfo.certCnt?pro.routerInfo.certCnt:0}}
+ {{pro==null?"":pro.routerInfo.certCnt?pro.routerInfo.certCnt:0}}
@@ -115,7 +115,7 @@
{
state.loading = true
let obj = {
- routerId:props.routerId,
- studentId:props.studentId
+ routerId:props.routerId==null?props.studentId:props.routerId
+ // routerId:props.studentId
}
stuProgress(obj).then(res => {
console.log("查询当前学员进度信息success",res)
diff --git a/src/views/projectcenter/ProjectAdd.vue b/src/views/projectcenter/ProjectAdd.vue
index b6ccb4d1..98d1cdd1 100644
--- a/src/views/projectcenter/ProjectAdd.vue
+++ b/src/views/projectcenter/ProjectAdd.vue
@@ -59,7 +59,7 @@
class="nameimg"
src="../../assets/images/basicinfo/asterisk.png"
/>
- 封面图
+ 封面图2
-
(projectInfo.picUrl = src.value)"
v-for="item in projectPic"
:key="item.code"
class="learnBgItem"
- >
+ > -->
+