Commit 3d3fa4e6 authored by 13841799530's avatar 13841799530

bug

parent 5a0c7a52
Pipeline #7135 passed with stage
in 10 seconds
......@@ -81,6 +81,8 @@ export default {
getFun('check/carry/count',{planId:this.id}).then((Response)=>{
this.$toast.clear()
this.nums=Response.data
sessionStorage.setItem('deptNameList',JSON.stringify(Response.data.deptNameList))
sessionStorage.setItem('deptIdList',JSON.stringify(Response.data.deptIdList))
sessionStorage.setItem('projectFlag',Response.data.projectFlag)
sessionStorage.setItem('nums',JSON.stringify(this.nums))
}).catch(()=>{
......
......@@ -119,12 +119,16 @@ export default {
if(this.$route.query.id){
this.id=this.$route.query.id
var obj=JSON.parse(this.$route.query.obj)
this.ids=obj.deptIdList
this.value=obj.deptNameList.join('/')
}
if(sessionStorage.getItem('projectFlag')){
this.Isvalue=sessionStorage.getItem('projectFlag')=='true'?true:false
}
if(sessionStorage.getItem('deptNameList')){
this.value=JSON.parse(sessionStorage.getItem('deptNameList')).join('/')
}
if(sessionStorage.getItem('deptIdList')){
this.ids=JSON.parse(sessionStorage.getItem('deptIdList'))
}
if(this.$route.query.name=='formwork'){
// this.problemName=this.$route.query.checkitem,//检查项目
this.problemDescribe=this.$route.query.checkContent,//检查内容
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment