|
@@ -278,6 +278,9 @@ import { getToken } from "@/utils/auth";
|
|
|
import deepClone from "@/helpers/deep-clone/";
|
|
|
import Tooltip from "@/components/Tooltip/index";
|
|
|
import { Export } from "@/utils/downLoadFile";
|
|
|
+import {
|
|
|
+ getSubject
|
|
|
+} from "@/api/buildTeam";
|
|
|
import qs from "qs";
|
|
|
import cleanDeep from "clean-deep";
|
|
|
export default {
|
|
@@ -355,12 +358,27 @@ export default {
|
|
|
);
|
|
|
}
|
|
|
this.$store.dispatch("setSubjects");
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
this.$store.dispatch("setBranchs");
|
|
|
await this.FetchList();
|
|
|
|
|
|
// 点击Cascader label选中
|
|
|
+
|
|
|
+ this.getSubjectList()
|
|
|
},
|
|
|
methods: {
|
|
|
+ getSubjectList() {
|
|
|
+ try {
|
|
|
+ const {data} = await getSubject({
|
|
|
+ rows: 9999,
|
|
|
+ tenantId: "1"
|
|
|
+ });
|
|
|
+ } catch {
|
|
|
+ //
|
|
|
+ }
|
|
|
+ },
|
|
|
formatParentId(id, list, ids = []) {
|
|
|
for (const item of list) {
|
|
|
if (item.sysMusicScoreCategoriesList) {
|