Эх сурвалжийг харах

fiex:修复报考数据子页面筛选BUG

Tang 3 жил өмнө
parent
commit
0229bf37ca

+ 1 - 1
src/store/getters.js

@@ -211,7 +211,7 @@ const getters = {
   },
   examList(state) {
     if (!state.dict.examList) {
-      api.inquiresystemapplyList({ status: '0,1,2' }).then(res => {
+      api.inquiresystemapplyList({ status: 1 }).then(res => {
         state.dict.examList = res.rows
       })
     }

+ 1 - 1
src/store/modules/dict.js

@@ -167,7 +167,7 @@ const mutations = {
   },
   //更新考试安排
   EXAMLIST(state){
-    api.inquiresystemapplyList({status:'0,1,2'}).then(res => {
+    api.inquiresystemapplyList({status:1}).then(res => {
       state.examList = res.rows
     })
   },

+ 1 - 1
src/views/education/examManagement/applicationData/cancelAppointMent/index.vue

@@ -403,7 +403,7 @@ export default {
     getFirstOptions() {
       return new Promise((resolve, reject) => {
         this.$api
-          .inquiresystemapplyList({ status: "0,1,2", pageSize: 1, pageNum: 1 })
+          .inquiresystemapplyList({ status: 1, pageSize: 1, pageNum: 1 })
           .then((res) => {
             if (res.rows.length) {
               this.copyAppid = res.rows[0].applyId;

+ 1 - 1
src/views/education/examManagement/applicationData/examRegistration/index.vue

@@ -513,7 +513,7 @@ export default {
     getFirstOptions() {
       return new Promise((resolve, reject) => {
         this.$api
-          .inquiresystemapplyList({ status: "0,1,2", pageSize: 1, pageNum: 1 })
+          .inquiresystemapplyList({ status: 1, pageSize: 1, pageNum: 1 })
           .then((res) => {
             if (res.rows.length) {
               this.copyAppid = res.rows[0].applyId;

+ 1 - 1
src/views/education/examManagement/applicationData/formerAccount/index.vue

@@ -418,7 +418,7 @@ export default {
     getFirstOptions() {
       return new Promise((resolve, reject) => {
         this.$api
-          .inquiresystembefore({ status: "0,1,2", pageSize: 1, pageNum: 1 })
+          .inquiresystembefore({ status: 1, pageSize: 1, pageNum: 1 })
           .then((res) => {
             if (res.rows.length) {
               this.copyAppid = res.rows[0].beforeId;