/
home
/
henzagold
/
admin_report
/
js
/
File Upload :
llllll
Current File: //home/henzagold/admin_report/js/chunk-524112d2.e7dc0fa8.js
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-524112d2"],{"03f7":function(t,e,s){"use strict";s("32c2")},"32c2":function(t,e,s){},"73df":function(t,e,s){"use strict";s.r(e);s("7f7f");var r=function(){var t=this,e=t._self._c;return e("a-spin",{attrs:{spinning:t.loading}},[e("a-tabs",{attrs:{animated:""},model:{value:t.infType,callback:function(e){t.infType=e},expression:"infType"}},[e("a-tab-pane",{key:2,attrs:{tab:"پیامک"}},[e("list")],1),e("a-tab-pane",{key:1,attrs:{tab:"سفارشات"}},[e("Orders")],1),e("a-tab-pane",{key:0,attrs:{tab:"داشبورد"}},[e("div",{staticClass:"mb-8 w-full grid grid-cols-1 md:grid-cols-2 gap-8"},[e("vx-card",{staticClass:"overflow-auto w-full"},[e("div",{staticClass:"flex flex-col justify-center items-center"},[e("svg",{staticClass:"h-16 w-16 bg-primary rounded p-4 mb-4",attrs:{height:"30px",viewBox:"0 0 24 24",width:"30px",fill:"#fff"}},[e("g",[e("path",{attrs:{d:"M18,6h-2c0-2.21-1.79-4-4-4S8,3.79,8,6H6C4.9,6,4,6.9,4,8v12c0,1.1,0.9,2,2,2h12c1.1,0,2-0.9,2-2V8C20,6.9,19.1,6,18,6z M12,4c1.1,0,2,0.9,2,2h-4C10,4.9,10.9,4,12,4z M18,20H6V8h2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V8h4v2c0,0.55,0.45,1,1,1s1-0.45,1-1V8 h2V20z"}})])]),e("h6",{staticClass:"card-title minh40"},[t._v("مبلغ کل سفارشات")]),e("h5",[t._v(t._s(t._f("price")(t.info.amount_all)))]),e("h5",[t._v("تومان")])])]),e("vx-card",{staticClass:"overflow-auto w-full"},[e("div",{staticClass:"flex flex-col justify-center items-center"},[e("svg",{staticClass:"h-16 w-16 bg-primary rounded p-4 mb-4",attrs:{height:"30px",viewBox:"0 0 24 24",width:"30px",fill:"#fff"}},[e("g",[e("path",{attrs:{d:"M18,6h-2c0-2.21-1.79-4-4-4S8,3.79,8,6H6C4.9,6,4,6.9,4,8v12c0,1.1,0.9,2,2,2h12c1.1,0,2-0.9,2-2V8C20,6.9,19.1,6,18,6z M12,4c1.1,0,2,0.9,2,2h-4C10,4.9,10.9,4,12,4z M18,20H6V8h2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V8h4v2c0,0.55,0.45,1,1,1s1-0.45,1-1V8 h2V20z"}})])]),e("h6",{staticClass:"card-title minh40"},[t._v("تعداد کل سفارشات")]),e("h5",[t._v(t._s(t.info.count_all))]),e("h5",[t._v("عدد")])])]),e("vx-card",{staticClass:"overflow-auto w-full"},[e("div",{staticClass:"flex flex-col justify-center items-center"},[e("svg",{staticClass:"h-16 w-16 rounded p-4 mb-4",staticStyle:{background:"#00cfe81f"},attrs:{height:"30px",viewBox:"0 0 24 24",width:"30px",fill:"#00cfe8"}},[e("g",[e("path",{attrs:{d:"M18,6h-2c0-2.21-1.79-4-4-4S8,3.79,8,6H6C4.9,6,4,6.9,4,8v12c0,1.1,0.9,2,2,2h12c1.1,0,2-0.9,2-2V8C20,6.9,19.1,6,18,6z M12,4c1.1,0,2,0.9,2,2h-4C10,4.9,10.9,4,12,4z M18,20H6V8h2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V8h4v2c0,0.55,0.45,1,1,1s1-0.45,1-1V8 h2V20z"}})])]),e("h6",{staticClass:"card-title minh40"},[t._v("مبلغ سفارشات ماه جاری")]),e("h5",[t._v(t._s(t.info.amount_month))]),e("h5",[t._v("تومان")])])]),e("vx-card",{staticClass:"overflow-auto w-full"},[e("div",{staticClass:"flex flex-col justify-center items-center"},[e("svg",{staticClass:"h-16 w-16 rounded p-4 mb-4",staticStyle:{background:"#00cfe81f"},attrs:{height:"30px",viewBox:"0 0 24 24",width:"30px",fill:"#00cfe8"}},[e("g",[e("path",{attrs:{d:"M18,6h-2c0-2.21-1.79-4-4-4S8,3.79,8,6H6C4.9,6,4,6.9,4,8v12c0,1.1,0.9,2,2,2h12c1.1,0,2-0.9,2-2V8C20,6.9,19.1,6,18,6z M12,4c1.1,0,2,0.9,2,2h-4C10,4.9,10.9,4,12,4z M18,20H6V8h2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V8h4v2c0,0.55,0.45,1,1,1s1-0.45,1-1V8 h2V20z"}})])]),e("h6",{staticClass:"card-title minh40"},[t._v("تعداد سفارشات ماه جاری")]),e("h5",[t._v(t._s(t.info.count_month))]),e("h5",[t._v("عدد")])])])],1),e("vx-card",{staticClass:"mb-8 overflow-auto w-full"},[e("div",{staticClass:"grid grid-cols-1 md:grid-cols-3 gap-8"},[e("div",{staticClass:"flex flex-col justify-center items-center"},[e("svg",{staticClass:"h-16 w-16 rounded p-4 mb-4",style:{backgroundColor:t.polish.color},attrs:{height:"30px",width:"30px",fill:"#fff",stroke:"#fff",viewBox:"0 0 512 512"}},[e("path",{attrs:{d:"M256 224c-79.37 0-191.1 122.7-191.1 200.2c-.88 34.9 25.86 55.8 70.9 55.8c48.8 0 81.1-25.1 120.2-25.1c39.5 0 71.9 25.1 120.2 25.1c44.1 0 71.74-20.88 71.74-55.75C447.1 346.8 335.4 224 256 224zm-147.2-12.6c-10.37-34.62-42.5-57.12-71.62-50.12S-7.104 202 3.27 236.6c10.37 34.7 42.5 57.2 71.62 50.2s44.21-40.8 33.91-75.4zm84.7-20.8c30.87-8.125 46.37-49.1 34.5-93.37s-46.5-71.1-77.49-63.87c-30.87 8.125-46.37 49.1-34.5 93.37c11.89 43.37 46.49 72.07 77.49 63.87zm281.4-29.3c-29.12-6.1-61.25 15.5-71.62 50.12c-10.37 34.63 4.75 68.37 33.87 75.37c29.12 6.1 61.12-15.5 71.62-50.12C519.1 202 503.1 168.3 474.9 161.3zm-156.4 29.3c30.1 8.125 65.62-20.5 77.49-63.87c11.87-43.37-3.625-85.25-34.5-93.37c-30.1-8.125-65.62 20.5-77.49 63.87c-11.9 43.37 3.6 85.27 34.5 93.37z"}})]),e("h6",[t._v(t._s(t.polish.title))]),e("h5",[t._v(t._s(t.polish.total_qty)+" عدد")]),e("h5",[t._v(t._s(t._f("price")(t.polish.total_total_price))+" تومان")])]),e("div",{staticClass:"flex flex-col justify-center items-center"},[e("svg",{staticClass:"h-16 w-16 rounded p-4 mb-4",style:{backgroundColor:t.game.color},attrs:{height:"30px",width:"30px",fill:"#fff",stroke:"#fff",viewBox:"0 0 512 512"}},[e("path",{attrs:{d:"m156.6 384.9l-30.9-31.8c-8.5-7.6-11.5-20-8.6-31.3c3-8.9 7-20.5 12.7-33.8H24c-8.62 0-16.586-4.6-20.854-12.1a23.961 23.961 0 0 1 .211-24.1l52.473-88.5c12.96-21.9 36.5-36.2 61.97-36.2H200c2.4-3.1 4.8-6.8 7.2-10.4C289.1-4.07 411.1-8.142 483.9 5.275c11.7 2.139 20.7 11.155 22.8 22.785c13.4 72.84 9.4 194.84-111.4 276.74c-3.5 2.4-8.2 4.8-11.3 6.3v83.1c0 25.5-13.4 49-35.3 62l-88.5 52.4c-7.4 4.4-16.6 4.5-24.1.3c-7.5-4.3-12.1-12.3-12.1-20.9V380.8c-14.1 4.8-26.4 8.9-35.7 11.9c-11.2 3.6-23.4.5-31.7-7.8zM384 167.1c22.1 0 40-17 40-40c0-21.2-17.9-40-40-40s-40 18.8-40 40c0 23 17.9 40 40 40z"}})]),e("h6",[t._v(t._s(t.game.title))]),e("h5",[t._v(t._s(t.game.total_qty)+" عدد")]),e("h5",[t._v(t._s(t._f("price")(t.game.total_total_price))+" تومان")])]),e("div",{staticClass:"flex flex-col justify-center items-center"},[e("svg",{staticClass:"h-16 w-16 rounded p-4 mb-4",style:{backgroundColor:t.metal.color},attrs:{height:"30px",width:"30px",fill:"#fff",stroke:"#fff",viewBox:"0 0 640 512"}},[e("path",{attrs:{d:"M448 64H192C85.96 64 0 149.1 0 256s85.96 192 192 192h256c106 0 192-85.96 192-192S554 64 448 64zM247.1 280h-32v32c0 13.2-10.78 24-23.98 24c-13.2 0-24.02-10.8-24.02-24v-32l-31.1-.9c-13.2 0-24.9-9.9-24.9-23.1c0-13.2 10.85-24.01 24.05-24.01l31.95.01v-32c0-13.2 10.82-24 24.02-24s23.98 10.8 23.98 24v32h32c13.2 0 24.02 10.8 24.02 24c-.02 13.2-9.92 24-24.02 24zm184 64c-22.12 0-39.1-17.87-39.1-39.1s17.87-40 39.1-40s39.1 17.88 39.1 40s-16.1 39.1-39.1 39.1zm64-96c-22.12 0-39.1-17.87-39.1-39.1s17.87-40 39.1-40c22.12 0 39.1 17.88 39.1 40S518.1 248 495.1 248z"}})]),e("h6",[t._v(t._s(t.metal.title))]),e("h5",[t._v(t._s(t.metal.total_qty)+" عدد")]),e("h5",[t._v(t._s(t._f("price")(t.metal.total_total_price))+" تومان")])])])]),e("vx-card",{staticClass:"mb-8 overflow-auto w-full"},[e("ADescriptions",{attrs:{title:"اطلاعات فردی"}},[e("ADescriptionsItem",{attrs:{label:"نام"}},[t._v("\n "+t._s(t.customer.name)+"\n ")]),e("ADescriptionsItem",{attrs:{label:"شماره موبایل"}},[t._v("\n "+t._s(t.customer.mobile)+"\n ")]),e("ADescriptionsItem",{attrs:{label:"جنسیت"}},[t._v("\n "+t._s(t.customer.sex_str)+"\n ")]),e("ADescriptionsItem",{attrs:{label:"ایمیل"}},[t._v("\n "+t._s(t.customer.email)+"\n ")]),e("ADescriptionsItem",{attrs:{label:"کد ملی"}},[t._v("\n "+t._s(t.customer.ncode)+"\n ")]),e("ADescriptionsItem",{attrs:{label:"تاریخ تولد"}},[t._v("\n "+t._s(t._f("jdate")(t.customer.birth_date))+"\n ")]),e("ADescriptionsItem",{attrs:{label:"تاریخ ازدواج"}},[t._v("\n "+t._s(t._f("jdate")(t.customer.marriage_date))+"\n ")]),e("ADescriptionsItem",{attrs:{label:"استان"}},[t._v("\n "+t._s(t.customer.state)+"\n ")]),e("ADescriptionsItem",{attrs:{label:"شهر"}},[t._v("\n "+t._s(t.customer.city)+"\n ")]),e("ADescriptionsItem",{attrs:{label:"کد پستی"}},[t._v("\n "+t._s(t.customer.post_code)+"\n ")]),e("ADescriptionsItem",{attrs:{label:"تلفن ثابت"}},[t._v("\n "+t._s(t.customer.phone_number)+"\n ")]),e("ADescriptionsItem",{attrs:{label:"شماره حساب"}},[t._v("\n "+t._s(t.customer.bank_number)+"\n ")]),e("ADescriptionsItem",{attrs:{label:"وبسایت"}},[t._v("\n "+t._s(t.customer.website)+"\n ")]),e("ADescriptionsItem",{attrs:{label:"اینستاگرام"}},[t._v("\n "+t._s(t.customer.instagram)+"\n ")]),e("ADescriptionsItem",{attrs:{label:"نام فروشکاه"}},[t._v("\n "+t._s(t.customer.shope_name)+"\n ")]),e("ADescriptionsItem",{attrs:{label:"توضیحات"}},[t._v("\n "+t._s(t.customer.description)+"\n ")]),e("ADescriptionsItem",{attrs:{label:"کد مالی"}},[t._v("\n "+t._s(t.customer.financial_code)+"\n ")]),e("ADescriptionsItem",{attrs:{label:"نام چاپی"}},[t._v("\n "+t._s(t.customer.print_name)+"\n ")])],1)],1)],1)],1)],1)},n=[],a=(s("96cf"),s("1da1")),i=(s("7514"),s("bb36")),c=s("ff6e"),o=s("ef59"),l=s("c607"),u={name:"viewSingleCustomer",components:{XTable:c["a"],Orders:l["default"],list:o["a"]},data:function(){return{customer:{},infType:0,info:{collection:[]},loading:!1}},computed:{id:function(){return this.$router.history.current.params.id},polish:function(){return this.info.collection.find((function(t){return 3===t.collection_id}))||{}},game:function(){return this.info.collection.find((function(t){return 13===t.collection_id}))||{}},metal:function(){return this.info.collection.find((function(t){return 14===t.collection_id}))||{}}},methods:{getCustomer:function(){var t=Object(a["a"])(regeneratorRuntime.mark((function t(){var e,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,this.loading=!0,t.next=4,i["b"].get("/admin/customer/".concat(this.id));case 4:e=t.sent,s=e.data,this.customer=s,t.next=13;break;case 9:t.prev=9,t.t0=t["catch"](0),console.log(t.t0),this.$ntServerError();case 13:return t.prev=13,this.loading=!1,t.finish(13);case 16:case"end":return t.stop()}}),t,this,[[0,9,13,16]])})));function e(){return t.apply(this,arguments)}return e}(),getInfo:function(){var t=Object(a["a"])(regeneratorRuntime.mark((function t(){var e,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,this.loading=!0,t.next=4,i["b"].get("/admin/customer/info/".concat(this.id));case 4:e=t.sent,s=e.data,this.info=s,t.next=12;break;case 9:t.prev=9,t.t0=t["catch"](0),console.log(t.t0);case 12:return t.prev=12,this.loading=!1,t.finish(12);case 15:case"end":return t.stop()}}),t,this,[[0,9,12,15]])})));function e(){return t.apply(this,arguments)}return e}()},created:function(){var t=Object(a["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.getCustomer();case 2:return t.next=4,this.getInfo();case 4:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},f=u,d=(s("03f7"),s("2877")),m=Object(d["a"])(f,r,n,!1,null,null,null);e["default"]=m.exports},ef59:function(t,e,s){"use strict";s("7f7f");var r=function(){var t=this,e=t._self._c;return e("vx-card",{attrs:{title:"جدول اعلان پیامک ها"}},[e("XTable",{ref:"sms",attrs:{model:t.cols,"default-filters":t.smsDefaultFilter},scopedSlots:t._u([{key:"name",fn:function(s){s.text;var r=s.record;return e("div",{},[t._v("\n "+t._s(r.name||"بدون نام")+"\n ")])}},{key:"message",fn:function(s){s.text;var r=s.record;return e("a-tooltip",{attrs:{placement:"right"},scopedSlots:t._u([{key:"title",fn:function(){return[e("div",[t._v(t._s(r.message))])]},proxy:!0}])},[e("div",{staticClass:"message_slot cursor-pointer"},[t._v("\n "+t._s(r.message||"بدون متن")+"\n ")])])}},{key:"user_id",fn:function(s){s.text;var r=s.record;return e("div",{},[t._v("\n "+t._s(r.user_id||"بدون کد")+"\n ")])}},{key:"type_send_str",fn:function(s){s.text;var r=s.record;return e("div",{},[t._v("\n "+t._s(r.type_send_str||"بدون نوع")+"\n ")])}},{key:"caj",fn:function(s){s.text;var r=s.record;return e("div",{},[t._v("\n "+t._s(r.caj)+"\n ")])}}])})],1)},n=[],a=(s("96cf"),s("1da1")),i=s("26ef"),c=s("e0d2"),o=new c["b"]("https://kidslandtoys.com/kernel/admin/sms/table","لیست ویزیت ها");o.add(new c["a"]("mobile","شماره موبایل گیرنده").filterNumber()),o.add(new c["a"]("name","نام کاربر").filterText().renderSlot("name")),o.add(new c["a"]("created_at","زمان ارسال").filterDate().renderSlot("caj").filterKey("created_at")),o.add(new c["a"]("type_send_str","نوع پیام").filterText().renderSlot("type_send_str")),o.add(new c["a"]("user_id","کد کاربر ارسال کننده").filterText().renderSlot("user_id")),o.add(new c["a"]("message","متن پیام").filterText().renderSlot("message"));var l=o,u={name:"list",data:function(){return{cols:l}},components:{XTable:i["a"]},computed:{smsDefaultFilter:function(){return this.$route.params.id?[{cr:"and",index:0,field:"customer_id",type:"default",id:.1,op:"eq",value:this.$route.params.id}]:void 0}},methods:{fetch:function(){var t=Object(a["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$refs.sms.fetch();case 2:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()}},f=u,d=s("2877"),m=Object(d["a"])(f,r,n,!1,null,"50b2acf2",null);e["a"]=m.exports}}]); //# sourceMappingURL=chunk-524112d2.e7dc0fa8.js.map
Copyright ©2k19 -
Hexid
|
Tex7ure