lex-xin 5 years ago
parent
commit
f332e9dfe0

File diff suppressed because it is too large
+ 0 - 0
dist/index.html


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-00de8e4e.b2414ea2.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-1228c85e.64fac57b.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-1228c85e.cbf8dc68.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-21a5b3d9.9911bccb.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-21a5b3d9.a446524b.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-641dba2d.1d15db1f.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-641dba2d.724277e4.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-68277386.1801b0df.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-6e008f87.45f24711.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-6e008f87.fefa1a5c.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-b18c1384.d4d3b1cd.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-b18c1384.e55cf0cf.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-e5e808ac.6c218a89.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-f7b8967e.3dbe8b25.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-f7b8967e.97c3b9b3.js


+ 7 - 7
src/api/buildTeam.js

@@ -6,7 +6,7 @@ export function getSection (data) {
   return request({
   return request({
     url: api + '/organization/queryPage',
     url: api + '/organization/queryPage',
     method: 'get',
     method: 'get',
-    params: qs.stringify(data)
+    params: data
   })
   })
 }
 }
 // 获取收费类型
 // 获取收费类型
@@ -14,7 +14,7 @@ export function getType (data) {
   return request({
   return request({
     url: api + '/chargeType/queryPage',
     url: api + '/chargeType/queryPage',
     method: 'get',
     method: 'get',
-    params: qs.stringify(data)
+    params: data
   })
   })
 }
 }
 // 获取合作单位
 // 获取合作单位
@@ -22,7 +22,7 @@ export function getCooperation (data) {
   return request({
   return request({
     url: api + '/cooperationOrgan/queryPage',
     url: api + '/cooperationOrgan/queryPage',
     method: 'get',
     method: 'get',
-    params: qs.stringify(data)
+    params: data
   })
   })
 }
 }
 // 获取教学地点
 // 获取教学地点
@@ -30,7 +30,7 @@ export function getAddress (data) {
   return request({
   return request({
     url: api + '/school/queryPage',
     url: api + '/school/queryPage',
     method: 'get',
     method: 'get',
-    params: qs.stringify(data)
+    params: data
   })
   })
 }
 }
 // 获取所有老师信息
 // 获取所有老师信息
@@ -38,7 +38,7 @@ export function getTeacher (data) {
   return request({
   return request({
     url: api + '/teacher/findTeachers',
     url: api + '/teacher/findTeachers',
     method: 'get',
     method: 'get',
-    params: qs.stringify(data)
+    params: data
   })
   })
 }
 }
 
 
@@ -47,7 +47,7 @@ export function getSubject (data) {
   return request({
   return request({
     url: api + '/subject/findSubSubjects',
     url: api + '/subject/findSubSubjects',
     method: 'get',
     method: 'get',
-    params: qs.stringify(data)
+    params: data
   })
   })
 }
 }
 // 查询付费主体
 // 查询付费主体
@@ -478,7 +478,7 @@ export function musicGroupOpenPay (data) {
   return request({
   return request({
     url: api + `/musicGroup/openPay`,
     url: api + `/musicGroup/openPay`,
     method: 'POST',
     method: 'POST',
-    data
+    data: qs.stringify(data)
   })
   })
 }
 }
 
 

+ 3 - 3
src/views/businessManager/shopManager/shopOperation.vue

@@ -12,7 +12,7 @@
         <el-form-item label="商品名称" prop="name">
         <el-form-item label="商品名称" prop="name">
           <el-input  v-model="form.name"></el-input>
           <el-input  v-model="form.name"></el-input>
         </el-form-item>
         </el-form-item>
-        <el-form-item label="商品类" prop="type">
+        <el-form-item label="商品类" prop="type">
           <el-select v-model="form.type">
           <el-select v-model="form.type">
               <el-option label="乐器" value="INSTRUMENT"></el-option>
               <el-option label="乐器" value="INSTRUMENT"></el-option>
               <el-option label="辅件" value="ACCESSORIES"></el-option>
               <el-option label="辅件" value="ACCESSORIES"></el-option>
@@ -21,7 +21,7 @@
               <el-option label="其它" value="OTHER"></el-option>
               <el-option label="其它" value="OTHER"></el-option>
           </el-select>
           </el-select>
         </el-form-item>
         </el-form-item>
-        <el-form-item label="商品类" prop="goodsCategoryId">
+        <el-form-item label="商品类" prop="goodsCategoryId">
           <el-select v-model="form.goodsCategoryId">
           <el-select v-model="form.goodsCategoryId">
               <el-option
               <el-option
                 v-for="item in categoryList"
                 v-for="item in categoryList"
@@ -46,7 +46,7 @@
         <el-form-item label="商品图片" prop="image">
         <el-form-item label="商品图片" prop="image">
           <el-upload
           <el-upload
             class="avatar-uploader"
             class="avatar-uploader"
-            action="/web-server/uploadFile"
+            action="/api-web/uploadFile"
             :headers="headers"
             :headers="headers"
             :show-file-list="false"
             :show-file-list="false"
             :on-success="handleAvatarSuccess"
             :on-success="handleAvatarSuccess"

+ 1 - 1
src/views/categroyManager/insideSetting/branchActiveOperation.vue

@@ -227,7 +227,7 @@ export default {
             form.errorText = '最大值不能为空'
             form.errorText = '最大值不能为空'
             return
             return
         } else if(parseInt(lastDate.max) <= parseInt(lastDate.min)) {
         } else if(parseInt(lastDate.max) <= parseInt(lastDate.min)) {
-            form.errorText = '最小值不能小于或等于上一个梯度的最大值'
+            form.errorText = '最大值应大于该梯度的最小值'
             return
             return
         }
         }
 
 

+ 7 - 6
src/views/teamBuild/components/teamBaseInfo.vue

@@ -360,11 +360,13 @@
 import { getSection, getType, getCooperation, getTeacher, getAddress, getPayMaster, getPayStatus, getTeamBaseInfo, resetTeamBaseInfo } from '@/api/buildTeam'
 import { getSection, getType, getCooperation, getTeacher, getAddress, getPayMaster, getPayStatus, getTeamBaseInfo, resetTeamBaseInfo } from '@/api/buildTeam'
 import { scrollTo } from '@/utils/scroll-to'
 import { scrollTo } from '@/utils/scroll-to'
 import axios from 'axios'
 import axios from 'axios'
+import store from '@/store'
 import qs from 'qs'
 import qs from 'qs'
 export default {
 export default {
   props: ['getTeamList'],
   props: ['getTeamList'],
   data () {
   data () {
     return {
     return {
+      organId: store.getters.organ,
       topFrom: {
       topFrom: {
         type: '', // 收费类型
         type: '', // 收费类型
         section: '', //所属分部
         section: '', //所属分部
@@ -373,7 +375,7 @@ export default {
         name: '', //乐团名称
         name: '', //乐团名称
         boss: '', // 运营主管
         boss: '', // 运营主管
         time: '', // 报名截止时间
         time: '', // 报名截止时间
-        startClass: '', // 招生年级起始
+        startClass: [], // 招生年级起始
         address: '', // 教学地点
         address: '', // 教学地点
         salary: '', // 收费模式
         salary: '', // 收费模式
         head: ''
         head: ''
@@ -445,7 +447,6 @@ export default {
       // this.holidayList = Object.keys(res.data[year])
       // this.holidayList = Object.keys(res.data[year])
     })
     })
     this.teamStatus = this.$route.query.type;
     this.teamStatus = this.$route.query.type;
-    console.log();
     // 传过来的乐团信息
     // 传过来的乐团信息
     this.activeTeam = this.getTeamList;
     this.activeTeam = this.getTeamList;
 
 
@@ -505,25 +506,25 @@ export default {
 
 
     }).catch()
     }).catch()
     // 2.获取收费类型选项卡
     // 2.获取收费类型选项卡
-    getType({ 'rows': 1000 }).then(res => {
+    getType({ 'rows': 1000, organId: this.organId }).then(res => {
       if (res.code == 200) {
       if (res.code == 200) {
         this.typeList = res.data.rows;
         this.typeList = res.data.rows;
       }
       }
     })
     })
     // 3.获取合作单位选项卡
     // 3.获取合作单位选项卡
-    getCooperation({ 'rows': 1000 }).then(res => {
+    getCooperation({ 'rows': 1000, organId: this.organId }).then(res => {
       if (res.code == 200) {
       if (res.code == 200) {
         this.cooperationList = res.data.rows;
         this.cooperationList = res.data.rows;
       }
       }
     })
     })
     // 4.获取老师选项卡
     // 4.获取老师选项卡
-    getTeacher({ 'rows': 1000 }).then(res => {
+    getTeacher({ 'rows': 1000, organId: this.organId }).then(res => {
       if (res.code == 200) {
       if (res.code == 200) {
         this.teacherList = res.data;
         this.teacherList = res.data;
       }
       }
     })
     })
     // 5.获取教学地点选项卡
     // 5.获取教学地点选项卡
-    getAddress({ 'rows': 1000 }).then(res => {
+    getAddress({ 'rows': 1000, organId: this.organId }).then(res => {
       if (res.code == 200) {
       if (res.code == 200) {
         this.addList = res.data.rows;
         this.addList = res.data.rows;
       }
       }

+ 8 - 6
src/views/teamBuild/components/teamSoundMoney.vue

@@ -476,12 +476,14 @@ export default {
         obj.musicGroupSubjectPlans.push(item);
         obj.musicGroupSubjectPlans.push(item);
       }
       }
 
 
-      createTeam(obj).then(res => {
-        if (res.code == 200) {
-          // 成功 跳转到乐团报名详情
-          this.$router.push({ path: '/business/teamDetail' })
-        }
-      })
+      console.log(obj)
+
+      // createTeam(obj).then(res => {
+      //   if (res.code == 200) {
+      //     // 成功 跳转到乐团报名详情
+      //     this.$router.push({ path: '/business/teamDetail' })
+      //   }
+      // })
     }
     }
   },
   },
   filters: {
   filters: {

+ 1 - 1
src/views/teamBuild/index.vue

@@ -72,7 +72,7 @@ export default {
   name: 'teamBuild',
   name: 'teamBuild',
   data () {
   data () {
     return {
     return {
-      activeIndex: 0,
+      activeIndex: 1,
       stepImgs: {
       stepImgs: {
         nol: require('@/assets/images/base/step-arrow-active.png'),
         nol: require('@/assets/images/base/step-arrow-active.png'),
         active: require('@/assets/images/base/step-arrow.png')
         active: require('@/assets/images/base/step-arrow.png')

+ 5 - 3
src/views/teamBuild/signupList.vue

@@ -252,6 +252,7 @@
           <el-date-picker
           <el-date-picker
             v-model="paymentForm.paymentExpireDate"
             v-model="paymentForm.paymentExpireDate"
             type="date"
             type="date"
+            value-format="yyyy-MM-dd"
             style="width: 100%"
             style="width: 100%"
             placeholder="选择日期">
             placeholder="选择日期">
           </el-date-picker>
           </el-date-picker>
@@ -389,20 +390,21 @@ export default {
             musicGroupId: this.id,
             musicGroupId: this.id,
             expireDate: this.paymentForm.paymentExpireDate
             expireDate: this.paymentForm.paymentExpireDate
           }).then(res => {
           }).then(res => {
-            let result = res.data
-            console.log(result)
-            if(result.code == 200) {
+            if(res.code == 200) {
               this.$message({
               this.$message({
                 type: 'success',
                 type: 'success',
                 message: '开启成功'
                 message: '开启成功'
               })
               })
+              this.paymentStatus = false
               this.$router.push({
               this.$router.push({
                 path: '/business/signupList',
                 path: '/business/signupList',
                 query: {
                 query: {
                   status: 'PAY',
                   status: 'PAY',
+                  id: this.$route.query.id,
                   name: this.$route.query.name
                   name: this.$route.query.name
                 }
                 }
               })
               })
+              this.status = 'PAY'
             }
             }
           })
           })
         } else {
         } else {

Some files were not shown because too many files changed in this diff