/
home
/
henzagold
/
adminold
/
export
/
js
/
File Upload :
llllll
Current File: //home/henzagold/adminold/export/js/chunk-8f19fee2.a617fed9.js
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-8f19fee2"],{2021:function(t,e,s){"use strict";s("d67a")},"40f2":function(t,e,s){t.exports=s.p+"img/henza-icon.99341a3a.svg"},5326:function(t,e,s){"use strict";s.r(e);var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"h-screen flex w-full bg-img vx-row no-gutter items-center justify-center",attrs:{id:"page-login"}},[e("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"},[e("vx-card",[e("div",{staticClass:"full-page-bg-color",attrs:{slot:"no-body"},slot:"no-body"},[e("div",{staticClass:"vx-row no-gutter justify-center items-center"},[e("div",{staticClass:"vx-col sm:w-full md:w-full lg:w-1/2 d-theme-dark-bg"},[e("div",{staticClass:"px-8 pt-8 login-tabs-container",staticStyle:{"background-color":"#eff2f7"}},[e("div",{staticClass:"vx-card__title mb-4"},[e("h4",{staticClass:"mb-4"},[t._v("ورود به محیط مدیریت ")]),e("p",[t._v("لطفا شماره تلفن همراه خود به همراه رمز عبور وارد کنید.")])]),e("div",{staticClass:"mt-8"},[e("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:t.mobile,callback:function(e){t.mobile=e},expression:"mobile"}}),e("span",{staticClass:"text-danger text-sm"},[t._v(t._s(t.errors.first("mobile")))]),e("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:t.password,callback:function(e){t.password=e},expression:"password"}}),e("span",{staticClass:"text-danger text-sm"},[t._v(t._s(t.errors.first("password")))]),e("div",{staticClass:"flex flex-wrap justify-between my-5"}),e("div",{staticClass:"flex flex-wrap justify-between mb-3"},[e("vs-button",{attrs:{disabled:!t.validateForm},on:{click:t.loginJWT}},[t._v("ورود")])],1)],1)])]),e("div",{staticClass:"vx-col hidden lg:block lg:w-1/2"},[e("img",{staticClass:"mx-auto",attrs:{src:s("40f2"),alt:"login"}})])])])])],1)])},i=[],o=(s("96cf"),s("1da1")),r=(s("bb36"),{data:function(){return{mobile:"",password:"",checkbox_remember_me:!1}},computed:{validateForm:function(){return!this.errors.any()&&""!==this.mobile&&""!==this.password}},watch:{mobile:function(t){}},methods:{loginJWT:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,this.$vs.loading(),e=localStorage.getItem("token_mobile"),t.next=5,this.$store.dispatch("auth/login",{phone:this.mobile,password:this.password,token_mobile:e});case 5:window.location.href="/admin/my-data",t.next=12;break;case 8:t.prev=8,t.t0=t["catch"](0),console.log(t.t0),this.$vs.notify({title:"خطا در ورود",text:"",iconPack:"feather",icon:"icon-alert-circle",color:"danger"});case 12:return t.prev=12,this.$vs.loading.close(),t.finish(12);case 15:case"end":return t.stop()}}),t,this,[[0,8,12,15]])})));function e(){return t.apply(this,arguments)}return e}(),registerUser:function(){this.checkLogin()&&this.$router.push("/pages/register").catch((function(){}))}}}),n=r,l=(s("2021"),s("2877")),c=Object(l["a"])(n,a,i,!1,null,null,null);e["default"]=c.exports},d67a:function(t,e,s){}}]);
Copyright ©2k19 -
Hexid
|
Tex7ure