浏览代码

添加接口

wolyshaw 4 年之前
父节点
当前提交
8cfb3efb51
共有 2 个文件被更改,包括 4 次插入1 次删除
  1. 3 0
      src/views/main/api.js
  2. 1 1
      src/views/main/baseinfo/index.vue

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

@@ -103,3 +103,6 @@ export const getMusicGroupEduTeacher = data => request2({
   params: data,
   params: data,
   method: 'get'
   method: 'get'
 })
 })
+
+// 获取统计数据
+// export const

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

@@ -98,7 +98,7 @@ export default {
   methods: {
   methods: {
     reset() {
     reset() {
       this.$set(this.search, 'year', this.$helpers.dayjs())
       this.$set(this.search, 'year', this.$helpers.dayjs())
-      this.$set(this.search, 'organId', [])
+      this.$set(this.search, 'organId', null)
       this.FetchDetail()
       this.FetchDetail()
     },
     },
     async FetchDetail() {
     async FetchDetail() {