调整代码
This commit is contained in:
parent
88ec572564
commit
7fb7c0a819
@ -272,7 +272,6 @@ export default {
|
|||||||
this.activeTrains.push(groupNumber);
|
this.activeTrains.push(groupNumber);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
// console.log(this.activeTrains, '=====');
|
|
||||||
this.filterNode();
|
this.filterNode();
|
||||||
// if (this.$refs.tree) {
|
// if (this.$refs.tree) {
|
||||||
// this.$refs.tree.filter(this.queryMember);
|
// this.$refs.tree.filter(this.queryMember);
|
||||||
@ -319,7 +318,7 @@ export default {
|
|||||||
},
|
},
|
||||||
'$store.state.training.memberList': function (val) {
|
'$store.state.training.memberList': function (val) {
|
||||||
if (val && val.length) {
|
if (val && val.length) {
|
||||||
this.memberData = JSON.parse(JSON.stringify(this.$store.state.training.memberData));
|
this.memberData = this.$store.state.training.memberData;
|
||||||
const dispatcherList = [];
|
const dispatcherList = [];
|
||||||
const electricDispatcherList = [];
|
const electricDispatcherList = [];
|
||||||
const depotDispatcherList = [];
|
const depotDispatcherList = [];
|
||||||
@ -668,7 +667,6 @@ export default {
|
|||||||
const temMaintainerList = [];
|
const temMaintainerList = [];
|
||||||
const temDriverList = [];
|
const temDriverList = [];
|
||||||
const temDepotDispatcherList = [];
|
const temDepotDispatcherList = [];
|
||||||
console.log(this.$store.state.training.memberList);
|
|
||||||
this.$store.state.training.memberList.forEach(item =>{
|
this.$store.state.training.memberList.forEach(item =>{
|
||||||
switch (item.type) {
|
switch (item.type) {
|
||||||
case 'DISPATCHER':
|
case 'DISPATCHER':
|
||||||
|
Loading…
Reference in New Issue
Block a user