Kaynağa Gözat

10/08

11:40
mo 5 yıl önce
ebeveyn
işleme
5e6c191077

+ 9 - 0
src/api/buildTeam.js

@@ -116,3 +116,12 @@ export function getStudentList (data) {
   })
 }
 
+// 分页查询收费类型
+export function getPayStatus (data) {
+  return request({
+    url: '/web-server/chargeType/queryPage',
+    method: 'get',
+    params: data
+
+  })
+}

+ 5 - 2
src/views/teamBuild/components/teamBaseInfo.vue

@@ -271,7 +271,7 @@
   </div>
 </template>
 <script>
-import { getSection, getType, getCooperation, getTeacher, getAddress, getPayMaster } from '@/api/buildTeam'
+import { getSection, getType, getCooperation, getTeacher, getAddress, getPayMaster, getPayStatus } from '@/api/buildTeam'
 import { scrollTo } from '@/utils/scroll-to'
 export default {
   data () {
@@ -376,7 +376,7 @@ export default {
         this.addList = res.data.rows;
       }
     })
-    // 6.
+    // 6.默认支付主体
     getPayMaster({ 'rows': 1000 }).then(res => {
       console.log(res);
       if (res.code == 200) {
@@ -387,6 +387,9 @@ export default {
         })
       }
     })
+    // getPayStatus({ 'rows': 1000 }).then(res => {
+    //   console.log(res);
+    // })
   },
   methods: {
     gotoNext () {

+ 2 - 2
vue.config.js

@@ -18,8 +18,8 @@ const name = defaultSettings.title || 'vue Admin Template' // page title
 // http://192.168.3.28:8000
 
 // let target = 'http://192.168.3.8:8000' //勇哥
-// let target = 'http://47.99.212.176:8000' // 测试服
-let target = 'http://192.168.3.48:8000' // 乔
+let target = 'http://47.99.212.176:8000' // 测试服
+// let target = 'http://192.168.3.48:8000' // 乔
 // All configuration item explanations can be find in https://cli.vuejs.org/config/
 module.exports = {
   /**