diff --git a/src/components/case/index.vue b/src/components/case/index.vue index 5d83234..0e657af 100644 --- a/src/components/case/index.vue +++ b/src/components/case/index.vue @@ -291,21 +291,6 @@ export default { this.classId = classId } let tokens = sessionStorage.getItem('token') - // if(this.getQueryVariable('projectId')) { - // let params = { - // "systemId":sessionStorage.getItem('systemId'), - // "cId":sessionStorage.getItem('cid'), - // "permissions":0, - // } - // getProjectBySystemId(params).then((data)=>{ - // if(data.status == 200){ - // //获取当前时间 - // this.topicList = data.data.projects - // this.selectProjects({projectId: this.topicList[0].projectId}) - // } - // }).catch((error)=>{ - // }) - // }else { if(tokens || token){ this.projectPermissions = this.projectId ? 1 : 0 this.assessmentId && this.projectId && this.checkVer() @@ -319,7 +304,6 @@ export default { this.getData() } } - // } }, methods: { getQueryVariable(name) {