1 |
- {"version":3,"sources":["webpack:///./node_modules/core-js/modules/_array-methods.js","webpack:///./node_modules/core-js/modules/_is-array.js","webpack:///./node_modules/core-js/modules/es6.array.find.js","webpack:///./src/views/register.vue?2d9d","webpack:///./src/assets/front_ciry.js","webpack:///src/views/register.vue","webpack:///./src/views/register.vue?273d","webpack:///./src/views/register.vue","webpack:///./node_modules/core-js/modules/_array-species-create.js","webpack:///./src/assets/register_banner.png","webpack:///./node_modules/core-js/modules/_array-species-constructor.js","webpack:///./src/views/register.vue?7935"],"names":["ctx","IObject","toObject","toLength","asc","module","exports","TYPE","$create","IS_MAP","IS_FILTER","IS_SOME","IS_EVERY","IS_FIND_INDEX","NO_HOLES","create","$this","callbackfn","that","val","res","O","self","f","length","index","result","undefined","push","cof","Array","isArray","arg","$export","$find","KEY","forced","P","F","find","this","arguments","render","_vm","_h","$createElement","_c","_self","staticClass","_v","_m","attrs","model","value","stu","callback","$$v","$set","expression","on","$event","onChange","birthdayStatus","onSubmit","class","selectName","sheetActions","onSelect","sheetStatus","minDate","formatter","onConfirmDate","currentDate","staticRenderFns","cityList","cityCode","cityName","code","name","currentValue","component","speciesConstructor","original","isObject","SPECIES","C","constructor","prototype"],"mappings":"qGAOA,IAAIA,EAAM,EAAQ,QACdC,EAAU,EAAQ,QAClBC,EAAW,EAAQ,QACnBC,EAAW,EAAQ,QACnBC,EAAM,EAAQ,QAClBC,EAAOC,QAAU,SAAUC,EAAMC,GAC/B,IAAIC,EAAiB,GAARF,EACTG,EAAoB,GAARH,EACZI,EAAkB,GAARJ,EACVK,EAAmB,GAARL,EACXM,EAAwB,GAARN,EAChBO,EAAmB,GAARP,GAAaM,EACxBE,EAASP,GAAWJ,EACxB,OAAO,SAAUY,EAAOC,EAAYC,GAQlC,IAPA,IAMIC,EAAKC,EANLC,EAAInB,EAASc,GACbM,EAAOrB,EAAQoB,GACfE,EAAIvB,EAAIiB,EAAYC,EAAM,GAC1BM,EAASrB,EAASmB,EAAKE,QACvBC,EAAQ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AaF,OAAI1D,GACrEwD,EAASE,KACXA,EAAIA,EAAED,GACI,OAANC,IAAYA,OAAI1D,UAETA,IAAN0D,EAAkBvD,MAAQuD,I,kCCdrC,yBAAsiB,EAAG","file":"js/chunk-b1785294.f8716763.js","sourcesContent":["// 0 -> Array#forEach\n// 1 -> Array#map\n// 2 -> Array#filter\n// 3 -> Array#some\n// 4 -> Array#every\n// 5 -> Array#find\n// 6 -> Array#findIndex\nvar ctx = require('./_ctx');\nvar IObject = require('./_iobject');\nvar toObject = require('./_to-object');\nvar toLength = require('./_to-length');\nvar asc = require('./_array-species-create');\nmodule.exports = function (TYPE, $create) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n var create = $create || asc;\n return function ($this, callbackfn, that) {\n var O = toObject($this);\n var self = IObject(O);\n var f = ctx(callbackfn, that, 3);\n var length = toLength(self.length);\n var index = 0;\n var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;\n var val, res;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n val = self[index];\n res = f(val, index, O);\n if (TYPE) {\n if (IS_MAP) result[index] = res; // map\n else if (res) switch (TYPE) {\n case 3: return true; // some\n case 5: return val; // find\n case 6: return index; // findIndex\n case 2: result.push(val); // filter\n } else if (IS_EVERY) return false; // every\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;\n };\n};\n","// 7.2.2 IsArray(argument)\nvar cof = require('./_cof');\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n","'use strict';\n// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)\nvar $export = require('./_export');\nvar $find = require('./_array-methods')(5);\nvar KEY = 'find';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n find: function find(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\nrequire('./_add-to-unscopables')(KEY);\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"register\"},[_c('header',[_vm._v(\"报名\")]),_vm._m(0),_vm._m(1),_c('van-cell-group',[_c('van-field',{attrs:{\"required\":\"\",\"label\":\"姓名\",\"placeholder\":\"请输入姓名\"},model:{value:(_vm.stu.name),callback:function ($$v) {_vm.$set(_vm.stu, \"name\", $$v)},expression:\"stu.name\"}}),_c('van-cell',{attrs:{\"required\":\"\",\"title\":\"性别\",\"is-link\":\"\",\"value\":\"请选择\"},on:{\"click\":function($event){return _vm.onChange('sex')}},model:{value:(_vm.stu.sex),callback:function ($$v) {_vm.$set(_vm.stu, \"sex\", $$v)},expression:\"stu.sex\"}}),_c('van-cell',{attrs:{\"required\":\"\",\"title\":\"生日\",\"is-link\":\"\",\"value\":\"请选择\"},on:{\"click\":function($event){_vm.birthdayStatus = true}},model:{value:(_vm.stu.birthday),callback:function ($$v) {_vm.$set(_vm.stu, \"birthday\", $$v)},expression:\"stu.birthday\"}}),_c('van-field',{attrs:{\"required\":\"\",\"disabled\":\"\",\"label\":\"乐团\",\"placeholder\":\"\"},model:{value:(_vm.stu.band),callback:function ($$v) {_vm.$set(_vm.stu, \"band\", $$v)},expression:\"stu.band\"}}),_c('van-cell',{attrs:{\"required\":\"\",\"title\":\"年级\",\"is-link\":\"\",\"value\":\"请选择\"},on:{\"click\":function($event){return _vm.onChange('class')}},model:{value:(_vm.stu.class),callback:function ($$v) {_vm.$set(_vm.stu, \"class\", $$v)},expression:\"stu.class\"}}),_c('van-field',{attrs:{\"required\":\"\",\"label\":\"班级\",\"placeholder\":\"请输入班级\"},model:{value:(_vm.stu.grade),callback:function ($$v) {_vm.$set(_vm.stu, \"grade\", $$v)},expression:\"stu.grade\"}})],1),_vm._m(2),_c('van-cell-group',[_c('van-cell',{attrs:{\"required\":\"\",\"title\":\"声部\",\"is-link\":\"\",\"value\":\"请选择\"},on:{\"click\":function($event){return _vm.onChange('major')}},model:{value:(_vm.stu.major),callback:function ($$v) {_vm.$set(_vm.stu, \"major\", $$v)},expression:\"stu.major\"}}),_c('van-cell',{attrs:{\"required\":\"\",\"title\":\"是否服从调配\",\"is-link\":\"\",\"value\":\"请选择\"},on:{\"click\":function($event){return _vm.onChange('adjust')}},model:{value:(_vm.stu.adjust),callback:function ($$v) {_vm.$set(_vm.stu, \"adjust\", $$v)},expression:\"stu.adjust\"}})],1),_vm._m(3),_c('van-cell-group',[_c('van-field',{attrs:{\"required\":\"\",\"label\":\"家长\",\"placeholder\":\"请输入家长姓名\"},model:{value:(_vm.stu.patriarch),callback:function ($$v) {_vm.$set(_vm.stu, \"patriarch\", $$v)},expression:\"stu.patriarch\"}}),_c('van-field',{attrs:{\"required\":\"\",\"disabled\":\"\",\"label\":\"手机\",\"placeholder\":\"请输入手机号\"},model:{value:(_vm.stu.phone),callback:function ($$v) {_vm.$set(_vm.stu, \"phone\", $$v)},expression:\"stu.phone\"}}),_c('van-field',{attrs:{\"label\":\"单位\",\"placeholder\":\"请输入单位名称\"},model:{value:(_vm.stu.company),callback:function ($$v) {_vm.$set(_vm.stu, \"company\", $$v)},expression:\"stu.company\"}}),_c('van-field',{attrs:{\"label\":\"备注\",\"type\":\"textarea\",\"placeholder\":\"请输入备注\",\"rows\":\"2\",\"autosize\":\"\"},model:{value:(_vm.stu.remark),callback:function ($$v) {_vm.$set(_vm.stu, \"remark\", $$v)},expression:\"stu.remark\"}})],1),_c('div',{staticClass:\"btn-group\"},[_c('van-button',{staticClass:\"btn-submit\",attrs:{\"size\":\"large\"},on:{\"click\":_vm.onSubmit}},[_vm._v(\"下一步\")])],1),_c('van-action-sheet',{class:[_vm.selectName=='class'?'height3':''],attrs:{\"actions\":_vm.sheetActions},on:{\"select\":_vm.onSelect,\"cancel\":function($event){_vm.sheetStatus = false}},model:{value:(_vm.sheetStatus),callback:function ($$v) {_vm.sheetStatus=$$v},expression:\"sheetStatus\"}}),_c('van-popup',{attrs:{\"position\":\"bottom\"},model:{value:(_vm.birthdayStatus),callback:function ($$v) {_vm.birthdayStatus=$$v},expression:\"birthdayStatus\"}},[_c('van-datetime-picker',{attrs:{\"type\":\"date\",\"min-date\":_vm.minDate,\"formatter\":_vm.formatter},on:{\"confirm\":_vm.onConfirmDate,\"cancel\":function($event){_vm.birthdayStatus = false}},model:{value:(_vm.currentDate),callback:function ($$v) {_vm.currentDate=$$v},expression:\"currentDate\"}})],1)],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"banner\"},[_c('img',{attrs:{\"src\":require(\"../assets/register_banner.png\"),\"alt\":\"\"}})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"reg-title\"},[_c('i',{staticClass:\"icon card_icon\"}),_vm._v(\" 请填写学生信息 \"),_c('span',[_vm._v(\"(必填)\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"reg-title\"},[_c('i',{staticClass:\"icon card_icon\"}),_vm._v(\" 请填写专业信息 \"),_c('span',[_vm._v(\"(必填)\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"reg-title\"},[_c('i',{staticClass:\"icon card_icon\"}),_vm._v(\" 请填写家长信息 \"),_c('span',[_vm._v(\"(必填,至少1名联系人)\")])])}]\n\nexport { render, staticRenderFns }","let cityList = ['北京市', '县', '天津市', '县', '石家庄市',\r\n '唐山市', '秦皇岛市', '邯郸市', '邢台市', '保定市',\r\n '张家口市', '承德市', '沧州市', '廊坊市', '衡水市',\r\n '太原市', '大同市', '阳泉市', '长治市', '晋城市',\r\n '朔州市', '晋中市', '运城市', '忻州市', '临汾市',\r\n '吕梁市', '呼和浩特市', '包头市', '乌海市', '赤峰市',\r\n '通辽市', '鄂尔多斯市', '呼伦贝尔市', '巴彦淖尔市', '乌兰察布市',\r\n '兴安盟', '锡林郭勒盟', '阿拉善盟', '沈阳市', '大连市',\r\n '鞍山市', '抚顺市', '本溪市', '丹东市', '锦州市',\r\n '营口市', '阜新市', '辽阳市', '盘锦市', '铁岭市',\r\n '朝阳市', '葫芦岛市', '长春市', '吉林市', '四平市',\r\n '辽源市', '通化市', '白山市', '松原市', '白城市',\r\n '延边朝鲜族自治州', '哈尔滨市', '齐齐哈尔市', '鸡西市', '鹤岗市',\r\n '双鸭山市', '大庆市', '伊春市', '佳木斯市', '七台河市',\r\n '牡丹江市', '黑河市', '绥化市', '大兴安岭地区', '上海市',\r\n '县', '南京市', '无锡市', '徐州市', '常州市',\r\n '苏州市', '南通市', '连云港市', '淮安市', '盐城市',\r\n '扬州市', '镇江市', '泰州市', '宿迁市', '杭州市',\r\n '宁波市', '温州市', '嘉兴市', '湖州市', '绍兴市',\r\n '金华市', '衢州市', '舟山市', '台州市', '丽水市',\r\n '合肥市', '芜湖市', '蚌埠市', '淮南市', '马鞍山市',\r\n '淮北市', '铜陵市', '安庆市', '黄山市', '滁州市',\r\n '阜阳市', '宿州市', '六安市', '亳州市', '池州市',\r\n '宣城市', '福州市', '厦门市', '莆田市', '三明市',\r\n '泉州市', '漳州市', '南平市', '龙岩市', '宁德市',\r\n '南昌市', '景德镇市', '萍乡市', '九江市', '新余市',\r\n '鹰潭市', '赣州市', '吉安市', '宜春市', '抚州市',\r\n '上饶市', '济南市', '青岛市', '淄博市', '枣庄市',\r\n '东营市', '烟台市', '潍坊市', '济宁市', '泰安市',\r\n '威海市', '日照市', '莱芜市', '临沂市', '德州市',\r\n '聊城市', '滨州市', '菏泽市', '郑州市', '开封市',\r\n '洛阳市', '平顶山市', '安阳市', '鹤壁市', '新乡市',\r\n '焦作市', '濮阳市', '许昌市', '漯河市', '三门峡市',\r\n '南阳市', '商丘市', '信阳市', '周口市', '驻马店市',\r\n '省直辖县级行政区划', '武汉市', '黄石市', '十堰市', '宜昌市',\r\n '襄阳市', '鄂州市', '荆门市', '孝感市', '荆州市',\r\n '黄冈市', '咸宁市', '随州市', '恩施土家族苗族自治州', '省直辖县级行政区划',\r\n '长沙市', '株洲市', '湘潭市', '衡阳市', '邵阳市',\r\n '岳阳市', '常德市', '张家界市', '益阳市', '郴州市',\r\n '永州市', '怀化市', '娄底市', '湘西土家族苗族自治州', '广州市',\r\n '韶关市', '深圳市', '珠海市', '汕头市', '佛山市',\r\n '江门市', '湛江市', '茂名市', '肇庆市', '惠州市',\r\n '梅州市', '汕尾市', '河源市', '阳江市', '清远市',\r\n '东莞市', '中山市', '潮州市', '揭阳市', '云浮市',\r\n '南宁市', '柳州市', '桂林市', '梧州市', '北海市',\r\n '防城港市', '钦州市', '贵港市', '玉林市', '百色市',\r\n '贺州市', '河池市', '来宾市', '崇左市', '海口市',\r\n '三亚市', '三沙市', '省直辖县级行政区划', '重庆市', '县',\r\n '成都市', '自贡市', '攀枝花市', '泸州市', '德阳市',\r\n '绵阳市', '广元市', '遂宁市', '内江市', '乐山市',\r\n '南充市', '眉山市', '宜宾市', '广安市', '达州市',\r\n '雅安市', '巴中市', '资阳市', '阿坝藏族羌族自治州', '甘孜藏族自治州',\r\n '凉山彝族自治州', '贵阳市', '六盘水市', '遵义市', '安顺市',\r\n '毕节市', '铜仁市', '黔西南布依族苗族自治州', '黔东南苗族侗族自治州', '黔南布依族苗族自治州',\r\n '昆明市', '曲靖市', '玉溪市', '保山市', '昭通市',\r\n '丽江市', '普洱市', '临沧市', '楚雄彝族自治州', '红河哈尼族彝族自治州',\r\n '文山壮族苗族自治州', '西双版纳傣族自治州', '大理白族自治州', '德宏傣族景颇族自治州', '怒江傈僳族自治州',\r\n '迪庆藏族自治州', '拉萨市', '昌都地区', '山南地区', '日喀则地区',\r\n '那曲地区', '阿里地区', '林芝地区', '西安市', '铜川市',\r\n '宝鸡市', '咸阳市', '渭南市', '延安市', '汉中市',\r\n '榆林市', '安康市', '商洛市', '兰州市', '嘉峪关市',\r\n '金昌市', '白银市', '天水市', '武威市', '张掖市',\r\n '平凉市', '酒泉市', '庆阳市', '定西市', '陇南市',\r\n '临夏回族自治州', '甘南藏族自治州', '西宁市', '海东市', '海北藏族自治州',\r\n '黄南藏族自治州', '海南藏族自治州', '果洛藏族自治州', '玉树藏族自治州', '海西蒙古族藏族自治州',\r\n '银川市', '石嘴山市', '吴忠市', '固原市', '中卫市',\r\n '乌鲁木齐市', '克拉玛依市', '吐鲁番地区', '哈密地区', '昌吉回族自治州',\r\n '博尔塔拉蒙古自治州', '巴音郭楞蒙古自治州', '阿克苏地区', '克孜勒苏柯尔克孜自治州', '喀什地区',\r\n '和田地区', '伊犁哈萨克自治州', '塔城地区', '阿勒泰地区', '直辖县'\r\n]\r\n\r\nlet cityCode = [1101, 1102, 1201, 1202, 1301, 1302, 1303, 1304, 1305, 1306, \r\n 1307, 1308, 1309, 1310, 1311, 1401, 1402, 1403, 1404, 1405, \r\n 1406, 1407, 1408, 1409, 1410, 1411, 1501, 1502, 1503, 1504, \r\n 1505, 1506, 1507, 1508, 1509, 1522, 1525, 1529, 2101, 2102, \r\n 2103, 2104, 2105, 2106, 2107, 2108, 2109, 2110, 2111, 2112, \r\n 2113, 2114, 2201, 2202, 2203, 2204, 2205, 2206, 2207, 2208, \r\n 2224, 2301, 2302, 2303, 2304, 2305, 2306, 2307, 2308, 2309, \r\n 2310, 2311, 2312, 2327, 3101, 3102, 3201, 3202, 3203, 3204, \r\n 3205, 3206, 3207, 3208, 3209, 3210, 3211, 3212, 3213, 3301, \r\n 3302, 3303, 3304, 3305, 3306, 3307, 3308, 3309, 3310, 3311, \r\n 3401, 3402, 3403, 3404, 3405, 3406, 3407, 3408, 3410, 3411, \r\n 3412, 3413, 3415, 3416, 3417, 3418, 3501, 3502, 3503, 3504, \r\n 3505, 3506, 3507, 3508, 3509, 3601, 3602, 3603, 3604, 3605, \r\n 3606, 3607, 3608, 3609, 3610, 3611, 3701, 3702, 3703, 3704, \r\n 3705, 3706, 3707, 3708, 3709, 3710, 3711, 3712, 3713, 3714, \r\n 3715, 3716, 3717, 4101, 4102, 4103, 4104, 4105, 4106, 4107, \r\n 4108, 4109, 4110, 4111, 4112, 4113, 4114, 4115, 4116, 4117, \r\n 4190, 4201, 4202, 4203, 4205, 4206, 4207, 4208, 4209, 4210, \r\n 4211, 4212, 4213, 4228, 4290, 4301, 4302, 4303, 4304, 4305, \r\n 4306, 4307, 4308, 4309, 4310, 4311, 4312, 4313, 4331, 4401, \r\n 4402, 4403, 4404, 4405, 4406, 4407, 4408, 4409, 4412, 4413, \r\n 4414, 4415, 4416, 4417, 4418, 4419, 4420, 4451, 4452, 4453, \r\n 4501, 4502, 4503, 4504, 4505, 4506, 4507, 4508, 4509, 4510, \r\n 4511, 4512, 4513, 4514, 4601, 4602, 4603, 4690, 5001, 5002, \r\n 5101, 5103, 5104, 5105, 5106, 5107, 5108, 5109, 5110, 5111, \r\n 5113, 5114, 5115, 5116, 5117, 5118, 5119, 5120, 5132, 5133, \r\n 5134, 5201, 5202, 5203, 5204, 5205, 5206, 5223, 5226, 5227, \r\n 5301, 5303, 5304, 5305, 5306, 5307, 5308, 5309, 5323, 5325, \r\n 5326, 5328, 5329, 5331, 5333, 5334, 5401, 5421, 5422, 5423, \r\n 5424, 5425, 5426, 6101, 6102, 6103, 6104, 6105, 6106, 6107, \r\n 6108, 6109, 6110, 6201, 6202, 6203, 6204, 6205, 6206, 6207, \r\n 6208, 6209, 6210, 6211, 6212, 6229, 6230, 6301, 6302, 6322, \r\n 6323, 6325, 6326, 6327, 6328, 6401, 6402, 6403, 6404, 6405, \r\n 6501, 6502, 6521, 6522, 6523, 6527, 6528, 6529, 6530, 6531, \r\n 6532, 6540, 6542, 6543, 6590]\r\n\r\nfunction cityName(code) {\r\n // let cityIndex = cityCode[]\r\n let name\r\n cityCode.find(function(currentValue, index) {\r\n if(currentValue == code) {\r\n name = cityList[index]\r\n }\r\n })\r\n return name\r\n}\r\n\r\nexport default cityName","<template>\r\n <div class=\"register\">\r\n <header>报名</header>\r\n <div class=\"banner\">\r\n <img src=\"../assets/register_banner.png\" alt=\"\">\r\n </div>\r\n\r\n <div class=\"reg-title\">\r\n <i class=\"icon card_icon\"></i> 请填写学生信息 <span>(必填)</span>\r\n </div>\r\n\r\n <van-cell-group>\r\n <van-field required label=\"姓名\" placeholder=\"请输入姓名\" v-model=\"stu.name\"></van-field>\r\n <van-cell required title=\"性别\" v-model=\"stu.sex\" @click=\"onChange('sex')\" is-link value=\"请选择\"></van-cell>\r\n <van-cell required title=\"生日\" v-model=\"stu.birthday\" @click=\"birthdayStatus = true\" is-link value=\"请选择\"></van-cell>\r\n <van-field required disabled label=\"乐团\" placeholder=\"\" v-model=\"stu.band\"></van-field>\r\n <!-- <van-cell title=\"学校\" v-model=\"stu.school\" @click=\"onChange('school')\" is-link value=\"请选择\"></van-cell> -->\r\n <van-cell required title=\"年级\" v-model=\"stu.class\" @click=\"onChange('class')\" is-link value=\"请选择\"></van-cell>\r\n <van-field required label=\"班级\" placeholder=\"请输入班级\" v-model=\"stu.grade\"></van-field>\r\n </van-cell-group>\r\n\r\n <div class=\"reg-title\">\r\n <i class=\"icon card_icon\"></i> 请填写专业信息 <span>(必填)</span>\r\n </div>\r\n\r\n <van-cell-group>\r\n <van-cell required title=\"声部\" v-model=\"stu.major\" @click=\"onChange('major')\" is-link value=\"请选择\"></van-cell>\r\n <van-cell required title=\"是否服从调配\" v-model=\"stu.adjust\" @click=\"onChange('adjust')\" is-link value=\"请选择\"></van-cell>\r\n </van-cell-group>\r\n\r\n <div class=\"reg-title\">\r\n <i class=\"icon card_icon\"></i> 请填写家长信息 <span>(必填,至少1名联系人)</span>\r\n </div>\r\n\r\n <van-cell-group>\r\n <van-field required label=\"家长\" placeholder=\"请输入家长姓名\" v-model=\"stu.patriarch\"></van-field>\r\n <van-field required disabled label=\"手机\" placeholder=\"请输入手机号\" v-model=\"stu.phone\"></van-field>\r\n <van-field label=\"单位\" placeholder=\"请输入单位名称\" v-model=\"stu.company\"></van-field>\r\n <van-field\r\n v-model=\"stu.remark\"\r\n label=\"备注\"\r\n type=\"textarea\"\r\n placeholder=\"请输入备注\"\r\n rows=\"2\"\r\n autosize />\r\n </van-cell-group>\r\n\r\n <div class=\"btn-group\">\r\n <van-button class=\"btn-submit\" @click=\"onSubmit\" size=\"large\">下一步</van-button>\r\n </div>\r\n\r\n <van-action-sheet :class=\"[selectName=='class'?'height3':'']\"\r\n v-model= \"sheetStatus\"\r\n :actions= \"sheetActions\"\r\n @select= \"onSelect\"\r\n @cancel= \"sheetStatus = false\"\r\n />\r\n\r\n <van-popup v-model=\"birthdayStatus\" position=\"bottom\">\r\n <van-datetime-picker\r\n v-model=\"currentDate\"\r\n type=\"date\"\r\n :min-date=\"minDate\"\r\n :formatter=\"formatter\"\r\n @confirm= \"onConfirmDate\"\r\n @cancel= \"birthdayStatus = false\"\r\n /> \r\n </van-popup>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport cityName from '../assets/front_ciry'\r\nimport qs from 'qs'\r\nexport default {\r\n name: 'register',\r\n data() {\r\n return {\r\n currentDate: new Date(), // 当前时间\r\n minDate: new Date(1980, 1, 1), // 最小日期时间\r\n sheetStatus: false, // 选项卡状态\r\n birthdayStatus: false, // 日期选择状态\r\n stu: {\r\n name: '', // 姓名\r\n sex: '请选择', // 性别\r\n birthday: '请选择', // 生日\r\n city: '请选择', // 城市\r\n band: '',// 乐团\r\n // school: '', // 学校\r\n class: '请选择', // 年级\r\n grade: '', // 班级\r\n major: '请选择', // 专业\r\n adjust: '是', // 是否服从调配\r\n patriarch: '', // 家长\r\n phone: '', // 电话\r\n company: '', // 单位\r\n remark: '', // 备注\r\n },\r\n stuIndex: {\r\n sexNo: null, // 性别编号\r\n majorNo: null, // 专业编号\r\n subNo: null, // 科目编号\r\n adjustNo: 1, // 是否服从调配编号\r\n },\r\n selectName: '', // 选择是哪个字段\r\n sheetActions: [], // 上拉列表数据展示\r\n dataList: { // 上拉列表数据列表\r\n sex: [{ name: '男', index: 0 }, {name: '女', index: 1}],\r\n // school: [\r\n // { name: '小学' },\r\n // { name: '初中' },\r\n // { name: '高中' },\r\n // ],\r\n class: [\r\n { name: '一年级' },\r\n { name: '二年级' },\r\n { name: '三年级' },\r\n { name: '四年级' },\r\n { name: '五年级' },\r\n { name: '六年级' },\r\n { name: '初一/七年级' },\r\n { name: '初二/八年级' },\r\n { name: '初三/九年级' },\r\n { name: '高一' },\r\n { name: '高二' },\r\n { name: '高三' },\r\n ],\r\n adjust: [{ name: '是', index: 1 }, {name: '否', index: 0}],\r\n }\r\n }\r\n },\r\n mounted() {\r\n let params = this.$route.query\r\n this.stu.phone = params.phone\r\n this.stu.city = cityName(params.cityId)\r\n this.stu.band = params.schoolName\r\n let arr = []\r\n this.$axios.post('/user/getCourses', qs.stringify({clazzId: params.classId})).then((res) => {\r\n (res.data.data).forEach(element => {\r\n let tempSubName = element.subName.split('.').reverse()[0]\r\n arr.push({\r\n name: tempSubName,\r\n index: element.id,\r\n subNo: element.subId\r\n })\r\n })\r\n\r\n this.dataList.major = arr\r\n })\r\n },\r\n methods: {\r\n // 选中子选项时赋值\r\n onSelect(item) {\r\n this.stu[this.selectName] = item.name\r\n this.sheetStatus = false\r\n // 根据不同的类型取到对应的编号\r\n if(this.selectName == 'sex') {\r\n this.stuIndex.sexNo = item.index\r\n } else if(this.selectName == 'adjust') {\r\n this.stuIndex.adjustNo = item.index\r\n } else if(this.selectName == 'major') {\r\n this.stuIndex.majorNo = item.index\r\n this.stuIndex.subNo = item.subNo\r\n }\r\n },\r\n onChange(name) {\r\n this.sheetStatus = true\r\n this.sheetActions = this.dataList[name]\r\n this.selectName = name\r\n },\r\n formatter(type, value) { // 格式化时间\r\n if (type === 'year') {\r\n return `${value}年`;\r\n } else if (type === 'month') {\r\n return `${value}月`\r\n } else if (type === 'day') {\r\n return `${value}日`\r\n }\r\n return value\r\n },\r\n onConfirmDate() {\r\n // 生日赋值\r\n this.birthdayStatus = false\r\n this.stu.birthday = this.dateFormat(this.currentDate)\r\n },\r\n dateFormat(date) {\r\n let cur = new Date(date)\r\n return `${cur.getFullYear()}-${cur.getMonth() + 1}-${cur.getDate()}` \r\n },\r\n onSubmit() {\r\n // 确定注册\r\n let checkResult = this.onCheckForm()\r\n if(checkResult) {\r\n this.$toast(checkResult)\r\n return false\r\n }\r\n \r\n let s = this.stu\r\n let params = this.$route.query\r\n\r\n this.$axios.post('/user/userApply', qs.stringify({\r\n name: s.name,\r\n sex: this.stuIndex.sexNo,\r\n birthday: s.birthday,\r\n city: s.city,\r\n classId: params.classId,\r\n courseId: this.stuIndex.majorNo,\r\n subId: this.stuIndex.subNo,\r\n branchId: params.branchId,\r\n schoolId: params.schoolId,\r\n grade: s.class,\r\n gClass: s.grade,\r\n isAdjust: this.stuIndex.adjustNo,\r\n patriarchPhone: s.phone,\r\n patriarchName: s.patriarch,\r\n patriarchUnit: s.company,\r\n remark: s.remark\r\n })).then((res) => {\r\n let result = res.data\r\n if(result.code == 200) {\r\n // Dialog.alert({\r\n // title: '提示',\r\n // message: '恭喜您,已报名成功',\r\n // confirmButtonColor: '#269a93'\r\n // }).then(() => {\r\n \r\n // })\r\n // 判断是否开启缴费\r\n if(params.status == 2) {\r\n this.$router.push({\r\n path: 'home',\r\n query: {\r\n branchId: params.branchId,\r\n stuId: result.data,\r\n classId: params.classId,\r\n cityId: params.cityId,\r\n schoolId: params.schoolId\r\n }\r\n })\r\n } else {\r\n // 跳转到登录页面\r\n this.$router.push({ path: 'login', query: {\r\n schoolId: params.schoolId, // 学校编号\r\n cityId: params.cityId // 城市编号\r\n }})\r\n }\r\n } else {\r\n this.$toast(result.msg)\r\n }\r\n })\r\n },\r\n onCheckForm() {\r\n let student = this.stu\r\n let errorTextArr = {\r\n name: '请输入姓名',\r\n sex: '请选择性别', // 性别\r\n birthday: '请选择生日', // 生日\r\n // school: '请选择学校', // 学校\r\n class: '请选择年级', // 年级\r\n grade: '请输入班级', // 班级\r\n major: '请选择声部', // 专业\r\n adjust: '请选择是否服从调配', // 是否服从调配\r\n patriarch: '请输入家长姓名', // 家长\r\n phone: '请输入电话', // 电话\r\n // company: '请输入单位名称'\r\n }\r\n for(let key in student) {\r\n if(student[key] == '' || student[key] == '请选择') {\r\n return errorTextArr[key]\r\n }\r\n }\r\n return ''\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style lang=\"less\" scoped>\r\n.register {\r\n margin-bottom: .3rem;\r\n}\r\n\r\n.height3 {\r\n height: 3rem;\r\n}\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 margin-bottom: .06rem;\r\n}\r\n.banner {\r\n font-size: 0;\r\n img{\r\n width: 100%;\r\n }\r\n}\r\n\r\n.reg-title {\r\n padding: 0 .12rem;\r\n position: relative;\r\n height: .4rem;\r\n display: flex;\r\n align-items: center;\r\n color: #666;\r\n font-size: .14rem;\r\n span {\r\n color: #9B9B9B;\r\n }\r\n .card_icon {\r\n display: inline-block;\r\n width: .23rem;\r\n height: .2rem;\r\n margin-right: .1rem;\r\n background: url('../assets/Shape.png') no-repeat center;\r\n background-size: contain;\r\n }\r\n}\r\n\r\n.btn-group {\r\n margin: .3rem .3rem 0;\r\n .btn-submit {\r\n background: #14928A;\r\n border-radius: 1rem;\r\n color: #fff;\r\n font-size: .18rem;\r\n }\r\n}\r\n\r\n.van-cell {\r\n font-size: .16rem;\r\n padding: .13rem .11rem;\r\n}\r\n\r\n/deep/.van-field--disabled .van-field__control {\r\n color: #444 !important;\r\n}\r\n/deep/.van-field__label, /deep/.van-cell__title {\r\n padding-left: .08rem;\r\n}\r\n// .van-field--disabled {\r\n .van-field__controll {\r\n color: #323233;\r\n }\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!./register.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!./register.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./register.vue?vue&type=template&id=a706c006&scoped=true&\"\nimport script from \"./register.vue?vue&type=script&lang=js&\"\nexport * from \"./register.vue?vue&type=script&lang=js&\"\nimport style0 from \"./register.vue?vue&type=style&index=0&id=a706c006&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 \"a706c006\",\n null\n \n)\n\nexport default component.exports","// 9.4.2.3 ArraySpeciesCreate(originalArray, length)\nvar speciesConstructor = require('./_array-species-constructor');\n\nmodule.exports = function (original, length) {\n return new (speciesConstructor(original))(length);\n};\n","module.exports = __webpack_public_path__ + \"img/register_banner.2c5526d1.png\";","var isObject = require('./_is-object');\nvar isArray = require('./_is-array');\nvar SPECIES = require('./_wks')('species');\n\nmodule.exports = function (original) {\n var C;\n if (isArray(original)) {\n C = original.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? Array : C;\n};\n","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!./register.vue?vue&type=style&index=0&id=a706c006&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!./register.vue?vue&type=style&index=0&id=a706c006&lang=less&scoped=true&\""],"sourceRoot":""}
|