/
home
/
henzagold
/
adminold
/
export
/
js
/
File Upload :
llllll
Current File: /home/henzagold/adminold/export/js/chunk-0da871ae.a3f0f8c4.js.map
{"version":3,"sources":["webpack:///./src/assets/images/logo/henza-icon.svg","webpack:///./src/views/auth/Login.vue","webpack:///src/views/auth/Login.vue","webpack:///./src/views/auth/Login.vue?5f6d","webpack:///./src/views/auth/Login.vue?775d","webpack:///./src/views/auth/Login.vue?9312"],"names":["module","exports","render","_vm","this","_c","_self","staticClass","attrs","slot","staticStyle","_v","directives","name","rawName","value","expression","model","mobile","callback","$$v","_s","errors","first","password","validateForm","on","loginJWT","require","staticRenderFns","data","checkbox_remember_me","computed","watch","methods","token","phone","token_mobile","window","console","title","text","iconPack","icon","color","registerUser","component"],"mappings":"qGAAAA,EAAOC,QAAU,IAA0B,+B,yCCA3C,IAAIC,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,2EAA2EC,MAAM,CAAC,GAAK,eAAe,CAACH,EAAG,MAAM,CAACE,YAAY,yDAAyD,CAACF,EAAG,UAAU,CAACA,EAAG,MAAM,CAACE,YAAY,qBAAqBC,MAAM,CAAC,KAAO,WAAWC,KAAK,WAAW,CAACJ,EAAG,MAAM,CAACE,YAAY,gDAAgD,CAACF,EAAG,MAAM,CAACE,YAAY,uDAAuD,CAACF,EAAG,MAAM,CAACE,YAAY,iCAAiCG,YAAY,CAAC,mBAAmB,YAAY,CAACL,EAAG,MAAM,CAACE,YAAY,uBAAuB,CAACF,EAAG,KAAK,CAACE,YAAY,QAAQ,CAACJ,EAAIQ,GAAG,0BAA0BN,EAAG,IAAI,CAACF,EAAIQ,GAAG,8DAA8DN,EAAG,MAAM,CAACE,YAAY,QAAQ,CAACF,EAAG,WAAW,CAACO,WAAW,CAAC,CAACC,KAAK,WAAWC,QAAQ,aAAaC,MAAO,iBAAkBC,WAAW,qBAAqBT,YAAY,SAASC,MAAM,CAAC,sBA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DAEAC,kBACA,iBACAC,oBACAC,QACAC,mBACAC,yBACAC,iBACA,QAEA,OAFA,UAEA,0JAlBAjB,GAqBAkB,wBACA,mBACA,+DCjH8V,I,wBCQ1VC,EAAY,eACd,EACA5C,EACA2B,GACA,EACA,KACA,KACA,MAIa,aAAAiB,E,kECnBf","file":"js/chunk-0da871ae.a3f0f8c4.js","sourcesContent":["module.exports = __webpack_public_path__ + \"img/henza-icon.99341a3a.svg\";","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"h-screen flex w-full bg-img vx-row no-gutter items-center justify-center\",attrs:{\"id\":\"page-login\"}},[_c('div',{staticClass:\"vx-col sm:w-1/2 md:w-1/2 lg:w-3/4 xl:w-3/5 sm:m-0 m-4\"},[_c('vx-card',[_c('div',{staticClass:\"full-page-bg-color\",attrs:{\"slot\":\"no-body\"},slot:\"no-body\"},[_c('div',{staticClass:\"vx-row no-gutter justify-center items-center\"},[_c('div',{staticClass:\"vx-col sm:w-full md:w-full lg:w-1/2 d-theme-dark-bg\"},[_c('div',{staticClass:\"px-8 pt-8 login-tabs-container\",staticStyle:{\"background-color\":\"#eff2f7\"}},[_c('div',{staticClass:\"vx-card__title mb-4\"},[_c('h4',{staticClass:\"mb-4\"},[_vm._v(\"ورود به محیط مدیریت \")]),_c('p',[_vm._v(\"لطفا شماره تلفن همراه خود به همراه رمز عبور وارد کنید.\")])]),_c('div',{staticClass:\"mt-8\"},[_c('vs-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required|min:8'),expression:\"'required|min:8'\"}],staticClass:\"w-full\",attrs:{\"data-vv-validate-on\":\"blur\",\"name\":\"mobile\",\"icon-no-border\":\"\",\"icon\":\"icon icon-user\",\"autocomplete\":\"off\",\"icon-pack\":\"feather\",\"label-placeholder\":\"موبایل\"},model:{value:(_vm.mobile),callback:function ($$v) {_vm.mobile=$$v},expression:\"mobile\"}}),_c('span',{staticClass:\"text-danger text-sm\"},[_vm._v(_vm._s(_vm.errors.first('mobile')))]),_c('vs-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required|min:5'),expression:\"'required|min:5'\"}],staticClass:\"w-full mt-6\",attrs:{\"data-vv-validate-on\":\"blur\",\"type\":\"password\",\"name\":\"password\",\"icon-no-border\":\"\",\"icon\":\"icon icon-lock\",\"icon-pack\":\"feather\",\"label-placeholder\":\"رمز عبور\"},model:{value:(_vm.password),callback:function ($$v) {_vm.password=$$v},expression:\"password\"}}),_c('span',{staticClass:\"text-danger text-sm\"},[_vm._v(_vm._s(_vm.errors.first('password')))]),_c('div',{staticClass:\"flex flex-wrap justify-between my-5\"}),_c('div',{staticClass:\"flex flex-wrap justify-between mb-3\"},[_c('vs-button',{attrs:{\"disabled\":!_vm.validateForm},on:{\"click\":_vm.loginJWT}},[_vm._v(\"ورود\")])],1)],1)])]),_c('div',{staticClass:\"vx-col hidden lg:block lg:w-1/2\"},[_c('img',{staticClass:\"mx-auto\",attrs:{\"src\":require(\"@/assets/images/logo/henza-icon.svg\"),\"alt\":\"login\"}})])])])])],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"h-screen flex w-full bg-img vx-row no-gutter items-center justify-center\" id=\"page-login\">\r\n <div class=\"vx-col sm:w-1/2 md:w-1/2 lg:w-3/4 xl:w-3/5 sm:m-0 m-4\">\r\n <vx-card>\r\n <div slot=\"no-body\" class=\"full-page-bg-color\">\r\n\r\n <div class=\"vx-row no-gutter justify-center items-center\">\r\n\r\n\r\n <div class=\"vx-col sm:w-full md:w-full lg:w-1/2 d-theme-dark-bg\">\r\n <div class=\"px-8 pt-8 login-tabs-container\" style=\"background-color:#eff2f7 \">\r\n\r\n <div class=\"vx-card__title mb-4\">\r\n <h4 class=\"mb-4\">ورود به محیط مدیریت </h4>\r\n <p>لطفا شماره تلفن همراه خود به همراه رمز عبور وارد کنید.</p>\r\n </div>\r\n\r\n <div class=\"mt-8\">\r\n <vs-input\r\n v-validate=\"'required|min:8'\"\r\n data-vv-validate-on=\"blur\"\r\n name=\"mobile\"\r\n icon-no-border\r\n icon=\"icon icon-user\"\r\n autocomplete=\"off\"\r\n icon-pack=\"feather\"\r\n label-placeholder=\"موبایل\"\r\n v-model=\"mobile\"\r\n class=\"w-full\"/>\r\n <span class=\"text-danger text-sm\">{{ errors.first('mobile') }}</span>\r\n\r\n <vs-input\r\n data-vv-validate-on=\"blur\"\r\n v-validate=\"'required|min:5'\"\r\n type=\"password\"\r\n name=\"password\"\r\n icon-no-border\r\n icon=\"icon icon-lock\"\r\n icon-pack=\"feather\"\r\n label-placeholder=\"رمز عبور\"\r\n v-model=\"password\"\r\n class=\"w-full mt-6\"/>\r\n <!-- <span class=\"text-danger text-sm\">{{ errors.first('password') }}</span>-->\r\n <span class=\"text-danger text-sm\">{{ errors.first('password') }}</span>\r\n\r\n <div class=\"flex flex-wrap justify-between my-5\">\r\n <!--<router-link to=\"/auth/forgot-password\">رمز عبورم را فراموش کردم</router-link>-->\r\n </div>\r\n <div class=\"flex flex-wrap justify-between mb-3\">\r\n <vs-button :disabled=\"!validateForm\" @click=\"loginJWT\">ورود</vs-button>\r\n </div>\r\n </div>\r\n\r\n\r\n </div>\r\n </div>\r\n <div class=\"vx-col hidden lg:block lg:w-1/2\">\r\n <!--<img src=\"@/assets/images/pages/login.png\" alt=\"login\" class=\"mx-auto\">-->\r\n <img src=\"@/assets/images/logo/henza-icon.svg\" alt=\"login\" class=\"mx-auto\">\r\n </div>\r\n\r\n </div>\r\n </div>\r\n </vx-card>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n\r\n<script>\r\n import axios from '@/axios'\r\n export default {\r\n data() {\r\n return {\r\n mobile: '',\r\n password: '',\r\n checkbox_remember_me: false\r\n }\r\n },\r\n computed: {\r\n validateForm() {\r\n return !this.errors.any() && this.mobile !== '' && this.password !== ''\r\n }\r\n },\r\n watch: {\r\n mobile(n) {\r\n // console.log(\"n ==> \", n);\r\n }\r\n },\r\n methods: {\r\n async loginJWT() {\r\n // Loading\r\n try {\r\n this.$vs.loading()\r\n const token = localStorage.getItem('token_mobile')\r\n await this.$store.dispatch('auth/login', {phone: this.mobile, password: this.password, token_mobile: token});\r\n //this.$vs.loading.close();\r\n window.location.href = '/admin/my-data'\r\n } catch (e) {\r\n console.log(e)\r\n this.$vs.notify({\r\n title: 'خطا در ورود',\r\n text: '',\r\n iconPack: 'feather',\r\n icon: 'icon-alert-circle',\r\n color: 'danger'\r\n })\r\n }finally {\r\n this.$vs.loading.close();\r\n }\r\n },\r\n registerUser() {\r\n if (!this.checkLogin()) return\r\n this.$router.push('/pages/register').catch(() => {\r\n })\r\n }\r\n }\r\n }\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n .login-tabs-container {\r\n min-height: 505px;\r\n\r\n .con-tab {\r\n padding-bottom: 14px;\r\n }\r\n\r\n .con-slot-tabs {\r\n margin-top: 1rem;\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!./Login.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!./Login.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Login.vue?vue&type=template&id=1ed14d2a&\"\nimport script from \"./Login.vue?vue&type=script&lang=js&\"\nexport * from \"./Login.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Login.vue?vue&type=style&index=0&id=1ed14d2a&prod&lang=scss&\"\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 null,\n null\n \n)\n\nexport default component.exports","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/dist/cjs.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!./Login.vue?vue&type=style&index=0&id=1ed14d2a&prod&lang=scss&\""],"sourceRoot":""}
Copyright ©2k19 -
Hexid
|
Tex7ure