1 |
- {"version":3,"sources":["webpack:///./src/views/SecurityVerify.vue?82ab","webpack:///./src/views/SecurityVerify.vue?cd0a","webpack:///./node_modules/vant/es/actionsheet/index.js","webpack:///src/views/SecurityVerify.vue","webpack:///./src/views/SecurityVerify.vue?85e1","webpack:///./src/views/SecurityVerify.vue?3d3d","webpack:///./node_modules/vant/es/picker/style/index.js","webpack:///./node_modules/vant/es/uploader/index.js","webpack:///./src/components/navBar.vue?51a5","webpack:///./node_modules/vant/es/icon/style/index.js","webpack:///./src/components/navBar.vue?b108","webpack:///./node_modules/vant/es/nav-bar/index.js","webpack:///src/components/navBar.vue","webpack:///./src/components/navBar.vue?879c","webpack:///./src/components/navBar.vue","webpack:///./node_modules/vant/es/uploader/style/index.js","webpack:///./node_modules/vant/es/utils/deep-clone.js","webpack:///./node_modules/vant/es/picker/PickerColumn.js","webpack:///./node_modules/vant/es/mixins/picker.js","webpack:///./node_modules/vant/es/picker/index.js"],"names":["_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SecurityVerify_vue_vue_type_style_index_0_id_f15c6c34_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SecurityVerify_vue_vue_type_style_index_0_id_f15c6c34_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default","n","render","_vm","this","_h","$createElement","_c","_self","attrs","path","title","staticClass","_m","border","required","clearable","label","placeholder","error","phoneError","on","click","$event","model","value","callback","$$v","phone","expression","maxlength","usernameError","username","wechatError","wechat","_v","radio","staticStyle","float","margin-right","name","checked-color","size","show","_s","dormitory","actions","cancel-text","select","onSelect","margin-bottom","onRead","type","loading","next","staticRenderFns","es_actionsheet","Object","create","shouldRender","directives","rawName","class","b","withtitle","domProps","textContent","onCancel","_l","item","disabled","className","stopPropagation","subname","_e","cancelText","_t","mixins","mixins_popup","props","String","Boolean","Array","overlay","default","closeOnClickOverlay","methods","$emit","SecurityVerifyvue_type_script_lang_js_","components","_components","AddPhoto","addPhoto","NavBar","navBar","defineProperty","uploader","icon","cell_group","field","radio_group","es_radio","picker","es_button","data","sms","dorId","id","photo","userDo","identityDo","identityUpload","userUpload","toast","mask","message","duration","length","fail","isNumber","isEmojiCharacter","compressImg","that","fileObj","photoCompress","quality","base64Codes","formData","FormData","bl","convertBase64UrlToBlob","append","uploadImg","basic_service","get_data","res","ret","undefined","imgURL","updateInfo","e","console","warn","image","useridentity","userWxAccount","dormDistrict","userSex","parseInt","userSchoolCardPic","beforeImage","userReviewStatus","reviewerNote","reviewerNoteToUser","response","success","$router","push","user","created","substring","i","hs","charCodeAt","ls","uc","str","file","w","objDiv","ready","FileReader","readAsDataURL","onload","re","result","canvasDataURL","obj","img","Image","src","width","h","height","scale","canvas","document","createElement","ctx","getContext","anw","createAttribute","nodeValue","anh","setAttributeNode","drawImage","base64","toDataURL","urlData","arr","split","mime","match","bstr","atob","u8arr","Uint8Array","Blob","views_SecurityVerifyvue_type_script_lang_js_","component","componentNormalizer","options","__file","__webpack_exports__","_utils_create__WEBPACK_IMPORTED_MODULE_0__","_b","ref","accept","change","onChange","$attrs","inheritAttrs","beforeRead","Function","afterRead","resultType","maxSize","Number","MAX_VALUE","event","_this","files","target","slice","call","isArray","Promise","all","map","readFile","then","contents","oversize","payload","index","content","onAfterRead","_this2","resolve","reader","readAsText","$refs","input","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_navBar_vue_vue_type_style_index_0_id_7f9774c3_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_navBar_vue_vue_type_style_index_0_id_7f9774c3_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default","background-color","slot","color","onClickLeft","es_nav_bar","fixed","van-hairline--bottom","style","leftArrow","leftText","rightText","zIndex","computed","navBarvue_type_script_lang_js_","components_navBarvue_type_script_lang_js_","deepClone","deep_assign","DEFAULT_DURATION","PickerColumn","columnStyle","touchstart","onTouchStart","touchmove","preventDefault","onTouchMove","touchend","onTouchEnd","touchcancel","wrapperStyle","option","isDisabled","selected","currentIndex","optionStyle","innerHTML","getOptionText","setIndex","valueKey","itemHeight","defaultIndex","initialOptions","visibleItemCount","startY","offset","startOffset","$parent","children","destroyed","splice","indexOf","watch","count","baseOffset","transition","transform","lineHeight","touches","clientY","deltaY","utils","Math","round","adjustIndex","_i","userAction","setValue","getValue","showToolbar","cancelButtonText","confirmButtonText","emit","$t","columnsStyle","simple","columns","key","value-key","initial-options","values","class-name","default-index","item-height","visible-item-count","frameStyle","setColumns","forEach","setColumnValues","getColumnValue","getColumnIndex","getValues","getIndexes","columnIndex","getColumn","column","setColumnValue","setColumnIndex","optionIndex","getColumnValues","JSON","stringify","child","setValues","setIndexes","indexes","_this3"],"mappings":"kHAAA,IAAAA,EA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ACAa,EAAAT,eAAAJ,EAAAK","file":"js/chunk-2172f842.2c10d880.js","sourcesContent":["import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SecurityVerify.vue?vue&type=style&index=0&id=f15c6c34&scoped=true&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SecurityVerify.vue?vue&type=style&index=0&id=f15c6c34&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('nav-bar',{attrs:{\"path\":\"index\",\"title\":\"身份验证\"}}),_c('div',{staticClass:\"card\"},[_vm._m(0),_c('van-cell-group',{attrs:{\"border\":false}},[_c('van-field',{attrs:{\"required\":\"\",\"clearable\":\"\",\"label\":\"手机号\",\"placeholder\":\"请输入手机号\",\"error\":_vm.phoneError},on:{\"click\":function($event){_vm.phoneError=false}},model:{value:(_vm.phone),callback:function ($$v) {_vm.phone=$$v},expression:\"phone\"}}),_c('van-field',{attrs:{\"required\":\"\",\"clearable\":\"\",\"label\":\"昵称\",\"placeholder\":\"请输入昵称\",\"maxlength\":\"12\",\"error\":_vm.usernameError},on:{\"click\":function($event){_vm.usernameError=false}},model:{value:(_vm.username),callback:function ($$v) {_vm.username=$$v},expression:\"username\"}}),_c('van-field',{attrs:{\"required\":\"\",\"clearable\":\"\",\"label\":\"微信号\",\"placeholder\":\"请输入微信号\",\"maxlength\":\"20\",\"error\":_vm.wechatError},on:{\"click\":function($event){_vm.wechatError=false}},model:{value:(_vm.wechat),callback:function ($$v) {_vm.wechat=$$v},expression:\"wechat\"}})],1),_c('p',[_vm._v(\"性别\")]),_c('van-radio-group',{model:{value:(_vm.radio),callback:function ($$v) {_vm.radio=$$v},expression:\"radio\"}},[_c('van-radio',{staticStyle:{\"float\":\"left\",\"margin-right\":\"20px\"},attrs:{\"name\":\"1\",\"checked-color\":\"#fd6740\"}},[_vm._v(\"男\")]),_c('van-radio',{attrs:{\"name\":\"2\",\"checked-color\":\"#fd6740\"}},[_vm._v(\"女\")])],1),_c('p',[_vm._v(\"宿舍区\")]),_c('van-button',{attrs:{\"size\":\"large\"},on:{\"click\":function($event){_vm.show = true}}},[_vm._v(_vm._s(_vm.dormitory))]),_c('van-actionsheet',{attrs:{\"actions\":_vm.actions,\"cancel-text\":\"取消\"},on:{\"select\":_vm.onSelect},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}})],1),_c('div',{staticClass:\"card\",staticStyle:{\"margin-bottom\":\"10px\"}},[_c('p',[_vm._v(\"上传校卡照片\")]),_c('div',{staticStyle:{\"margin-bottom\":\"10px\"}},[_c('add-photo',{on:{\"onRead\":_vm.onRead}})],1),_c('p',[_vm._v(\"活动仅允许深大学生参与,请上传正面校卡照片审核~\")])]),_c('van-button',{staticClass:\"submit_button\",attrs:{\"type\":\"primary\",\"loading\":_vm.loading},on:{\"click\":_vm.next}},[_vm._v(\"下一步\\n \")])],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('h3',[_c('strong',[_vm._v(\"个人资料\")])])}]\n\nexport { render, staticRenderFns }","import create from '../utils/create';\nimport Popup from '../mixins/popup';\nexport default create({\n render: function render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c('transition', {\n attrs: {\n \"name\": \"van-slide-up\"\n }\n }, [_vm.shouldRender ? _c('div', {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.value,\n expression: \"value\"\n }],\n class: _vm.b({\n 'withtitle': _vm.title\n })\n }, [_vm.title ? _c('div', {\n staticClass: \"van-hairline--top-bottom\",\n class: _vm.b('header')\n }, [_c('div', {\n domProps: {\n \"textContent\": _vm._s(_vm.title)\n }\n }), _c('icon', {\n attrs: {\n \"name\": \"close\"\n },\n on: {\n \"click\": _vm.onCancel\n }\n })], 1) : _c('ul', {\n staticClass: \"van-hairline--bottom\"\n }, _vm._l(_vm.actions, function (item) {\n return _c('li', {\n class: [_vm.b('item', {\n disabled: item.disabled || item.loading\n }), item.className, 'van-hairline--top'],\n on: {\n \"click\": function click($event) {\n $event.stopPropagation();\n\n _vm.onSelect(item);\n }\n }\n }, [!item.loading ? [_c('span', {\n class: _vm.b('name')\n }, [_vm._v(_vm._s(item.name))]), item.subname ? _c('span', {\n class: _vm.b('subname')\n }, [_vm._v(\"\\n \" + _vm._s(item.subname) + \"\\n \")]) : _vm._e()] : _c('loading', {\n class: _vm.b('loading'),\n attrs: {\n \"size\": \"20px\"\n }\n })], 2);\n })), _vm.cancelText ? _c('div', {\n class: [_vm.b('cancel'), 'van-hairline--top'],\n domProps: {\n \"textContent\": _vm._s(_vm.cancelText)\n },\n on: {\n \"click\": _vm.onCancel\n }\n }) : _c('div', {\n class: _vm.b('content')\n }, [_vm._t(\"default\")], 2)]) : _vm._e()]);\n },\n name: 'actionsheet',\n mixins: [Popup],\n props: {\n title: String,\n value: Boolean,\n actions: Array,\n cancelText: String,\n overlay: {\n type: Boolean,\n default: true\n },\n closeOnClickOverlay: {\n type: Boolean,\n default: true\n }\n },\n methods: {\n onSelect: function onSelect(item) {\n if (!item.disabled && !item.loading) {\n item.callback && item.callback(item);\n this.$emit('select', item);\n }\n },\n onCancel: function onCancel() {\n this.$emit('input', false);\n this.$emit('cancel');\n }\n }\n});","<template>\r\n <div>\r\n <nav-bar path=\"index\" title=\"身份验证\"/>\r\n <div class='card'>\r\n <h3><strong>个人资料</strong></h3>\r\n <van-cell-group :border=\"false\">\r\n <van-field\r\n v-model=\"phone\"\r\n required\r\n clearable\r\n label=\"手机号\"\r\n placeholder=\"请输入手机号\"\r\n :error=\"phoneError\"\r\n @click=\"phoneError=false\"\r\n />\r\n <!--<van-field-->\r\n <!--v-model=\"sms\"-->\r\n <!--center-->\r\n <!--clearable-->\r\n <!--label=\"短信验证码\"-->\r\n <!--placeholder=\"请输入短信验证码\"-->\r\n <!--required-->\r\n <!--disabled-->\r\n <!-->-->\r\n <!--<van-button slot=\"button\" size=\"small\" type=\"primary\">发送验证码</van-button>-->\r\n <!--</van-field>-->\r\n\r\n <van-field\r\n v-model=\"username\"\r\n required\r\n clearable\r\n label=\"昵称\"\r\n placeholder=\"请输入昵称\"\r\n maxlength=\"12\"\r\n :error=\"usernameError\"\r\n @click=\"usernameError=false\"\r\n />\r\n <van-field\r\n v-model=\"wechat\"\r\n required\r\n clearable\r\n label=\"微信号\"\r\n placeholder=\"请输入微信号\"\r\n maxlength=\"20\"\r\n :error=\"wechatError\"\r\n @click=\"wechatError=false\"\r\n />\r\n </van-cell-group>\r\n\r\n <p>性别</p>\r\n <van-radio-group v-model=\"radio\">\r\n <van-radio name=\"1\" checked-color=\"#fd6740\" style=\"float: left; margin-right: 20px\">男</van-radio>\r\n <van-radio name=\"2\" checked-color=\"#fd6740\">女</van-radio>\r\n </van-radio-group>\r\n\r\n <p>宿舍区</p>\r\n <van-button size=\"large\" @click=\"show = true\">{{dormitory}}</van-button>\r\n <van-actionsheet\r\n v-model=\"show\"\r\n :actions=\"actions\"\r\n cancel-text=\"取消\"\r\n @select=\"onSelect\"\r\n />\r\n </div>\r\n\r\n <div class=\"card\" style=\"margin-bottom: 10px\">\r\n <p>上传校卡照片</p>\r\n <div style=\"margin-bottom: 10px\">\r\n <add-photo @onRead=\"onRead\"/>\r\n </div>\r\n <p>活动仅允许深大学生参与,请上传正面校卡照片审核~</p>\r\n </div>\r\n\r\n <van-button\r\n class=\"submit_button\"\r\n type=\"primary\"\r\n @click=\"next\"\r\n :loading=\"loading\"\r\n >下一步\r\n </van-button>\r\n </div>\r\n</template>\r\n\r\n<script>\r\n import {BasicFunction} from \"../connector/basic-service\";\r\n import NavBar from '../components/navBar';\r\n import {\r\n Uploader, Icon,\r\n CellGroup, Field,\r\n RadioGroup, Radio,\r\n Picker,\r\n Button,\r\n Actionsheet,\r\n Toast\r\n } from 'vant';\r\n import AddPhoto from \"../components/addPhoto\";\r\n export default {\r\n name: \"SecurityVerify\",\r\n components: {\r\n AddPhoto,\r\n NavBar,\r\n [Uploader.name]: Uploader, [Icon.name]: Icon,\r\n [CellGroup.name]: CellGroup, [Field.name]: Field,\r\n [RadioGroup.name]: RadioGroup, [Radio.name]: Radio,\r\n [Picker.name]: Picker,\r\n [Button.name]: Button,\r\n [Actionsheet.name]: Actionsheet\r\n },\r\n data() {\r\n return {\r\n phone: '',\r\n phoneError: false,\r\n sms: '',\r\n username: '',\r\n usernameError: false,\r\n wechat: '',\r\n wechatError: false,\r\n radio: '1',\r\n show: false,\r\n dormitory: '点击选择宿舍区',\r\n dorId: -1,\r\n actions: [\r\n {id: 0, name: '斋区'},\r\n {id: 1, name: '西南'},\r\n {id: 2, name: '南区'},\r\n {id: 3, name: '桂庙'},\r\n {id: 4, name: '西丽'},\r\n ],\r\n photo: null,\r\n loading: false,\r\n userDo : {},\r\n identityDo : {},\r\n identityUpload : false,\r\n userUpload : false\r\n };\r\n },\r\n methods: {\r\n next() {\r\n Toast.loading({\r\n mask: true,\r\n message: '此过程大约需要15s,你的校卡正在拼命上传,请耐心等待...',\r\n duration: 20000\r\n });\r\n this.loading = true;\r\n // 检查输入\r\n if (this.phone.length !== 11) {\r\n Toast.fail(\"请输入11位手机号\");\r\n this.phoneError = true;\r\n this.loading = false;\r\n return;\r\n } else if (!isNumber(this.phone)) {\r\n Toast.fail(\"请输入正确格式的手机号\");\r\n this.phoneError = true;\r\n this.loading = false;\r\n return;\r\n } else if (isEmojiCharacter(this.username)) {\r\n Toast.fail('不支持表情哦');\r\n this.usernameError = true;\r\n this.loading = false;\r\n return;\r\n } else if (this.username.length < 1) {\r\n Toast.fail('请输入昵称');\r\n this.usernameError = true;\r\n this.loading = false;\r\n return;\r\n } else if (isEmojiCharacter(this.wechat) || this.wechat.length < 6) {\r\n this.wechatError = true;\r\n Toast.fail('请输入正确格式的微信号');\r\n this.loading = false;\r\n return;\r\n } else if (this.dorId === -1) {\r\n Toast.fail('请选择宿舍区');\r\n this.loading = false;\r\n return;\r\n } else if (this.photo === null) {\r\n Toast.fail('请上传校卡正面照片');\r\n this.loading = false;\r\n return;\r\n }\r\n\r\n this.compressImg();\r\n },\r\n compressImg: function () {\r\n let that = this;\r\n let fileObj = this.photo;\r\n photoCompress(fileObj, {\r\n quality: 0.2\r\n }, function (base64Codes) {\r\n let formData = new FormData();\r\n //console.log(\"压缩后:\" + base.length / 1024 + \" \" + base);\r\n var bl = convertBase64UrlToBlob(base64Codes);\r\n // formData.append('file', fileObj);\r\n // console.log(fileObj);\r\n formData.append(\"file\", bl); // 文件对象\r\n // console.log(bl);\r\n that.uploadImg(formData);\r\n });\r\n },\r\n uploadImg(formData) {\r\n let that = this;\r\n BasicFunction.get_data(\"fileserver/upload?sign=abcdefg\", function (res) {\r\n try {\r\n if (res.ret === '10000' && res.model !== undefined && res.model.length !== 0) {\r\n let imgURL = res.model;\r\n that.updateInfo(imgURL);\r\n } else {\r\n Toast.fail('上传图片失败,请检查网络');\r\n that.loading = false;\r\n }\r\n } catch (e) {\r\n console.warn(e);\r\n Toast.fail('上传图片失败,请检查网络');\r\n that.loading = false;\r\n }\r\n }, formData);\r\n },\r\n updateInfo(image) {\r\n let that = this;\r\n let useridentity = that.identityDo;\r\n useridentity.userWxAccount = that.wechat;\r\n useridentity.dormDistrict = that.dorId;\r\n useridentity.userSex = parseInt(that.radio);\r\n if(image != null){\r\n useridentity.userSchoolCardPic = image;\r\n }\r\n let beforeImage = image;\r\n useridentity.userSchoolCardPic = image;\r\n useridentity.userReviewStatus = 100;\r\n useridentity.reviewerNote = \"等待审核\";\r\n useridentity.reviewerNoteToUser = \"等待审核\";\r\n BasicFunction.get_data(\"smartIdentity/updateBatch\", function (response) {\r\n // console.log(useridentity);\r\n // console.log(response);\r\n if (response.ret === \"10000\") {\r\n // console.log('----- User Info -----');\r\n if(beforeImage != null) {\r\n that.identityUpload = true;\r\n if (that.userUpload == true) {\r\n Toast.success(\"注册成功\");\r\n that.$router.push('presentRegister');\r\n return;\r\n }\r\n }\r\n } else {\r\n Toast.fail(\"注册失败,请检查网络\");\r\n that.loading = false;\r\n }\r\n }, [useridentity]);\r\n\r\n let user = that.userDo;\r\n user.name = that.username;\r\n user.phone = that.phone;\r\n // console.log('----- Update User Info -----');\r\n // console.log(user);\r\n BasicFunction.get_data('smartUsers/updateBatch', function (res) {\r\n // console.log(res);\r\n if (res !== undefined && res.ret === '10000') {\r\n that.userUpload = true;\r\n if(that.identityUpload == true && beforeImage != null) {\r\n Toast.success(\"注册成功\");\r\n that.$router.push('presentRegister');\r\n return;\r\n }\r\n } else {\r\n Toast.fail('注册失败,请稍后再试');\r\n that.loading = false;\r\n }\r\n }, [user]);\r\n },\r\n onSelect(item) {\r\n // 点击选项时默认不会关闭菜单,可以手动关闭\r\n this.show = false;\r\n this.dormitory = item.name;\r\n this.dorId = item.id;\r\n },\r\n onRead(e) {\r\n this.photo = e;\r\n }\r\n },\r\n created: function () {\r\n Toast.fail('活动已结束!');\r\n this.$router.push('index');\r\n return;\r\n let userId = localStorage.getItem('frontend-userid');\r\n let that = this;\r\n if(userId == null || userId === undefined){\r\n this.$router.push('login');\r\n return;\r\n }\r\n // 获取smartUser\r\n BasicFunction.get_data('smartUsers/list?uid=' + userId, function (res) {\r\n if (res.ret === '10000') {\r\n if(res.model === undefined || res.model == null || res.model.list == undefined || res.model.list.length <= 0){\r\n localStorage.removeItem('frontend-userid');\r\n that.$router.push('login');\r\n return;\r\n }\r\n if (res.model.list[0].phone != null && res.model.list[0].phone.length !== 0) {\r\n that.$router.push('presentRegister');\r\n return;\r\n }\r\n that.userDo = res.model.list[0];\r\n }\r\n }, {});\r\n // 获取Identity\r\n BasicFunction.get_data(\"smartIdentity/list?userId=\" + userId, function (res) {\r\n try {\r\n if (res.ret === '10000' && res.model !== undefined && res.model.list !== undefined && res.model.list.length > 0) {\r\n that.identityDo = res.model.list[0];\r\n } else {\r\n localStorage.removeItem('frontend-userid');\r\n that.loading = false;\r\n that.$router.push('login');\r\n }\r\n } catch (e) {\r\n console.warn(e);\r\n Toast.fail('获取信息缓慢,请检查网络或等一会再试吧!');\r\n localStorage.removeItem('frontend-userid');\r\n that.loading = false;\r\n that.$router.push('login');\r\n }\r\n }, {});\r\n }\r\n }\r\n\r\n // 判断是否有emoji\r\n function isEmojiCharacter(substring) {\r\n for (var i = 0; i < substring.length; i++) {\r\n var hs = substring.charCodeAt(i);\r\n if (0xd800 <= hs && hs <= 0xdbff) {\r\n if (substring.length > 1) {\r\n var ls = substring.charCodeAt(i + 1);\r\n var uc = ((hs - 0xd800) * 0x400) + (ls - 0xdc00) + 0x10000;\r\n if (0x1d000 <= uc && uc <= 0x1f77f) {\r\n return true;\r\n }\r\n }\r\n } else if (substring.length > 1) {\r\n var ls = substring.charCodeAt(i + 1);\r\n if (ls == 0x20e3) {\r\n return true;\r\n }\r\n } else {\r\n if (0x2100 <= hs && hs <= 0x27ff) {\r\n return true;\r\n } else if (0x2B05 <= hs && hs <= 0x2b07) {\r\n return true;\r\n } else if (0x2934 <= hs && hs <= 0x2935) {\r\n return true;\r\n } else if (0x3297 <= hs && hs <= 0x3299) {\r\n return true;\r\n } else if (hs == 0xa9 || hs == 0xae || hs == 0x303d || hs == 0x3030\r\n || hs == 0x2b55 || hs == 0x2b1c || hs == 0x2b1b\r\n || hs == 0x2b50) {\r\n return true;\r\n }\r\n }\r\n }\r\n }\r\n\r\n // 判断是否是数字\r\n function isNumber(str) {\r\n for (let i = 0; i < str.length; i++) {\r\n if (str[i] < '0' || str[i] > '9') return false;\r\n }\r\n return true;\r\n }\r\n\r\n /*\r\n 三个参数\r\n file:一个是文件(类型是图片格式),\r\n w:一个是文件压缩的后宽度,宽度越小,字节越小\r\n objDiv:一个是容器或者回调函数\r\n photoCompress()\r\n */\r\n function photoCompress(file, w, objDiv) {\r\n var ready = new FileReader();\r\n /*开始读取指定的Blob对象或File对象中的内容. 当读取操作完成时,readyState属性的值会成为DONE,如果设置了onloadend事件处理程序,则调用之.同时,result属性中将包含一个data: URL格式的字符串以表示所读取文件的内容.*/\r\n ready.readAsDataURL(file);\r\n ready.onload = function () {\r\n var re = this.result;\r\n canvasDataURL(re, w, objDiv)\r\n }\r\n }\r\n\r\n function canvasDataURL(path, obj, callback) {\r\n var img = new Image();\r\n img.src = path;\r\n img.onload = function () {\r\n var that = this;\r\n // 默认按比例压缩\r\n var w = that.width,\r\n h = that.height,\r\n scale = w / h;\r\n w = obj.width || w;\r\n h = obj.height || (w / scale);\r\n var quality = 0.7; // 默认图片质量为0.7\r\n //生成canvas\r\n var canvas = document.createElement('canvas');\r\n var ctx = canvas.getContext('2d');\r\n // 创建属性节点\r\n var anw = document.createAttribute(\"width\");\r\n anw.nodeValue = w;\r\n var anh = document.createAttribute(\"height\");\r\n anh.nodeValue = h;\r\n canvas.setAttributeNode(anw);\r\n canvas.setAttributeNode(anh);\r\n ctx.drawImage(that, 0, 0, w, h);\r\n // 图像质量\r\n if (obj.quality && obj.quality <= 1 && obj.quality > 0) {\r\n quality = obj.quality;\r\n }\r\n // quality值越小,所绘制出的图像越模糊\r\n var base64 = canvas.toDataURL('image/jpeg', quality);\r\n // 回调函数返回base64的值\r\n callback(base64);\r\n }\r\n }\r\n\r\n /**\r\n * 将以base64的图片url数据转换为Blob\r\n * @param urlData\r\n * 用url方式表示的base64图片数据\r\n */\r\n function convertBase64UrlToBlob(urlData) {\r\n var arr = urlData.split(','), mime = arr[0].match(/:(.*?);/)[1],\r\n bstr = atob(arr[1]), n = bstr.length, u8arr = new Uint8Array(n);\r\n while (n--) {\r\n u8arr[n] = bstr.charCodeAt(n);\r\n }\r\n return new Blob([u8arr], {type: mime});\r\n }\r\n\r\n</script>\r\n\r\n<style scoped>\r\n p, h3 {\r\n color: #fd6740;\r\n }\r\n h3 {\r\n padding: 5px;\r\n border-bottom: solid 1px #e4e4e4;\r\n }\r\n .card {\r\n background-color: white;\r\n margin: 20px 20px;\r\n border: solid 1px #e4e4e4;\r\n padding: 15px;\r\n text-align: left;\r\n }\r\n\r\n .submit_button {\r\n margin-bottom: 10px;\r\n margin-left: auto;\r\n margin-right: auto;\r\n background-color: #fd6740;\r\n border-color: #fd6740;\r\n width: 85%;\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!./SecurityVerify.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!./SecurityVerify.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SecurityVerify.vue?vue&type=template&id=f15c6c34&scoped=true&\"\nimport script from \"./SecurityVerify.vue?vue&type=script&lang=js&\"\nexport * from \"./SecurityVerify.vue?vue&type=script&lang=js&\"\nimport style0 from \"./SecurityVerify.vue?vue&type=style&index=0&id=f15c6c34&scoped=true&lang=css&\"\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 \"f15c6c34\",\n null\n \n)\n\ncomponent.options.__file = \"SecurityVerify.vue\"\nexport default component.exports","import '../../style/base.css';\nimport '../index.css';","import create from '../utils/create';\nexport default create({\n render: function render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c('div', {\n class: _vm.b()\n }, [_vm._t(\"default\"), _c('input', _vm._b({\n ref: \"input\",\n class: _vm.b('input'),\n attrs: {\n \"type\": \"file\",\n \"accept\": _vm.accept,\n \"disabled\": _vm.disabled\n },\n on: {\n \"change\": _vm.onChange\n }\n }, 'input', _vm.$attrs, false))], 2);\n },\n name: 'uploader',\n inheritAttrs: false,\n props: {\n disabled: Boolean,\n beforeRead: Function,\n afterRead: Function,\n accept: {\n type: String,\n default: 'image/*'\n },\n resultType: {\n type: String,\n default: 'dataUrl'\n },\n maxSize: {\n type: Number,\n default: Number.MAX_VALUE\n }\n },\n methods: {\n onChange: function onChange(event) {\n var _this = this;\n\n var files = event.target.files;\n\n if (this.disabled || !files.length) {\n return;\n }\n\n files = files.length === 1 ? files[0] : [].slice.call(files, 0);\n\n if (!files || this.beforeRead && !this.beforeRead(files)) {\n return;\n }\n\n if (Array.isArray(files)) {\n Promise.all(files.map(this.readFile)).then(function (contents) {\n var oversize = false;\n var payload = files.map(function (file, index) {\n if (file.size > _this.maxSize) {\n oversize = true;\n }\n\n return {\n file: files[index],\n content: contents[index]\n };\n });\n\n _this.onAfterRead(payload, oversize);\n });\n } else {\n this.readFile(files).then(function (content) {\n _this.onAfterRead({\n file: files,\n content: content\n }, files.size > _this.maxSize);\n });\n }\n },\n readFile: function readFile(file) {\n var _this2 = this;\n\n return new Promise(function (resolve) {\n var reader = new FileReader();\n\n reader.onload = function (event) {\n resolve(event.target.result);\n };\n\n if (_this2.resultType === 'dataUrl') {\n reader.readAsDataURL(file);\n } else if (_this2.resultType === 'text') {\n reader.readAsText(file);\n }\n });\n },\n onAfterRead: function onAfterRead(files, oversize) {\n if (oversize) {\n this.$emit('oversize', files);\n } else {\n this.afterRead && this.afterRead(files);\n this.$refs.input && (this.$refs.input.value = '');\n }\n }\n }\n});","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./navBar.vue?vue&type=style&index=0&id=7f9774c3&scoped=true&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./navBar.vue?vue&type=style&index=0&id=7f9774c3&scoped=true&lang=css&\"","import '../../style/base.css';","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('van-nav-bar',{staticStyle:{\"background-color\":\"#fff6e3\"},attrs:{\"title\":_vm.title,\"border\":false}},[_vm._v(\"\\n style=\\\"max-width: 30px;\\\"\\n />\\n \"),_c('van-icon',{attrs:{\"slot\":\"left\",\"name\":\"arrow-left\",\"color\":\"black\"},on:{\"click\":_vm.onClickLeft},slot:\"left\"})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import create from '../utils/create';\nexport default create({\n render: function render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c('div', {\n class: [_vm.b({\n fixed: _vm.fixed\n }), {\n 'van-hairline--bottom': _vm.border\n }],\n style: _vm.style\n }, [_c('div', {\n class: _vm.b('left'),\n on: {\n \"click\": function click($event) {\n _vm.$emit('click-left');\n }\n }\n }, [_vm._t(\"left\", [_vm.leftArrow ? _c('icon', {\n class: _vm.b('arrow'),\n attrs: {\n \"name\": \"arrow-left\"\n }\n }) : _vm._e(), _vm.leftText ? _c('span', {\n class: _vm.b('text'),\n domProps: {\n \"textContent\": _vm._s(_vm.leftText)\n }\n }) : _vm._e()])], 2), _c('div', {\n staticClass: \"van-ellipsis\",\n class: _vm.b('title')\n }, [_vm._t(\"title\", [_vm._v(_vm._s(_vm.title))])], 2), _c('div', {\n class: _vm.b('right'),\n on: {\n \"click\": function click($event) {\n _vm.$emit('click-right');\n }\n }\n }, [_vm._t(\"right\", [_vm.rightText ? _c('span', {\n class: _vm.b('text'),\n domProps: {\n \"textContent\": _vm._s(_vm.rightText)\n }\n }) : _vm._e()])], 2)]);\n },\n name: 'nav-bar',\n props: {\n title: String,\n fixed: Boolean,\n leftText: String,\n rightText: String,\n leftArrow: Boolean,\n border: {\n type: Boolean,\n default: true\n },\n zIndex: {\n type: Number,\n default: 1\n }\n },\n computed: {\n style: function style() {\n return {\n zIndex: this.zIndex\n };\n }\n }\n});","<template>\r\n <div>\r\n <van-nav-bar\r\n :title=\"title\"\r\n style=\"background-color: #fff6e3\"\r\n :border=\"false\">\r\n style=\"max-width: 30px;\"\r\n />\r\n <van-icon name=\"arrow-left\" slot=\"left\" @click=\"onClickLeft\" color=\"black\"/>\r\n </van-nav-bar>\r\n </div>\r\n</template>\r\n\r\n<script>\r\n import {NavBar, Icon} from 'vant';\r\n\r\n export default {\r\n name: \"navBar\",\r\n components: {\r\n [NavBar.name]: NavBar,\r\n [Icon.name]: Icon\r\n },\r\n props: {\r\n path: {\r\n type: String,\r\n default: 'index'\r\n },\r\n title: {\r\n type: String,\r\n default: \"深大换换礼物交换\"\r\n }\r\n },\r\n methods: {\r\n onClickLeft: function () {\r\n this.$router.push(this.path);\r\n }\r\n }\r\n }\r\n</script>\r\n\r\n<style scoped>\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!./navBar.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!./navBar.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./navBar.vue?vue&type=template&id=7f9774c3&scoped=true&\"\nimport script from \"./navBar.vue?vue&type=script&lang=js&\"\nexport * from \"./navBar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./navBar.vue?vue&type=style&index=0&id=7f9774c3&scoped=true&lang=css&\"\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 \"7f9774c3\",\n null\n \n)\n\ncomponent.options.__file = \"navBar.vue\"\nexport default component.exports","import '../../style/base.css';\nimport '../index.css';","import deepAssign from './deep-assign';\nexport default function deepClone(obj) {\n if (Array.isArray(obj)) {\n return obj.map(function (item) {\n return deepClone(item);\n });\n } else if (typeof obj === 'object') {\n return deepAssign({}, obj);\n }\n\n return obj;\n}","import create from '../utils/create';\nimport deepClone from '../utils/deep-clone';\nimport { isObj, range } from '../utils';\nvar DEFAULT_DURATION = 200;\nexport default create({\n render: function render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c('div', {\n class: [_vm.b(), _vm.className],\n style: _vm.columnStyle,\n on: {\n \"touchstart\": _vm.onTouchStart,\n \"touchmove\": function touchmove($event) {\n $event.preventDefault();\n return _vm.onTouchMove($event);\n },\n \"touchend\": _vm.onTouchEnd,\n \"touchcancel\": _vm.onTouchEnd\n }\n }, [_c('ul', {\n style: _vm.wrapperStyle\n }, _vm._l(_vm.options, function (option, index) {\n return _c('li', {\n staticClass: \"van-ellipsis\",\n class: _vm.b('item', {\n disabled: _vm.isDisabled(option),\n selected: index === _vm.currentIndex\n }),\n style: _vm.optionStyle,\n domProps: {\n \"innerHTML\": _vm._s(_vm.getOptionText(option))\n },\n on: {\n \"click\": function click($event) {\n _vm.setIndex(index, true);\n }\n }\n });\n }))]);\n },\n name: 'picker-column',\n props: {\n valueKey: String,\n className: String,\n itemHeight: Number,\n defaultIndex: Number,\n initialOptions: Array,\n visibleItemCount: Number\n },\n data: function data() {\n return {\n startY: 0,\n offset: 0,\n duration: 0,\n startOffset: 0,\n options: deepClone(this.initialOptions),\n currentIndex: this.defaultIndex\n };\n },\n created: function created() {\n this.$parent.children && this.$parent.children.push(this);\n this.setIndex(this.currentIndex);\n },\n destroyed: function destroyed() {\n var children = this.$parent.children;\n children && children.splice(children.indexOf(this), 1);\n },\n watch: {\n defaultIndex: function defaultIndex() {\n this.setIndex(this.defaultIndex);\n }\n },\n computed: {\n count: function count() {\n return this.options.length;\n },\n baseOffset: function baseOffset() {\n return this.itemHeight * (this.visibleItemCount - 1) / 2;\n },\n columnStyle: function columnStyle() {\n return {\n height: this.itemHeight * this.visibleItemCount + 'px'\n };\n },\n wrapperStyle: function wrapperStyle() {\n return {\n transition: this.duration + \"ms\",\n transform: \"translate3d(0, \" + (this.offset + this.baseOffset) + \"px, 0)\",\n lineHeight: this.itemHeight + 'px'\n };\n },\n optionStyle: function optionStyle() {\n return {\n height: this.itemHeight + 'px'\n };\n }\n },\n methods: {\n onTouchStart: function onTouchStart(event) {\n this.startY = event.touches[0].clientY;\n this.startOffset = this.offset;\n this.duration = 0;\n },\n onTouchMove: function onTouchMove(event) {\n var deltaY = event.touches[0].clientY - this.startY;\n this.offset = range(this.startOffset + deltaY, -(this.count * this.itemHeight), this.itemHeight);\n },\n onTouchEnd: function onTouchEnd() {\n if (this.offset !== this.startOffset) {\n this.duration = DEFAULT_DURATION;\n var index = range(Math.round(-this.offset / this.itemHeight), 0, this.count - 1);\n this.setIndex(index, true);\n }\n },\n adjustIndex: function adjustIndex(index) {\n index = range(index, 0, this.count);\n\n for (var i = index; i < this.count; i++) {\n if (!this.isDisabled(this.options[i])) return i;\n }\n\n for (var _i = index - 1; _i >= 0; _i--) {\n if (!this.isDisabled(this.options[_i])) return _i;\n }\n },\n isDisabled: function isDisabled(option) {\n return isObj(option) && option.disabled;\n },\n getOptionText: function getOptionText(option) {\n return isObj(option) && this.valueKey in option ? option[this.valueKey] : option;\n },\n setIndex: function setIndex(index, userAction) {\n index = this.adjustIndex(index) || 0;\n this.offset = -index * this.itemHeight;\n\n if (index !== this.currentIndex) {\n this.currentIndex = index;\n userAction && this.$emit('change', index);\n }\n },\n setValue: function setValue(value) {\n var options = this.options;\n\n for (var i = 0; i < options.length; i++) {\n if (this.getOptionText(options[i]) === value) {\n return this.setIndex(i);\n }\n }\n },\n getValue: function getValue() {\n return this.options[this.currentIndex];\n }\n }\n});","/**\n * Common Picker Props\n */\nexport default {\n props: {\n title: String,\n loading: Boolean,\n showToolbar: Boolean,\n cancelButtonText: String,\n confirmButtonText: String,\n visibleItemCount: {\n type: Number,\n default: 5\n },\n itemHeight: {\n type: Number,\n default: 44\n }\n }\n};","import create from '../utils/create';\nimport PickerColumn from './PickerColumn';\nimport deepClone from '../utils/deep-clone';\nimport PickerMixin from '../mixins/picker';\nexport default create({\n render: function render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c('div', {\n class: _vm.b()\n }, [_vm.showToolbar ? _c('div', {\n staticClass: \"van-hairline--top-bottom\",\n class: _vm.b('toolbar')\n }, [_vm._t(\"default\", [_c('div', {\n class: _vm.b('cancel'),\n on: {\n \"click\": function click($event) {\n _vm.emit('cancel');\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.cancelButtonText || _vm.$t('cancel')) + \"\\n \")]), _vm.title ? _c('div', {\n staticClass: \"van-ellipsis\",\n class: _vm.b('title'),\n domProps: {\n \"textContent\": _vm._s(_vm.title)\n }\n }) : _vm._e(), _c('div', {\n class: _vm.b('confirm'),\n on: {\n \"click\": function click($event) {\n _vm.emit('confirm');\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.confirmButtonText || _vm.$t('confirm')) + \"\\n \")])])], 2) : _vm._e(), _vm.loading ? _c('div', {\n class: _vm.b('loading')\n }, [_c('loading')], 1) : _vm._e(), _c('div', {\n class: _vm.b('columns'),\n style: _vm.columnsStyle,\n on: {\n \"touchmove\": function touchmove($event) {\n $event.preventDefault();\n }\n }\n }, [_vm._l(_vm.simple ? [_vm.columns] : _vm.columns, function (item, index) {\n return _c('picker-column', {\n key: index,\n attrs: {\n \"value-key\": _vm.valueKey,\n \"initial-options\": _vm.simple ? item : item.values,\n \"class-name\": item.className,\n \"default-index\": item.defaultIndex,\n \"item-height\": _vm.itemHeight,\n \"visible-item-count\": _vm.visibleItemCount\n },\n on: {\n \"change\": function change($event) {\n _vm.onChange(index);\n }\n }\n });\n }), _c('div', {\n staticClass: \"van-hairline--top-bottom\",\n class: _vm.b('frame'),\n style: _vm.frameStyle\n })], 2)]);\n },\n name: 'picker',\n mixins: [PickerMixin],\n components: {\n PickerColumn: PickerColumn\n },\n props: {\n columns: Array,\n valueKey: {\n type: String,\n default: 'text'\n }\n },\n data: function data() {\n return {\n children: []\n };\n },\n computed: {\n frameStyle: function frameStyle() {\n return {\n height: this.itemHeight + 'px'\n };\n },\n columnsStyle: function columnsStyle() {\n return {\n height: this.itemHeight * this.visibleItemCount + 'px'\n };\n },\n simple: function simple() {\n return this.columns.length && !this.columns[0].values;\n }\n },\n watch: {\n columns: function columns() {\n this.setColumns();\n }\n },\n methods: {\n setColumns: function setColumns() {\n var _this = this;\n\n var columns = this.simple ? [{\n values: this.columns\n }] : this.columns;\n columns.forEach(function (columns, index) {\n _this.setColumnValues(index, deepClone(columns.values));\n });\n },\n emit: function emit(event) {\n if (this.simple) {\n this.$emit(event, this.getColumnValue(0), this.getColumnIndex(0));\n } else {\n this.$emit(event, this.getValues(), this.getIndexes());\n }\n },\n onChange: function onChange(columnIndex) {\n if (this.simple) {\n this.$emit('change', this, this.getColumnValue(0), this.getColumnIndex(0));\n } else {\n this.$emit('change', this, this.getValues(), columnIndex);\n }\n },\n // get column instance by index\n getColumn: function getColumn(index) {\n return this.children[index];\n },\n // get column value by index\n getColumnValue: function getColumnValue(index) {\n var column = this.getColumn(index);\n return column && column.getValue();\n },\n // set column value by index\n setColumnValue: function setColumnValue(index, value) {\n var column = this.getColumn(index);\n column && column.setValue(value);\n },\n // get column option index by column index\n getColumnIndex: function getColumnIndex(columnIndex) {\n return (this.getColumn(columnIndex) || {}).currentIndex;\n },\n // set column option index by column index\n setColumnIndex: function setColumnIndex(columnIndex, optionIndex) {\n var column = this.getColumn(columnIndex);\n column && column.setIndex(optionIndex);\n },\n // get options of column by index\n getColumnValues: function getColumnValues(index) {\n return (this.children[index] || {}).options;\n },\n // set options of column by index\n setColumnValues: function setColumnValues(index, options) {\n var column = this.children[index];\n\n if (column && JSON.stringify(column.options) !== JSON.stringify(options)) {\n column.options = options;\n column.setIndex(0);\n }\n },\n // get values of all columns\n getValues: function getValues() {\n return this.children.map(function (child) {\n return child.getValue();\n });\n },\n // set values of all columns\n setValues: function setValues(values) {\n var _this2 = this;\n\n values.forEach(function (value, index) {\n _this2.setColumnValue(index, value);\n });\n },\n // get indexes of all columns\n getIndexes: function getIndexes() {\n return this.children.map(function (child) {\n return child.currentIndex;\n });\n },\n // set indexes of all columns\n setIndexes: function setIndexes(indexes) {\n var _this3 = this;\n\n indexes.forEach(function (optionIndex, columnIndex) {\n _this3.setColumnIndex(columnIndex, optionIndex);\n });\n }\n }\n});"],"sourceRoot":""}
|