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EACAnD,EACAuC,GACA,EACA,KACA,WACA,MAIF,EAAeY,EAAiB,S","sources":["webpack://liman/./src/views/report/list.vue?460c","webpack://liman/src/views/report/list.vue","webpack://liman/./src/views/report/list.vue?9876","webpack://liman/./src/views/report/list.vue"],"sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-card',{scopedSlots:_vm._u([{key:\"cover\",fn:function(){return [_c('ASpin',{attrs:{\"spinning\":_vm.loading}},[_c('div',{staticClass:\"grid md:grid-cols-2 gap-4 p-1\"},[_c('div',{staticClass:\"flex items-center\"},[_c('a-input-search',{staticClass:\"md:mr-4\",attrs:{\"placeholder\":\"عبارت مورد نظر برای جستجو را وارد کنید\",\"enter-button\":\"جستجو\"},on:{\"search\":_vm.onSearch}})],1)]),_c('a-table',{ref:\"product-tbl\",attrs:{\"indent-size\":5,\"pagination\":false,\"locale\":{emptyText: 'هیج رکوردی یافت نشد.'},\"columns\":_vm.productListcols,\"data-source\":_vm.productList,\"row-key\":\"id\"},scopedSlots:_vm._u([{key:\"product\",fn:function(text, record){return [_c('div',{staticClass:\"flex items-center\"},[_c('img',{staticClass:\"mr-1\",attrs:{\"src\":record.image ? record.image : require('@/assets/images/no-image.png'),\"width\":\"70px\"}}),_vm._v(\" \"+_vm._s(record.title)+\" \")])]}},{key:\"price\",fn:function(text){return [_vm._v(\" \"+_vm._s(_vm._f(\"priceUnit\")(text))+\" \")]}},{key:\"quantity\",fn:function(text){return [_vm._v(\" \"+_vm._s(text ? text : 0)+\" \")]}}])},[_c('template',{slot:\"footer\"},[_c('div',{staticClass:\"grid gap-4 grid-cols-1 md:grid-cols-2\"},[_c('div',[_c('div',[_c('span',[_vm._v(_vm._s(_vm.productList.length))]),_vm._v(\" رکورد یافت شد. \")])]),_c('APagination',{attrs:{\"default-current\":1,\"total\":_vm.count},on:{\"change\":_vm.changePage},model:{value:(_vm.query.page),callback:function ($$v) {_vm.$set(_vm.query, \"page\", $$v)},expression:\"query.page\"}})],1)])],2)],1)]},proxy:true}])})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <a-card>\r\n <template #cover>\r\n <ASpin :spinning=\"loading\">\r\n <div class=\"grid md:grid-cols-2 gap-4 p-1\">\r\n <div class=\"flex items-center\">\r\n <a-input-search\r\n class=\"md:mr-4\"\r\n placeholder=\"عبارت مورد نظر برای جستجو را وارد کنید\"\r\n enter-button=\"جستجو\"\r\n @search=\"onSearch\"\r\n />\r\n </div>\r\n </div>\r\n <a-table\r\n ref=\"product-tbl\"\r\n :indent-size=\"5\"\r\n :pagination=\"false\"\r\n :locale=\"{emptyText: 'هیج رکوردی یافت نشد.'}\"\r\n :columns=\"productListcols\"\r\n :data-source=\"productList\"\r\n row-key=\"id\"\r\n >\r\n <template slot=\"product\" slot-scope=\"text, record\">\r\n <div class=\"flex items-center\">\r\n <img\r\n :src=\"record.image ? record.image : require('@/assets/images/no-image.png')\"\r\n width=\"70px\"\r\n class=\"mr-1\"\r\n >\r\n {{ record.title }}\r\n </div>\r\n </template>\r\n <template\r\n slot=\"price\"\r\n slot-scope=\"text\"\r\n >\r\n {{ text|priceUnit }}\r\n </template>\r\n <template\r\n slot=\"quantity\"\r\n slot-scope=\"text\"\r\n >\r\n {{ text ? text : 0 }}\r\n </template>\r\n <template slot=\"footer\">\r\n <div class=\"grid gap-4 grid-cols-1 md:grid-cols-2\">\r\n <div>\r\n <div>\r\n <span>{{ productList.length }}</span>\r\n رکورد یافت شد.\r\n </div>\r\n </div>\r\n <APagination\r\n v-model=\"query.page\"\r\n :default-current=\"1\"\r\n :total=\"count\"\r\n @change=\"changePage\"\r\n />\r\n </div>\r\n </template>\r\n </a-table>\r\n </ASpin>\r\n </template>\r\n </a-card>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n name: 'list',\r\n data() {\r\n return {\r\n productList: [],\r\n query: {\r\n page: 1,\r\n search: undefined,\r\n },\r\n productListcols: [\r\n {\r\n title: 'کد محصول',\r\n dataIndex: 'id',\r\n align: 'center',\r\n width: 90,\r\n },\r\n {\r\n title: 'محصول',\r\n dataIndex: 'product',\r\n width: 490,\r\n scopedSlots: { customRender: 'product' },\r\n },\r\n {\r\n title: 'قیمت',\r\n dataIndex: 'price',\r\n scopedSlots: { customRender: 'price' },\r\n },\r\n {\r\n title: 'تعداد موجودی',\r\n dataIndex: 'quantity',\r\n align: 'center',\r\n scopedSlots: { customRender: 'quantity' },\r\n width: 140,\r\n },\r\n ],\r\n count: 0,\r\n }\r\n },\r\n async created() {\r\n await this.getList()\r\n },\r\n methods: {\r\n async onSearch(search) {\r\n this.query.search = search\r\n await this.getList()\r\n },\r\n async getList() {\r\n try {\r\n this.$store.commit('setLoading', true)\r\n const { data } = await this.$axios.post('https://helensa.com/wp-json/helensa-platform/v1/product-list', this.query)\r\n this.productList = data.products\r\n this.count = data.count\r\n } catch (error) {\r\n console.log(error)\r\n } finally {\r\n this.$store.commit('setLoading', false)\r\n }\r\n },\r\n async changePage(page) {\r\n this.query.page = page\r\n await this.getList()\r\n },\r\n },\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n\r\n</style>\r\n","import mod from \"-!../../../node_modules/.pnpm/thread-loader@3.0.4_webpack@5.70.0/node_modules/thread-loader/dist/cjs.js!../../../node_modules/.pnpm/babel-loader@8.2.3_ed870ac3ba52c4ec230ba2bc3dbb311c/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../node_modules/.pnpm/@vue+cli-service@5.0.1_c60d37d6f98edb8bb59b38caea4c9fe8/node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./list.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/.pnpm/thread-loader@3.0.4_webpack@5.70.0/node_modules/thread-loader/dist/cjs.js!../../../node_modules/.pnpm/babel-loader@8.2.3_ed870ac3ba52c4ec230ba2bc3dbb311c/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../node_modules/.pnpm/@vue+cli-service@5.0.1_c60d37d6f98edb8bb59b38caea4c9fe8/node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./list.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./list.vue?vue&type=template&id=fc2a9b6e&scoped=true&\"\nimport script from \"./list.vue?vue&type=script&lang=js&\"\nexport * from \"./list.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/.pnpm/vue-loader@15.9.8_1f9b6d6a8c5e3033a639476f0cf6d876/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"fc2a9b6e\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_h","$createElement","_c","_self","scopedSlots","_u","key","fn","attrs","loading","staticClass","on","onSearch","ref","emptyText","productListcols","productList","text","record","image","_v","_s","title","_f","slot","length","count","changePage","model","value","query","callback","$$v","$set","expression","proxy","staticRenderFns","name","data","page","search","undefined","dataIndex","align","width","customRender","methods","console","component"],"sourceRoot":""}
Copyright ©2k19 -
Hexid
|
Tex7ure