|
@@ -407,9 +407,10 @@ export default {
|
|
|
},
|
|
|
activated() {
|
|
|
// console.log('直接进编辑')
|
|
|
- if (this.teamid && this.teamid != this.$route.query.id||this.teamStatus !=this.$route.query.type) {
|
|
|
- this.init();
|
|
|
+ if (this.teamid && this.teamid != this.$route.query.id || this.teamStatus !=this.$route.query.type) {
|
|
|
+ this.init();
|
|
|
}
|
|
|
+
|
|
|
if (this.$route.query.clear == 'true') {
|
|
|
|
|
|
this.onReset();
|
|
@@ -434,6 +435,9 @@ export default {
|
|
|
this.basdisabled = false;
|
|
|
}
|
|
|
},
|
|
|
+ deactivated() {
|
|
|
+ this.teamStatus = 'dis'
|
|
|
+ },
|
|
|
|
|
|
methods: {
|
|
|
//|| this.teamStatus === 'teamAudit'
|