浏览代码

修改连接与参数

lex-xin 4 年之前
父节点
当前提交
dc224359c9

+ 2 - 3
src/views/reaplceMusicPlayer/index.vue

@@ -210,6 +210,7 @@ import { Export } from '@/utils/downLoadFile'
 import cleanDeep from 'clean-deep'
 import qs from 'qs';
 import QrCode from "@/components/QrCode/index";
+import { encode } from 'js-base64';
 export default {
   components: { pagination, addUrl, detail, QrCode },
   data() {
@@ -327,9 +328,7 @@ export default {
         //   });
         let str;
         if (name == "调查链接") {
-          let returnUrl =
-            vaildStudentUrl() +
-            `/#/questionnaire?o=${row.organId}&c=${row.cooperationOrganId}`;
+          let returnUrl = vaildStudentUrl() + `/#/questionnaire?` + encode(`o=${row.organId}&c=${row.cooperationOrganId}`);
           // console.log(returnUrl)
           // let tempUrl =
           //   vaildStudentUrl() +

+ 2 - 0
src/views/reaplceMusicPlayer/modals/detail.vue

@@ -160,6 +160,8 @@ const soundList = [
   { text: "圆号", value: 13 },
   { text: "长号", value: 14 },
   { text: "上低音号", value: 15 },
+  { text: "大号", value: 17 },
+  { text: "打击乐", value: 23 },
 ];
 export default {
   components: { pagination, resetInfo, Tooltip },

+ 2 - 0
src/views/reaplceMusicPlayer/modals/resetInfo.vue

@@ -52,6 +52,8 @@ const soundList = [
   { text: "圆号", value: 13 },
   { text: "长号", value: 14 },
   { text: "上低音号", value: 15 },
+  { text: "大号", value: 17 },
+  { text: "打击乐", value: 23 },
 ];
 export default {
   props: ["detail"],

+ 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.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 = 'https://test.dayaedu.com' //测试环境
 // let target = 'http://192.168.3.134' // 乔
 // All configuration item explanations can be find in https://cli.vuejs.org/config/
 module.exports = {
@@ -66,7 +66,7 @@ module.exports = {
       // let target = 'http://dev.dayaedu.com'
       // 'http://dev.dayaedu.com'
       '/api-auth': {
-        target: 'http://dev.dayaedu.com',
+        target: target,
         // target: 'http://47.114.176.40:8000',
         // target : 'https://test.dayaedu.com',
         changeOrigin: true,