|
@@ -162,14 +162,6 @@ export default {
|
|
mounted() {
|
|
mounted() {
|
|
// 获取分部
|
|
// 获取分部
|
|
this.$store.dispatch("setBranchs");
|
|
this.$store.dispatch("setBranchs");
|
|
- getSoundTree({ tenantId: 1, rows: 9999 }).then((res) => {
|
|
|
|
- if (res.code == 200) {
|
|
|
|
- if (res.code == 200) {
|
|
|
|
- this.soundList = res.data.rows;
|
|
|
|
- this.getSound();
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- });
|
|
|
|
this.init();
|
|
this.init();
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
@@ -180,14 +172,6 @@ export default {
|
|
this.getList();
|
|
this.getList();
|
|
},
|
|
},
|
|
onReSet() {},
|
|
onReSet() {},
|
|
- getSound() {
|
|
|
|
- this.soundLists = [];
|
|
|
|
- for (let i in this.soundList) {
|
|
|
|
- if (this.soundList[i].subjects.length > 0) {
|
|
|
|
- this.soundLists = this.soundLists.concat(this.soundList[i].subjects);
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
},
|
|
},
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|