修改域名

20240205
e 3 years ago
parent 1086660794
commit 487dd67e82
  1. 16
      src/components/case/index.vue

@ -291,21 +291,6 @@ export default {
this.classId = classId this.classId = classId
} }
let tokens = sessionStorage.getItem('token') 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){ if(tokens || token){
this.projectPermissions = this.projectId ? 1 : 0 this.projectPermissions = this.projectId ? 1 : 0
this.assessmentId && this.projectId && this.checkVer() this.assessmentId && this.projectId && this.checkVer()
@ -319,7 +304,6 @@ export default {
this.getData() this.getData()
} }
} }
// }
}, },
methods: { methods: {
getQueryVariable(name) { getQueryVariable(name) {

Loading…
Cancel
Save