1 |
- {"version":3,"sources":["webpack:///./resources/src/views/areas/Setting.vue?3775","webpack:///./resources/src/api/area-settings.js","webpack:///resources/src/views/areas/Setting.vue","webpack:///./resources/src/views/areas/Setting.vue?91d2","webpack:///./resources/src/views/areas/Setting.vue","webpack:///./resources/src/views/areas/Setting.vue?7bcb","webpack:///./node_modules/core-js/library/fn/get-iterator.js","webpack:///./node_modules/@babel/runtime-corejs2/core-js/get-iterator.js","webpack:///./node_modules/@babel/runtime-corejs2/helpers/esm/arrayWithHoles.js","webpack:///./node_modules/@babel/runtime-corejs2/helpers/esm/iterableToArrayLimit.js","webpack:///./node_modules/@babel/runtime-corejs2/helpers/esm/nonIterableRest.js","webpack:///./node_modules/@babel/runtime-corejs2/helpers/esm/slicedToArray.js","webpack:///./node_modules/core-js/library/modules/core.get-iterator.js","webpack:///./resources/src/api/area.js"],"names":["render","_vm","this","_h","$createElement","_c","_self","scopedSlots","_u","key","fn","proxy","directives","name","rawName","value","expression","_v","staticClass","attrs","size","placeholder","on","change","changeSelect","model","callback","$$v","area","_l","item","id","label","_s","form","starting_price_time","starting_price","per_minute","per_money","min_limit_km","min_dispatching_fee","over_limit_per_km","over_limit_per_km_money","max_dispatching_fee","power_lower","is_minute_free","_e","staticStyle","margin-left","many_minute_free","minute_free_times","is_advance_recharge","is_whole_area_huanche","is_parking_fushe","is_deposit","deposit","is_return_deposit_ad_video","border-top","padding-top","is_open_day_rent","day_rent_money","day_rent_hours","per_hours_day_rent_timeout_money","day_rent_capping_money","click","changeInfo","ref","label-width","$set","cancleChange","submitChange","staticRenderFns","getAreaSettings","params","arguments","length","undefined","axios","get","updateAreaSettings","data","put","concat","Settingvue_type_script_lang_js_","components","areas","area_settings","page","infoDiv","infoForm","is_parking","day_rent_img","uploadHeaders","Authorization","methods","_this","then","res","$message","type","message","_this2","forEach","area_id","fillForm","toString","is_auto_return_deposit","handleAvatarSuccess","file","path","beforeAvatarUpload","isJPG","isPNG","isLt2M","error","created","_created","Object","asyncToGenerator","regeneratorRuntime","mark","_callee","_ref","_ref2","wrap","_context","prev","next","token","Promise","all","api_area","sent","slicedToArray","stop","apply","areas_Settingvue_type_script_lang_js_","component","componentNormalizer","__webpack_exports__","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Setting_vue_vue_type_style_index_0_id_8d825c0a_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Setting_vue_vue_type_style_index_0_id_8d825c0a_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default","n","module","exports","_arrayWithHoles","arr","is_array_default","_iterableToArrayLimit","i","_arr","_n","_d","_i","get_iterator_default","done","push","err","_nonIterableRest","TypeError","_slicedToArray","d","anObject","getIterator","it","iterFn","call","getAreas","showArea","storeArea","updateArea","editArea","_plugins_axios__WEBPACK_IMPORTED_MODULE_0__","post"],"mappings":"yHAAA,IAAAA,EAAA,WAA0B,IAAAC,EAAAC,KAAaC,EAAAF,EAAAG,eAA0BC,EAAAJ,EAAAK,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,WAAqBE,YAAAN,EAAAO,GAAA,EAAqBC,IAAA,SAAAC,GAAA,WAA2B,OAAAL,EAAA,oBAA8BM,OAAA,MAAe,CAAAN,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,EAAA,sBAAAsB,4BCAA,IAAAE,EAAetB,EAAQ,QACvB/D,EAAU+D,EAAQ,QAClBG,EAAAC,QAAiBJ,EAAQ,QAASuB,YAAA,SAAAC,GAClC,IAAAC,EAAAxF,EAAAuF,GACA,sBAAAC,EAAA,MAAAN,UAAAK,EAAA,qBACA,OAAAF,EAAAG,EAAAC,KAAAF,wCCLAxB,EAAAqB,EAAAvB,EAAA,sBAAA6B,IAAA3B,EAAAqB,EAAAvB,EAAA,sBAAA8B,IAAA5B,EAAAqB,EAAAvB,EAAA,sBAAA+B,IAAA7B,EAAAqB,EAAAvB,EAAA,sBAAAgC,IAAA9B,EAAAqB,EAAAvB,EAAA,sBAAAiC,IAAA,IAAAC,EAAAhC,EAAA,QAEO,SAAS2B,IAAsB,IAAb/F,EAAaC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAJ,GAChC,OAAOG,OAAMC,IAAI,OAAQ,CACvBL,WAIG,SAASgG,EAAS1I,GACvB,OAAO8C,OAAMC,IAAN,QAAAI,OAAkBnD,IAGpB,SAAS2I,EAAU1F,GACxB,OAAOH,OAAMiG,KAAK,OAAQ9F,GAGrB,SAAS2F,EAAW5I,EAAIiD,GAC7B,OAAOH,OAAMI,IAAN,QAAAC,OAAkBnD,GAAMiD,GAG1B,SAAS4F,EAAS7I,GACvB,OAAO8C,OAAMC,IAAN,QAAAI,OAAkBnD,EAAlB","file":"js/chunk-142bc3a0.9ef38796.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-card',{scopedSlots:_vm._u([{key:\"header\",fn:function(){return [_c('content-header')]},proxy:true}])},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.infoDiv),expression:\"infoDiv\"}]},[_c('p',[_vm._v(\"\\n 选择区域:\\n \"),_c('el-select',{staticClass:\"selectwidth\",attrs:{\"size\":\"small\",\"placeholder\":\"请选择\"},on:{\"change\":_vm.changeSelect},model:{value:(_vm.area),callback:function ($$v) {_vm.area=$$v},expression:\"area\"}},_vm._l((_vm.areas),function(item){return _c('el-option',{key:item.id,attrs:{\"label\":item.name,\"value\":item.id}})}),1)],1),_c('el-card',{staticClass:\"cards\"},[_c('p',[_vm._v(\"\\n 共享电单车在骑行中,起步价为\"),_c('span',{staticClass:\"span-red\"},[_vm._v(_vm._s(_vm.form.starting_price_time))]),_vm._v(\"分钟内\"),_c('span',{staticClass:\"span-red\"},[_vm._v(_vm._s(_vm.form.starting_price))]),_vm._v(\" 元,\\n 之后每 \"),_c('span',{staticClass:\"span-red\"},[_vm._v(_vm._s(_vm.form.per_minute))]),_vm._v(\" 分钟收取 \"),_c('span',{staticClass:\"span-red\"},[_vm._v(_vm._s(_vm.form.per_money))]),_vm._v(\" 元费用,\\n \")]),_c('p',[_vm._v(\"\\n 当用户不在指定区域还车时,\\n \"),_c('span',{staticClass:\"span-red\"},[_vm._v(_vm._s(_vm.form.min_limit_km))]),_vm._v(\"千米内,另收 \"),_c('span',{staticClass:\"span-red\"},[_vm._v(_vm._s(_vm.form.min_dispatching_fee))]),_vm._v(\" 元调度费,\"),_c('span',{staticClass:\"span-red\"},[_vm._v(_vm._s(_vm.form.min_limit_km))]),_vm._v(\"千米外,每增加\"),_c('span',{staticClass:\"span-red\"},[_vm._v(_vm._s(_vm.form.over_limit_per_km))]),_vm._v(\"千米,多收取\"),_c('span',{staticClass:\"span-red\"},[_vm._v(_vm._s(_vm.form.over_limit_per_km_money))]),_vm._v(\"元\\n \")]),_c('p',[_vm._v(\"\\n 最高封顶 \"),_c('span',{staticClass:\"span-red\"},[_vm._v(_vm._s(_vm.form.max_dispatching_fee))]),_vm._v(\" 元,\\n \"),_c('span',{staticClass:\"p-green\"},[_vm._v(\"注意:最高封顶为0元时,表示无封顶\")])]),_c('p',[_vm._v(\"\\n 电量低于 \"),_c('span',{staticClass:\"span-red\"},[_vm._v(_vm._s(_vm.form.power_lower))]),_vm._v(\" %以下禁止骑行,\\n \")])]),_c('el-card',{staticClass:\"cards\"},[_c('p',[_c('span',{staticClass:\"it-tital\"},[_vm._v(\"是否开启分钟内免费骑行: \")]),(_vm.form.is_minute_free==0)?_c('span',{staticClass:\"span-red\"},[_vm._v(\" 否\")]):_vm._e(),(_vm.form.is_minute_free==1)?_c('span',{staticClass:\"span-red\"},[_vm._v(\" 是\")]):_vm._e(),_c('span',{staticClass:\"span-red\",staticStyle:{\"margin-left\":\"15px\"}},[_vm._v(_vm._s(_vm.form.many_minute_free))]),_vm._v(\"分钟(包含)内免费骑行,\\n 每日免费骑行次数上限\"),_c('span',{staticClass:\"span-red\"},[_vm._v(_vm._s(_vm.form.minute_free_times))]),_vm._v(\"(0为无上限)\\n \")]),_c('p',[_c('span',{staticClass:\"it-tital\"},[_vm._v(\"是否需要提前充值: \")]),(_vm.form.is_advance_recharge==0)?_c('span',{staticClass:\"span-red\"},[_vm._v(\" 否\")]):_vm._e(),(_vm.form.is_advance_recharge==1)?_c('span',{staticClass:\"span-red\"},[_vm._v(\" 是\")]):_vm._e()]),_c('p',[_c('span',{staticClass:\"it-tital\"},[_vm._v(\"能否全运营区域还车: \")]),(_vm.form.is_whole_area_huanche==0)?_c('span',{staticClass:\"span-red\"},[_vm._v(\" 否\")]):_vm._e(),(_vm.form.is_whole_area_huanche==1)?_c('span',{staticClass:\"span-red\"},[_vm._v(\" 是\")]):_vm._e()]),_c('p',[_c('span',{staticClass:\"it-tital\"},[_vm._v(\"是否启用还车点辐射范围: \")]),(_vm.form.is_parking_fushe==0)?_c('span',{staticClass:\"span-red\"},[_vm._v(\" 否\")]):_vm._e(),(_vm.form.is_parking_fushe==1)?_c('span',{staticClass:\"span-red\"},[_vm._v(\" 是\")]):_vm._e()]),_c('p',[_c('span',{staticClass:\"it-tital\"},[_vm._v(\"是否需要押金: \")]),(_vm.form.is_deposit==0)?_c('span',{staticClass:\"span-red\"},[_vm._v(\" 否\")]):_vm._e(),(_vm.form.is_deposit==1)?_c('span',{staticClass:\"span-red\"},[_vm._v(\" 是\")]):_vm._e(),_c('span',{staticStyle:{\"margin-left\":\"15px\"}},[_vm._v(\"押金金额:\")]),_c('span',{staticClass:\"span-red\"},[_vm._v(_vm._s(_vm.form.deposit))])]),_c('p',[_c('span',{staticClass:\"it-tital\"},[_vm._v(\"是否开启退押金看广告: \")]),(_vm.form.is_return_deposit_ad_video==0)?_c('span',{staticClass:\"span-red\"},[_vm._v(\" 否\")]):_vm._e(),(_vm.form.is_return_deposit_ad_video==1)?_c('span',{staticClass:\"span-red\"},[_vm._v(\" 是\")]):_vm._e()])]),_c('el-card',{staticClass:\"cards\",staticStyle:{\"border-top\":\"solid 2px #ccc\",\"padding-top\":\"10px\"}},[_c('p',[_c('span',[_vm._v(\"是否开启日租模式: \")]),(_vm.form.is_open_day_rent==0)?_c('span',{staticClass:\"span-red\"},[_vm._v(\" 否\")]):_vm._e(),(_vm.form.is_open_day_rent==1)?_c('span',{staticClass:\"span-red\"},[_vm._v(\" 是\")]):_vm._e()]),_c('p',[_vm._v(\"\\n 日租模式,全天车辆基础租金金额为 \"),_c('span',{staticClass:\"span-red\"},[_vm._v(_vm._s(_vm.form.day_rent_money))]),_vm._v(\"元,日租可用时长为\"),_c('span',{staticClass:\"span-red\"},[_vm._v(_vm._s(_vm.form.day_rent_hours))]),_vm._v(\"小时,\\n 在一天内(即24小时内)租用时长超过此时长,每一小时收取\"),_c('span',{staticClass:\"span-red\"},[_vm._v(_vm._s(_vm.form.per_hours_day_rent_timeout_money))]),_vm._v(\"元。\"),_c('span',{staticClass:\"span-red\"},[_vm._v(_vm._s(_vm.form.day_rent_capping_money))]),_vm._v(\"元封顶。\\n \")])]),_c('el-button',{on:{\"click\":_vm.changeInfo}},[_vm._v(\"修改\")])],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.infoForm),expression:\"infoForm\"}]},[_c('el-form',{ref:\"form\",attrs:{\"model\":_vm.form,\"label-width\":\"80px\"}},[_c('p',[_vm._v(\"\\n 选择区域:\\n \"),_c('el-select',{staticClass:\"selectwidth\",attrs:{\"size\":\"small\",\"placeholder\":\"请选择\"},on:{\"change\":_vm.changeSelect},model:{value:(_vm.area),callback:function ($$v) {_vm.area=$$v},expression:\"area\"}},_vm._l((_vm.areas),function(item){return _c('el-option',{key:item.id,attrs:{\"label\":item.name,\"value\":item.id}})}),1)],1),_c('el-card',{staticClass:\"cards\"},[_c('p',[_vm._v(\"\\n 共享电单车在骑行中,起步价为\"),_c('el-input',{staticClass:\"input-wid\",model:{value:(_vm.form.starting_price_time),callback:function ($$v) {_vm.$set(_vm.form, \"starting_price_time\", $$v)},expression:\"form.starting_price_time\"}}),_vm._v(\"分钟内\"),_c('el-input',{staticClass:\"input-wid\",model:{value:(_vm.form.starting_price),callback:function ($$v) {_vm.$set(_vm.form, \"starting_price\", $$v)},expression:\"form.starting_price\"}}),_vm._v(\"元,\\n 之后每 \"),_c('el-input',{staticClass:\"input-wid\",model:{value:(_vm.form.per_minute),callback:function ($$v) {_vm.$set(_vm.form, \"per_minute\", $$v)},expression:\"form.per_minute\"}}),_vm._v(\" 分钟收取 \"),_c('el-input',{staticClass:\"input-wid\",model:{value:(_vm.form.per_money),callback:function ($$v) {_vm.$set(_vm.form, \"per_money\", $$v)},expression:\"form.per_money\"}}),_vm._v(\" 元费用,\\n \")],1),_c('p',[_vm._v(\"\\n 当用户不在指定区域还车时,\\n \"),_c('el-input',{staticClass:\"input-wid\",model:{value:(_vm.form.min_limit_km),callback:function ($$v) {_vm.$set(_vm.form, \"min_limit_km\", $$v)},expression:\"form.min_limit_km\"}}),_vm._v(\"千米内,另收 \"),_c('el-input',{staticClass:\"input-wid\",model:{value:(_vm.form.min_dispatching_fee),callback:function ($$v) {_vm.$set(_vm.form, \"min_dispatching_fee\", $$v)},expression:\"form.min_dispatching_fee\"}}),_vm._v(\" 元调度费,\"+_vm._s(_vm.form.min_limit_km)+\"千米外,每增加\"),_c('el-input',{staticClass:\"input-wid\",model:{value:(_vm.form.over_limit_per_km),callback:function ($$v) {_vm.$set(_vm.form, \"over_limit_per_km\", $$v)},expression:\"form.over_limit_per_km\"}}),_vm._v(\"千米,多收取\"),_c('el-input',{staticClass:\"input-wid\",model:{value:(_vm.form.over_limit_per_km_money),callback:function ($$v) {_vm.$set(_vm.form, \"over_limit_per_km_money\", $$v)},expression:\"form.over_limit_per_km_money\"}}),_vm._v(\"元\\n \")],1),_c('p',[_vm._v(\"\\n 最高封顶 \"),_c('el-input',{staticClass:\"input-wid\",model:{value:(_vm.form.max_dispatching_fee),callback:function ($$v) {_vm.$set(_vm.form, \"max_dispatching_fee\", $$v)},expression:\"form.max_dispatching_fee\"}}),_vm._v(\" 元,\"),_c('span',{staticClass:\"p-green\"},[_vm._v(\"注意:最高封顶为0元时,表示无封顶\")])],1),_c('p',[_vm._v(\"\\n 电量低于 \"),_c('el-input',{staticClass:\"input-wid\",model:{value:(_vm.form.power_lower),callback:function ($$v) {_vm.$set(_vm.form, \"power_lower\", $$v)},expression:\"form.power_lower\"}}),_vm._v(\" %以下禁止骑行,\\n \")],1)]),_c('el-card',{staticClass:\"cards\"},[_c('p',[_c('span',{staticClass:\"it-tital\"},[_vm._v(\"是否开启分钟内免费骑行:\\n \")]),_c('el-radio',{attrs:{\"label\":\"1\"},model:{value:(_vm.form.is_minute_free),callback:function ($$v) {_vm.$set(_vm.form, \"is_minute_free\", $$v)},expression:\"form.is_minute_free\"}},[_vm._v(\"是\")]),_c('el-radio',{attrs:{\"label\":\"0\"},model:{value:(_vm.form.is_minute_free),callback:function ($$v) {_vm.$set(_vm.form, \"is_minute_free\", $$v)},expression:\"form.is_minute_free\"}},[_vm._v(\"否\")]),_c('el-input',{staticClass:\"input-wid\",staticStyle:{\"margin-left\":\"15px\"},model:{value:(_vm.form.many_minute_free),callback:function ($$v) {_vm.$set(_vm.form, \"many_minute_free\", $$v)},expression:\"form.many_minute_free\"}}),_vm._v(\"分钟(包含)内免费骑行,\\n 每日免费骑行次数上限 \"),_c('el-input',{staticClass:\"input-wid\",model:{value:(_vm.form.minute_free_times),callback:function ($$v) {_vm.$set(_vm.form, \"minute_free_times\", $$v)},expression:\"form.minute_free_times\"}}),_vm._v(\"(0为无上限)\\n \")],1),_c('p',[_c('span',{staticClass:\"it-tital\"},[_vm._v(\"是否需要提前充值:\\n \")]),_c('el-radio',{attrs:{\"label\":\"1\"},model:{value:(_vm.form.is_advance_recharge),callback:function ($$v) {_vm.$set(_vm.form, \"is_advance_recharge\", $$v)},expression:\"form.is_advance_recharge\"}},[_vm._v(\"是\")]),_c('el-radio',{attrs:{\"label\":\"0\"},model:{value:(_vm.form.is_advance_recharge),callback:function ($$v) {_vm.$set(_vm.form, \"is_advance_recharge\", $$v)},expression:\"form.is_advance_recharge\"}},[_vm._v(\"否\")])],1),_c('p',[_c('span',{staticClass:\"it-tital\"},[_vm._v(\"能否全运营区域还车:\\n \")]),_c('el-radio',{attrs:{\"label\":\"1\"},model:{value:(_vm.form.is_whole_area_huanche),callback:function ($$v) {_vm.$set(_vm.form, \"is_whole_area_huanche\", $$v)},expression:\"form.is_whole_area_huanche\"}},[_vm._v(\"是\")]),_c('el-radio',{attrs:{\"label\":\"0\"},model:{value:(_vm.form.is_whole_area_huanche),callback:function ($$v) {_vm.$set(_vm.form, \"is_whole_area_huanche\", $$v)},expression:\"form.is_whole_area_huanche\"}},[_vm._v(\"否\")])],1),_c('p',[_c('span',{staticClass:\"it-tital\"},[_vm._v(\"是否启用还车点辐射范围:\\n \")]),_c('el-radio',{attrs:{\"label\":\"1\"},model:{value:(_vm.form.is_parking_fushe),callback:function ($$v) {_vm.$set(_vm.form, \"is_parking_fushe\", $$v)},expression:\"form.is_parking_fushe\"}},[_vm._v(\"是\")]),_c('el-radio',{attrs:{\"label\":\"0\"},model:{value:(_vm.form.is_parking_fushe),callback:function ($$v) {_vm.$set(_vm.form, \"is_parking_fushe\", $$v)},expression:\"form.is_parking_fushe\"}},[_vm._v(\"否\")])],1),_c('p',[_c('span',{staticClass:\"it-tital\"},[_vm._v(\"是否需要押金:\\n\\n \")]),_c('el-radio',{attrs:{\"label\":\"1\"},model:{value:(_vm.form.is_deposit),callback:function ($$v) {_vm.$set(_vm.form, \"is_deposit\", $$v)},expression:\"form.is_deposit\"}},[_vm._v(\"是\")]),_c('el-radio',{attrs:{\"label\":\"0\"},model:{value:(_vm.form.is_deposit),callback:function ($$v) {_vm.$set(_vm.form, \"is_deposit\", $$v)},expression:\"form.is_deposit\"}},[_vm._v(\"否\")]),_c('span',{staticStyle:{\"margin-left\":\"15px\"}},[_vm._v(\"押金金额:\")]),_c('el-input',{staticClass:\"input-wid\",model:{value:(_vm.form.deposit),callback:function ($$v) {_vm.$set(_vm.form, \"deposit\", $$v)},expression:\"form.deposit\"}}),_vm._v(\"\\n 元\\n \")],1),_c('p',[_c('span',{staticClass:\"it-tital\"},[_vm._v(\"是否开启退押金看广告:\\n \")]),_c('el-radio',{attrs:{\"label\":\"1\"},model:{value:(_vm.form.is_return_deposit_ad_video),callback:function ($$v) {_vm.$set(_vm.form, \"is_return_deposit_ad_video\", $$v)},expression:\"form.is_return_deposit_ad_video\"}},[_vm._v(\"是\")]),_c('el-radio',{attrs:{\"label\":\"0\"},model:{value:(_vm.form.is_return_deposit_ad_video),callback:function ($$v) {_vm.$set(_vm.form, \"is_return_deposit_ad_video\", $$v)},expression:\"form.is_return_deposit_ad_video\"}},[_vm._v(\"否\")])],1)]),_c('el-card',{staticClass:\"cards\",staticStyle:{\"border-top\":\"solid 2px #ccc\",\"padding-top\":\"10px\"}},[_c('p',[_c('span',[_vm._v(\"是否开启日租模式:\\n \"),_c('el-radio',{attrs:{\"label\":\"1\"},model:{value:(_vm.form.is_open_day_rent),callback:function ($$v) {_vm.$set(_vm.form, \"is_open_day_rent\", $$v)},expression:\"form.is_open_day_rent\"}},[_vm._v(\"是\")]),_c('el-radio',{attrs:{\"label\":\"0\"},model:{value:(_vm.form.is_open_day_rent),callback:function ($$v) {_vm.$set(_vm.form, \"is_open_day_rent\", $$v)},expression:\"form.is_open_day_rent\"}},[_vm._v(\"否\")])],1)]),_c('p',[_vm._v(\"\\n 日租模式,全天车辆基础租金金额为 \"),_c('el-input',{staticClass:\"input-wid\",model:{value:(_vm.form.day_rent_money),callback:function ($$v) {_vm.$set(_vm.form, \"day_rent_money\", $$v)},expression:\"form.day_rent_money\"}}),_vm._v(\" 元,日租可用时长为\"),_c('el-input',{staticClass:\"input-wid\",model:{value:(_vm.form.day_rent_hours),callback:function ($$v) {_vm.$set(_vm.form, \"day_rent_hours\", $$v)},expression:\"form.day_rent_hours\"}}),_vm._v(\"小时,\\n 在一天内(即24小时内)租用时长超过此时长,每一小时收取 \"),_c('el-input',{staticClass:\"input-wid\",model:{value:(_vm.form.per_hours_day_rent_timeout_money),callback:function ($$v) {_vm.$set(_vm.form, \"per_hours_day_rent_timeout_money\", $$v)},expression:\"form.per_hours_day_rent_timeout_money\"}}),_vm._v(\" 元,\"),_c('el-input',{staticClass:\"input-wid\",model:{value:(_vm.form.day_rent_capping_money),callback:function ($$v) {_vm.$set(_vm.form, \"day_rent_capping_money\", $$v)},expression:\"form.day_rent_capping_money\"}}),_vm._v(\"元封顶。\\n \")],1)]),_c('el-button',{on:{\"click\":_vm.cancleChange}},[_vm._v(\"取消\")]),_c('el-button',{on:{\"click\":_vm.submitChange}},[_vm._v(\"确认\")])],1)],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import axios from '@/plugins/axios'\r\n\r\nexport function getAreaSettings(params = {}) {\r\n return axios.get('area_setting', {\r\n params,\r\n })\r\n}\r\n\r\nexport function updateAreaSettings(id, data) {\r\n return axios.put(`area_setting/${id}`, data)\r\n}\r\n","<template>\r\n <el-card>\r\n <template #header>\r\n <content-header/>\r\n </template>\r\n <div v-show=\"infoDiv\">\r\n <p>\r\n 选择区域:\r\n <el-select\r\n v-model=\"area\"\r\n size=\"small\"\r\n placeholder=\"请选择\"\r\n class=\"selectwidth\"\r\n @change=\"changeSelect\"\r\n >\r\n <el-option\r\n v-for=\"item in areas\"\r\n :key=\"item.id\"\r\n :label=\"item.name\"\r\n :value=\"item.id\"\r\n />\r\n </el-select>\r\n </p>\r\n <el-card class=\"cards\">\r\n <p>\r\n 共享电单车在骑行中,起步价为<span class=\"span-red\">{{ form.starting_price_time }}</span>分钟内<span class=\"span-red\">{{ form.starting_price }}</span> 元,\r\n 之后每 <span class=\"span-red\">{{ form.per_minute }}</span> 分钟收取 <span class=\"span-red\">{{ form.per_money }}</span> 元费用,\r\n </p>\r\n\r\n <p>\r\n 当用户不在指定区域还车时,\r\n <span class=\"span-red\">{{ form.min_limit_km }}</span>千米内,另收 <span class=\"span-red\">{{ form.min_dispatching_fee }}</span> 元调度费,<span class=\"span-red\">{{ form.min_limit_km }}</span>千米外,每增加<span class=\"span-red\">{{ form.over_limit_per_km }}</span>千米,多收取<span class=\"span-red\">{{ form.over_limit_per_km_money }}</span>元\r\n </p>\r\n <p>\r\n 最高封顶 <span class=\"span-red\">{{ form.max_dispatching_fee }}</span> 元,\r\n <span class=\"p-green\">注意:最高封顶为0元时,表示无封顶</span>\r\n </p>\r\n <p>\r\n 电量低于 <span class=\"span-red\">{{ form.power_lower }}</span> %以下禁止骑行,\r\n </p>\r\n </el-card>\r\n\r\n <el-card class=\"cards\">\r\n <p>\r\n <span class=\"it-tital\">是否开启分钟内免费骑行: </span> <span class=\"span-red\" v-if=\"form.is_minute_free==0\"> 否</span> <span class=\"span-red\" v-if=\"form.is_minute_free==1\"> 是</span>\r\n <span style=\"margin-left:15px;\" class=\"span-red\">{{ form.many_minute_free }}</span>分钟(包含)内免费骑行,\r\n 每日免费骑行次数上限<span class=\"span-red\">{{ form.minute_free_times }}</span>(0为无上限)\r\n </p>\r\n <p> <span class=\"it-tital\">是否需要提前充值: </span> <span class=\"span-red\" v-if=\"form.is_advance_recharge==0\"> 否</span> <span class=\"span-red\" v-if=\"form.is_advance_recharge==1\"> 是</span></p>\r\n <p>\r\n <span class=\"it-tital\">能否全运营区域还车: </span> <span class=\"span-red\" v-if=\"form.is_whole_area_huanche==0\"> 否</span> <span\r\n class=\"span-red\"\r\n v-if=\"form.is_whole_area_huanche==1\"\r\n > 是</span>\r\n </p>\r\n <p>\r\n <span class=\"it-tital\">是否启用还车点辐射范围: </span> <span class=\"span-red\"\r\n v-if=\"form.is_parking_fushe==0\"> 否</span> <span\r\n class=\"span-red\"\r\n v-if=\"form.is_parking_fushe==1\"\r\n > 是</span>\r\n </p>\r\n <p>\r\n <span class=\"it-tital\">是否需要押金: </span> <span class=\"span-red\" v-if=\"form.is_deposit==0\"> 否</span> <span\r\n class=\"span-red\" v-if=\"form.is_deposit==1\"> 是</span>\r\n <span style=\"margin-left: 15px;\">押金金额:</span><span class=\"span-red\">{{ form.deposit }}</span>\r\n </p>\r\n <!-- <p><span class=\"it-tital\">押金金额:</span><span class=\"span-red\">{{ form.deposit }}</span> </p>-->\r\n <p><span class=\"it-tital\">是否开启退押金看广告: </span> <span class=\"span-red\"\r\n v-if=\"form.is_return_deposit_ad_video==0\"> 否</span> <span\r\n class=\"span-red\" v-if=\"form.is_return_deposit_ad_video==1\"> 是</span></p>\r\n </el-card>\r\n <el-card class=\"cards\" style=\"border-top:solid 2px #ccc;padding-top:10px;\">\r\n <!-- <p>\r\n <span>是否只能在还车点内还车: </span> <span class=\"span-red\" v-if=\"form.is_parking==0\"> 否</span> <span class=\"span-red\" v-if=\"form.is_parking==1\"> 是</span>\r\n </p> -->\r\n\r\n <!-- <span> <span>是否自动退还押金: </span> <span class=\"span-red\" v-if=\"form.is_auto_return_deposit==0\"> 否</span> <span class=\"span-red\" v-if=\"form.is_auto_return_deposit==1\"> 是</span></p> -->\r\n <p> <span>是否开启日租模式: </span> <span class=\"span-red\" v-if=\"form.is_open_day_rent==0\"> 否</span> <span class=\"span-red\" v-if=\"form.is_open_day_rent==1\"> 是</span></p>\r\n <p>\r\n 日租模式,全天车辆基础租金金额为 <span class=\"span-red\">{{ form.day_rent_money }}</span>元,日租可用时长为<span class=\"span-red\">{{ form.day_rent_hours }}</span>小时,\r\n 在一天内(即24小时内)租用时长超过此时长,每一小时收取<span class=\"span-red\">{{ form.per_hours_day_rent_timeout_money }}</span>元。<span class=\"span-red\">{{ form.day_rent_capping_money }}</span>元封顶。\r\n </p>\r\n <!--\r\n <img\r\n v-if=\"form.day_rent_img\"\r\n :src=\"form.day_rent_img\"\r\n class=\"avatara\"\r\n > -->\r\n </el-card>\r\n\r\n <el-button @click=\"changeInfo\">修改</el-button>\r\n </div>\r\n <div v-show=\"infoForm\">\r\n <el-form ref=\"form\" :model=\"form\" label-width=\"80px\">\r\n <p>\r\n 选择区域:\r\n <el-select\r\n v-model=\"area\"\r\n size=\"small\"\r\n placeholder=\"请选择\"\r\n class=\"selectwidth\"\r\n @change=\"changeSelect\"\r\n >\r\n <el-option\r\n v-for=\"item in areas\"\r\n :key=\"item.id\"\r\n :label=\"item.name\"\r\n :value=\"item.id\"\r\n />\r\n </el-select>\r\n </p>\r\n <el-card class=\"cards\">\r\n <p>\r\n 共享电单车在骑行中,起步价为<el-input class=\"input-wid\" v-model=\"form.starting_price_time\"/>分钟内<el-input class=\"input-wid\" v-model=\"form.starting_price\"/>元,\r\n 之后每 <el-input class=\"input-wid\" v-model=\"form.per_minute\"/> 分钟收取 <el-input class=\"input-wid\" v-model=\"form.per_money\"/> 元费用,\r\n </p>\r\n\r\n <p>\r\n 当用户不在指定区域还车时,\r\n <el-input class=\"input-wid\" v-model=\"form.min_limit_km\"/>千米内,另收 <el-input class=\"input-wid\" v-model=\"form.min_dispatching_fee\"/> 元调度费,{{ form.min_limit_km }}千米外,每增加<el-input class=\"input-wid\" v-model=\"form.over_limit_per_km\"/>千米,多收取<el-input class=\"input-wid\" v-model=\"form.over_limit_per_km_money\"/>元\r\n </p>\r\n <p>\r\n 最高封顶 <el-input class=\"input-wid\" v-model=\"form.max_dispatching_fee\"/> 元,<span class=\"p-green\">注意:最高封顶为0元时,表示无封顶</span>\r\n </p>\r\n\r\n <p>\r\n 电量低于 <el-input class=\"input-wid\" v-model=\"form.power_lower\"/> %以下禁止骑行,\r\n </p>\r\n </el-card>\r\n\r\n <el-card class=\"cards\">\r\n <!-- <p>\r\n <span>是否只能在还车点内还车:\r\n <el-radio v-model=\"form.is_parking\" label=\"1\">是</el-radio>\r\n <el-radio v-model=\"form.is_parking\" label=\"0\">否</el-radio>\r\n </span>\r\n </p> -->\r\n <p>\r\n <span class=\"it-tital\">是否开启分钟内免费骑行:\r\n </span>\r\n <el-radio v-model=\"form.is_minute_free\" label=\"1\">是</el-radio>\r\n <el-radio v-model=\"form.is_minute_free\" label=\"0\">否</el-radio>\r\n\r\n <el-input class=\"input-wid\" style=\"margin-left:15px;\" v-model=\"form.many_minute_free\"/>分钟(包含)内免费骑行,\r\n 每日免费骑行次数上限 <el-input class=\"input-wid\" v-model=\"form.minute_free_times\"/>(0为无上限)\r\n </p>\r\n <p>\r\n <span class=\"it-tital\">是否需要提前充值:\r\n </span>\r\n <el-radio v-model=\"form.is_advance_recharge\" label=\"1\">是</el-radio>\r\n <el-radio v-model=\"form.is_advance_recharge\" label=\"0\">否</el-radio>\r\n </p>\r\n <p>\r\n <span class=\"it-tital\">能否全运营区域还车:\r\n </span>\r\n <el-radio v-model=\"form.is_whole_area_huanche\" label=\"1\">是</el-radio>\r\n <el-radio v-model=\"form.is_whole_area_huanche\" label=\"0\">否</el-radio>\r\n </p>\r\n <p>\r\n <span class=\"it-tital\">是否启用还车点辐射范围:\r\n </span>\r\n\r\n <el-radio v-model=\"form.is_parking_fushe\" label=\"1\">是</el-radio>\r\n <el-radio v-model=\"form.is_parking_fushe\" label=\"0\">否</el-radio>\r\n </p>\r\n <p>\r\n <span class=\"it-tital\">是否需要押金:\r\n\r\n </span>\r\n <el-radio v-model=\"form.is_deposit\" label=\"1\">是</el-radio>\r\n <el-radio v-model=\"form.is_deposit\" label=\"0\">否</el-radio>\r\n <span style=\"margin-left: 15px;\">押金金额:</span>\r\n <el-input class=\"input-wid\" v-model=\"form.deposit\"/>\r\n 元\r\n </p>\r\n <!-- <p>-->\r\n <!-- <span class=\"it-tital\">押金金额:-->\r\n <!-- </span>-->\r\n\r\n <!-- <el-input class=\"input-wid\" v-model=\"form.deposit\"/> 元-->\r\n <!-- </p>-->\r\n <p>\r\n <span class=\"it-tital\">是否开启退押金看广告:\r\n </span>\r\n <el-radio v-model=\"form.is_return_deposit_ad_video\" label=\"1\">是</el-radio>\r\n <el-radio v-model=\"form.is_return_deposit_ad_video\" label=\"0\">否</el-radio>\r\n </p>\r\n <!-- <p>\r\n <span>是否自动退还押金:\r\n <el-radio v-model=\"form.is_auto_return_deposit\" label=\"1\">是</el-radio>\r\n <el-radio v-model=\"form.is_auto_return_deposit\" label=\"0\">否</el-radio>\r\n </span>\r\n </p> -->\r\n </el-card>\r\n\r\n <el-card class=\"cards\" style=\"border-top:solid 2px #ccc;padding-top:10px;\">\r\n <p>\r\n <span>是否开启日租模式:\r\n <el-radio v-model=\"form.is_open_day_rent\" label=\"1\">是</el-radio>\r\n <el-radio v-model=\"form.is_open_day_rent\" label=\"0\">否</el-radio>\r\n </span>\r\n </p>\r\n <p>\r\n 日租模式,全天车辆基础租金金额为 <el-input class=\"input-wid\" v-model=\"form.day_rent_money\"/> 元,日租可用时长为<el-input class=\"input-wid\" v-model=\"form.day_rent_hours\"/>小时,\r\n 在一天内(即24小时内)租用时长超过此时长,每一小时收取 <el-input class=\"input-wid\" v-model=\"form.per_hours_day_rent_timeout_money\"/> 元,<el-input class=\"input-wid\" v-model=\"form.day_rent_capping_money\"/>元封顶。\r\n </p>\r\n </el-card>\r\n\r\n <!-- <el-upload\r\n class=\"avatar-uploader\"\r\n action=\"/admin-api/area_setting/uploadImg\"\r\n name=\"image\"\r\n :headers=\"uploadHeaders\"\r\n :show-file-list=\"false\"\r\n :on-success=\"handleAvatarSuccess\"\r\n :before-upload=\"beforeAvatarUpload\"\r\n >\r\n <img v-if=\"form.day_rent_img\" :src=\"form.day_rent_img\" class=\"avatara\">\r\n <i v-else class=\"el-icon-plus avatar-uploader-icon\"/>\r\n </el-upload> -->\r\n <el-button @click=\"cancleChange\">取消</el-button>\r\n <el-button @click=\"submitChange\">确认</el-button>\r\n </el-form>\r\n </div>\r\n </el-card>\r\n</template>\r\n\r\n<script>\r\n\r\nimport { getAreas } from '@/api/area'\r\nimport { getAreaSettings, updateAreaSettings } from '@/api/area-settings'\r\nimport { getToken } from '@/libs/token'\r\n\r\nexport default {\r\n name: 'Index',\r\n components: {\r\n },\r\n data() {\r\n return {\r\n areas: [],\r\n area_settings: [],\r\n page: null,\r\n infoDiv: true,\r\n infoForm: false,\r\n area: '',\r\n form: {\r\n id: '',\r\n per_minute: '',\r\n per_money: '',\r\n min_dispatching_fee: '',\r\n max_dispatching_fee: '',\r\n min_limit_km: 0,\r\n over_limit_per_km: 0,\r\n over_limit_per_km_money: 0,\r\n power_lower: '',\r\n is_deposit: '1',\r\n deposit: '',\r\n // is_auto_return_deposit: ''1,\r\n is_parking: '1',\r\n is_advance_recharge: '0',\r\n is_whole_area_huanche: '0',\r\n is_parking_fushe: '1',\r\n is_open_day_rent: '1',\r\n is_return_deposit_ad_video: '0',\r\n day_rent_money: '',\r\n day_rent_hours: '',\r\n per_hours_day_rent_timeout_money: '',\r\n day_rent_capping_money: '',\r\n day_rent_img: '',\r\n many_minute_free: 0,\r\n is_minute_free: 0,\r\n minute_free_times: 0,\r\n starting_price_time: 10,\r\n starting_price: 1,\r\n },\r\n uploadHeaders: {\r\n Authorization: '',\r\n },\r\n }\r\n },\r\n methods: {\r\n changeInfo() {\r\n this.infoDiv = false\r\n this.infoForm = true\r\n },\r\n cancleChange() {\r\n this.infoDiv = true\r\n this.infoForm = false\r\n },\r\n submitChange() {\r\n // console.log(this.form)\r\n updateAreaSettings(this.form.id, this.form).then(res => {\r\n res.then(data => {\r\n if (data) {\r\n this.$message({\r\n type: 'success',\r\n message: '修改成功!',\r\n })\r\n }\r\n this.infoDiv = true\r\n this.infoForm = false\r\n })\r\n })\r\n },\r\n changeSelect() {\r\n this.area_settings.forEach(item => {\r\n if (item.area_id == this.area) {\r\n this.fillForm(item)\r\n }\r\n })\r\n },\r\n fillForm(data) {\r\n this.form.id = data.id\r\n this.form.per_minute = data.per_minute\r\n this.form.per_money = data.per_money\r\n this.form.min_dispatching_fee = data.min_dispatching_fee\r\n this.form.max_dispatching_fee = data.max_dispatching_fee\r\n this.form.power_lower = data.power_lower\r\n this.form.is_parking = data.is_parking.toString()\r\n this.form.is_advance_recharge = data.is_advance_recharge.toString()\r\n this.form.is_whole_area_huanche = data.is_whole_area_huanche.toString()\r\n this.form.is_parking_fushe = data.is_parking_fushe.toString()\r\n this.form.is_deposit = data.is_deposit.toString()\r\n this.form.deposit = data.deposit\r\n this.form.is_auto_return_deposit = data.is_auto_return_deposit.toString()\r\n this.form.is_open_day_rent = data.is_open_day_rent.toString()\r\n this.form.is_return_deposit_ad_video = data.is_return_deposit_ad_video.toString()\r\n this.form.day_rent_money = data.day_rent_money\r\n this.form.day_rent_hours = data.day_rent_hours\r\n this.form.per_hours_day_rent_timeout_money = data.per_hours_day_rent_timeout_money\r\n this.form.day_rent_capping_money = data.day_rent_capping_money\r\n this.form.day_rent_img = data.day_rent_img\r\n this.form.over_limit_per_km = data.over_limit_per_km\r\n this.form.min_limit_km = data.min_limit_km\r\n this.form.over_limit_per_km_money = data.over_limit_per_km_money\r\n this.form.many_minute_free = data.many_minute_free\r\n this.form.minute_free_times = data.minute_free_times\r\n this.form.is_minute_free = data.is_minute_free.toString()\r\n this.form.starting_price_time = data.starting_price_time\r\n this.form.starting_price = data.starting_price\r\n },\r\n handleAvatarSuccess(res, file) {\r\n this.form.day_rent_img = res.path\r\n // console.log(res)\r\n },\r\n beforeAvatarUpload(file) {\r\n const isJPG = file.type === 'image/jpeg'\r\n const isPNG = file.type === 'image/png'\r\n const isLt2M = file.size / 1024 / 1024 < 2\r\n\r\n if (!isJPG && !isPNG) {\r\n this.$message.error('上传头像图片只能是 JPG/PNG 格式!')\r\n }\r\n if (!isLt2M) {\r\n this.$message.error('上传头像图片大小不能超过 2MB!')\r\n }\r\n return (isJPG || isPNG) && isLt2M\r\n },\r\n },\r\n async created() {\r\n this.uploadHeaders.Authorization = getToken()\r\n // eslint-disable-next-line camelcase\r\n const [{ data: areas }, { data: area_settings }] = await Promise.all([\r\n getAreas({ all: 1 }), getAreaSettings({ all: 1 }),\r\n ])\r\n\r\n this.areas = areas\r\n // eslint-disable-next-line camelcase\r\n this.area_settings = area_settings\r\n this.area = this.area_settings[0].area_id\r\n this.fillForm(this.area_settings[0])\r\n },\r\n}\r\n</script>\r\n<style lang=\"scss\" scoped>\r\n.input-wid{\r\n width: 80px;\r\n}\r\n.p-green {\r\n color: #3e9;\r\n}\r\n.span-red {\r\n color: red;\r\n padding-left:3px ;\r\n padding-right:3px ;\r\n}\r\n.selectwidth {\r\n width: 150px;\r\n}\r\n .avatar-uploader .el-upload {\r\n border: 1px solid #ccc;\r\n border-radius: 6px;\r\n cursor: pointer;\r\n position: relative;\r\n overflow: hidden;\r\n }\r\n .avatar-uploader .el-upload:hover {\r\n border-color: #409EFF;\r\n }\r\n .avatar-uploader-icon {\r\n border: 1px solid #ccc;\r\n font-size: 28px;\r\n color: #8c939d;\r\n width: 178px;\r\n height: 178px;\r\n line-height: 178px;\r\n text-align: center;\r\n }\r\n.avatara {\r\n /* width: 178px; */\r\n width: 300px;\r\n height: 1000px;\r\n display: block;\r\n }\r\n .cards{\r\n margin-bottom: 20px;\r\n .it-tital{\r\n width: 210px;\r\n // float:right;\r\n display: inline-block;\r\n text-align: right;\r\n }\r\n }\r\n</style>\r\n","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!./Setting.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!./Setting.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Setting.vue?vue&type=template&id=8d825c0a&scoped=true&\"\nimport script from \"./Setting.vue?vue&type=script&lang=js&\"\nexport * from \"./Setting.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Setting.vue?vue&type=style&index=0&id=8d825c0a&lang=scss&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 \"8d825c0a\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Setting.vue?vue&type=style&index=0&id=8d825c0a&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Setting.vue?vue&type=style&index=0&id=8d825c0a&lang=scss&scoped=true&\"","require('../modules/web.dom.iterable');\nrequire('../modules/es6.string.iterator');\nmodule.exports = require('../modules/core.get-iterator');\n","module.exports = require(\"core-js/library/fn/get-iterator\");","import _Array$isArray from \"../../core-js/array/is-array\";\nexport default function _arrayWithHoles(arr) {\n if (_Array$isArray(arr)) return arr;\n}","import _getIterator from \"../../core-js/get-iterator\";\nexport default function _iterableToArrayLimit(arr, i) {\n var _arr = [];\n var _n = true;\n var _d = false;\n var _e = undefined;\n\n try {\n for (var _i = _getIterator(arr), _s; !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n}","import arrayWithHoles from \"./arrayWithHoles\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit\";\nimport nonIterableRest from \"./nonIterableRest\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || nonIterableRest();\n}","var anObject = require('./_an-object');\nvar get = require('./core.get-iterator-method');\nmodule.exports = require('./_core').getIterator = function (it) {\n var iterFn = get(it);\n if (typeof iterFn != 'function') throw TypeError(it + ' is not iterable!');\n return anObject(iterFn.call(it));\n};\n","import axios from '@/plugins/axios'\r\n\r\nexport function getAreas(params = {}) {\r\n return axios.get('area', {\r\n params,\r\n })\r\n}\r\n\r\nexport function showArea(id) {\r\n return axios.get(`area/${id}`)\r\n}\r\n\r\nexport function storeArea(data) {\r\n return axios.post('area', data)\r\n}\r\n\r\nexport function updateArea(id, data) {\r\n return axios.put(`area/${id}`, data)\r\n}\r\n\r\nexport function editArea(id) {\r\n return axios.get(`area/${id}/edit`)\r\n}\r\n\r\nexport function destroyArea(id) {\r\n return axios.delete(`area/${id}`)\r\n}\r\n"],"sourceRoot":""}
|