瀏覽代碼

修复线上问题

1
mo 4 年之前
父節點
當前提交
158935e924

+ 1 - 1
src/views/main/baseinfo/curriculum.vue

@@ -165,7 +165,7 @@ export default {
             return [
             return [
               item[0].axisValueLabel,
               item[0].axisValueLabel,
               ...item.map(
               ...item.map(
-                (d) => `<br/>${d.marker}${d.seriesName}: ${d.value[1]}`
+                (d) => `<br/>${d.marker}${d.seriesName}: ${d.value[1]}`
               ),
               ),
             ].join("");
             ].join("");
           },
           },

+ 1 - 1
src/views/main/baseinfo/management.vue

@@ -118,7 +118,7 @@ export default {
               ...item.map((d) => {
               ...item.map((d) => {
                 return `<br/>${d.marker}${
                 return `<br/>${d.marker}${
                   d.seriesName
                   d.seriesName
-                }: ${this.$helpers.numeral(d.value[1]).format("0,0.00")}`;
+                }: ${this.$helpers.numeral(d.value[1]).format("0,0.00")}`;
               }),
               }),
             ].join("");
             ].join("");
           },
           },

+ 17 - 8
src/views/main/baseinfo/student.vue

@@ -67,7 +67,7 @@ export default {
   props: ["data", "search"],
   props: ["data", "search"],
   components: {
   components: {
     "ve-funnel": veFunnel,
     "ve-funnel": veFunnel,
-      "ve-line": veLine,
+    "ve-line": veLine,
     "count-to": countTo,
     "count-to": countTo,
     searchHeader,
     searchHeader,
   },
   },
@@ -92,17 +92,17 @@ export default {
     },
     },
     chartExtend() {
     chartExtend() {
       return {
       return {
-          yAxis: {
+        yAxis: {
           //纵轴标尺固定
           //纵轴标尺固定
-          minInterval:1,
+          minInterval: 1,
           type: "value",
           type: "value",
           scale: true,
           scale: true,
           min: 0,
           min: 0,
-            axisLabel:{
-            formatter:'{value}人'
-          }
+          axisLabel: {
+            formatter: "{value}人",
+          },
         },
         },
-          series: {
+        series: {
           smooth: false,
           smooth: false,
         },
         },
         tooltip: {
         tooltip: {
@@ -112,6 +112,14 @@ export default {
               color: "rgba(150,150,150,0.2)",
               color: "rgba(150,150,150,0.2)",
             },
             },
           },
           },
+          formatter: (item) => {
+            return [
+              item[0].axisValueLabel,
+              ...item.map(
+                (d) => `<br/>${d.marker}${d.seriesName}: ${d.value[1]}人`
+              ),
+            ].join("");
+          },
         },
         },
       };
       };
     },
     },
@@ -209,7 +217,8 @@ export default {
         const res = await getIndex({
         const res = await getIndex({
           ...rest,
           ...rest,
           ...getTimes(this.mdate, ["startDate", "endDate"]),
           ...getTimes(this.mdate, ["startDate", "endDate"]),
-           dataTypes:'ADD_STUDENT_REGISTRATION_NUM,MUSIC_GROUP_STUDENT,NEWLY_STUDENT_NUM,QUIT_MUSIC_GROUP_STUDENT_NUM,VIP_PRACTICE_STUDENT_NUM,VIP_PRACTICE_ADD_STUDENT_NUM'
+          dataTypes:
+            "ADD_STUDENT_REGISTRATION_NUM,MUSIC_GROUP_STUDENT,NEWLY_STUDENT_NUM,QUIT_MUSIC_GROUP_STUDENT_NUM,VIP_PRACTICE_STUDENT_NUM,VIP_PRACTICE_ADD_STUDENT_NUM",
         });
         });
         for (const item of res.data) {
         for (const item of res.data) {
           // 再循环一遍
           // 再循环一遍

+ 1 - 1
src/views/serverDetail/conponent/afterWork.vue

@@ -97,7 +97,7 @@ export default {
       this.getList();
       this.getList();
     },
     },
     async getList() {
     async getList() {
-      console.log(this.detail)
+
       try {
       try {
       const dayjs = this.$helpers.dayjs
       const dayjs = this.$helpers.dayjs
      const ruselt =  await getTeacherServeHomeworkDetail({
      const ruselt =  await getTeacherServeHomeworkDetail({

+ 0 - 1
src/views/serverDetail/conponent/outWork.vue

@@ -69,7 +69,6 @@ export default {
       this.getList()
       this.getList()
     },
     },
     async getList() {
     async getList() {
-      console.log(this.detail)
       try {
       try {
       const dayjs = this.$helpers.dayjs
       const dayjs = this.$helpers.dayjs
      const ruselt =  await getTeacherServeExtraDetail({
      const ruselt =  await getTeacherServeExtraDetail({

+ 0 - 1
src/views/serverDetail/conponent/serverMask.vue

@@ -18,7 +18,6 @@ export default {
     };
     };
   },
   },
   mounted(){
   mounted(){
-    console.log(this.detail)
   }
   }
 };
 };
 </script>
 </script>

+ 2 - 2
src/views/serverDetail/index.vue

@@ -48,8 +48,8 @@
             clearable
             clearable
             placeholder="是否异常"
             placeholder="是否异常"
           >
           >
-            <el-option label="是" :value="1"></el-option>
-            <el-option label="否" :value="0"></el-option>
+            <el-option label="是" value="1"></el-option>
+            <el-option label="否" value="0"></el-option>
           </el-select>
           </el-select>
         </el-form-item>
         </el-form-item>
         <el-form-item prop="reminded">
         <el-form-item prop="reminded">

+ 0 - 1
src/views/teamDetail/components/modals/change-teacher.vue

@@ -71,7 +71,6 @@ export default {
     }
     }
   },
   },
   mounted() {
   mounted() {
-    console.log(this.detail)
     const row = this.detail
     const row = this.detail
     for (let i in row.classGroupTeacherMapperList) {
     for (let i in row.classGroupTeacherMapperList) {
       if (row.classGroupTeacherMapperList[i].teacherRole == "BISHOP") {
       if (row.classGroupTeacherMapperList[i].teacherRole == "BISHOP") {

+ 3 - 3
vue.config.js

@@ -20,8 +20,8 @@ const name = defaultSettings.title || '管乐迷后台管理系统' // page titl
 // let target = 'http://192.168.3.139:8000' // 箭河
 // let target = 'http://192.168.3.139:8000' // 箭河
 // let target = 'http://192.168.3.38:8000' //邹璇
 // let target = 'http://192.168.3.38:8000' //邹璇
 // let target = 'http://192.168.3.57:8000' //勇哥
 // let target = 'http://192.168.3.57:8000' //勇哥
-// let target = 'http://dev.dayaedu.com' // 测试服
-let target = 'http://47.114.176.40:8000' //开发环境
+let target = 'http://dev.dayaedu.com' // 测试服
+// let target = 'http://47.114.176.40:8000' //开发环境
 // let target = 'http://192.168.3.134' // 乔
 // let target = 'http://192.168.3.134' // 乔
 // All configuration item explanations can be find in https://cli.vuejs.org/config/
 // All configuration item explanations can be find in https://cli.vuejs.org/config/
 module.exports = {
 module.exports = {
@@ -64,7 +64,7 @@ module.exports = {
       // http://192.168.3.134
       // http://192.168.3.134
       // http://47.114.176.40:8000
       // http://47.114.176.40:8000
       '/api-auth': {
       '/api-auth': {
-        target: 'http://192.168.3.134',
+        target: 'http://dev.dayaedu.com',
         changeOrigin: true,
         changeOrigin: true,
         pathRewrite: {
         pathRewrite: {
           '^api-auth': ''
           '^api-auth': ''