enrolledForm.js.map 37 KB

1
  1. {"version":3,"sources":["uni-app:///main.js","webpack:///D:/星火篮球维护/代码/小程序销售端/spark-sale/pagesEnroll/enrolledForm.vue?8ebc","webpack:///D:/星火篮球维护/代码/小程序销售端/spark-sale/pagesEnroll/enrolledForm.vue?3102","webpack:///D:/星火篮球维护/代码/小程序销售端/spark-sale/pagesEnroll/enrolledForm.vue?eb36","webpack:///D:/星火篮球维护/代码/小程序销售端/spark-sale/pagesEnroll/enrolledForm.vue?7e37","uni-app:///pagesEnroll/enrolledForm.vue","webpack:///D:/星火篮球维护/代码/小程序销售端/spark-sale/pagesEnroll/enrolledForm.vue?2234","webpack:///D:/星火篮球维护/代码/小程序销售端/spark-sale/pagesEnroll/enrolledForm.vue?5df5","webpack:///D:/星火篮球维护/代码/小程序销售端/spark-sale/pagesEnroll/enrolledForm.vue?f078","webpack:///D:/星火篮球维护/代码/小程序销售端/spark-sale/pagesEnroll/enrolledForm.vue?08a7"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,0G;AACAA,UAAU,CAACC,qBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAqI;AACrI;AACgE;AACL;AACa;AACyB;;;AAGjG;AACqK;AACrK,gBAAgB,+KAAU;AAC1B,EAAE,kFAAM;AACR,EAAE,mGAAM;AACR,EAAE,4GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,uGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACxBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,uMAEN;AACP,KAAK;AACL;AACA,aAAa,2RAEN;AACP,KAAK;AACL;AACA,aAAa,mQAEN;AACP,KAAK;AACL;AACA,aAAa,uMAEN;AACP,KAAK;AACL;AACA,aAAa,yQAEN;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+BA,KA/IA,EA7OA,E;;;;;;;;;;;;;ACtGA;AAAA;AAAA;AAAA;AAAw3B,CAAgB,y3BAAG,EAAC,C;;;;;;;;;;;ACA54B;AACA,OAAO,KAAU,EAAE,kBAKd;;;;;;;;;;;;;ACNL;AAAA;AAAA;AAAA;AAAgoC,CAAgB,0mCAAG,EAAC,C;;;;;;;;;;;ACAppC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pagesEnroll/enrolledForm.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pagesEnroll/enrolledForm.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./enrolledForm.vue?vue&type=template&id=1623751c&scoped=true&\"\nvar renderjs\nimport script from \"./enrolledForm.vue?vue&type=script&lang=js&\"\nexport * from \"./enrolledForm.vue?vue&type=script&lang=js&\"\nimport style0 from \"./enrolledForm.vue?vue&type=style&index=0&lang=css&\"\nimport style1 from \"./enrolledForm.vue?vue&type=style&index=1&id=1623751c&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1623751c\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pagesEnroll/enrolledForm.vue\"\nexport default component.exports","export * from \"-!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./enrolledForm.vue?vue&type=template&id=1623751c&scoped=true&\"","var components\ntry {\n components = {\n uForm: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-form/u-form\" */ \"@/uview-ui/components/u-form/u-form.vue\"\n )\n },\n uFormItem: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-form-item/u-form-item\" */ \"@/uview-ui/components/u-form-item/u-form-item.vue\"\n )\n },\n uInput: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-input/u-input\" */ \"@/uview-ui/components/u-input/u-input.vue\"\n )\n },\n uIcon: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-icon/u-icon\" */ \"@/uview-ui/components/u-icon/u-icon.vue\"\n )\n },\n uUpload: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-upload/u-upload\" */ \"@/uview-ui/components/u-upload/u-upload.vue\"\n )\n },\n uRadioGroup: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-radio-group/u-radio-group\" */ \"@/uview-ui/components/u-radio-group/u-radio-group.vue\"\n )\n },\n uRadio: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-radio/u-radio\" */ \"@/uview-ui/components/u-radio/u-radio.vue\"\n )\n },\n uCheckboxGroup: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-checkbox-group/u-checkbox-group\" */ \"@/uview-ui/components/u-checkbox-group/u-checkbox-group.vue\"\n )\n },\n uCheckbox: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-checkbox/u-checkbox\" */ \"@/uview-ui/components/u-checkbox/u-checkbox.vue\"\n )\n },\n uActionSheet: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-action-sheet/u-action-sheet\" */ \"@/uview-ui/components/u-action-sheet/u-action-sheet.vue\"\n )\n },\n uPicker: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-picker/u-picker\" */ \"@/uview-ui/components/u-picker/u-picker.vue\"\n )\n },\n uButton: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-button/u-button\" */ \"@/uview-ui/components/u-button/u-button.vue\"\n )\n },\n uTopTips: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-top-tips/u-top-tips\" */ \"@/uview-ui/components/u-top-tips/u-top-tips.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n if (!_vm._isMounted) {\n _vm.e0 = function($event) {\n _vm.payTypeShow = true\n }\n\n _vm.e1 = function($event) {\n _vm.timeShow = true\n }\n\n _vm.e2 = function($event) {\n _vm.sexShow = true\n }\n\n _vm.e3 = function($event) {\n _vm.birthdayShow = true\n }\n\n _vm.e4 = function($event) {\n _vm.saleShow = true\n }\n\n _vm.e5 = function($event) {\n _vm.talkerShow = true\n }\n }\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./enrolledForm.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./enrolledForm.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"content\">\r\n\t\t<u-form :model=\"form\" ref=\"form\" label-width=\"140\">\r\n\t\t\t<u-form-item label=\"支付方式\" prop=\"payTypeName\" required right-icon=\"arrow-right\" @click.native=\"payTypeShow = true\">\r\n\t\t\t\t<text>{{form.payTypeName}}</text>\r\n\t\t\t</u-form-item>\r\n\t\t\t<u-form-item label=\"订单号\" prop=\"orderNo\" required>\r\n\t\t\t\t<view style=\"display: flex;\">\r\n\t\t\t\t\t<u-input v-model=\"form.orderNo\" placeholder=\"请输入订单号\" style=\"flex: 1;\" />\r\n\t\t\t\t\t<u-icon name=\"scan\" size=\"60\" style=\"margin-left: 5px;\" @click=\"scanQRCode()\" v-if=\"payTypeCode == 0\"></u-icon>\r\n\t\t\t\t</view>\r\n\t\t\t</u-form-item>\r\n\t\t\t<u-form-item label=\"有效期\" prop=\"time\" required right-icon=\"arrow-right\" @click.native=\"timeShow = true\" v-if=\"payTypeCode == 1\">\r\n\t\t\t\t<text>{{form.time}}</text>\r\n\t\t\t</u-form-item>\r\n\t\t\t<u-form-item label=\"学生照片\" prop=\"imageFileId\" required label-position=\"top\">\r\n\t\t\t\t<u-upload :max-count=\"1\" :action=\"uploadUrl\" :header=\"uploadHeader\" @on-success=\"uploadSuccess\" @on-error=\"uploadError\"\r\n\t\t\t\t @on-remove=\"uploadRemove\" :file-list=\"fileList\" index=\"1\"></u-upload>\r\n\t\t\t</u-form-item>\r\n\t\t\t<u-form-item label=\"上传合同\" prop=\"contractFileId\" required label-position=\"top\" v-if=\"payTypeCode == 1\">\r\n\t\t\t\t<u-upload :max-count=\"1\" :action=\"uploadUrl\" :header=\"uploadHeader\" @on-success=\"uploadSuccess\" @on-error=\"uploadError\"\r\n\t\t\t\t @on-remove=\"uploadRemove\" index=\"2\"></u-upload>\r\n\t\t\t</u-form-item>\r\n\t\t\t<u-form-item label=\"接收人\" prop=\"coachName\" required>\r\n\t\t\t\t<u-input v-model=\"form.coachName\" placeholder=\"请输入接收人\" disabled />\r\n\t\t\t</u-form-item>\r\n\t\t\t<u-form-item label=\"家长姓名\" prop=\"parentsName\" required>\r\n\t\t\t\t<u-input v-model=\"form.parentsName\" placeholder=\"请输入家长姓名\" />\r\n\t\t\t</u-form-item>\r\n\t\t\t<u-form-item label=\"学员姓名\" prop=\"studentName\" required>\r\n\t\t\t\t<u-input v-model=\"form.studentName\" placeholder=\"请输入学员姓名\" />\r\n\t\t\t</u-form-item>\r\n\t\t\t<u-form-item label=\"学员性别\" prop=\"sex\" required right-icon=\"arrow-right\" @click.native=\"sexShow = true\">\r\n\t\t\t\t<text>{{form.sex}}</text>\r\n\t\t\t</u-form-item>\r\n\t\t\t<u-form-item label=\"学员年龄\" prop=\"age\" required>\r\n\t\t\t\t<u-input v-model=\"form.age\" type=\"number\" placeholder=\"请输入学员年龄\" />\r\n\t\t\t</u-form-item>\r\n\t\t\t<u-form-item label=\"学生生日\" prop=\"birthday\" required right-icon=\"arrow-right\" @click.native=\"birthdayShow = true\">\r\n\t\t\t\t<text>{{form.birthday}}</text>\r\n\t\t\t</u-form-item>\r\n\t\t\t<u-form-item label=\"手机号码\" prop=\"phone\" required>\r\n\t\t\t\t<u-input v-model=\"form.phone\" type=\"number\" placeholder=\"请输入手机号码\" />\r\n\t\t\t</u-form-item>\r\n\t\t\t<u-form-item label=\"报名班级\" prop=\"className\" required right-icon=\"arrow-right\" @click.native=\"selectClass()\">\r\n\t\t\t\t<text>{{form.className}}</text>\r\n\t\t\t</u-form-item>\r\n\t\t\t<u-form-item label=\"课时总价\" prop=\"sumPrice\" required>\r\n\t\t\t\t<u-input v-model=\"form.sumPrice\" type=\"number\" placeholder=\"请输入课时总价\" @blur=\"setCoursePrice()\" />\r\n\t\t\t</u-form-item>\r\n\t\t\t<u-form-item label=\"课时数\" prop=\"courseNumber\" required>\r\n\t\t\t\t<u-input v-model=\"form.courseNumber\" type=\"number\" placeholder=\"请输入课时数\" @blur=\"setCoursePrice()\" />\r\n\t\t\t</u-form-item>\r\n\t\t\t<u-form-item label=\"课时单价\" prop=\"coursePrice\" required>\r\n\t\t\t\t<u-input v-model=\"form.coursePrice\" type=\"number\" placeholder=\"请输入课时单价\" />\r\n\t\t\t</u-form-item>\r\n\t\t\t<u-form-item label=\"赠课数量\">\r\n\t\t\t\t<u-input v-model=\"form.lessonsGiveNumber\" type=\"number\" placeholder=\"请输入赠课数量\" />\r\n\t\t\t</u-form-item>\r\n\t\t\t<u-form-item label=\"赠品\" label-position=\"top\"></u-form-item>\r\n\t\t\t<u-form-item :label=\"item.name\" v-for=\"(item, index1) in giftList\" :key=\"index1\">\r\n\t\t\t\t<u-radio-group v-model=\"item.value\" v-if=\"item.type == 1\">\r\n\t\t\t\t\t<u-radio v-for=\"(site, index2) in item.itemList\" :key=\"index2\" :name=\"site.id\">\r\n\t\t\t\t\t\t{{site.name}}\r\n\t\t\t\t\t</u-radio>\r\n\t\t\t\t</u-radio-group>\r\n\t\t\t\t<u-checkbox-group v-model=\"item.value\" v-else>\r\n\t\t\t\t\t<u-checkbox v-model=\"site.checked\" v-for=\"(site, index2) in item.itemList\" :key=\"index2\" :name=\"site.id\">\r\n\t\t\t\t\t\t{{site.name}}\r\n\t\t\t\t\t</u-checkbox>\r\n\t\t\t\t</u-checkbox-group>\r\n\t\t\t</u-form-item>\r\n\t\t\t<u-form-item label=\"销售员\" prop=\"saleName\" required right-icon=\"arrow-right\" @click.native=\"saleShow = true\">\r\n\t\t\t\t<text>{{form.saleName}}</text>\r\n\t\t\t</u-form-item>\r\n\t\t\t<u-form-item label=\"谈单人\" prop=\"talkerName\" required right-icon=\"arrow-right\" @click.native=\"talkerShow = true\">\r\n\t\t\t\t<text>{{form.talkerName}}</text>\r\n\t\t\t</u-form-item>\r\n\t\t\t<u-form-item label=\"备注\">\r\n\t\t\t\t<u-input v-model=\"form.remark\" type=\"textarea\" placeholder=\"请输入备注\" auto-height :height=\"100\" />\r\n\t\t\t</u-form-item>\r\n\t\t</u-form>\r\n\t\t<u-action-sheet :list=\"sexList\" v-model=\"sexShow\" @click=\"setSex\"></u-action-sheet>\r\n\t\t<u-picker v-model=\"timeShow\" mode=\"time\" :params=\"timeParams\" @confirm=\"setTime\"></u-picker>\r\n\t\t<u-picker v-model=\"birthdayShow\" mode=\"time\" :params=\"birthdayParams\" @confirm=\"setBirthday\"></u-picker>\r\n\t\t<u-picker mode=\"selector\" v-model=\"classShow\" :range=\"classList\" range-key=\"name\" @confirm=\"setClass\"></u-picker>\r\n\t\t<u-picker mode=\"selector\" v-model=\"saleShow\" :range=\"saleList\" range-key=\"name\" @confirm=\"setSale\"></u-picker>\r\n\t\t<u-picker mode=\"selector\" v-model=\"talkerShow\" :range=\"talkerList\" range-key=\"name\" @confirm=\"setTalker\"></u-picker>\r\n\t\t<u-picker mode=\"selector\" v-model=\"payTypeShow\" :range=\"payTypeList\" range-key=\"name\" @confirm=\"setPayType\"></u-picker>\r\n\t\t<view class=\"handle-fix-box\">\r\n\t\t\t<u-button type=\"warning\" shape=\"circle\" :ripple=\"true\" :custom-style=\"customStyle\" @click=\"submitForm()\">提交</u-button>\r\n\t\t</view>\r\n\t\t<u-top-tips ref=\"uTips\"></u-top-tips>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\tmapGetters\r\n\t} from 'vuex'\r\n\tconst NET = require('@/utils/request')\r\n\tconst API = require('@/config/api')\r\n\texport default {\r\n\t\tcomputed: {\r\n\t\t\t...mapGetters([\r\n\t\t\t\t'customStyle',\r\n\t\t\t])\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tuploadUrl: API.uploadFile,\r\n\t\t\t\tuploadHeader: {\r\n\t\t\t\t\tAuthorization: uni.getStorageSync('token')\r\n\t\t\t\t},\r\n\t\t\t\tpayTypeCode: '',\r\n\t\t\t\tfileList: [],\r\n\t\t\t\tform: {\r\n\t\t\t\t\timageFileId: '',\r\n\t\t\t\t\tcontractFileId: '',\r\n\t\t\t\t\ttime: '',\r\n\t\t\t\t\tcoachName: '',\r\n\t\t\t\t\tparentsName: '',\r\n\t\t\t\t\tstudentName: '',\r\n\t\t\t\t\tsex: '',\r\n\t\t\t\t\tage: '',\r\n\t\t\t\t\tbirthday: '',\r\n\t\t\t\t\tphone: '',\r\n\t\t\t\t\tclassId: '',\r\n\t\t\t\t\tclassName: '',\r\n\t\t\t\t\tcourseNumber: '',\r\n\t\t\t\t\tcoursePrice: '',\r\n\t\t\t\t\tsumPrice: '',\r\n\t\t\t\t\torderNo: '',\r\n\t\t\t\t\tlessonsGiveNumber: '',\r\n\t\t\t\t\tgiftId: [],\r\n\t\t\t\t\tsaleId: '',\r\n\t\t\t\t\tsaleName: '',\r\n\t\t\t\t\ttalkerId: '',\r\n\t\t\t\t\ttalkerName: '',\r\n\t\t\t\t\tpayTypeId: '',\r\n\t\t\t\t\tpayTypeName: '',\r\n\t\t\t\t\tremark: '',\r\n\t\t\t\t},\r\n\t\t\t\trules: {\r\n\t\t\t\t\tcoachName: [{\r\n\t\t\t\t\t\trequired: true,\r\n\t\t\t\t\t\tmessage: '请输入接收人',\r\n\t\t\t\t\t\ttrigger: 'change'\r\n\t\t\t\t\t}],\r\n\t\t\t\t\tparentsName: [{\r\n\t\t\t\t\t\trequired: true,\r\n\t\t\t\t\t\tmessage: '请输入家长姓名',\r\n\t\t\t\t\t\ttrigger: 'change'\r\n\t\t\t\t\t}],\r\n\t\t\t\t\tstudentName: [{\r\n\t\t\t\t\t\trequired: true,\r\n\t\t\t\t\t\tmessage: '请输入学员姓名',\r\n\t\t\t\t\t\ttrigger: 'change'\r\n\t\t\t\t\t}],\r\n\t\t\t\t\tsex: [{\r\n\t\t\t\t\t\trequired: true,\r\n\t\t\t\t\t\tmessage: '请选择学员性别',\r\n\t\t\t\t\t\ttrigger: 'change'\r\n\t\t\t\t\t}],\r\n\t\t\t\t\tage: [{\r\n\t\t\t\t\t\trequired: true,\r\n\t\t\t\t\t\ttype: 'number',\r\n\t\t\t\t\t\tmessage: '请输入学员年龄',\r\n\t\t\t\t\t\ttrigger: 'change'\r\n\t\t\t\t\t}],\r\n\t\t\t\t\tbirthday: [{\r\n\t\t\t\t\t\trequired: true,\r\n\t\t\t\t\t\tmessage: '请选择学生生日',\r\n\t\t\t\t\t\ttrigger: 'change'\r\n\t\t\t\t\t}],\r\n\t\t\t\t\ttime: [{\r\n\t\t\t\t\t\trequired: true,\r\n\t\t\t\t\t\tmessage: '请选择有效期',\r\n\t\t\t\t\t\ttrigger: 'change'\r\n\t\t\t\t\t}],\r\n\t\t\t\t\tphone: [{\r\n\t\t\t\t\t\t\trequired: true,\r\n\t\t\t\t\t\t\tmessage: '请输入手机号码',\r\n\t\t\t\t\t\t\ttrigger: 'change'\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tpattern: /^1[0-9]{10}$/g,\r\n\t\t\t\t\t\t\ttransform(value) {\r\n\t\t\t\t\t\t\t\treturn String(value);\r\n\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\tmessage: '请输入正确格式的手机号码'\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t],\r\n\t\t\t\t\tclassName: [{\r\n\t\t\t\t\t\trequired: true,\r\n\t\t\t\t\t\tmessage: '请选择报名班级',\r\n\t\t\t\t\t\ttrigger: 'change'\r\n\t\t\t\t\t}],\r\n\t\t\t\t\tcourseNumber: [{\r\n\t\t\t\t\t\trequired: true,\r\n\t\t\t\t\t\tmessage: '请输入课时数',\r\n\t\t\t\t\t\ttrigger: 'change'\r\n\t\t\t\t\t}],\r\n\t\t\t\t\tcoursePrice: [{\r\n\t\t\t\t\t\trequired: true,\r\n\t\t\t\t\t\tmessage: '请输入课时单价',\r\n\t\t\t\t\t\ttrigger: 'change'\r\n\t\t\t\t\t}],\r\n\t\t\t\t\tsumPrice: [{\r\n\t\t\t\t\t\trequired: true,\r\n\t\t\t\t\t\tmessage: '请输入课时总价',\r\n\t\t\t\t\t\ttrigger: 'change'\r\n\t\t\t\t\t}],\r\n\t\t\t\t\torderNo: [{\r\n\t\t\t\t\t\trequired: true,\r\n\t\t\t\t\t\tmessage: '请输入订单号',\r\n\t\t\t\t\t\ttrigger: 'change'\r\n\t\t\t\t\t}],\r\n\t\t\t\t\tsaleName: [{\r\n\t\t\t\t\t\trequired: true,\r\n\t\t\t\t\t\tmessage: '请选择销售员',\r\n\t\t\t\t\t\ttrigger: 'change'\r\n\t\t\t\t\t}],\r\n\t\t\t\t\ttalkerName: [{\r\n\t\t\t\t\t\trequired: true,\r\n\t\t\t\t\t\tmessage: '请选择谈单人',\r\n\t\t\t\t\t\ttrigger: 'change'\r\n\t\t\t\t\t}],\r\n\t\t\t\t\tpayTypeName: [{\r\n\t\t\t\t\t\trequired: true,\r\n\t\t\t\t\t\tmessage: '请选择支付方式',\r\n\t\t\t\t\t\ttrigger: 'change'\r\n\t\t\t\t\t}],\r\n\t\t\t\t},\r\n\t\t\t\tsexShow: false,\r\n\t\t\t\tsexList: [{\r\n\t\t\t\t\t\ttext: '男'\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\ttext: '女'\r\n\t\t\t\t\t}\r\n\t\t\t\t],\r\n\t\t\t\ttimeShow: false,\r\n\t\t\t\ttimeParams: {\r\n\t\t\t\t\tyear: true,\r\n\t\t\t\t\tmonth: true,\r\n\t\t\t\t\tday: true,\r\n\t\t\t\t\thour: true,\r\n\t\t\t\t\tminute: true,\r\n\t\t\t\t\tsecond: true\r\n\t\t\t\t},\r\n\t\t\t\tbirthdayShow: false,\r\n\t\t\t\tbirthdayParams: {\r\n\t\t\t\t\tyear: true,\r\n\t\t\t\t\tmonth: true,\r\n\t\t\t\t\tday: true,\r\n\t\t\t\t\thour: false,\r\n\t\t\t\t\tminute: false,\r\n\t\t\t\t\tsecond: false\r\n\t\t\t\t},\r\n\t\t\t\tclassShow: false,\r\n\t\t\t\tclassList: [],\r\n\t\t\t\tgiftList: [],\r\n\t\t\t\tsaleShow: false,\r\n\t\t\t\tsaleList: [],\r\n\t\t\t\ttalkerShow: false,\r\n\t\t\t\ttalkerList: [],\r\n\t\t\t\tpayTypeShow: false,\r\n\t\t\t\tpayTypeList: [],\r\n\t\t\t}\r\n\t\t},\r\n\t\tonShow() {\r\n\t\t\tif (uni.getStorageSync(\"defaultClass\")) {\r\n\t\t\t\tthis.form.classId = uni.getStorageSync(\"defaultClass\").classId\r\n\t\t\t\tthis.form.className = uni.getStorageSync(\"defaultClass\").className\r\n\t\t\t}\r\n\t\t},\r\n\t\tonReady() {\r\n\t\t\tthis.form.coachName = uni.getStorageSync('userData').nickName\r\n\t\t\tthis.$refs.form.setRules(this.rules);\r\n\t\t\tNET.request(API.getClassList, {\r\n\t\t\t\tpage: 1,\r\n\t\t\t\tsize: 1000,\r\n\t\t\t}, 'POST').then(res => {\r\n\t\t\t\tthis.classList = res.data.row\r\n\t\t\t}).catch(error => {\r\n\t\t\t\tthis.$refs.uTips.show({\r\n\t\t\t\t\ttitle: error.message,\r\n\t\t\t\t\ttype: 'warning',\r\n\t\t\t\t})\r\n\t\t\t})\r\n\t\t\tNET.request(API.getGiftList, {}, 'POST').then(res => {\r\n\t\t\t\tres.data.forEach(item => {\r\n\t\t\t\t\tif (item == 1) {\r\n\t\t\t\t\t\titem.value = ''\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\titem.itemList.forEach(site => {\r\n\t\t\t\t\t\t\tsite.checked = false\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t\tthis.giftList = res.data\r\n\t\t\t}).catch(error => {\r\n\t\t\t\tthis.$refs.uTips.show({\r\n\t\t\t\t\ttitle: error.message,\r\n\t\t\t\t\ttype: 'warning',\r\n\t\t\t\t})\r\n\t\t\t})\r\n\t\t\tNET.request(API.getSaleList, {\r\n\t\t\t\tpage: 1,\r\n\t\t\t\tsize: 1000,\r\n\t\t\t}, 'POST').then(res => {\r\n\t\t\t\tthis.saleList = res.data.row\r\n\t\t\t}).catch(error => {\r\n\t\t\t\tthis.$refs.uTips.show({\r\n\t\t\t\t\ttitle: error.message,\r\n\t\t\t\t\ttype: 'warning',\r\n\t\t\t\t})\r\n\t\t\t})\r\n\t\t\tNET.request(API.getTalkerList, {\r\n\t\t\t\tpage: 1,\r\n\t\t\t\tsize: 1000,\r\n\t\t\t}, 'POST').then(res => {\r\n\t\t\t\tthis.talkerList = res.data.row\r\n\t\t\t}).catch(error => {\r\n\t\t\t\tthis.$refs.uTips.show({\r\n\t\t\t\t\ttitle: error.message,\r\n\t\t\t\t\ttype: 'warning',\r\n\t\t\t\t})\r\n\t\t\t})\r\n\t\t\tNET.request(API.getPayTypeList, {}, 'POST').then(res => {\r\n\t\t\t\tthis.payTypeList = res.data\r\n\t\t\t}).catch(error => {\r\n\t\t\t\tthis.$refs.uTips.show({\r\n\t\t\t\t\ttitle: error.message,\r\n\t\t\t\t\ttype: 'warning',\r\n\t\t\t\t})\r\n\t\t\t})\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t// 扫码二维码\r\n\t\t\tscanQRCode() {\r\n\t\t\t\tuni.scanCode({\r\n\t\t\t\t\tonlyFromCamera: true,\r\n\t\t\t\t\tsuccess: (res) => {\r\n\t\t\t\t\t\tNET.request(API.getQrCodeInfo, {\r\n\t\t\t\t\t\t\torderNo: res.result\r\n\t\t\t\t\t\t}, 'POST').then(res => {\r\n\t\t\t\t\t\t\tthis.form.parentsName = res.data.parentsName\r\n\t\t\t\t\t\t\tthis.form.studentName = res.data.studentName\r\n\t\t\t\t\t\t\tthis.form.sex = res.data.sex\r\n\t\t\t\t\t\t\tthis.form.age = res.data.age\r\n\t\t\t\t\t\t\tthis.form.birthday = res.data.birthday\r\n\t\t\t\t\t\t\tthis.form.phone = res.data.phone\r\n\t\t\t\t\t\t\tif (res.data.payTypeId) {\r\n\t\t\t\t\t\t\t\tlet payType = this.payTypeList.find(site => site.id == res.data.payTypeId)\r\n\t\t\t\t\t\t\t\tthis.form.payTypeId = res.data.payTypeId\r\n\t\t\t\t\t\t\t\tthis.form.payTypeName = payType.name\r\n\t\t\t\t\t\t\t\tthis.form.payTypeCode = payType.other\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif (res.data.imageFileId) {\r\n\t\t\t\t\t\t\t\tthis.form.imageFileId = res.data.imageFileId\r\n\t\t\t\t\t\t\t\tthis.fileList = [{\r\n\t\t\t\t\t\t\t\t\turl: res.data.imageFileUrl\r\n\t\t\t\t\t\t\t\t}]\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tthis.form.orderNo = res.data.orderNo\r\n\t\t\t\t\t\t}).catch(error => {\r\n\t\t\t\t\t\t\tthis.$refs.uTips.show({\r\n\t\t\t\t\t\t\t\ttitle: error.message,\r\n\t\t\t\t\t\t\t\ttype: 'warning',\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\t// 文件上传成功回调\r\n\t\t\tuploadSuccess(res, index, lists, name) {\r\n\t\t\t\tif (name == 1) {\r\n\t\t\t\t\tthis.form.imageFileId = res.data.id\r\n\t\t\t\t} else if (name == 2) {\r\n\t\t\t\t\tthis.form.contractFileId = res.data.id\r\n\t\t\t\t}\r\n\t\t\t\tthis.$refs.uTips.show({\r\n\t\t\t\t\ttitle: '文件上传成功',\r\n\t\t\t\t\ttype: 'success',\r\n\t\t\t\t})\r\n\t\t\t\treturn true\r\n\t\t\t},\r\n\t\t\t// 文件上传失败回调\r\n\t\t\tuploadError(res, index, lists, name) {\r\n\t\t\t\tthis.$refs.uTips.show({\r\n\t\t\t\t\ttitle: error.message,\r\n\t\t\t\t\ttype: 'warning',\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t// 移除文件回调\r\n\t\t\tuploadRemove(index, lists, name) {\r\n\t\t\t\tif (name == 1) {\r\n\t\t\t\t\tthis.form.imageFileId = ''\r\n\t\t\t\t} else if (name == 2) {\r\n\t\t\t\t\tthis.form.contractFileId = ''\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t// 设置性别\r\n\t\t\tsetSex(index) {\r\n\t\t\t\tthis.form.sex = this.sexList[index].text\r\n\t\t\t},\r\n\t\t\t// 设置有效期\r\n\t\t\tsetTime(object) {\r\n\t\t\t\tthis.form.time = object.year + '-' + object.month + '-' + object.day + ' ' + object.hour + ':' + object.minute + ':' + object.second\r\n\t\t\t},\r\n\t\t\t// 设置生日\r\n\t\t\tsetBirthday(object) {\r\n\t\t\t\tthis.form.birthday = object.year + '-' + object.month + '-' + object.day\r\n\t\t\t},\r\n\t\t\t// 跳转班级列表\r\n\t\t\tselectClass() {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: '/pagesEnroll/classList'\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\t// 设置报名班级\r\n\t\t\tsetClass(object) {\r\n\t\t\t\tthis.form.classId = this.classList[object[0]].id\r\n\t\t\t\tthis.form.className = this.classList[object[0]].name\r\n\t\t\t},\r\n\t\t\t// 设置销售员\r\n\t\t\tsetSale(object) {\r\n\t\t\t\tthis.form.saleId = this.saleList[object[0]].id\r\n\t\t\t\tthis.form.saleName = this.saleList[object[0]].name\r\n\t\t\t},\r\n\t\t\t// 设置谈单人\r\n\t\t\tsetTalker(object) {\r\n\t\t\t\tthis.form.talkerId = this.talkerList[object[0]].id\r\n\t\t\t\tthis.form.talkerName = this.talkerList[object[0]].name\r\n\t\t\t},\r\n\t\t\t// 设置支付方式\r\n\t\t\tsetPayType(object) {\r\n\t\t\t\tthis.form.payTypeId = this.payTypeList[object[0]].id\r\n\t\t\t\tthis.form.payTypeName = this.payTypeList[object[0]].name\r\n\t\t\t\tthis.payTypeCode = this.payTypeList[object[0]].other\r\n\t\t\t},\r\n\t\t\t// 设置总价\r\n\t\t\tsetCoursePrice() {\r\n\t\t\t\tif (this.form.courseNumber && this.form.sumPrice) {\r\n\t\t\t\t\tthis.form.coursePrice = (this.form.sumPrice / this.form.courseNumber).toFixed(2)\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t// 提交表单\r\n\t\t\tsubmitForm() {\r\n\t\t\t\tthis.$refs.form.validate(valid => {\r\n\t\t\t\t\tif (valid) {\r\n\t\t\t\t\t\tlet giftId = []\r\n\t\t\t\t\t\tthis.giftList.forEach(item => {\r\n\t\t\t\t\t\t\tif (item.type == 1 && item.value) {\r\n\t\t\t\t\t\t\t\tgiftId.push(item.value)\r\n\t\t\t\t\t\t\t} else if (item.type == 0) {\r\n\t\t\t\t\t\t\t\tgiftId = giftId.concat(item.itemList.filter(site => site.checked).map(site => {\r\n\t\t\t\t\t\t\t\t\treturn site.id\r\n\t\t\t\t\t\t\t\t}))\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\tNET.request(API.submitEnrolledForm, {\r\n\t\t\t\t\t\t\t...this.form,\r\n\t\t\t\t\t\t\tgiftId: giftId\r\n\t\t\t\t\t\t}, 'POST').then(res => {\r\n\t\t\t\t\t\t\tthis.$refs.uTips.show({\r\n\t\t\t\t\t\t\t\ttitle: '提交成功',\r\n\t\t\t\t\t\t\t\ttype: 'success',\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\tuni.navigateBack()\r\n\t\t\t\t\t\t\t}, 1000)\r\n\t\t\t\t\t\t}).catch(error => {\r\n\t\t\t\t\t\t\tthis.$refs.uTips.show({\r\n\t\t\t\t\t\t\t\ttitle: error.message,\r\n\t\t\t\t\t\t\t\ttype: 'warning',\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t},\r\n\t}\r\n</script>\r\n\r\n<style>\r\n\tpage {\r\n\t\twidth: 100%;\r\n\t\theight: 100%;\r\n\t\tposition: relative;\r\n\t}\r\n</style>\r\n<style lang=\"scss\" scoped>\r\n\t@import \"@/static/css/themes.scss\";\r\n\r\n\t.content {\r\n\t\twidth: 100%;\r\n\t\tfloat: left;\r\n\t\tpadding: 0 15px 60px 15px;\r\n\t\tbox-sizing: border-box;\r\n\t}\r\n</style>\r\n","import mod from \"-!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-2!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./enrolledForm.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-2!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./enrolledForm.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1631763034417\n var cssReload = require(\"E:/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n ","import mod from \"-!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./enrolledForm.vue?vue&type=style&index=1&id=1623751c&lang=scss&scoped=true&\"; export default mod; export * from \"-!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./enrolledForm.vue?vue&type=style&index=1&id=1623751c&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1631763038053\n var cssReload = require(\"E:/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}