osmanli-veri-dagitim 2.1.64-dev → 2.1.66-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9
9
|
|
|
10
10
|
"use strict";
|
|
11
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/components */ \"./src/components/index.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"RepresReports\",\n components: {\n BaseInput: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseInput\"],\n BaseButton: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseButton\"],\n BaseIcon: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseIcon\"],\n BaseSelect: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseSelect\"],\n Pager: _components__WEBPACK_IMPORTED_MODULE_1__[\"Pager\"]\n },\n\n data() {\n return {\n platform: [],\n statu: [],\n vendor: [],\n perspectives: [],\n paymentStatusList: [],\n marketsList: [],\n dateFilter: \"\",\n CustomerNo: \"\",\n CustomerName: \"\",\n DatePeriod: \"\",\n Applications: \"\",\n PerspectiveOrVendor: \"\",\n PackageStatus: \"\",\n Platforms: \"\",\n PaymentStatus: \"\",\n Markets: \"\",\n isButtonClicked: false,\n filtered: {\n Markets: \"\",\n Applications: \"\",\n PerspectiveOrVendor: \"\",\n Platforms: \"\",\n Status: \"\",\n PaymentStatus: \"\"\n },\n defaultSelected: -1,\n key: 0,\n xlsxData: {\n columns: [{\n label: \"Müşteri Numarası\",\n field: \"customerNo\"\n }, {\n label: \"Ad Soyad\",\n field: \"customerFullName\"\n }, {\n label: \"İşlem Platformu\",\n field: \"vendor\"\n }, {\n label: \"Paket\",\n field: \"market\"\n }, {\n label: \"Ürün\",\n field: \"product\"\n }, {\n label: \"Platform\",\n field: \"platform\"\n }, {\n label: \"Tutar\",\n field: \"price\"\n }, {\n label: \"Temsilci\",\n field: \"representativeName\"\n }, {\n label: \"Kazandıran\",\n field: \"earning\"\n }, {\n label: \"Durum\",\n field: \"status\"\n }, {\n label: \"Masraf Ödeme Durumu\",\n field: \"paymentStatus\"\n }],\n data: []\n },\n xlsxDownloadableUrl: \"\"\n };\n },\n\n computed: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapGetters\"])([\"getFilterList\", \"getFilterData\", \"representativeReport\"])\n },\n methods: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapActions\"])([\"fillFilter\", \"getRepresentativeReport\", \"getRepresExportAction\"]),\n ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapMutations\"])([\"setFilter\", \"setGeneralFilter\", \"setRepresentativeReport\"]),\n\n checkedChangedData(responseData) {\n this.xlsxData.data = responseData;\n },\n\n changeDateFilter(value) {\n let concatValue = value[0] + \"&\" + value[1];\n\n if (concatValue != [\"null&null\"]) {\n this.DatePeriod = concatValue;\n } else {\n this.DatePeriod = \"\";\n }\n },\n\n downloadExcel() {\n this.xlsxDownloadableUrl && window.open(this.xlsxDownloadableUrl);\n },\n\n changeVendor(value) {\n this.PerspectiveOrVendor = value === null || value === void 0 ? void 0 : value.label;\n },\n\n changePackageStatus(value) {\n this.PackageStatus = value === null || value === void 0 ? void 0 : value.label;\n },\n\n changePaymentStatus(value) {\n this.PaymentStatus = value === null || value === void 0 ? void 0 : value.label;\n },\n\n changeMarketList(value) {\n this.Markets = value === null || value === void 0 ? void 0 : value.label;\n },\n\n changeApplications(value) {\n this.Applications = value === null || value === void 0 ? void 0 : value.label;\n },\n\n changePlatforms(value) {\n this.Platforms = value === null || value === void 0 ? void 0 : value.label;\n },\n\n showModal() {\n this.getFilter();\n this.$modal.show(\"modal\");\n },\n\n getFilter() {\n this.fillFilter().then(res => {\n if (res.data) {\n const vendors = this.getFilterList.filter(o => o.name === \"Applications\");\n const platforms = this.getFilterList.filter(o => o.name === \"Platforms\");\n const markets = this.getFilterList.filter(o => o.name === \"Markets\");\n const perspectives = this.getFilterList.filter(o => o.name === \"Perspectives\");\n const paymentStatus = this.getFilterList.filter(o => o.name === \"PaymentStatus\");\n const status = this.getFilterList.filter(o => o.name === \"Status\");\n const vendorList = [{\n code: -1,\n label: \"İşlem Platformu Seç\"\n }];\n const platformList = [{\n code: -1,\n label: \"Platform Seç\"\n }];\n const marketList = [{\n code: -1,\n label: \"Paket Adı Seç\"\n }];\n const perspectiveList = [{\n code: -1,\n label: \"Ürün Seç\"\n }];\n const paymentStatusList = [{\n code: -1,\n label: \"Durum Seç\"\n }];\n const statusList = [{\n code: -1,\n label: \"Durum Seç\"\n }];\n\n if (vendors.length > 0) {\n vendors[0].values.forEach(element => {\n vendorList.push(element);\n });\n this.vendor = vendorList;\n }\n\n if (platforms.length > 0) {\n platforms[0].values.forEach(element => {\n platformList.push(element);\n });\n this.platform = platformList;\n }\n\n if (status.length > 0) {\n status[0].values.forEach(element => {\n statusList.push(element);\n });\n this.statu = statusList;\n }\n\n if (markets.length > 0) {\n markets[0].values.forEach(element => {\n marketList.push(element);\n });\n this.marketsList = marketList;\n }\n\n if (perspectives.length > 0) {\n perspectives[0].values.forEach(element => {\n perspectiveList.push(element);\n });\n this.perspectives = perspectiveList;\n }\n\n if (paymentStatus.length > 0) {\n paymentStatus[0].values.forEach(element => {\n paymentStatusList.push(element);\n });\n this.paymentStatusList = paymentStatusList;\n }\n }\n });\n },\n\n clearFilterDatas() {\n this.marketsList = [];\n this.vendor = [];\n this.statu = [];\n this.platform = [];\n this.perspectives = [];\n this.paymentStatusList = [];\n this.Applications = \"\";\n this.PerspectiveOrVendor = \"\";\n this.PackageStatus = \"\";\n this.Platforms = \"\";\n this.Markets = \"\";\n this.PaymentStatus = \"\";\n this.filtered.Applications = \"\";\n this.filtered.PerspectiveOrVendor = \"\";\n this.filtered.Status = \"\";\n this.filtered.Platforms = \"\";\n this.filtered.Markets = \"\";\n this.filtered.PaymentStatus = \"\";\n this.setGeneralFilter({\n filter: {}\n });\n },\n\n hideModalFromButtons() {\n this.$modal.hide(\"modal\");\n },\n\n clear() {\n this.resetDatas();\n this.setGeneralFilter({\n page: 1,\n size: 5,\n filter: {}\n });\n this.getRepresentativeReport();\n this.key++;\n },\n\n resetDatas() {\n this.dateFilter = \"\";\n this.CustomerNo = \"\";\n this.CustomerName = \"\";\n this.DatePeriod = \"\";\n this.Applications = \"\";\n this.PerspectiveOrVendor = \"\";\n this.Status = \"\";\n this.Platforms = \"\";\n this.Markets = \"\";\n\n for (let fields in this.filtered) delete this.filtered[fields];\n\n this.$modal.hide(\"modal\");\n },\n\n show() {\n this.filtered.CustomerNo = this.CustomerNo.toString();\n this.filtered.CustomerName = this.CustomerName;\n this.filtered.DatePeriod = this.DatePeriod;\n this.filtered.PaymentStatus = this.PaymentStatus;\n\n if (this.CustomerNo == \"\") {\n delete this.filtered.CustomerNo;\n }\n\n if (this.CustomerName == \"\") {\n delete this.filtered.CustomerName;\n }\n\n if (this.DatePeriod == \"\") {\n delete this.filtered.DatePeriod;\n }\n\n if (this.Applications == \"\" || this.Applications == \"-1\") {\n delete this.filtered.Applications;\n }\n\n if (this.PerspectiveOrVendor == \"\" || this.PerspectiveOrVendor == \"-1\") {\n delete this.filtered.PerspectiveOrVendor;\n }\n\n if (this.PackageStatus == \"\" || this.PackageStatus == \"-1\") {\n delete this.filtered.Status;\n }\n\n if (this.Platforms == \"\" || this.Platforms == \"-1\") {\n delete this.filtered.Platforms;\n }\n\n if (this.Markets == \"\" || this.Markets == \"-1\") {\n delete this.filtered.Markets;\n }\n\n if (this.PaymentStatus == -1) {\n delete this.filtered.PaymentStatus;\n }\n\n if (Object.keys(this.filtered).length === 0) {\n return this.$toast.error(\"Lütfen en az 1 alan doldurunuz..\");\n }\n\n this.$modal.hide(\"modal\");\n this.setGeneralFilter({\n filter: this.filtered\n });\n this.isButtonClicked = true;\n this.getRepresentativeReport().then(response => {\n this.xlsxData.data = response.data;\n\n if (response.error) {\n this.$toast.error(response.message);\n }\n\n this.isButtonClicked = false;\n });\n this.getRepresExportAction().then(response => {\n this.xlsxDownloadableUrl = `${\"https://veridagitimapi.osmanlimenkul.com.tr/api\"}/${response}`;\n\n if (response.error) {\n this.$toast.error(response.message);\n }\n });\n }\n\n },\n watch: {\n Markets: function (newValue) {\n if (this.marketsList.filter(o => o.code == newValue || o.label == newValue)[0] != undefined) {\n const getRow = this.marketsList.filter(o => o.code == newValue || o.label == newValue)[0];\n this.filtered.Markets = getRow.label;\n }\n },\n Applications: function (newValue) {\n if (this.vendor.filter(o => o.code == newValue || o.label == newValue)[0] != undefined) {\n const getRow = this.vendor.filter(o => o.code == newValue || o.label == newValue)[0];\n this.filtered.Applications = String(getRow.code);\n }\n },\n PerspectiveOrVendor: function (newValue) {\n if (this.perspectives.filter(o => o.label == newValue || o.code == newValue)[0] != undefined) {\n const getRow = this.perspectives.filter(o => o.label == newValue || o.code == newValue)[0];\n this.filtered.PerspectiveOrVendor = getRow.label;\n }\n },\n PackageStatus: function (newValue) {\n if (this.statu.filter(o => o.code == newValue || o.label == newValue)[0] != undefined) {\n const getRow = this.statu.filter(o => o.code == newValue || o.label == newValue)[0];\n this.filtered.Status = String(getRow.code);\n }\n },\n Platforms: function (newValue) {\n if (this.platform.filter(o => o.code == newValue || o.label == newValue)[0] != undefined) {\n const getRow = this.platform.filter(o => o.code == newValue || o.label == newValue)[0];\n this.filtered.Platforms = String(getRow.code);\n }\n },\n PaymentStatus: function (newValue) {\n if (this.paymentStatusList.filter(o => o.code == newValue || o.label == newValue)[0] != undefined) {\n const getRow = this.paymentStatusList.filter(o => o.code == newValue || o.label == newValue)[0];\n this.filtered.PaymentStatus = String(getRow.code);\n }\n }\n }\n});\n\n//# sourceURL=webpack://OsmanliPackage/./src/views/RepresReports.vue?./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
|
|
11
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/components */ \"./src/components/index.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"RepresReports\",\n components: {\n BaseInput: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseInput\"],\n BaseButton: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseButton\"],\n BaseIcon: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseIcon\"],\n BaseSelect: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseSelect\"],\n Pager: _components__WEBPACK_IMPORTED_MODULE_1__[\"Pager\"]\n },\n\n mounted() {\n this.clearReports();\n },\n\n data() {\n return {\n excelIsLoading: false,\n dataIsLoading: false,\n platform: [],\n statu: [],\n vendor: [],\n perspectives: [],\n paymentStatusList: [],\n marketsList: [],\n dateFilter: \"\",\n CustomerNo: \"\",\n CustomerName: \"\",\n DatePeriod: \"\",\n Applications: \"\",\n PerspectiveOrVendor: \"\",\n PackageStatus: \"\",\n Platforms: \"\",\n PaymentStatus: \"\",\n Markets: \"\",\n isButtonClicked: false,\n filtered: {\n Markets: \"\",\n Applications: \"\",\n PerspectiveOrVendor: \"\",\n Platforms: \"\",\n Status: \"\",\n PaymentStatus: \"\"\n },\n defaultSelected: -1,\n key: 0,\n xlsxData: {\n columns: [{\n label: \"Müşteri Numarası\",\n field: \"customerNo\"\n }, {\n label: \"Ad Soyad\",\n field: \"customerFullName\"\n }, {\n label: \"İşlem Platformu\",\n field: \"vendor\"\n }, {\n label: \"Paket\",\n field: \"market\"\n }, {\n label: \"Ürün\",\n field: \"product\"\n }, {\n label: \"Platform\",\n field: \"platform\"\n }, {\n label: \"Tutar\",\n field: \"price\"\n }, {\n label: \"Temsilci\",\n field: \"representativeName\"\n }, {\n label: \"Kazandıran\",\n field: \"earning\"\n }, {\n label: \"Durum\",\n field: \"status\"\n }, {\n label: \"Masraf Ödeme Durumu\",\n field: \"paymentStatus\"\n }],\n data: []\n },\n xlsxDownloadableUrl: \"\"\n };\n },\n\n computed: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapGetters\"])([\"getFilterList\", \"getFilterData\", \"representativeReport\"])\n },\n methods: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapActions\"])([\"fillFilter\", \"getRepresentativeReport\", \"getRepresExportAction\", \"clearReports\"]),\n ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapMutations\"])([\"setFilter\", \"setGeneralFilter\", \"setRepresentativeReport\"]),\n\n checkedChangedData(responseData) {\n this.dataIsLoading = !responseData;\n this.xlsxData.data = responseData;\n },\n\n changeDateFilter(value) {\n let concatValue = value[0] + \"&\" + value[1];\n\n if (concatValue != [\"null&null\"]) {\n this.DatePeriod = concatValue;\n } else {\n this.DatePeriod = \"\";\n }\n },\n\n downloadExcel() {\n if (this.excelIsLoading) return;\n this.excelIsLoading = true;\n this.getRepresExportAction(response => {\n this.excelIsLoading = false;\n this.xlsxDownloadableUrl = `${\"https://veridagitimapi.osmanlimenkul.com.tr/api\"}/${response}`;\n window.open(this.xlsxDownloadableUrl);\n\n if (response.error) {\n this.$toast.error(response.message);\n }\n });\n },\n\n changeVendor(value) {\n this.PerspectiveOrVendor = value === null || value === void 0 ? void 0 : value.label;\n },\n\n changePackageStatus(value) {\n this.PackageStatus = value === null || value === void 0 ? void 0 : value.label;\n },\n\n changePaymentStatus(value) {\n this.PaymentStatus = value === null || value === void 0 ? void 0 : value.label;\n },\n\n changeMarketList(value) {\n this.Markets = value === null || value === void 0 ? void 0 : value.label;\n },\n\n changeApplications(value) {\n this.Applications = value === null || value === void 0 ? void 0 : value.label;\n },\n\n changePlatforms(value) {\n this.Platforms = value === null || value === void 0 ? void 0 : value.label;\n },\n\n showModal() {\n this.getFilter();\n this.$modal.show(\"modal\");\n },\n\n getFilter() {\n this.fillFilter().then(res => {\n if (res.data) {\n const vendors = this.getFilterList.filter(o => o.name === \"Applications\");\n const platforms = this.getFilterList.filter(o => o.name === \"Platforms\");\n const markets = this.getFilterList.filter(o => o.name === \"Markets\");\n const perspectives = this.getFilterList.filter(o => o.name === \"Perspectives\");\n const paymentStatus = this.getFilterList.filter(o => o.name === \"PaymentStatus\");\n const status = this.getFilterList.filter(o => o.name === \"Status\");\n const vendorList = [{\n code: -1,\n label: \"İşlem Platformu Seç\"\n }];\n const platformList = [{\n code: -1,\n label: \"Platform Seç\"\n }];\n const marketList = [{\n code: -1,\n label: \"Paket Adı Seç\"\n }];\n const perspectiveList = [{\n code: -1,\n label: \"Ürün Seç\"\n }];\n const paymentStatusList = [{\n code: -1,\n label: \"Durum Seç\"\n }];\n const statusList = [{\n code: -1,\n label: \"Durum Seç\"\n }];\n\n if (vendors.length > 0) {\n vendors[0].values.forEach(element => {\n vendorList.push(element);\n });\n this.vendor = vendorList;\n }\n\n if (platforms.length > 0) {\n platforms[0].values.forEach(element => {\n platformList.push(element);\n });\n this.platform = platformList;\n }\n\n if (status.length > 0) {\n status[0].values.forEach(element => {\n statusList.push(element);\n });\n this.statu = statusList;\n }\n\n if (markets.length > 0) {\n markets[0].values.forEach(element => {\n marketList.push(element);\n });\n this.marketsList = marketList;\n }\n\n if (perspectives.length > 0) {\n perspectives[0].values.forEach(element => {\n perspectiveList.push(element);\n });\n this.perspectives = perspectiveList;\n }\n\n if (paymentStatus.length > 0) {\n paymentStatus[0].values.forEach(element => {\n paymentStatusList.push(element);\n });\n this.paymentStatusList = paymentStatusList;\n }\n }\n });\n },\n\n clearFilterDatas() {\n this.marketsList = [];\n this.vendor = [];\n this.statu = [];\n this.platform = [];\n this.perspectives = [];\n this.paymentStatusList = [];\n this.Applications = \"\";\n this.PerspectiveOrVendor = \"\";\n this.PackageStatus = \"\";\n this.Platforms = \"\";\n this.Markets = \"\";\n this.PaymentStatus = \"\";\n this.filtered.Applications = \"\";\n this.filtered.PerspectiveOrVendor = \"\";\n this.filtered.Status = \"\";\n this.filtered.Platforms = \"\";\n this.filtered.Markets = \"\";\n this.filtered.PaymentStatus = \"\";\n this.setGeneralFilter({\n filter: {}\n });\n },\n\n hideModalFromButtons() {\n this.$modal.hide(\"modal\");\n },\n\n clear() {\n this.resetDatas();\n this.setGeneralFilter({\n page: 1,\n size: 5,\n filter: {}\n });\n this.getRepresentativeReport();\n this.key++;\n },\n\n resetDatas() {\n this.dateFilter = \"\";\n this.CustomerNo = \"\";\n this.CustomerName = \"\";\n this.DatePeriod = \"\";\n this.Applications = \"\";\n this.PerspectiveOrVendor = \"\";\n this.Status = \"\";\n this.Platforms = \"\";\n this.Markets = \"\";\n\n for (let fields in this.filtered) delete this.filtered[fields];\n\n this.$modal.hide(\"modal\");\n },\n\n show() {\n this.filtered.CustomerNo = this.CustomerNo.toString();\n this.filtered.CustomerName = this.CustomerName;\n this.filtered.DatePeriod = this.DatePeriod;\n this.filtered.PaymentStatus = this.PaymentStatus;\n\n if (this.CustomerNo == \"\") {\n delete this.filtered.CustomerNo;\n }\n\n if (this.CustomerName == \"\") {\n delete this.filtered.CustomerName;\n }\n\n if (this.DatePeriod == \"\") {\n delete this.filtered.DatePeriod;\n }\n\n if (this.Applications == \"\" || this.Applications == \"-1\") {\n delete this.filtered.Applications;\n }\n\n if (this.PerspectiveOrVendor == \"\" || this.PerspectiveOrVendor == \"-1\") {\n delete this.filtered.PerspectiveOrVendor;\n }\n\n if (this.PackageStatus == \"\" || this.PackageStatus == \"-1\") {\n delete this.filtered.Status;\n }\n\n if (this.Platforms == \"\" || this.Platforms == \"-1\") {\n delete this.filtered.Platforms;\n }\n\n if (this.Markets == \"\" || this.Markets == \"-1\") {\n delete this.filtered.Markets;\n }\n\n if (this.PaymentStatus == -1) {\n delete this.filtered.PaymentStatus;\n }\n\n if (Object.keys(this.filtered).length === 0) {\n return this.$toast.error(\"Lütfen en az 1 alan doldurunuz..\");\n }\n\n this.$modal.hide(\"modal\");\n this.setGeneralFilter({\n filter: this.filtered\n });\n this.isButtonClicked = true; // this.getRepresentativeReport().then((response) => {\n // this.xlsxData.data = response.data;\n // if (response.error) {\n // this.$toast.error(response.message);\n // }\n // this.isButtonClicked = false;\n // });\n\n this.dataIsLoading = true;\n this.getRepresentativeReport(response => {\n this.dataIsLoading = false;\n this.xlsxData.data = response.data;\n\n if (response.error) {\n this.$toast.error(response.message);\n }\n\n this.isButtonClicked = false;\n });\n }\n\n },\n watch: {\n Markets: function (newValue) {\n if (this.marketsList.filter(o => o.code == newValue || o.label == newValue)[0] != undefined) {\n const getRow = this.marketsList.filter(o => o.code == newValue || o.label == newValue)[0];\n this.filtered.Markets = getRow.label;\n }\n },\n Applications: function (newValue) {\n if (this.vendor.filter(o => o.code == newValue || o.label == newValue)[0] != undefined) {\n const getRow = this.vendor.filter(o => o.code == newValue || o.label == newValue)[0];\n this.filtered.Applications = String(getRow.code);\n }\n },\n PerspectiveOrVendor: function (newValue) {\n if (this.perspectives.filter(o => o.label == newValue || o.code == newValue)[0] != undefined) {\n const getRow = this.perspectives.filter(o => o.label == newValue || o.code == newValue)[0];\n this.filtered.PerspectiveOrVendor = getRow.label;\n }\n },\n PackageStatus: function (newValue) {\n if (this.statu.filter(o => o.code == newValue || o.label == newValue)[0] != undefined) {\n const getRow = this.statu.filter(o => o.code == newValue || o.label == newValue)[0];\n this.filtered.Status = String(getRow.code);\n }\n },\n Platforms: function (newValue) {\n if (this.platform.filter(o => o.code == newValue || o.label == newValue)[0] != undefined) {\n const getRow = this.platform.filter(o => o.code == newValue || o.label == newValue)[0];\n this.filtered.Platforms = String(getRow.code);\n }\n },\n PaymentStatus: function (newValue) {\n if (this.paymentStatusList.filter(o => o.code == newValue || o.label == newValue)[0] != undefined) {\n const getRow = this.paymentStatusList.filter(o => o.code == newValue || o.label == newValue)[0];\n this.filtered.PaymentStatus = String(getRow.code);\n }\n }\n }\n});\n\n//# sourceURL=webpack://OsmanliPackage/./src/views/RepresReports.vue?./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
|
|
12
12
|
|
|
13
13
|
/***/ }),
|
|
14
14
|
|
|
@@ -20,7 +20,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex
|
|
|
20
20
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
21
21
|
|
|
22
22
|
"use strict";
|
|
23
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { staticClass: \"repres__reports\", attrs: { id: \"represReports\" } },\n [\n _c(\n \"div\",\n { staticClass: \"repres__reports-top\" },\n [\n _c(\"base-input\", {\n staticClass: \"customerNoInput\",\n attrs: { inputType: \"number\", labelText: \"Müşteri Numarası\" },\n model: {\n value: _vm.CustomerNo,\n callback: function ($$v) {\n _vm.CustomerNo = $$v\n },\n expression: \"CustomerNo\",\n },\n }),\n _c(\n \"div\",\n { staticClass: \"form-group\" },\n [\n _c(\n \"label\",\n {\n staticClass: \"form-control-label\",\n attrs: { for: \"dateFilter\" },\n },\n [_vm._v(\"Tarih Aralığı\")]\n ),\n _c(\"date-picker\", {\n staticClass: \"dateRangeFilter\",\n attrs: { id: \"dateFilter\", valueType: \"format\", range: \"\" },\n on: { change: _vm.changeDateFilter },\n model: {\n value: _vm.dateFilter,\n callback: function ($$v) {\n _vm.dateFilter = $$v\n },\n expression: \"dateFilter\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"form-group\" },\n [\n _c(\n \"base-button\",\n {\n staticClass: \"red-button\",\n attrs: { id: \"clear\" },\n on: { click: _vm.clear },\n },\n [_vm._v(\"Temizle\")]\n ),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"form-group\" },\n [\n _c(\n \"base-button\",\n {\n staticClass: \"showAll\",\n class: _vm.isButtonClicked ? \"no-click\" : \"\",\n attrs: { id: \"show\" },\n on: { click: _vm.show },\n },\n [_vm._v(\"Göster\")]\n ),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"form-group\" },\n [\n _c(\n \"base-button\",\n {\n attrs: { id: \"more\" },\n on: {\n click: function ($event) {\n return _vm.showModal()\n },\n },\n },\n [_vm._v(\"Daha Fazla\")]\n ),\n ],\n 1\n ),\n ],\n 1\n ),\n _c(\"div\", { staticClass: \"repres__reports-result\" }, [\n _vm.representativeReport.data &&\n _vm.representativeReport.data.length > 0\n ? _c(\"table\", { attrs: { \"aria-describedby\": \"represTable\" } }, [\n _vm._m(0),\n _c(\n \"tbody\",\n [\n _vm._l(_vm.representativeReport.data, function (item, index) {\n return _c(\"tr\", { key: index }, [\n _c(\"td\", [_vm._v(_vm._s(item.customerNo))]),\n _c(\"td\", [_vm._v(_vm._s(item.customerFullName))]),\n _c(\"td\", [_vm._v(_vm._s(item.vendor))]),\n _c(\"td\", [_vm._v(_vm._s(item.market))]),\n _c(\"td\", [_vm._v(_vm._s(item.product))]),\n _c(\"td\", [_vm._v(_vm._s(item.platform))]),\n _c(\"td\", [\n item.priceType !== \"₺\"\n ? _c(\"span\", [_vm._v(_vm._s(item.priceType))])\n : _vm._e(),\n _vm._v(\" \" + _vm._s(item.price) + \" \"),\n item.priceType === \"₺\"\n ? _c(\"span\", [_vm._v(_vm._s(item.priceType))])\n : _vm._e(),\n ]),\n _c(\"td\", [_vm._v(_vm._s(item.representativeName))]),\n _c(\"td\", [_vm._v(_vm._s(item.earning))]),\n _c(\"td\", [_vm._v(_vm._s(item.status))]),\n _c(\"td\", [_vm._v(_vm._s(item.paymentStatus))]),\n ])\n }),\n _c(\"tr\", [\n _c(\n \"td\",\n [\n _c(\n \"base-button\",\n {\n staticClass: \"exportButton\",\n on: { click: _vm.downloadExcel },\n },\n [_vm._v(\"Excel Export\")]\n ),\n ],\n 1\n ),\n ]),\n ],\n 2\n ),\n ])\n : _c(\"table\", { attrs: { \"aria-describedby\": \"represTableEmpty\" } }, [\n _vm._m(1),\n _vm._m(2),\n ]),\n ]),\n _vm.representativeReport.page\n ? _c(\"Pager\", {\n key: _vm.key,\n attrs: {\n pageName: \"represReports\",\n page: _vm.representativeReport.page,\n },\n on: { changedData: _vm.checkedChangedData },\n })\n : _vm._e(),\n _c(\n \"modal\",\n { staticClass: \"modal\", attrs: { height: \"auto\", name: \"modal\" } },\n [\n _c(\"div\", { staticClass: \"modal-heading\" }, [\n _c(\"div\", { staticClass: \"modal-title\" }, [\n _c(\"h5\", [_vm._v(\"Müşteri Raporları\")]),\n ]),\n _c(\n \"a\",\n { on: { click: _vm.hideModalFromButtons } },\n [\n _c(\"base-icon\", {\n staticClass: \"close\",\n attrs: { name: \"close-circle\" },\n }),\n ],\n 1\n ),\n ]),\n _c(\n \"div\",\n { staticClass: \"modal-body\" },\n [\n _c(\"base-input\", {\n attrs: { inputType: \"number\", labelText: \"Müşteri Numarası\" },\n model: {\n value: _vm.CustomerNo,\n callback: function ($$v) {\n _vm.CustomerNo = $$v\n },\n expression: \"CustomerNo\",\n },\n }),\n _c(\"base-input\", {\n attrs: { inputType: \"text\", labelText: \"Ad Soyad\" },\n model: {\n value: _vm.CustomerName,\n callback: function ($$v) {\n _vm.CustomerName = $$v\n },\n expression: \"CustomerName\",\n },\n }),\n _c(\n \"div\",\n { staticClass: \"form-group\" },\n [\n _c(\n \"label\",\n {\n staticClass: \"form-control-label\",\n attrs: { for: \"dateFilter\" },\n },\n [_vm._v(\"Tarih Aralığı\")]\n ),\n _c(\"date-picker\", {\n attrs: { id: \"dateFilter\", valueType: \"format\", range: \"\" },\n on: { change: _vm.changeDateFilter },\n model: {\n value: _vm.dateFilter,\n callback: function ($$v) {\n _vm.dateFilter = $$v\n },\n expression: \"dateFilter\",\n },\n }),\n ],\n 1\n ),\n _c(\"BaseSelect\", {\n attrs: {\n selectedId:\n _vm.Applications === \"\"\n ? _vm.defaultSelected\n : _vm.Applications,\n fieldLabel: \"İşlem Platformu\",\n id: \"Applications\",\n options: _vm.vendor,\n placeholder: \"İşlem Platformu Seç\",\n clearable: false,\n },\n on: { change: _vm.changeApplications },\n model: {\n value: _vm.Applications,\n callback: function ($$v) {\n _vm.Applications = $$v\n },\n expression: \"Applications\",\n },\n }),\n _c(\"BaseSelect\", {\n attrs: {\n selectedId:\n _vm.Platforms === \"\" ? _vm.defaultSelected : _vm.Platforms,\n fieldLabel: \"Platform\",\n id: \"platform\",\n options: _vm.platform,\n placeholder: \"Platform Seç\",\n clearable: false,\n },\n on: { change: _vm.changePlatforms },\n model: {\n value: _vm.Platforms,\n callback: function ($$v) {\n _vm.Platforms = $$v\n },\n expression: \"Platforms\",\n },\n }),\n _c(\"BaseSelect\", {\n attrs: {\n selectedId:\n _vm.Markets === \"\" ? _vm.defaultSelected : _vm.Markets,\n fieldLabel: \"Paket Adı\",\n id: \"marketsList\",\n options: _vm.marketsList,\n placeholder: \"Paket Adı Seç\",\n clearable: false,\n multiple: false,\n },\n on: { change: _vm.changeMarketList },\n model: {\n value: _vm.Markets,\n callback: function ($$v) {\n _vm.Markets = $$v\n },\n expression: \"Markets\",\n },\n }),\n _c(\"BaseSelect\", {\n attrs: {\n selectedId:\n _vm.PerspectiveOrVendor === \"\"\n ? _vm.defaultSelected\n : _vm.PerspectiveOrVendor,\n fieldLabel: \"Ürün\",\n id: \"vendor\",\n options: _vm.perspectives,\n placeholder: \"Ürün Seç\",\n clearable: false,\n },\n on: { change: _vm.changeVendor },\n model: {\n value: _vm.PerspectiveOrVendor,\n callback: function ($$v) {\n _vm.PerspectiveOrVendor = $$v\n },\n expression: \"PerspectiveOrVendor\",\n },\n }),\n _c(\"BaseSelect\", {\n attrs: {\n selectedId:\n _vm.PackageStatus === \"\"\n ? _vm.defaultSelected\n : _vm.PackageStatus,\n fieldLabel: \"Durum\",\n id: \"filter\",\n options: _vm.statu,\n placeholder: \"Durum Seç\",\n clearable: false,\n },\n on: { change: _vm.changePackageStatus },\n model: {\n value: _vm.PackageStatus,\n callback: function ($$v) {\n _vm.PackageStatus = $$v\n },\n expression: \"PackageStatus\",\n },\n }),\n _c(\"BaseSelect\", {\n attrs: {\n selectedId:\n _vm.PaymentStatus === \"\"\n ? _vm.defaultSelected\n : _vm.PaymentStatus,\n fieldLabel: \"Masraf Ödeme Durumu\",\n id: \"filteredPaymentStatus\",\n options: _vm.paymentStatusList,\n placeholder: \"Seç\",\n clearable: false,\n },\n on: { change: _vm.changePaymentStatus },\n model: {\n value: _vm.PaymentStatus,\n callback: function ($$v) {\n _vm.PaymentStatus = $$v\n },\n expression: \"PaymentStatus\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"modal-bottom\" },\n [\n _c(\n \"base-button\",\n {\n staticClass: \"giveUp\",\n on: { click: _vm.hideModalFromButtons },\n },\n [_vm._v(\"Vazgeç\")]\n ),\n _c(\n \"base-button\",\n {\n staticClass: \"red-button\",\n attrs: { id: \"clear\" },\n on: { click: _vm.clear },\n },\n [_vm._v(\"Temizle\")]\n ),\n _c(\n \"base-button\",\n { staticClass: \"show\", on: { click: _vm.show } },\n [_vm._v(\"Göster\")]\n ),\n ],\n 1\n ),\n ]\n ),\n ],\n 1\n )\n}\nvar staticRenderFns = [\n function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"thead\", [\n _c(\"tr\", [\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Müşteri Numarası\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Ad Soyad\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Vendor\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Paket\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Ürün\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Platform\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Tutar\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Temsilci\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Kazandıran\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Durum\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Masraf Ödeme Durumu\")]),\n ]),\n ])\n },\n function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"thead\", [_c(\"tr\", [_c(\"th\", { attrs: { scope: \"col\" } })])])\n },\n function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"tbody\", [\n _c(\"td\", [_vm._v(\"Aradığınız kriterde sonuç bulunamadı..\")]),\n ])\n },\n]\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/views/RepresReports.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%2236ad6782-vue-loader-template%22%7D!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
|
|
23
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { staticClass: \"repres__reports\", attrs: { id: \"represReports\" } },\n [\n _c(\n \"div\",\n { staticClass: \"repres__reports-top\" },\n [\n _c(\"base-input\", {\n staticClass: \"customerNoInput\",\n attrs: { inputType: \"number\", labelText: \"Müşteri Numarası\" },\n model: {\n value: _vm.CustomerNo,\n callback: function ($$v) {\n _vm.CustomerNo = $$v\n },\n expression: \"CustomerNo\",\n },\n }),\n _c(\n \"div\",\n { staticClass: \"form-group\" },\n [\n _c(\n \"label\",\n {\n staticClass: \"form-control-label\",\n attrs: { for: \"dateFilter\" },\n },\n [_vm._v(\"Tarih Aralığı\")]\n ),\n _c(\"date-picker\", {\n staticClass: \"dateRangeFilter\",\n attrs: { id: \"dateFilter\", valueType: \"format\", range: \"\" },\n on: { change: _vm.changeDateFilter },\n model: {\n value: _vm.dateFilter,\n callback: function ($$v) {\n _vm.dateFilter = $$v\n },\n expression: \"dateFilter\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"form-group\" },\n [\n _c(\n \"base-button\",\n {\n staticClass: \"red-button\",\n attrs: { id: \"clear\" },\n on: { click: _vm.clear },\n },\n [_vm._v(\"Temizle\")]\n ),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"form-group\" },\n [\n _c(\n \"base-button\",\n {\n staticClass: \"showAll\",\n class: _vm.isButtonClicked ? \"no-click\" : \"\",\n attrs: { id: \"show\" },\n on: { click: _vm.show },\n },\n [\n _vm._v(\n _vm._s(!_vm.dataIsLoading ? \"Göster\" : \"Yükleniyor...\")\n ),\n ]\n ),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"form-group\" },\n [\n _c(\n \"base-button\",\n {\n attrs: { id: \"more\" },\n on: {\n click: function ($event) {\n return _vm.showModal()\n },\n },\n },\n [_vm._v(\"Daha Fazla\")]\n ),\n ],\n 1\n ),\n _vm.dataIsLoading || _vm.excelIsLoading\n ? _c(\"div\", { staticClass: \"loader\" }, [_vm._m(0)])\n : _vm._e(),\n ],\n 1\n ),\n _c(\"div\", { staticClass: \"repres__reports-result\" }, [\n _vm.representativeReport.data &&\n _vm.representativeReport.data.length > 0\n ? _c(\"table\", { attrs: { \"aria-describedby\": \"represTable\" } }, [\n _vm._m(1),\n _c(\n \"tbody\",\n [\n _vm._l(_vm.representativeReport.data, function (item, index) {\n return _c(\"tr\", { key: index }, [\n _c(\"td\", [_vm._v(_vm._s(item.customerNo))]),\n _c(\"td\", [_vm._v(_vm._s(item.customerFullName))]),\n _c(\"td\", [_vm._v(_vm._s(item.vendor))]),\n _c(\"td\", [_vm._v(_vm._s(item.market))]),\n _c(\"td\", [_vm._v(_vm._s(item.product))]),\n _c(\"td\", [_vm._v(_vm._s(item.platform))]),\n _c(\"td\", [\n item.priceType !== \"₺\"\n ? _c(\"span\", [_vm._v(_vm._s(item.priceType))])\n : _vm._e(),\n _vm._v(\" \" + _vm._s(item.price) + \" \"),\n item.priceType === \"₺\"\n ? _c(\"span\", [_vm._v(_vm._s(item.priceType))])\n : _vm._e(),\n ]),\n _c(\"td\", [_vm._v(_vm._s(item.representativeName))]),\n _c(\"td\", [_vm._v(_vm._s(item.earning))]),\n _c(\"td\", [_vm._v(_vm._s(item.status))]),\n _c(\"td\", [_vm._v(_vm._s(item.paymentStatus))]),\n ])\n }),\n _c(\"tr\", [\n _c(\n \"td\",\n [\n _c(\n \"base-button\",\n {\n staticClass: \"exportButton\",\n class: _vm.excelIsLoading ? \"no-click\" : \"\",\n on: { click: _vm.downloadExcel },\n },\n [\n _vm._v(\n _vm._s(\n !_vm.excelIsLoading\n ? \"Excel Export\"\n : \"Yükleniyor...\"\n )\n ),\n ]\n ),\n ],\n 1\n ),\n ]),\n ],\n 2\n ),\n ])\n : _c(\"table\", { attrs: { \"aria-describedby\": \"represTableEmpty\" } }, [\n _vm._m(2),\n _vm._m(3),\n ]),\n ]),\n _vm.representativeReport.page\n ? _c(\"Pager\", {\n key: _vm.key,\n attrs: {\n pageName: \"represReports\",\n page: _vm.representativeReport.page,\n },\n on: { changedData: _vm.checkedChangedData },\n })\n : _vm._e(),\n _c(\n \"modal\",\n { staticClass: \"modal\", attrs: { height: \"auto\", name: \"modal\" } },\n [\n _c(\"div\", { staticClass: \"modal-heading\" }, [\n _c(\"div\", { staticClass: \"modal-title\" }, [\n _c(\"h5\", [_vm._v(\"Müşteri Raporları\")]),\n ]),\n _c(\n \"a\",\n { on: { click: _vm.hideModalFromButtons } },\n [\n _c(\"base-icon\", {\n staticClass: \"close\",\n attrs: { name: \"close-circle\" },\n }),\n ],\n 1\n ),\n ]),\n _c(\n \"div\",\n { staticClass: \"modal-body\" },\n [\n _c(\"base-input\", {\n attrs: { inputType: \"number\", labelText: \"Müşteri Numarası\" },\n model: {\n value: _vm.CustomerNo,\n callback: function ($$v) {\n _vm.CustomerNo = $$v\n },\n expression: \"CustomerNo\",\n },\n }),\n _c(\"base-input\", {\n attrs: { inputType: \"text\", labelText: \"Ad Soyad\" },\n model: {\n value: _vm.CustomerName,\n callback: function ($$v) {\n _vm.CustomerName = $$v\n },\n expression: \"CustomerName\",\n },\n }),\n _c(\n \"div\",\n { staticClass: \"form-group\" },\n [\n _c(\n \"label\",\n {\n staticClass: \"form-control-label\",\n attrs: { for: \"dateFilter\" },\n },\n [_vm._v(\"Tarih Aralığı\")]\n ),\n _c(\"date-picker\", {\n attrs: { id: \"dateFilter\", valueType: \"format\", range: \"\" },\n on: { change: _vm.changeDateFilter },\n model: {\n value: _vm.dateFilter,\n callback: function ($$v) {\n _vm.dateFilter = $$v\n },\n expression: \"dateFilter\",\n },\n }),\n ],\n 1\n ),\n _c(\"BaseSelect\", {\n attrs: {\n selectedId:\n _vm.Applications === \"\"\n ? _vm.defaultSelected\n : _vm.Applications,\n fieldLabel: \"İşlem Platformu\",\n id: \"Applications\",\n options: _vm.vendor,\n placeholder: \"İşlem Platformu Seç\",\n clearable: false,\n },\n on: { change: _vm.changeApplications },\n model: {\n value: _vm.Applications,\n callback: function ($$v) {\n _vm.Applications = $$v\n },\n expression: \"Applications\",\n },\n }),\n _c(\"BaseSelect\", {\n attrs: {\n selectedId:\n _vm.Platforms === \"\" ? _vm.defaultSelected : _vm.Platforms,\n fieldLabel: \"Platform\",\n id: \"platform\",\n options: _vm.platform,\n placeholder: \"Platform Seç\",\n clearable: false,\n },\n on: { change: _vm.changePlatforms },\n model: {\n value: _vm.Platforms,\n callback: function ($$v) {\n _vm.Platforms = $$v\n },\n expression: \"Platforms\",\n },\n }),\n _c(\"BaseSelect\", {\n attrs: {\n selectedId:\n _vm.Markets === \"\" ? _vm.defaultSelected : _vm.Markets,\n fieldLabel: \"Paket Adı\",\n id: \"marketsList\",\n options: _vm.marketsList,\n placeholder: \"Paket Adı Seç\",\n clearable: false,\n multiple: false,\n },\n on: { change: _vm.changeMarketList },\n model: {\n value: _vm.Markets,\n callback: function ($$v) {\n _vm.Markets = $$v\n },\n expression: \"Markets\",\n },\n }),\n _c(\"BaseSelect\", {\n attrs: {\n selectedId:\n _vm.PerspectiveOrVendor === \"\"\n ? _vm.defaultSelected\n : _vm.PerspectiveOrVendor,\n fieldLabel: \"Ürün\",\n id: \"vendor\",\n options: _vm.perspectives,\n placeholder: \"Ürün Seç\",\n clearable: false,\n },\n on: { change: _vm.changeVendor },\n model: {\n value: _vm.PerspectiveOrVendor,\n callback: function ($$v) {\n _vm.PerspectiveOrVendor = $$v\n },\n expression: \"PerspectiveOrVendor\",\n },\n }),\n _c(\"BaseSelect\", {\n attrs: {\n selectedId:\n _vm.PackageStatus === \"\"\n ? _vm.defaultSelected\n : _vm.PackageStatus,\n fieldLabel: \"Durum\",\n id: \"filter\",\n options: _vm.statu,\n placeholder: \"Durum Seç\",\n clearable: false,\n },\n on: { change: _vm.changePackageStatus },\n model: {\n value: _vm.PackageStatus,\n callback: function ($$v) {\n _vm.PackageStatus = $$v\n },\n expression: \"PackageStatus\",\n },\n }),\n _c(\"BaseSelect\", {\n attrs: {\n selectedId:\n _vm.PaymentStatus === \"\"\n ? _vm.defaultSelected\n : _vm.PaymentStatus,\n fieldLabel: \"Masraf Ödeme Durumu\",\n id: \"filteredPaymentStatus\",\n options: _vm.paymentStatusList,\n placeholder: \"Seç\",\n clearable: false,\n },\n on: { change: _vm.changePaymentStatus },\n model: {\n value: _vm.PaymentStatus,\n callback: function ($$v) {\n _vm.PaymentStatus = $$v\n },\n expression: \"PaymentStatus\",\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"modal-bottom\" },\n [\n _c(\n \"base-button\",\n {\n staticClass: \"giveUp\",\n on: { click: _vm.hideModalFromButtons },\n },\n [_vm._v(\"Vazgeç\")]\n ),\n _c(\n \"base-button\",\n {\n staticClass: \"red-button\",\n attrs: { id: \"clear\" },\n on: { click: _vm.clear },\n },\n [_vm._v(\"Temizle\")]\n ),\n _c(\n \"base-button\",\n { staticClass: \"show\", on: { click: _vm.show } },\n [_vm._v(\"Göster\")]\n ),\n ],\n 1\n ),\n ]\n ),\n ],\n 1\n )\n}\nvar staticRenderFns = [\n function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", { staticClass: \"lds-ring\" }, [\n _c(\"div\"),\n _c(\"div\"),\n _c(\"div\"),\n _c(\"div\"),\n ])\n },\n function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"thead\", [\n _c(\"tr\", [\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Müşteri Numarası\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Ad Soyad\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Vendor\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Paket\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Ürün\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Platform\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Tutar\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Temsilci\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Kazandıran\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Durum\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Masraf Ödeme Durumu\")]),\n ]),\n ])\n },\n function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"thead\", [_c(\"tr\", [_c(\"th\", { attrs: { scope: \"col\" } })])])\n },\n function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"tbody\", [\n _c(\"td\", [_vm._v(\"Aradığınız kriterde sonuç bulunamadı..\")]),\n ])\n },\n]\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/views/RepresReports.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%2236ad6782-vue-loader-template%22%7D!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
|
|
24
24
|
|
|
25
25
|
/***/ }),
|
|
26
26
|
|
|
@@ -31,7 +31,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) *
|
|
|
31
31
|
/*! no static exports found */
|
|
32
32
|
/***/ (function(module, exports, __webpack_require__) {
|
|
33
33
|
|
|
34
|
-
eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.i, \".repres__reports {\\n padding: 23px;\\n}\\n.repres__reports-top {\\n display: flex;\\n justify-content: flex-start;\\n align-items: flex-end;\\n}\\n@media (max-width: 768px) {\\n.repres__reports-top {\\n flex-direction: column;\\n}\\n}\\n.repres__reports .base-button {\\n height: 45px;\\n padding: 0 30px;\\n font-size: 14px;\\n}\\n.repres__reports .base-form-input {\\n margin: 0 10px;\\n}\\n@media (max-width: 768px) {\\n.repres__reports .base-form-input {\\n width: 100%;\\n}\\n}\\n.repres__reports .base-form-input input {\\n width: 188px;\\n height: 43px;\\n box-shadow: none;\\n border: 1px solid #ccc;\\n position: relative;\\n}\\n@media (max-width: 768px) {\\n.repres__reports .base-form-input input {\\n width: 100%;\\n padding: 0px;\\n padding-left: 10px;\\n}\\n}\\n.repres__reports .base-form-input label {\\n width: -webkit-max-content;\\n width: -moz-max-content;\\n width: max-content;\\n top: 8px;\\n margin-bottom: 0;\\n}\\n.repres__reports .form-group {\\n margin: 0 10px;\\n}\\n@media (max-width: 768px) {\\n.repres__reports .form-group {\\n width: 100%;\\n margin-bottom: 20px;\\n}\\n}\\n.repres__reports .form-group .no-click {\\n background-color: #555555;\\n color: #fff;\\n pointer-events: none;\\n}\\n.repres__reports .form-control-label,\\n .repres__reports .base-form-input label {\\n font-size: 12px;\\n color: var(--grayscale-70);\\n position: relative;\\n padding: 0 7px;\\n margin-left: 10px;\\n z-index: 2;\\n background: #ffffff;\\n}\\n.repres__reports .form-control-label {\\n top: 10px;\\n}\\n.repres__reports .mx-datepicker {\\n display: block;\\n}\\n.repres__reports .mx-datepicker-range {\\n width: 202px;\\n}\\n@media (max-width: 768px) {\\n.repres__reports .mx-datepicker-range {\\n width: 100%;\\n}\\n}\\n.repres__reports .mx-datepicker .mx-input {\\n height: 47px;\\n}\\n.repres__reports-result {\\n overflow-x: auto;\\n margin-top: 3em;\\n}\\n.repres__reports-result table {\\n border-collapse: collapse;\\n width: 100%;\\n border: 1px solid #e8e8e8;\\n}\\n.repres__reports-result td,\\n .repres__reports-result th {\\n text-align: center;\\n padding: 15px 8px;\\n font-size: 13px;\\n}\\n.repres__reports-result tr:nth-child(odd) {\\n background-color: #f9f9fa;\\n}\\n.repres__reports .modal .vm--modal {\\n width: 940px !important;\\n left: 0 !important;\\n margin: 0 auto;\\n}\\n.repres__reports .modal .modal-heading {\\n height: 40px;\\n border-bottom: 1px solid var(--grayscale-30);\\n display: flex;\\n align-items: center;\\n padding: 15px 30px;\\n justify-content: space-between;\\n}\\n.repres__reports .modal .modal-heading .close {\\n margin: 5px;\\n cursor: pointer;\\n}\\n.repres__reports .modal .modal-bottom {\\n margin-top: 1em;\\n border-top: 1px solid var(--grayscale-30);\\n display: flex;\\n justify-content: flex-end;\\n padding: 15px 30px;\\n}\\n.repres__reports .modal .modal-bottom .base-button {\\n width: 180px;\\n font-size: 15px;\\n margin-left: 10px;\\n}\\n.repres__reports .modal .modal-bottom .base-button.giveUp {\\n background: none;\\n color: var(--grayscale-60);\\n}\\n@media (max-width: 500px) {\\n.repres__reports .modal .modal-bottom .base-button {\\n font-size: 8px;\\n}\\n}\\n.repres__reports .modal .modal-body {\\n padding: 15px 25px;\\n display: flex;\\n flex-wrap: wrap;\\n justify-content: space-between;\\n align-items: flex-end;\\n}\\n.repres__reports .modal .modal-body .veri-dagitim-selectbox .vs__dropdown-toggle {\\n min-height: 47px;\\n}\\n.repres__reports .modal .modal-body .veri-dagitim-selectbox .vs__selected {\\n width: 140px;\\n text-overflow: ellipsis;\\n white-space: nowrap;\\n overflow: hidden;\\n}\\n.repres__reports .red-button {\\n background-color: var(--color-warning);\\n color: var(--grayscale-0);\\n}\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/views/RepresReports.vue?./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--9-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
|
|
34
|
+
eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.i, \".repres__reports {\\n padding: 23px;\\n}\\n.repres__reports-top {\\n display: flex;\\n justify-content: flex-start;\\n align-items: flex-end;\\n}\\n@media (max-width: 768px) {\\n.repres__reports-top {\\n flex-direction: column;\\n}\\n}\\n.repres__reports .base-button {\\n height: 45px;\\n padding: 0 30px;\\n font-size: 14px;\\n}\\n.repres__reports .base-form-input {\\n margin: 0 10px;\\n}\\n@media (max-width: 768px) {\\n.repres__reports .base-form-input {\\n width: 100%;\\n}\\n}\\n.repres__reports .base-form-input input {\\n width: 188px;\\n height: 43px;\\n box-shadow: none;\\n border: 1px solid #ccc;\\n position: relative;\\n}\\n@media (max-width: 768px) {\\n.repres__reports .base-form-input input {\\n width: 100%;\\n padding: 0px;\\n padding-left: 10px;\\n}\\n}\\n.repres__reports .base-form-input label {\\n width: -webkit-max-content;\\n width: -moz-max-content;\\n width: max-content;\\n top: 8px;\\n margin-bottom: 0;\\n}\\n.repres__reports .form-group {\\n margin: 0 10px;\\n}\\n@media (max-width: 768px) {\\n.repres__reports .form-group {\\n width: 100%;\\n margin-bottom: 20px;\\n}\\n}\\n.repres__reports .form-group .no-click {\\n background-color: #555555;\\n color: #fff;\\n pointer-events: none;\\n}\\n.repres__reports .form-control-label,\\n .repres__reports .base-form-input label {\\n font-size: 12px;\\n color: var(--grayscale-70);\\n position: relative;\\n padding: 0 7px;\\n margin-left: 10px;\\n z-index: 2;\\n background: #ffffff;\\n}\\n.repres__reports .form-control-label {\\n top: 10px;\\n}\\n.repres__reports .mx-datepicker {\\n display: block;\\n}\\n.repres__reports .mx-datepicker-range {\\n width: 202px;\\n}\\n@media (max-width: 768px) {\\n.repres__reports .mx-datepicker-range {\\n width: 100%;\\n}\\n}\\n.repres__reports .mx-datepicker .mx-input {\\n height: 47px;\\n}\\n.repres__reports-result {\\n overflow-x: auto;\\n margin-top: 3em;\\n}\\n.repres__reports-result table {\\n border-collapse: collapse;\\n width: 100%;\\n border: 1px solid #e8e8e8;\\n}\\n.repres__reports-result td,\\n .repres__reports-result th {\\n text-align: center;\\n padding: 15px 8px;\\n font-size: 13px;\\n}\\n.repres__reports-result tr:nth-child(odd) {\\n background-color: #f9f9fa;\\n}\\n.repres__reports .modal .vm--modal {\\n width: 940px !important;\\n left: 0 !important;\\n margin: 0 auto;\\n}\\n.repres__reports .modal .modal-heading {\\n height: 40px;\\n border-bottom: 1px solid var(--grayscale-30);\\n display: flex;\\n align-items: center;\\n padding: 15px 30px;\\n justify-content: space-between;\\n}\\n.repres__reports .modal .modal-heading .close {\\n margin: 5px;\\n cursor: pointer;\\n}\\n.repres__reports .modal .modal-bottom {\\n margin-top: 1em;\\n border-top: 1px solid var(--grayscale-30);\\n display: flex;\\n justify-content: flex-end;\\n padding: 15px 30px;\\n}\\n.repres__reports .modal .modal-bottom .base-button {\\n width: 180px;\\n font-size: 15px;\\n margin-left: 10px;\\n}\\n.repres__reports .modal .modal-bottom .base-button.giveUp {\\n background: none;\\n color: var(--grayscale-60);\\n}\\n@media (max-width: 500px) {\\n.repres__reports .modal .modal-bottom .base-button {\\n font-size: 8px;\\n}\\n}\\n.repres__reports .modal .modal-body {\\n padding: 15px 25px;\\n display: flex;\\n flex-wrap: wrap;\\n justify-content: space-between;\\n align-items: flex-end;\\n}\\n.repres__reports .modal .modal-body .veri-dagitim-selectbox .vs__dropdown-toggle {\\n min-height: 47px;\\n}\\n.repres__reports .modal .modal-body .veri-dagitim-selectbox .vs__selected {\\n width: 140px;\\n text-overflow: ellipsis;\\n white-space: nowrap;\\n overflow: hidden;\\n}\\n.repres__reports .red-button {\\n background-color: var(--color-warning);\\n color: var(--grayscale-0);\\n}\\n.repres__reports .loader {\\n transform: scale(0.5);\\n}\\n.repres__reports .lds-ring {\\n display: inline-block;\\n position: relative;\\n width: 50px;\\n height: 50px;\\n}\\n.repres__reports .lds-ring div {\\n box-sizing: border-box;\\n display: block;\\n position: absolute;\\n width: 64px;\\n height: 64px;\\n margin: 8px;\\n border: 8px solid #ccc;\\n border-radius: 50%;\\n -webkit-animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;\\n animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;\\n border-color: #ccc transparent transparent transparent;\\n}\\n.repres__reports .lds-ring div:nth-child(1) {\\n -webkit-animation-delay: -0.45s;\\n animation-delay: -0.45s;\\n}\\n.repres__reports .lds-ring div:nth-child(2) {\\n -webkit-animation-delay: -0.3s;\\n animation-delay: -0.3s;\\n}\\n.repres__reports .lds-ring div:nth-child(3) {\\n -webkit-animation-delay: -0.15s;\\n animation-delay: -0.15s;\\n}\\n@-webkit-keyframes lds-ring {\\n0% {\\n transform: rotate(0deg);\\n}\\n100% {\\n transform: rotate(360deg);\\n}\\n}\\n@keyframes lds-ring {\\n0% {\\n transform: rotate(0deg);\\n}\\n100% {\\n transform: rotate(360deg);\\n}\\n}\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/views/RepresReports.vue?./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--9-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
|
|
35
35
|
|
|
36
36
|
/***/ }),
|
|
37
37
|
|