/
home
/
henzagold
/
customerB
/
export
/
js
/
File Upload :
llllll
Current File: /home/henzagold/customerB/export/js/chunk-40c8fb04.f3b8b601.js.map
{"version":3,"sources":["webpack:///./src/components/Pagination.vue","webpack:///src/components/Pagination.vue","webpack:///./src/components/Pagination.vue?0ab9","webpack:///./src/components/Pagination.vue?5e6a","webpack:///./src/components/Pagination.vue?9e39","webpack:///./src/views/Panel_Views/dashboard.vue?9c23","webpack:///./src/components/modal.vue","webpack:///src/components/modal.vue","webpack:///./src/components/modal.vue?7059","webpack:///./src/components/modal.vue?2151","webpack:///./src/views/Panel_Views/dashboard.vue","webpack:///src/views/Panel_Views/dashboard.vue","webpack:///./src/views/Panel_Views/dashboard.vue?6c65","webpack:///./src/views/Panel_Views/dashboard.vue?febf"],"names":["render","_vm","this","_c","_self","directives","name","rawName","value","totalPages","expression","staticClass","staticStyle","on","onClickFirstPage","attrs","_e","onClickPreviousPage","_l","pages","item","page","key","class","isPageActive","isDisabled","$event","onClickPage","_v","_s","onClickNextPage","onClickLastPage","staticRenderFns","data","props","maxVisibleButtons","type","required","default","watch","computed","startPage","endPage","range","isInFirstPage","isInLastPage","methods","mounted","component","m","style","maxWidth","_t","model","prop","event","console","get","set","document","flag","_f","sum","total_orders","sum_last_30_days","walletModel","wallet","gold","credit","user","fname","lname","phone","email","scopedSlots","_u","fn","proxy","walletTransactions","rows","index","id","transaction_type","Math","abs","expire_at","showTransactionDetails","ceil","count","pagination","limit","getWalletTransactions","callback","$$v","$set","walletItem","note","order","caj","sts_str","walletItemModel","togglePreLoader","components","Icon","modal","str_error","title","time","text","color","icon"],"mappings":"yIAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,KAAK,CAACE,WAAW,CAAC,CAACC,KAAK,OAAOC,QAAQ,SAASC,MAAOP,EAAIQ,WAAa,EAAGC,WAAW,mBAAmBC,YAAY,cAAc,CAACR,EAAG,KAAK,CAACQ,YAAY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BACAC,+BACAC,uBAGA,iBACAJ,qBACAC,UACAC,OACAC,+BACAC,wBAKA,QACA,gCAGAxB,0BACA,kBACA,6CAGA,sBACA,uBACA,mCACA,wBACA,4FClekW,I,wBCQ9VtC,EAAY,eACd,EACAhD,EACAgC,GACA,EACA,KACA,WACA,MAIa,aAAAgB,E","file":"js/chunk-40c8fb04.f3b8b601.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('ul',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.totalPages > 1),expression:\"totalPages > 1\"}],staticClass:\"pagination\"},[_c('li',{staticClass:\"page-item page-first\"},[(_vm.totalPages>1)?_c('a',{staticClass:\"page-link\",staticStyle:{\"padding\":\"12px\"},on:{\"click\":_vm.onClickFirstPage}},[_c('svg',{staticStyle:{\"width\":\"24px\",\"height\":\"24px\"},attrs:{\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"fill\":\"currentColor\",\"d\":\"M5.59,7.41L7,6L13,12L7,18L5.59,16.59L10.17,12L5.59,7.41M11.59,7.41L13,6L19,12L13,18L11.59,16.59L16.17,12L11.59,7.41Z\"}})])]):_vm._e()]),_c('li',{staticClass:\"page-item page-first\"},[(_vm.totalPages>1)?_c('a',{staticClass:\"page-link\",staticStyle:{\"padding\":\"12px\"},on:{\"click\":_vm.onClickPreviousPage}},[_c('svg',{staticStyle:{\"width\":\"24px\",\"height\":\"24px\"},attrs:{\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"fill\":\"currentColor\",\"d\":\"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z\"}})])]):_vm._e()]),_vm._l((_vm.pages),function(item,page){return _c('li',{key:page,class:['page-item',_vm.isPageActive(_vm.pages[page].name) ? 'active':null]},[_c('a',{staticClass:\"page-link\",attrs:{\"disabled\":_vm.pages[page].isDisabled},on:{\"click\":function($event){return _vm.onClickPage(_vm.pages[page].name)}}},[_vm._v(_vm._s(_vm.pages[page].name))])])}),_c('li',{staticClass:\"page-item page-increment\"},[(_vm.totalPages>1)?_c('a',{staticClass:\"page-link\",staticStyle:{\"padding\":\"12px\"},on:{\"click\":_vm.onClickNextPage}},[_c('svg',{staticStyle:{\"width\":\"24px\",\"height\":\"24px\"},attrs:{\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"fill\":\"currentColor\",\"d\":\"M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z\"}})])]):_vm._e()]),_c('li',{staticClass:\"page-item page-last\"},[(_vm.totalPages>1)?_c('a',{staticClass:\"page-link\",staticStyle:{\"padding\":\"12px\"},on:{\"click\":_vm.onClickLastPage}},[_c('svg',{staticStyle:{\"width\":\"24px\",\"height\":\"24px\"},attrs:{\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"fill\":\"currentColor\",\"d\":\"M18.41,7.41L17,6L11,12L17,18L18.41,16.59L13.83,12L18.41,7.41M12.41,7.41L11,6L5,12L11,18L12.41,16.59L7.83,12L12.41,7.41Z\"}})])]):_vm._e()])],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <ul class=\"pagination\" v-show=\"totalPages > 1\">\r\n <li class=\"page-item page-first\" >\r\n <a style=\"padding: 12px;\" class=\"page-link\" @click=\"onClickFirstPage\" v-if=\"totalPages>1\" >\r\n <svg style=\"width:24px;height:24px\" viewBox=\"0 0 24 24\">\r\n <path fill=\"currentColor\" d=\"M5.59,7.41L7,6L13,12L7,18L5.59,16.59L10.17,12L5.59,7.41M11.59,7.41L13,6L19,12L13,18L11.59,16.59L16.17,12L11.59,7.41Z\" />\r\n </svg>\r\n </a>\r\n </li>\r\n <li class=\"page-item page-first\">\r\n <a style=\"padding: 12px;\" class=\"page-link\" @click=\"onClickPreviousPage\" v-if=\"totalPages>1\" >\r\n <svg style=\"width:24px;height:24px\" viewBox=\"0 0 24 24\">\r\n <path fill=\"currentColor\" d=\"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z\" />\r\n </svg>\r\n </a>\r\n </li>\r\n\r\n<li v-for=\"(item, page) in pages\" :key=\"page\" :class=\"['page-item',isPageActive(pages[page].name) ? 'active':null]\" >\r\n <a class=\"page-link\" @click=\"onClickPage(pages[page].name)\" :disabled=\"pages[page].isDisabled\" >{{ pages[page].name }}</a>\r\n </li>\r\n\r\n <li class=\"page-item page-increment\">\r\n <a style=\"padding: 12px;\" class=\"page-link\" @click=\"onClickNextPage\" v-if=\"totalPages>1\" >\r\n <svg style=\"width:24px;height:24px\" viewBox=\"0 0 24 24\">\r\n <path fill=\"currentColor\" d=\"M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z\" />\r\n </svg>\r\n </a>\r\n </li>\r\n\r\n <li class=\"page-item page-last\">\r\n <a style=\"padding: 12px;\" class=\"page-link\" @click=\"onClickLastPage\" v-if=\"totalPages>1\" >\r\n <svg style=\"width:24px;height:24px\" viewBox=\"0 0 24 24\">\r\n <path fill=\"currentColor\" d=\"M18.41,7.41L17,6L11,12L17,18L18.41,16.59L13.83,12L18.41,7.41M12.41,7.41L11,6L5,12L11,18L12.41,16.59L7.83,12L12.41,7.41Z\" />\r\n </svg>\r\n </a>\r\n </li>\r\n </ul>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n data(){\r\n return {\r\n //tempValue:this.value,\r\n }\r\n },\r\n props: {\r\n maxVisibleButtons: {\r\n type: Number,\r\n required: false,\r\n default: 6\r\n },\r\n totalPages: {\r\n type: Number,\r\n required: true\r\n },\r\n /* total: {\r\n type: Number,\r\n required: true\r\n },*/\r\n /* perPage: {\r\n type: Number,\r\n required: true\r\n },*/\r\n /*currentPage: {\r\n type: Number,\r\n required: true\r\n },*/\r\n value:{\r\n\r\n },\r\n },\r\n watch:{\r\n /* value(newValue){\r\n //console.log(newValue,\"this is new value\");\r\n },*/\r\n },\r\n computed: {\r\n startPage() {\r\n if (this.value === 1) {\r\n return 1;\r\n }\r\n\r\n if (this.value === this.totalPages) {\r\n //console.log(this.totalPages - this.maxVisibleButtons + 1);\r\n if (this.totalPages>this.maxVisibleButtons)\r\n {\r\n return this.totalPages - this.maxVisibleButtons + 1;\r\n }\r\n return 1;\r\n\r\n }\r\n return this.value - 1;\r\n\r\n },\r\n endPage() {\r\n return Math.min(this.startPage + this.maxVisibleButtons - 1, this.totalPages);\r\n },\r\n pages() {\r\n // console.log(\"page in paginantion\",this.value);\r\n const range = [];\r\n //console.log(this.startPage);\r\n for (let i = this.startPage; i <= this.endPage; i+= 1 ) {\r\n range.push({\r\n name: i,\r\n isDisabled: i === this.value\r\n });\r\n //console.log(range);\r\n }\r\n return range;\r\n },\r\n isInFirstPage() {\r\n return this.value === 1;\r\n },\r\n isInLastPage() {\r\n return this.value === this.totalPages;\r\n },\r\n },\r\n methods: {\r\n onClickFirstPage() {\r\n this.$emit('input', 1);\r\n this.$emit('pagechanged', 1);\r\n },\r\n onClickPreviousPage() {\r\n if(this.value>1)\r\n this.$emit('input', this.value - 1);\r\n this.$emit('pagechanged', this.value - 1);\r\n },\r\n onClickPage(page) {\r\n this.$emit('input', page);\r\n this.$emit('pagechanged', page);\r\n },\r\n onClickNextPage() {\r\n if(this.value <this.totalPages) {\r\n this.$emit('input', this.value + 1);\r\n this.$emit('pagechanged', this.value + 1);\r\n }\r\n },\r\n onClickLastPage() {\r\n //this.value + 1\r\n this.$emit('input',this.totalPages );\r\n this.$emit('pagechanged', this.totalPages);\r\n },\r\n isPageActive(page) {\r\n return this.value === page;\r\n },\r\n },\r\n mounted() {\r\n\r\n }\r\n}\r\n</script>\r\n\r\n<style>\r\nli{\r\n cursor: pointer;\r\n -webkit-touch-callout: none; /* iOS Safari */\r\n -webkit-user-select: none; /* Safari */\r\n -khtml-user-select: none; /* Konqueror HTML */\r\n -moz-user-select: none; /* Old versions of Firefox */\r\n -ms-user-select: none; /* Internet Explorer/Edge */\r\n user-select: none; /* Non-prefixed version, currently\r\n supported by Chrome, Edge, Opera and Firefox */\r\n}\r\n.page-item:first-child .page-link {\r\n margin-left: 15px !important;\r\n}\r\n\r\n/*// Extra small devices (portrait phones, less than 576px)*/\r\n@media (max-width: 575.98px) {\r\n .page-first,.page-last,.page-increment,.page-decrement\r\n {\r\n display: none;\r\n }\r\n}\r\n/*// Small devices (landscape phones, 576px and up)*/\r\n@media (min-width: 576px) and (max-width: 767.98px) {\r\n\r\n}\r\n/*// Medium devices (tablets, 768px and up)*/\r\n@media (min-width: 768px) and (max-width: 991.98px) {\r\n\r\n}\r\n/*// Large devices (desktops, 992px and up)*/\r\n@media (min-width: 992px) and (max-width: 1199.98px) {\r\n .page-first,.page-last\r\n {\r\n display: none;\r\n }\r\n}\r\n/*// Extra large devices (large desktops, 1200px and up)*/\r\n@media (min-width: 1200px) {\r\n /*body{\r\n background: red;\r\n }*/\r\n}\r\n\r\n/*!* Extra small devices (phones, 600px and down) *!\r\n@media only screen and (max-width: 600px) {\r\n\r\n}\r\n\r\n!* Small devices (portrait tablets and large phones, 600px and up) *!\r\n@media only screen and (min-width: 600px) {\r\n\r\n}\r\n\r\n!* Medium devices (landscape tablets, 768px and up) *!\r\n@media only screen and (min-width: 768px) {\r\n\r\n}\r\n\r\n!* Large devices (laptops/desktops, 992px and up) *!\r\n@media only screen and (min-width: 992px) {\r\n .page-first,.page-last\r\n {\r\n display: none;\r\n }\r\n}\r\n\r\n!* Extra large devices (large laptops and desktops, 1200px and up) *!\r\n@media only screen and (min-width: 1200px) {\r\n\r\n}*/\r\n\r\n\r\n/*.pagination {\r\n list-style-type: none;\r\n}\r\n\r\n.pagination-item {\r\n display: inline-block;\r\n}*/\r\n\r\n/*\r\n.active {\r\n background-color: #4AAE9B;\r\n color: #ffffff;\r\n}\r\n*/\r\n\r\n\r\n\r\n</style>\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Pagination.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Pagination.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Pagination.vue?vue&type=template&id=39ac4ccc&\"\nimport script from \"./Pagination.vue?vue&type=script&lang=js&\"\nexport * from \"./Pagination.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Pagination.vue?vue&type=style&index=0&id=39ac4ccc&prod&lang=css&\"\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--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Pagination.vue?vue&type=style&index=0&id=39ac4ccc&prod&lang=css&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./dashboard.vue?vue&type=style&index=0&id=9437043a&prod&lang=css&scoped=true&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"modal quick-view-modal\",class:_vm.m?'fade-in show':'fade',staticStyle:{\"display\":\"block\"},attrs:{\"role\":\"dialog\"}},[_c('div',{staticClass:\"vs-sidebar--background\",on:{\"click\":function($event){_vm.m=false}}}),_c('div',{staticClass:\"modal-dialog modal-lg modal-dialog-centered\",attrs:{\"role\":\"document\"}},[_c('div',{staticClass:\"modal-content\",style:({maxWidth: _vm.maxWidth})},[_c('div',{staticClass:\"modal-body\"},[_c('div',{staticClass:\"close-btn close-dark\",on:{\"click\":function($event){_vm.m=false}}},[_c('span'),_c('span')]),_c('h4',{staticClass:\"center\",staticStyle:{\"padding\":\"8px\",\"font-size\":\"1.2rem\",\"margin-bottom\":\"0\"}},[_vm._t(\"header\")],2),_vm._t(\"body\")],2)])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div style=\"display: block\" class=\"modal quick-view-modal\" :class=\"m?'fade-in show':'fade'\" role=\"dialog\">\r\n\r\n <div class=\"vs-sidebar--background\" @click=\"m=false\"></div>\r\n\r\n <div class=\"modal-dialog modal-lg modal-dialog-centered\" role=\"document\">\r\n <div class=\"modal-content\" :style=\"{maxWidth}\">\r\n <div class=\"modal-body\">\r\n <div class=\"close-btn close-dark\" @click=\"m=false\">\r\n <span></span>\r\n <span></span>\r\n </div>\r\n <h4 class=\"center\" style=\"padding: 8px;font-size: 1.2rem;margin-bottom: 0;\">\r\n <slot name=\"header\"></slot>\r\n </h4>\r\n <slot name=\"body\"></slot>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n props:{\r\n maxWidth:{\r\n required: false,\r\n type: String\r\n },\r\n model:{\r\n type:Boolean,\r\n default:false\r\n }\r\n },\r\n model: {\r\n prop: 'model',\r\n event: 'change'\r\n },\r\n watch:{\r\n model(value){\r\n if (!value){\r\n console.log(close)\r\n this.$emit('close')\r\n }\r\n }\r\n },\r\n computed: {\r\n m: {\r\n get: function() {\r\n return this.model\r\n },\r\n set: function(value) {\r\n document.body.classList.toggle('modal-open');\r\n this.$emit('change', value)\r\n }\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style>\r\n</style>","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./modal.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./modal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./modal.vue?vue&type=template&id=c7b3587a&\"\nimport script from \"./modal.vue?vue&type=script&lang=js&\"\nexport * from \"./modal.vue?vue&type=script&lang=js&\"\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","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.flag)?_c('div',[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-lg-4 data-list-container\"},[_c('div',{staticClass:\"con-vs-card min-h-210\"},[_c('div',{staticClass:\"vs-card--content\"},[_c('div',{staticClass:\"flex items-center\"},[_c('div',{staticClass:\"p-4 flex-1\"},[_c('div',{staticClass:\"center\"},[_c('div',{staticClass:\"cricle\",staticStyle:{\"background\":\"var(--secondary-color)\"}},[_c('svg',{attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"height\":\"30px\",\"viewBox\":\"0 0 24 24\",\"width\":\"30px\",\"fill\":\"#fff\"}},[_c('path',{attrs:{\"d\":\"M0 0h24v24H0V0z\",\"fill\":\"none\"}}),_c('path',{attrs:{\"d\":\"M11.8 10.9c-2.27-.59-3-1.2-3-2.15 0-1.09 1.01-1.85 2.7-1.85 1.78 0 2.44.85 2.5 2.1h2.21c-.07-1.72-1.12-3.3-3.21-3.81V3h-3v2.16c-1.94.42-3.5 1.68-3.5 3.61 0 2.31 1.91 3.46 4.7 4.13 2.5.6 3 1.48 3 2.41 0 .69-.49 1.79-2.7 1.79-2.06 0-2.87-.92-2.98-2.1h-2.2c.12 2.19 1.76 3.42 3.68 3.83V21h3v-2.15c1.95-.37 3.5-1.5 3.5-3.55 0-2.84-2.43-3.81-4.7-4.4z\"}})])]),_c('h6',{staticClass:\"card-title minh40\"},[_vm._v(\"جمع مبلغ کل خرید\")]),_c('h5',[_vm._v(_vm._s(_vm._f(\"price\")(_vm.data.sum)))]),_c('h5',[_vm._v(\"تومان\")])])])])])])]),_c('div',{staticClass:\"col-lg-4 data-list-container\"},[_c('div',{staticClass:\"con-vs-card min-h-210\"},[_c('div',{staticClass:\"vs-card--content\"},[_c('div',{staticClass:\"flex items-center\"},[_c('div',{staticClass:\"p-4 flex-1\"},[_c('div',{staticClass:\"center\"},[_c('div',{staticClass:\"cricle\",staticStyle:{\"background\":\"var(--primary-color)\"}},[_c('svg',{attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"enable-background\":\"new 0 0 24 24\",\"height\":\"30px\",\"viewBox\":\"0 0 24 24\",\"width\":\"30px\",\"fill\":\"#fff\"}},[_c('g',[_c('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\"}})])])]),_c('h6',{staticClass:\"card-title minh40\"},[_vm._v(\"جمع کل تعداد خرید\")]),_c('h5',[_vm._v(_vm._s(_vm.data.total_orders))]),_c('h5',[_vm._v(\"عدد\")])])])])])])]),_c('div',{staticClass:\"col-lg-4 data-list-container\"},[_c('div',{staticClass:\"con-vs-card min-h-210\"},[_c('div',{staticClass:\"vs-card--content\"},[_c('div',{staticClass:\"flex items-center\"},[_c('div',{staticClass:\"p-4 flex-1\"},[_c('div',{staticClass:\"center\"},[_c('div',{staticClass:\"cricle\",staticStyle:{\"background\":\"var(--secondary-color)\"}},[_c('svg',{attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"height\":\"30px\",\"viewBox\":\"0 0 24 24\",\"width\":\"30px\",\"fill\":\"#fff\"}},[_c('path',{attrs:{\"d\":\"M0 0h24v24H0V0z\",\"fill\":\"none\"}}),_c('path',{attrs:{\"d\":\"M11.8 10.9c-2.27-.59-3-1.2-3-2.15 0-1.09 1.01-1.85 2.7-1.85 1.78 0 2.44.85 2.5 2.1h2.21c-.07-1.72-1.12-3.3-3.21-3.81V3h-3v2.16c-1.94.42-3.5 1.68-3.5 3.61 0 2.31 1.91 3.46 4.7 4.13 2.5.6 3 1.48 3 2.41 0 .69-.49 1.79-2.7 1.79-2.06 0-2.87-.92-2.98-2.1h-2.2c.12 2.19 1.76 3.42 3.68 3.83V21h3v-2.15c1.95-.37 3.5-1.5 3.5-3.55 0-2.84-2.43-3.81-4.7-4.4z\"}})])]),_c('h6',{staticClass:\"card-title minh40\"},[_vm._v(\"جمع مبلغ خرید ماه گذشته\")]),_c('h5',[_vm._v(_vm._s(_vm._f(\"price\")(_vm.data.sum_last_30_days)))]),_c('h5',[_vm._v(\"تومان\")])])])])])])])]),_c('div',{staticClass:\"row same-height\"},[_c('div',{staticClass:\"col-lg-4 data-list-container\"},[_c('div',{staticClass:\"con-vs-card minh251\",on:{\"click\":function($event){_vm.walletModel = true}}},[_c('div',{staticClass:\"vs-card content\"},[_c('div',{staticClass:\"flex items-center minh251\"},[_c('div',{staticClass:\"p-4 flex-1\"},[_c('div',{staticClass:\"center\"},[_c('div',{staticClass:\"cricle cursor-pointer\",staticStyle:{\"background\":\"var(--primary-color)\"}},[_c('Icon',{staticStyle:{\"font-size\":\"30px\",\"color\":\"#fff\"},attrs:{\"icon\":\"ion:wallet-outline\"}})],1),_c('h6',{staticClass:\"card-title minh40\"},[_vm._v(\"موجودی کیف پول\")]),_c('h5',[_vm._v(_vm._s(_vm.wallet && _vm.wallet.gold ? _vm.wallet.gold : 0)+\" گرم\")]),_c('h5',[_vm._v(_vm._s(_vm._f(\"price\")((_vm.wallet && _vm.wallet.credit ? _vm.wallet.credit : 0)))+\" تومان\")]),_c('div',{staticClass:\"text-secondary\"},[_vm._v(\"نمایش جزئیات\")])])])])])])]),_c('div',{staticClass:\"col-lg-8 data-list-container\"},[_c('div',{staticClass:\"con-vs-card minh251\"},[_c('div',{staticClass:\"card-header row\",staticStyle:{\"background\":\"unset\",\"border\":\"0\"}},[_c('div',{staticClass:\"cricle a-cricle\",staticStyle:{\"background\":\"#e5e5e563\"}},[_c('svg',{staticClass:\"feather feather-heart\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"width\":\"24px\",\"height\":\"24px\",\"viewBox\":\"0 0 24 24\",\"fill\":\"none\",\"stroke\":\"currentColor\",\"stroke-width\":\"2\",\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\"}},[_c('path',{attrs:{\"d\":\"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2\"}}),_c('circle',{attrs:{\"cx\":\"12\",\"cy\":\"7\",\"r\":\"4\"}})])]),_c('h3',{staticStyle:{\"line-height\":\"50px\",\"margin-right\":\"20px\"}},[_vm._v(\"اطلاعات کاربری\")])]),_c('div',{staticClass:\"card-body statistics-body\"},[_c('div',{staticClass:\"row my-spacer\"},[_c('div',{staticClass:\"col-sm-6 col-xl-4 mb-2 mb-4\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"نام\")]),_c('div',{staticClass:\"value\"},[_vm._v(_vm._s(_vm.user.fname ? _vm.user.fname : \"__\"))])]),_c('div',{staticClass:\"col-sm-6 col-xl-4 mb-2 mb-4\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"نام خانوادگی\")]),_c('div',{staticClass:\"value\"},[_vm._v(_vm._s(_vm.user.lname ? _vm.user.lname : \"__\"))])]),_c('div',{staticClass:\"col-sm-6 col-xl-4 mb-2 mb-4\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"شماره موبایل\")]),_c('div',{staticClass:\"value\"},[_vm._v(_vm._s(_vm.user.phone ? _vm.user.phone : \"__\"))])]),_c('div',{staticClass:\"col-sm-6 col-xl-4 mb-2 mb-4\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"ایمیل\")]),_c('div',{staticClass:\"value\",staticStyle:{\"font-size\":\"1em\"}},[_vm._v(_vm._s(_vm.user.email ? _vm.user.email : \"__\"))])])])])])])]),_c('modal',{scopedSlots:_vm._u([{key:\"header\",fn:function(){return [_vm._v(\" تراکنش های کیف پول من \")]},proxy:true},{key:\"body\",fn:function(){return [_c('div',{staticClass:\"vs-popup--content popup-example\"},[_c('div',{staticClass:\"vs-component vs-con-table vs-table-primary\"},[_c('div',{staticClass:\"con-tablex vs-table--content\"},[_c('div',{staticClass:\"vs-con-tbody vs-table--tbody\"},[_c('table',{staticClass:\"vs-table vs-table--tbody-table\"},[_c('thead',{staticClass:\"vs-table--thead\"},[_c('tr',[_c('th',{attrs:{\"colspan\":\"1\",\"rowspan\":\"1\"}},[_vm._v(\" شماره ردیف \")]),_c('th',{attrs:{\"colspan\":\"1\",\"rowspan\":\"1\"}},[_vm._v(\" مقدار \")]),_c('th',{attrs:{\"colspan\":\"1\",\"rowspan\":\"1\"}},[_vm._v(\" تاریخ انقضا \")]),_c('th',[_vm._v(\"عملیات\")])])]),_vm._l((_vm.walletTransactions.rows),function(item,index){return _c('tr',{key:index,staticClass:\"tr-values vs-table--tr tr-table-state-null\"},[_c('td',{staticClass:\"td vs-table--td\"},[_c('span',[_vm._v(\" \"+_vm._s(item.id)+\" \")])]),_c('td',{staticClass:\"td vs-table--td\",class:{'text-danger' : item.value < 0,'text-success' : item.value > 0,}},[(item.transaction_type == 2)?_c('span',[_vm._v(\" \"+_vm._s(_vm._f(\"priceUnit\")(Math.abs(item.value)))+\" \")]):_vm._e(),(item.transaction_type == 1)?_c('span',[_vm._v(\" \"+_vm._s(Math.abs(item.value))+\" گرم \")]):_vm._e(),(item.value > 0)?_c('span',[_vm._v(\" به کیف پول اضافه شد\")]):_c('span',[_vm._v(\" از کیف پول برداشته شد\")])]),_c('td',{staticClass:\"td vs-table--td\"},[_c('span',[_vm._v(\" \"+_vm._s(_vm._f(\"empty\")(_vm._f(\"jdate\")(item.expire_at)))+\" \")])]),_c('td',{staticClass:\"center\",attrs:{\"data-title\":\"عملیات \"}},[_c('div',{staticClass:\"btn-custom secondary\",on:{\"click\":function($event){return _vm.showTransactionDetails(item)}}},[_vm._v(\"مشاهده جزئیات\")])])])})],2),_c('pagination',{attrs:{\"total-pages\":Math.ceil(_vm.walletTransactions.count/_vm.pagination.limit)},on:{\"pagechanged\":_vm.getWalletTransactions},model:{value:(_vm.pagination.page),callback:function ($$v) {_vm.$set(_vm.pagination, \"page\", $$v)},expression:\"pagination.page\"}})],1)])])])]},proxy:true}],null,false,512342804),model:{value:(_vm.walletModel),callback:function ($$v) {_vm.walletModel=$$v},expression:\"walletModel\"}}),_c('modal',{scopedSlots:_vm._u([{key:\"header\",fn:function(){return [_vm._v(\" جزئیات تراکنش \"+_vm._s(_vm.walletItem.id)+\" \")]},proxy:true},{key:\"body\",fn:function(){return [_c('div',{staticClass:\"row overflow-auto\"},[_c('div',{staticClass:\"col-sm-6 col-xl-4 mb-2 mb-4\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"شماره تراکنش\")]),_c('div',{staticClass:\"value\"},[_vm._v(_vm._s(_vm.walletItem.id))])]),_c('div',{staticClass:\"col-sm-6 col-xl-4 mb-2 mb-4\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"میزان تراکنش\")]),_c('div',{staticClass:\"value p-0\",class:{'text-danger' : _vm.walletItem.value < 0,'text-success' : _vm.walletItem.value > 0,}},[(_vm.walletItem.transaction_type == 2)?_c('span',[_vm._v(\" \"+_vm._s(_vm._f(\"priceUnit\")(Math.abs(_vm.walletItem.value)))+\" \")]):_vm._e(),(_vm.walletItem.transaction_type == 1)?_c('span',[_vm._v(\" \"+_vm._s(Math.abs(_vm.walletItem.value))+\" گرم \")]):_vm._e(),(_vm.walletItem.value > 0)?_c('span',[_vm._v(\" به کیف پول اضافه شد\")]):_c('span',[_vm._v(\" از کیف پول برداشته شد\")])])]),_c('div',{staticClass:\"col-sm-6 col-xl-4 mb-2 mb-4\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"تاریخ انقضا\")]),_c('div',{staticClass:\"value\"},[_vm._v(_vm._s(_vm._f(\"empty\")(_vm._f(\"jdate\")(_vm.walletItem.expire_at))))])]),_c('div',{staticClass:\"col-sm-6 col-xl-4 mb-2 mb-4\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"یادداشت\")]),_c('div',{staticClass:\"value\"},[_vm._v(_vm._s(_vm.walletItem.note))])]),_c('div',{staticClass:\"col-sm-6 col-xl-4 mb-2 mb-4\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"شماره سفارش\")]),_c('div',{staticClass:\"value\"},[_vm._v(_vm._s(_vm.walletItem.order.id || '-'))])]),_c('div',{staticClass:\"col-sm-6 col-xl-4 mb-2 mb-4\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"تاریخ ثبت سفارش\")]),_c('div',{staticClass:\"value\"},[_vm._v(_vm._s(_vm.walletItem.order.caj || '-'))])]),_c('div',{staticClass:\"col-sm-6 col-xl-4 mb-2 mb-4\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"وضعیت سفارش\")]),_c('div',{staticClass:\"value\"},[_vm._v(_vm._s(_vm.walletItem.order.sts_str || '-'))])])])]},proxy:true}],null,false,563965406),model:{value:(_vm.walletItemModel),callback:function ($$v) {_vm.walletItemModel=$$v},expression:\"walletItemModel\"}})],1):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div v-if=\"flag\">\r\n\r\n <div class=\"row\">\r\n <div class=\"col-lg-4 data-list-container\">\r\n <div class=\"con-vs-card min-h-210\">\r\n <div class=\"vs-card--content\">\r\n <div class=\"flex items-center\">\r\n <div class=\"p-4 flex-1\">\r\n\r\n <div class=\"center\">\r\n <div style=\"background: var(--secondary-color);\" class=\"cricle\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" height=\"30px\" viewBox=\"0 0 24 24\" width=\"30px\"\r\n fill=\"#fff\">\r\n <path d=\"M0 0h24v24H0V0z\" fill=\"none\"/>\r\n <path\r\n d=\"M11.8 10.9c-2.27-.59-3-1.2-3-2.15 0-1.09 1.01-1.85 2.7-1.85 1.78 0 2.44.85 2.5 2.1h2.21c-.07-1.72-1.12-3.3-3.21-3.81V3h-3v2.16c-1.94.42-3.5 1.68-3.5 3.61 0 2.31 1.91 3.46 4.7 4.13 2.5.6 3 1.48 3 2.41 0 .69-.49 1.79-2.7 1.79-2.06 0-2.87-.92-2.98-2.1h-2.2c.12 2.19 1.76 3.42 3.68 3.83V21h3v-2.15c1.95-.37 3.5-1.5 3.5-3.55 0-2.84-2.43-3.81-4.7-4.4z\"/>\r\n </svg>\r\n </div>\r\n <h6 class=\"card-title minh40\">جمع مبلغ کل خرید</h6>\r\n <h5>{{ data.sum |price }}</h5>\r\n <h5>تومان</h5>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"col-lg-4 data-list-container\">\r\n <div class=\"con-vs-card min-h-210\">\r\n <div class=\"vs-card--content\">\r\n <div class=\"flex items-center\">\r\n <div class=\"p-4 flex-1\">\r\n <div class=\"center\">\r\n <div style=\"background: var(--primary-color)\" class=\"cricle\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" enable-background=\"new 0 0 24 24\" height=\"30px\"\r\n viewBox=\"0 0 24 24\" width=\"30px\" fill=\"#fff\">\r\n <g>\r\n <path\r\n 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\"/>\r\n </g>\r\n </svg>\r\n </div>\r\n <h6 class=\"card-title minh40\">جمع کل تعداد خرید</h6>\r\n <h5>{{ data.total_orders }}</h5>\r\n <h5>عدد</h5>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"col-lg-4 data-list-container\">\r\n <div class=\"con-vs-card min-h-210\">\r\n <div class=\"vs-card--content\">\r\n <div class=\"flex items-center\">\r\n <div class=\"p-4 flex-1\">\r\n <div class=\"center\">\r\n <div style=\"background: var(--secondary-color)\" class=\"cricle\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" height=\"30px\" viewBox=\"0 0 24 24\" width=\"30px\"\r\n fill=\"#fff\">\r\n <path d=\"M0 0h24v24H0V0z\" fill=\"none\"/>\r\n <path\r\n d=\"M11.8 10.9c-2.27-.59-3-1.2-3-2.15 0-1.09 1.01-1.85 2.7-1.85 1.78 0 2.44.85 2.5 2.1h2.21c-.07-1.72-1.12-3.3-3.21-3.81V3h-3v2.16c-1.94.42-3.5 1.68-3.5 3.61 0 2.31 1.91 3.46 4.7 4.13 2.5.6 3 1.48 3 2.41 0 .69-.49 1.79-2.7 1.79-2.06 0-2.87-.92-2.98-2.1h-2.2c.12 2.19 1.76 3.42 3.68 3.83V21h3v-2.15c1.95-.37 3.5-1.5 3.5-3.55 0-2.84-2.43-3.81-4.7-4.4z\"/>\r\n </svg>\r\n </div>\r\n <h6 class=\"card-title minh40\">جمع مبلغ خرید ماه گذشته</h6>\r\n <h5>{{ data.sum_last_30_days |price }}</h5>\r\n <h5>تومان</h5>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row same-height\">\r\n\r\n <div class=\"col-lg-4 data-list-container\">\r\n <div class=\"con-vs-card minh251\" @click=\"walletModel = true\">\r\n <div class=\"vs-card content\">\r\n <div class=\"flex items-center minh251\">\r\n <div class=\"p-4 flex-1\">\r\n\r\n <div class=\"center\">\r\n <div style=\"background: var(--primary-color);\" class=\"cricle cursor-pointer\">\r\n <Icon icon=\"ion:wallet-outline\" style=\"font-size: 30px;color: #fff\"/>\r\n </div>\r\n <h6 class=\"card-title minh40\">موجودی کیف پول</h6>\r\n <h5>{{ wallet && wallet.gold ? wallet.gold : 0 }} گرم</h5>\r\n <h5>{{ (wallet && wallet.credit ? wallet.credit : 0) |price }} تومان</h5>\r\n <div class=\"text-secondary\">نمایش جزئیات</div>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-lg-8 data-list-container\">\r\n <div class=\"con-vs-card minh251\">\r\n <div class=\"card-header row\" style=\"background: unset;border: 0\">\r\n <div style=\"background: #e5e5e563;\" class=\"cricle a-cricle\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" fill=\"none\"\r\n stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\r\n class=\"feather feather-heart\">\r\n <path d=\"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2\"></path>\r\n <circle cx=\"12\" cy=\"7\" r=\"4\"></circle>\r\n </svg>\r\n </div>\r\n <h3 style=\"line-height: 50px; margin-right: 20px;\">اطلاعات کاربری</h3>\r\n </div>\r\n <div class=\"card-body statistics-body\">\r\n <div class=\"row my-spacer\">\r\n <div class=\"col-sm-6 col-xl-4 mb-2 mb-4\">\r\n <div class=\"title\">نام</div>\r\n <div class=\"value\">{{ user.fname ? user.fname : \"__\" }}</div>\r\n </div>\r\n <div class=\"col-sm-6 col-xl-4 mb-2 mb-4\">\r\n <div class=\"title\">نام خانوادگی</div>\r\n <div class=\"value\">{{ user.lname ? user.lname : \"__\" }}</div>\r\n </div>\r\n <div class=\"col-sm-6 col-xl-4 mb-2 mb-4\">\r\n <div class=\"title\">شماره موبایل</div>\r\n <div class=\"value\">{{ user.phone ? user.phone : \"__\" }}</div>\r\n </div>\r\n <div class=\"col-sm-6 col-xl-4 mb-2 mb-4\">\r\n <div class=\"title\">ایمیل</div>\r\n <div class=\"value\" style=\"font-size: 1em\">{{ user.email ? user.email : \"__\" }}</div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n </div>\r\n <modal v-model=\"walletModel\">\r\n <template v-slot:header>\r\n تراکنش های کیف پول من\r\n </template>\r\n <template v-slot:body>\r\n <div class=\"vs-popup--content popup-example\">\r\n <div class=\"vs-component vs-con-table vs-table-primary\">\r\n <div class=\"con-tablex vs-table--content\">\r\n <div class=\"vs-con-tbody vs-table--tbody\">\r\n\r\n <!-- start table -->\r\n <table class=\"vs-table vs-table--tbody-table\">\r\n <thead class=\"vs-table--thead\">\r\n <tr>\r\n <th colspan=\"1\" rowspan=\"1\">\r\n شماره ردیف\r\n </th>\r\n <th colspan=\"1\" rowspan=\"1\">\r\n مقدار\r\n </th>\r\n <th colspan=\"1\" rowspan=\"1\">\r\n تاریخ انقضا\r\n </th>\r\n <th>عملیات</th>\r\n </tr>\r\n </thead>\r\n\r\n <!-- loop -->\r\n <tr v-for=\"(item,index) in walletTransactions.rows\" :key='index'\r\n class=\"tr-values vs-table--tr tr-table-state-null\">\r\n <td class=\"td vs-table--td\">\r\n <span>\r\n {{ item.id }}\r\n </span>\r\n </td>\r\n <td class=\"td vs-table--td\" :class=\"{'text-danger' : item.value < 0,'text-success' : item.value > 0,}\">\r\n <span v-if=\"item.transaction_type == 2\">\r\n {{ Math.abs(item.value) | priceUnit }}\r\n </span>\r\n <span v-if=\"item.transaction_type == 1\">\r\n {{ Math.abs(item.value) }} گرم\r\n </span>\r\n <span v-if=\"item.value > 0\"> به کیف پول اضافه شد</span>\r\n <span v-else> از کیف پول برداشته شد</span>\r\n </td>\r\n <td class=\"td vs-table--td\">\r\n <span>\r\n {{ item.expire_at | jdate | empty}}\r\n </span>\r\n </td>\r\n <td class=\"center\" data-title='عملیات '>\r\n <div @click=\"showTransactionDetails(item)\" class=\"btn-custom secondary\">مشاهده جزئیات</div>\r\n </td>\r\n<!-- <div v-if=\"walletItemModel && walletItem.id == item.id\" class=\"row overflow-auto\">\r\n <div class=\"col-sm-6 col-xl-4 mb-2 mb-4\">\r\n <div class=\"title\">شماره تراکنش</div>\r\n <div class=\"value\">{{ walletItem.id }}</div>\r\n </div>\r\n <div class=\"col-sm-6 col-xl-4 mb-2 mb-4\">\r\n <div class=\"title\">میزان تراکنش</div>\r\n <div class=\"value p-0\" :class=\"{'text-danger' : walletItem.value < 0,'text-success' : walletItem.value > 0,}\">\r\n <span v-if=\"walletItem.transaction_type == 2\">\r\n {{ Math.abs(walletItem.value) | priceUnit }}\r\n </span>\r\n <span v-if=\"walletItem.transaction_type == 1\">\r\n {{ Math.abs(walletItem.value) }} گرم\r\n </span>\r\n <span v-if=\"walletItem.value > 0\"> به کیف پول اضافه شد</span>\r\n <span v-else> از کیف پول برداشته شد</span>\r\n </div>\r\n </div>\r\n <div class=\"col-sm-6 col-xl-4 mb-2 mb-4\">\r\n <div class=\"title\">تاریخ انقضا</div>\r\n <div class=\"value\">{{ walletItem.expire_at | jdate | empty}}</div>\r\n </div>\r\n <div class=\"col-sm-6 col-xl-4 mb-2 mb-4\">\r\n <div class=\"title\">یادداشت</div>\r\n <div class=\"value\">{{ walletItem.note}}</div>\r\n </div>\r\n <div class=\"col-sm-6 col-xl-4 mb-2 mb-4\">\r\n <div class=\"title\">شماره سفارش</div>\r\n <div class=\"value\">{{ walletItem.order.id || '-'}}</div>\r\n </div>\r\n <div class=\"col-sm-6 col-xl-4 mb-2 mb-4\">\r\n <div class=\"title\">تاریخ ثبت سفارش</div>\r\n <div class=\"value\">{{ walletItem.order.caj || '-'}}</div>\r\n </div>\r\n <div class=\"col-sm-6 col-xl-4 mb-2 mb-4\">\r\n <div class=\"title\">وضعیت سفارش</div>\r\n <div class=\"value\">{{ walletItem.order.sts_str || '-'}}</div>\r\n </div>\r\n </div>-->\r\n </tr>\r\n <!-- loop -->\r\n\r\n </table>\r\n <!-- end table -->\r\n <pagination\r\n v-model=\"pagination.page\"\r\n :total-pages=\"Math.ceil(walletTransactions.count/pagination.limit)\"\r\n @pagechanged=\"getWalletTransactions\"/>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </template>\r\n </modal>\r\n <modal v-model=\"walletItemModel\">\r\n <template #header>\r\n جزئیات تراکنش\r\n {{walletItem.id}}\r\n </template>\r\n <template #body>\r\n <div class=\"row overflow-auto\">\r\n <div class=\"col-sm-6 col-xl-4 mb-2 mb-4\">\r\n <div class=\"title\">شماره تراکنش</div>\r\n <div class=\"value\">{{ walletItem.id }}</div>\r\n </div>\r\n <div class=\"col-sm-6 col-xl-4 mb-2 mb-4\">\r\n <div class=\"title\">میزان تراکنش</div>\r\n <div class=\"value p-0\" :class=\"{'text-danger' : walletItem.value < 0,'text-success' : walletItem.value > 0,}\">\r\n <span v-if=\"walletItem.transaction_type == 2\">\r\n {{ Math.abs(walletItem.value) | priceUnit }}\r\n </span>\r\n <span v-if=\"walletItem.transaction_type == 1\">\r\n {{ Math.abs(walletItem.value) }} گرم\r\n </span>\r\n <span v-if=\"walletItem.value > 0\"> به کیف پول اضافه شد</span>\r\n <span v-else> از کیف پول برداشته شد</span>\r\n </div>\r\n </div>\r\n <div class=\"col-sm-6 col-xl-4 mb-2 mb-4\">\r\n <div class=\"title\">تاریخ انقضا</div>\r\n <div class=\"value\">{{ walletItem.expire_at | jdate | empty}}</div>\r\n </div>\r\n <div class=\"col-sm-6 col-xl-4 mb-2 mb-4\">\r\n <div class=\"title\">یادداشت</div>\r\n <div class=\"value\">{{ walletItem.note}}</div>\r\n </div>\r\n <div class=\"col-sm-6 col-xl-4 mb-2 mb-4\">\r\n <div class=\"title\">شماره سفارش</div>\r\n <div class=\"value\">{{ walletItem.order.id || '-'}}</div>\r\n </div>\r\n <div class=\"col-sm-6 col-xl-4 mb-2 mb-4\">\r\n <div class=\"title\">تاریخ ثبت سفارش</div>\r\n <div class=\"value\">{{ walletItem.order.caj || '-'}}</div>\r\n </div>\r\n <div class=\"col-sm-6 col-xl-4 mb-2 mb-4\">\r\n <div class=\"title\">وضعیت سفارش</div>\r\n <div class=\"value\">{{ walletItem.order.sts_str || '-'}}</div>\r\n </div>\r\n </div>\r\n </template>\r\n </modal>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport axios from \"@/plugins/axios\"\r\nimport modal from \"@/components/modal\";\r\nimport pagination from \"@/components/Pagination\";\r\nimport {Icon} from \"@iconify/vue2\"\r\n\r\nexport default {\r\n props: {\r\n togglePreLoader: Function\r\n },\r\n components: {\r\n Icon,\r\n modal,\r\n pagination\r\n },\r\n data() {\r\n return {\r\n flag: false,\r\n walletModel: false,\r\n data: undefined,\r\n user: {},\r\n wallet: undefined,\r\n pagination: {page: 1, limit: 10},\r\n walletTransactions: {rows: [], count: 0},\r\n walletItem: {},\r\n walletItemModel: false,\r\n }\r\n },\r\n methods: {\r\n async getWallet() {\r\n try {\r\n this.togglePreLoader('open')\r\n let {data} = await axios.get(\"/cu/customer/wallet\")\r\n this.wallet = data\r\n } catch (error) {\r\n if (error.response && error.response.data.errors) {\r\n let str_error = ''\r\n for (let item of Object.values(error.response.data.errors)) {\r\n item.map(xx => {\r\n if (xx.includes(\"shipping address\")) {\r\n str_error += xx.replace(\"shipping address\", \"آدرس\") + \"<br/>\"\r\n } else {\r\n str_error += xx + \"<br/>\"\r\n }\r\n })\r\n }\r\n this.$vs.notify({\r\n title: 'خطایی رخ داد',\r\n time: 3500,\r\n text: str_error,\r\n color: 'var(--secondary-color)',\r\n icon: 'error_outline'\r\n })\r\n } else {\r\n if (error) {\r\n if (error == \"Error: Network Error\") {\r\n this.$vs.notify({\r\n title: 'خطایی رخ داد',\r\n time: 3500,\r\n text: \"اتصال برقرار نشد\",\r\n color: 'var(--secondary-color)',\r\n icon: 'error_outline'\r\n })\r\n } else {\r\n this.$vs.notify({\r\n title: 'خطایی رخ داد',\r\n time: 3500,\r\n text: error,\r\n color: 'var(--secondary-color)',\r\n icon: 'error_outline'\r\n })\r\n }\r\n }\r\n }\r\n } finally {\r\n this.togglePreLoader('close')\r\n }\r\n },\r\n async getDashboardData() {\r\n try {\r\n this.togglePreLoader('open')\r\n let {data} = await axios.get(\"cu/order/report\")\r\n this.data = data\r\n this.flag = true\r\n } catch (error) {\r\n if (error.response && error.response.data.errors) {\r\n let str_error = ''\r\n for (let item of Object.values(error.response.data.errors)) {\r\n item.map(xx => {\r\n if (xx.includes(\"shipping address\")) {\r\n str_error += xx.replace(\"shipping address\", \"آدرس\") + \"<br/>\"\r\n } else {\r\n str_error += xx + \"<br/>\"\r\n }\r\n })\r\n }\r\n this.$vs.notify({\r\n title: 'خطایی رخ داد',\r\n time: 3500,\r\n text: str_error,\r\n color: 'var(--secondary-color)',\r\n icon: 'error_outline'\r\n })\r\n } else {\r\n if (error) {\r\n if (error == \"Error: Network Error\") {\r\n this.$vs.notify({\r\n title: 'خطایی رخ داد',\r\n time: 3500,\r\n text: \"اتصال برقرار نشد\",\r\n color: 'var(--secondary-color)',\r\n icon: 'error_outline'\r\n })\r\n } else {\r\n this.$vs.notify({\r\n title: 'خطایی رخ داد',\r\n time: 3500,\r\n text: error,\r\n color: 'var(--secondary-color)',\r\n icon: 'error_outline'\r\n })\r\n }\r\n }\r\n }\r\n } finally {\r\n this.togglePreLoader('close')\r\n }\r\n },\r\n async getWalletTransactions() {\r\n try {\r\n this.togglePreLoader('open')\r\n let {data} = await axios.post(\"/cu/customer/wallet/transaction\", {page: this.pagination.page-1, limit: this.pagination.limit})\r\n this.walletTransactions = data\r\n } catch (error) {\r\n if (error.response && error.response.data.errors) {\r\n let str_error = ''\r\n for (let item of Object.values(error.response.data.errors)) {\r\n item.map(xx => {\r\n if (xx.includes(\"shipping address\")) {\r\n str_error += xx.replace(\"shipping address\", \"آدرس\") + \"<br/>\"\r\n } else {\r\n str_error += xx + \"<br/>\"\r\n }\r\n })\r\n }\r\n this.$vs.notify({\r\n title: 'خطایی رخ داد',\r\n time: 3500,\r\n text: str_error,\r\n color: 'var(--secondary-color)',\r\n icon: 'error_outline'\r\n })\r\n } else {\r\n if (error) {\r\n if (error == \"Error: Network Error\") {\r\n this.$vs.notify({\r\n title: 'خطایی رخ داد',\r\n time: 3500,\r\n text: \"اتصال برقرار نشد\",\r\n color: 'var(--secondary-color)',\r\n icon: 'error_outline'\r\n })\r\n } else {\r\n this.$vs.notify({\r\n title: 'خطایی رخ داد',\r\n time: 3500,\r\n text: error,\r\n color: 'var(--secondary-color)',\r\n icon: 'error_outline'\r\n })\r\n }\r\n }\r\n }\r\n } finally {\r\n this.togglePreLoader('close')\r\n }\r\n },\r\n showTransactionDetails(item){\r\n this.walletItem = item\r\n this.walletItemModel = !this.walletItemModel\r\n }\r\n },\r\n async created() {\r\n await this.getWallet()\r\n await this.getWalletTransactions()\r\n await this.getDashboardData()\r\n this.user = JSON.parse(localStorage.getItem(\"userInfo\")) || JSON.parse(localStorage.userInfo)\r\n\r\n }\r\n}\r\n</script>\r\n\r\n<style lang=\"css\" scoped>\r\n#ecommerce-checkout-demo .item-view-primary-action-btn {\r\n color: #2c2c2c !important;\r\n background-color: #f6f6f6;\r\n}\r\n\r\n#ecommerce-checkout-demo .item-name {\r\n display: -webkit-box;\r\n -webkit-box-orient: vertical;\r\n overflow: hidden;\r\n -webkit-line-clamp: 2;\r\n}\r\n\r\n#ecommerce-checkout-demo .vue-form-wizard::v-deep .wizard-header {\r\n padding: 0;\r\n}\r\n\r\n#ecommerce-checkout-demo ::v-deep .wizard-tab-content {\r\n padding-right: 0;\r\n padding-left: 0;\r\n}\r\n\r\n.fit {\r\n width: fit-content !important;\r\n}\r\n\r\n.minh40 {\r\n min-height: 40px;\r\n}\r\n\r\n.minh251 {\r\n min-height: 251px;\r\n}\r\n\r\n.same-height .col-lg-6 {\r\n height: 100%;\r\n}\r\n\r\n.con-vs-card {\r\n margin-bottom: 30px;\r\n}\r\n</style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./dashboard.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./dashboard.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./dashboard.vue?vue&type=template&id=9437043a&scoped=true&\"\nimport script from \"./dashboard.vue?vue&type=script&lang=js&\"\nexport * from \"./dashboard.vue?vue&type=script&lang=js&\"\nimport style0 from \"./dashboard.vue?vue&type=style&index=0&id=9437043a&prod&lang=css&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 \"9437043a\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}
Copyright ©2k19 -
Hexid
|
Tex7ure