Forráskód Böngészése

修改声部取值

lex 1 éve
szülő
commit
144b025c10

+ 1 - 1
src/school/approval-manage/subsidy/reward-detail.tsx

@@ -56,7 +56,7 @@ export default defineComponent({
     onMounted(() => {
       request
         .post(`${state.platformApi}/subjectBasicConfig/page`, {
-          data: { page: 1, rows: 9999 }
+          data: { page: 1, rows: 9999,enableFlag: true }
         })
         .then((res: any) => {
           if (Array.isArray(res?.data?.rows)) {

+ 2 - 1
src/school/companion-teacher/companion-teacher-register.tsx

@@ -255,7 +255,8 @@ export default defineComponent({
         const { data } = await request.post('/api-school/open/subjectBasicConfig/page', {
           data: {
             page: 1,
-            rows: 50
+            rows: 50,
+            enableFlag: true
           }
         })
 

+ 2 - 1
src/school/companion-teacher/index.tsx

@@ -85,7 +85,8 @@ export default defineComponent({
         const { data } = await request.post('/api-school/subjectBasicConfig/page', {
           data: {
             page: 1,
-            rows: 50
+            rows: 50,
+            enableFlag: true
           }
         })
         // console.log(data, 'data')

+ 2 - 1
src/school/orchestra/create-orchestra/index.tsx

@@ -32,7 +32,8 @@ export default defineComponent({
         const { data } = await request.post('/api-school/subjectBasicConfig/page', {
           data: {
             page: 1,
-            rows: 50
+            rows: 50,
+            enableFlag: true
           }
         })
         state.subjectList = data.rows || []

+ 2 - 1
src/school/practice-rewards/detail.tsx

@@ -66,7 +66,8 @@ export default defineComponent({
         const { data } = await request.post('/api-school/subjectBasicConfig/page', {
           data: {
             page: 1,
-            rows: 50
+            rows: 50,
+            enableFlag: true
           }
         })
 

+ 1 - 1
src/school/ranking-list/components/day-bang.tsx

@@ -145,7 +145,7 @@ export default defineComponent({
     const getSubjects = async () => {
       try {
         const res = await request.post('/api-school/subjectBasicConfig/page', {
-          data: { page: 1, rows: 9999 }
+          data: { page: 1, rows: 9999, enableFlag: true }
         })
         state.subjects = res.data.rows.map((item) => {
           return {

+ 1 - 1
src/school/ranking-list/components/timer-bang.tsx

@@ -140,7 +140,7 @@ export default defineComponent({
     const getSubjects = async () => {
       try {
         const res = await request.post('/api-school/subjectBasicConfig/page', {
-          data: { page: 1, rows: 9999 }
+          data: { page: 1, rows: 9999, enableFlag: true }
         })
         state.subjects = res.data.rows.map((item) => {
           return {

+ 1 - 1
src/views/exercise-record/index.tsx

@@ -134,7 +134,7 @@ export default defineComponent({
     const getSubjects = async () => {
       try {
         const res = await request.post(`${platformApi.value}/subjectBasicConfig/page`, {
-          data: { page: 1, rows: 9999 }
+          data: { page: 1, rows: 9999, enableFlag: true }
         })
         state.subjects = res.data.rows.map((item) => {
           if (route.query.subjectId == item.subjectId) {