lex-xin 4 lat temu
rodzic
commit
7d20f11ede

+ 3 - 1
src/views/arrearage-students/index.vue

@@ -220,9 +220,11 @@ export default {
   mounted() {
     const { query } = this.$route
     if (query.organId) {
-      console.log(query.organId)
       this.searchForm.organIds = [Number(query.organId)]
     }
+    if(query.result) {
+      this.searchForm.eduTeacherId = Number(query.result)
+    }
     getCooperation({ rows: 1000 }).then((res) => {
       this.cooperations = res.data.rows
     })

+ 5 - 1
src/views/main/abnormal/index.vue

@@ -155,10 +155,14 @@ export default {
   methods: {
     permission,
     handle(item) {
-      console.log(item)
       if(item[0].errorType == "NO_CLASS_MUSIC_GROUP_STUDENT_INFO" && !this.permission('/notClassStudent')) {
         return
       }
+
+      // 单独对未缴费学员数
+      if(item[0].errorType == 'STUDENT_NOT_PAYMENT') {
+        item[0].query['result'] = item[0].result ? (item[0].result || []).join(',') : undefined
+      }
       new Searchs().removeByKey(item[0].url)
       this.$router.push({
         path: item[0].url,

+ 3 - 0
src/views/main/constant.js

@@ -96,6 +96,9 @@ export const errorType = {
     isError: true,
     url: '/business/ArrearageStudents',
     always: true,
+    query: {
+      
+    }
   },
   STUDENT_APPLY_FOR_QUIT_MUSIC_GROUP: {
     name: '申请退团学员数',

+ 3 - 3
vue.config.js

@@ -21,7 +21,7 @@ const name = defaultSettings.title || '管乐迷后台管理系统' // page titl
 // let target = 'http://192.168.3.38:8000' //邹璇
 // let target = 'http://192.168.3.57:8000' //勇哥
 // let target = 'http://dev.dayaedu.com' // 测试服
-let target = 'https://test.dayaedu.com' //开发环境
+let target = 'http://dev.dayaedu.com' //开发环境
 // let target = 'http://192.168.3.134' // 乔
 // All configuration item explanations can be find in https://cli.vuejs.org/config/
 module.exports = {
@@ -55,7 +55,7 @@ module.exports = {
     //   warnings: false,
     //   errors: true
     // },
-    https: true,
+    https: false,
     proxy: {
       // change xxx-api/login => mock/login
       // detail: https://cli.vuejs.org/config/#devserver-proxy
@@ -64,7 +64,7 @@ module.exports = {
       // http://192.168.3.134
       // http://47.114.176.40:8000
       '/api-auth': {
-        target: 'https://test.dayaedu.com',
+        target: 'http://dev.dayaedu.com',
         changeOrigin: true,
         pathRewrite: {
           '^api-auth': ''