|
@@ -368,6 +368,8 @@ export default {
|
|
|
}
|
|
|
else {
|
|
|
this.showSign = false
|
|
|
+ this.showBack = true
|
|
|
+ this.sign = 1
|
|
|
getProjectByAppOrg(appOrg).then((res) => {
|
|
|
if (Number(res.code) === 200) {
|
|
|
for (let it of res.data){
|
|
@@ -593,6 +595,8 @@ export default {
|
|
|
else if(params.componentIndex === 3){
|
|
|
this.getProject('10001')
|
|
|
this.$emit('changeCurCompany')
|
|
|
+ this.showBack = true
|
|
|
+ this.sign = 1
|
|
|
}
|
|
|
});
|
|
|
},
|
|
@@ -813,11 +817,14 @@ export default {
|
|
|
if (sign === 1){
|
|
|
this.sign = 0
|
|
|
this.projectList = []
|
|
|
- this.childCharts.dispose();
|
|
|
- this.initCharts()
|
|
|
+ if (this.childCharts){
|
|
|
+ this.childCharts.dispose();
|
|
|
+ this.initCharts()
|
|
|
+ }
|
|
|
this.showBack = false
|
|
|
this.appOrg = "0000"
|
|
|
this.$emit('transmit', this.appOrg)
|
|
|
+ this.getProject(null)
|
|
|
}
|
|
|
else {
|
|
|
this.projectList = []
|