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