1 |
- {"version":3,"sources":["webpack:///./src/views/teacher/order.vue?1472","webpack:///./node_modules/core-js/modules/es6.function.name.js","webpack:///./src/views/teacher/order.vue?8cde","webpack:///src/views/teacher/order.vue","webpack:///./src/views/teacher/order.vue?2acb","webpack:///./src/views/teacher/order.vue","webpack:///./node_modules/core-js/modules/web.dom.iterable.js"],"names":["dP","f","FProto","Function","prototype","nameRE","NAME","configurable","get","this","match","e","render","_vm","_h","$createElement","_c","_self","staticClass","_v","attrs","voicyPartList","on","onChange","model","value","callback","$$v","voicyPart","expression","_s","musicGroupName","_m","_l","data","index","key","id","userName","currentClass","subjectName","paymentAmount","payTime","remark","staticRenderFns","component","$iterators","getKeys","redefine","global","hide","Iterators","wks","ITERATOR","TO_STRING_TAG","ArrayValues","Array","DOMIterables","CSSRuleList","CSSStyleDeclaration","CSSValueList","ClientRectList","DOMRectList","DOMStringList","DOMTokenList","DataTransferItemList","FileList","HTMLAllCollection","HTMLCollection","HTMLFormElement","HTMLSelectElement","MediaList","MimeTypeArray","NamedNodeMap","NodeList","PaintRequestList","Plugin","PluginArray","SVGLengthList","SVGNumberList","SVGPathSegList","SVGPointList","SVGStringList","SVGTransformList","SourceBufferList","StyleSheetList","TextTrackCueList","TextTrackList","TouchList","collections","i","length","explicit","Collection","proto"],"mappings":"uGAAA,yBAAwjB,EAAG,G,uBCA3jB,IAAIA,EAAK,EAAQ,QAAgBC,EAC7BC,EAASC,SAASC,UAClBC,EAAS,wBACTC,EAAO,OAGXA,KAAQJ,GAAU,EAAQ,SAAqBF,EAAGE,EAAQI,EAAM,CAC9DC,cAAc,EACdC,IAAK,WACH,IACE,OAAQ,GAAKC,MAAMC,MAAML,GAAQ,GACjC,MAAOM,GACP,MAAO,Q,2CCZb,IAAIC,EAAS,WAAa,IAAIC,EAAIJ,KAASK,EAAGD,EAAIE,eAAmBC,EAAGH,EAAII,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,SAAS,CAACF,EAAG,SAAS,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,EACdC,UAAU,EACVC,kBAAkB,EAClBC,QAAQ,EACRC,aAAa,EACbC,eAAe,EACfC,eAAe,EACfC,gBAAgB,EAChBC,cAAc,EACdC,eAAe,EACfC,kBAAkB,EAClBC,kBAAkB,EAClBC,gBAAgB,EAChBC,kBAAkB,EAClBC,eAAe,EACfC,WAAW,GAGJC,EAAc1C,EAAQU,GAAeiC,EAAI,EAAGA,EAAID,EAAYE,OAAQD,IAAK,CAChF,IAIItD,EAJA9B,EAAOmF,EAAYC,GACnBE,EAAWnC,EAAanD,GACxBuF,EAAa5C,EAAO3C,GACpBwF,EAAQD,GAAcA,EAAWzF,UAErC,GAAI0F,IACGA,EAAMzC,IAAWH,EAAK4C,EAAOzC,EAAUE,GACvCuC,EAAMxC,IAAgBJ,EAAK4C,EAAOxC,EAAehD,GACtD6C,EAAU7C,GAAQiD,EACdqC,GAAU,IAAKxD,KAAOU,EAAiBgD,EAAM1D,IAAMY,EAAS8C,EAAO1D,EAAKU,EAAWV,IAAM,K","file":"js/order.324e173d.js","sourcesContent":["import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./order.vue?vue&type=style&index=0&id=769499e2&lang=less&scoped=true&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./order.vue?vue&type=style&index=0&id=769499e2&lang=less&scoped=true&\"","var dP = require('./_object-dp').f;\nvar FProto = Function.prototype;\nvar nameRE = /^\\s*function ([^ (]*)/;\nvar NAME = 'name';\n\n// 19.2.4.2 name\nNAME in FProto || require('./_descriptors') && dP(FProto, NAME, {\n configurable: true,\n get: function () {\n try {\n return ('' + this).match(nameRE)[1];\n } catch (e) {\n return '';\n }\n }\n});\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"order\"},[_c('header',[_vm._v(\"支付列表\\n \"),_c('van-dropdown-menu',[_c('van-dropdown-item',{attrs:{\"options\":_vm.voicyPartList},on:{\"change\":_vm.onChange},model:{value:(_vm.voicyPart),callback:function ($$v) {_vm.voicyPart=$$v},expression:\"voicyPart\"}})],1)],1),_c('h2',[_vm._v(_vm._s(_vm.musicGroupName))]),_c('div',{staticClass:\"table\"},[_vm._m(0),_c('div',{staticClass:\"content\"},_vm._l((_vm.dataList),function(data,index){return _c('div',{key:data.id},[_c('span',[_vm._v(\" \"+_vm._s(++index)+\" \")]),_c('span',[_vm._v(\" \"+_vm._s(data.userName)+\" \")]),_c('span',[_vm._v(\" \"+_vm._s(data.currentClass)+\" \")]),_c('span',[_vm._v(\" \"+_vm._s(data.subjectName)+\" \")]),_c('span',[_vm._v(\" \"+_vm._s(data.paymentAmount)+\" \")]),_c('span',[_vm._v(\" \"+_vm._s(data.payTime)+\" \")]),_c('span',[_vm._v(\" \"+_vm._s(data.remark)+\" \")])])}),0)])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"title\"},[_c('span'),_c('span',[_vm._v(\"姓名\")]),_c('span',[_vm._v(\"班级\")]),_c('span',[_vm._v(\"声部\")]),_c('span',[_vm._v(\"支付金额\")]),_c('span',[_vm._v(\"到账时间\")]),_c('span',[_vm._v(\"备注\")])])}]\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"order\">\r\n <header>支付列表\r\n <van-dropdown-menu>\r\n <van-dropdown-item @change=\"onChange\" v-model=\"voicyPart\" :options=\"voicyPartList\" />\r\n </van-dropdown-menu>\r\n </header>\r\n <h2>{{musicGroupName}}</h2>\r\n <div class=\"table\">\r\n <div class=\"title\">\r\n <span></span>\r\n <span>姓名</span>\r\n <span>班级</span>\r\n <span>声部</span>\r\n <span>支付金额</span>\r\n <span>到账时间</span>\r\n <span>备注</span>\r\n </div>\r\n <div class=\"content\">\r\n <div v-for=\"(data, index) in dataList\" :key=\"data.id\">\r\n <!-- <div> -->\r\n <span> {{ ++index }} </span>\r\n <span> {{ data.userName }} </span>\r\n <span> {{ data.currentClass }} </span>\r\n <span> {{ data.subjectName }} </span>\r\n <span> {{ data.paymentAmount }} </span>\r\n <span> {{ data.payTime }} </span>\r\n <span> {{ data.remark }} </span>\r\n </div>\r\n \r\n </div>\r\n </div>\r\n \r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport { queryStudentApply, querySubByMusicGroupId } from '@/api/teacher'\r\nexport default {\r\n name: 'order',\r\n data() {\r\n return {\r\n musicGroupId: this.$route.query.musicGroupId,\r\n musicGroupName: this.$route.query.musicGroupName,\r\n dataList: {}, // 订单列表\r\n studentList: {}, // 学生列表\r\n couresList: [], // 课程列表\r\n voicyPart: 0,\r\n voicyPartList: [{\r\n text: '全部声部',\r\n value: 0\r\n }],\r\n adjustStatus: false, //\r\n changeStudent: null, // 修改的学生对象\r\n }\r\n },\r\n mounted() {\r\n // 获取所有课程\r\n // this.$axios.post('/user/getCourses ', qs.stringify({\r\n // clazzId: this.classId\r\n // })).then(c => {\r\n // let result = c.data.data\r\n // result.forEach(r => {\r\n // this.couresList.push({\r\n // name: r.subName.split('.').reverse()[0],\r\n // subId: r.subId,\r\n // id: r.id\r\n // })\r\n\r\n // this.voicyPartList.push({\r\n // text: r.subName.split('.').reverse()[0],\r\n // value: r.subId\r\n // })\r\n // })\r\n // })\r\n\r\n querySubByMusicGroupId({ musicGroupId: this.musicGroupId }).then(res => {\r\n let result = res.data\r\n if(result.code == 200) {\r\n result.data.forEach(r => {\r\n this.voicyPartList.push({\r\n text: r.name,\r\n value: r.id\r\n })\r\n })\r\n }\r\n })\r\n \r\n // 获取订单信息\r\n this.getOrderList()\r\n // 获取学生列表信息\r\n // this.getStudents()\r\n\r\n \r\n },\r\n methods: {\r\n getOrderList(voicyPart) {\r\n // 获取订单信息\r\n\r\n queryStudentApply({\r\n musicGroupId: this.musicGroupId,\r\n rows: 9999,\r\n subjectId: voicyPart,\r\n page: 1\r\n }).then(res => {\r\n let result = res.data\r\n if(result.code == 200) {\r\n this.dataList = result.data.rows\r\n }\r\n })\r\n },\r\n // getStudents(item) {\r\n // if(!item) {\r\n // item = {}\r\n // }\r\n // this.$axios.post('/user/getMusicTeamStu', qs.stringify({\r\n // musicTeamId: this.classId, // 乐团Id\r\n // name: '', // 学生姓名\r\n // status: '', // 学生状态\r\n // subId: item.subId ? item.subId : '', // 声部编号\r\n // page: item.page ? item.page : 1, //默认1第一页\r\n // rows: item.rows ? item.rows : 9999 // 默认20条数据\r\n // })).then(r => {\r\n // this.studentList = r.data.data.rows\r\n // })\r\n // },\r\n // adjustSelect(item) {\r\n // this.$axios.post('/user/updateUserSub', qs.stringify({\r\n // courseId: item.id,\r\n // subId: item.subId,\r\n // userId: this.changeStudent.id\r\n // })).then(student => {\r\n // if(student.data.code == 200) {\r\n // this.$toast(student.data.msg)\r\n // this.changeStudent.subName = item.name\r\n // this.adjustStatus = false\r\n // }\r\n // })\r\n // },\r\n // adjust(item) {\r\n // // 开始调剂\r\n // if(item.pushStatus <= 1 && item.status == 0) {\r\n // this.adjustStatus = true\r\n // this.changeStudent = item\r\n // }\r\n // },\r\n onChange(value) {\r\n // 切换声部时\r\n let subId = value ? value : ''\r\n this.getOrderList(subId)\r\n \r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style lang=\"less\" scoped>\r\n.order {\r\n background: #fff;\r\n min-height: 100vh;\r\n}\r\nheader {\r\n height: .40rem;\r\n line-height: .40rem;\r\n color: #000;\r\n font-size: .17rem;\r\n background: #fff;\r\n box-shadow: 0px 1px 8px 0px rgba(0,0,0,0.07);\r\n text-align: center;\r\n}\r\nh2 {\r\n font-size: .16rem;\r\n color: #fff;\r\n padding: .1rem 0;\r\n text-align: center;\r\n background: #14928a;\r\n}\r\n\r\n\r\n.table {\r\n .title {\r\n display: flex;\r\n align-items: center;\r\n text-align: center;\r\n border-bottom: 1px solid #eaeaea;\r\n }\r\n\r\n span {\r\n flex: 1;\r\n padding: .08rem 0;\r\n font-size: .14rem;\r\n &:first-child {\r\n width: .3rem;\r\n flex: inherit;\r\n }\r\n }\r\n\r\n .content > div{\r\n // border: 1px solid #ccc;\r\n // border-left: 0;\r\n // border-right: 0;\r\n width: 100%;\r\n display: flex;\r\n align-items: center;\r\n text-align: center;\r\n &:nth-child(2n+2) {\r\n background: #eaeaea;\r\n }\r\n\r\n }\r\n}\r\n/deep/.van-dropdown-menu {\r\n height: .4rem;\r\n position: absolute;\r\n right: .15rem;\r\n top: 0;\r\n}\r\n</style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./order.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./order.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./order.vue?vue&type=template&id=769499e2&scoped=true&\"\nimport script from \"./order.vue?vue&type=script&lang=js&\"\nexport * from \"./order.vue?vue&type=script&lang=js&\"\nimport style0 from \"./order.vue?vue&type=style&index=0&id=769499e2&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"769499e2\",\n null\n \n)\n\nexport default component.exports","var $iterators = require('./es6.array.iterator');\nvar getKeys = require('./_object-keys');\nvar redefine = require('./_redefine');\nvar global = require('./_global');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar wks = require('./_wks');\nvar ITERATOR = wks('iterator');\nvar TO_STRING_TAG = wks('toStringTag');\nvar ArrayValues = Iterators.Array;\n\nvar DOMIterables = {\n CSSRuleList: true, // TODO: Not spec compliant, should be false.\n CSSStyleDeclaration: false,\n CSSValueList: false,\n ClientRectList: false,\n DOMRectList: false,\n DOMStringList: false,\n DOMTokenList: true,\n DataTransferItemList: false,\n FileList: false,\n HTMLAllCollection: false,\n HTMLCollection: false,\n HTMLFormElement: false,\n HTMLSelectElement: false,\n MediaList: true, // TODO: Not spec compliant, should be false.\n MimeTypeArray: false,\n NamedNodeMap: false,\n NodeList: true,\n PaintRequestList: false,\n Plugin: false,\n PluginArray: false,\n SVGLengthList: false,\n SVGNumberList: false,\n SVGPathSegList: false,\n SVGPointList: false,\n SVGStringList: false,\n SVGTransformList: false,\n SourceBufferList: false,\n StyleSheetList: true, // TODO: Not spec compliant, should be false.\n TextTrackCueList: false,\n TextTrackList: false,\n TouchList: false\n};\n\nfor (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) {\n var NAME = collections[i];\n var explicit = DOMIterables[NAME];\n var Collection = global[NAME];\n var proto = Collection && Collection.prototype;\n var key;\n if (proto) {\n if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues);\n if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);\n Iterators[NAME] = ArrayValues;\n if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true);\n }\n}\n"],"sourceRoot":""}
|