/
home
/
liman
/
panel
/
js
/
File Upload :
llllll
Current File: /home/liman/panel/js/6774-legacy.9023011e.js.map
{"version":3,"file":"js/6774-legacy.9023011e.js","mappings":"wJAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,cAAc,CAACE,MAAM,CAAC,MAAQN,EAAIO,UAAU,gBAAgBP,EAAIQ,aAAa,iBAAiBR,EAAIS,YAAY,QAAWT,EAAIU,GAAK,SAAW,OAAS,kBAAmBC,GAAG,CAAC,OAASX,EAAIY,OAAO,OAASZ,EAAIa,OAAO,gBAAkBb,EAAIc,cAC1UC,EAAkB,G,kECWtB,GACEC,KAAM,gBACNC,WAAY,CACVC,WAAJA,EAAAA,GAEEC,KALF,WAMI,MAAO,CACLZ,UAAWa,OAAOC,OAAOD,OAAOC,OAAO,GAAId,GAAgB,CACzDe,KAAM,CAAdC,MAAAA,QAAAC,UAAAA,CAAAA,CAAAC,WAAAA,cACQC,OAAQ,CAAhBH,MAAAA,SAAAI,OAAAA,CAAAC,KAAAA,SAAAC,IAAAA,IACQC,SAAU,CACRP,MAAO,QAAP,UAAVC,GAAU,UAAVO,EACUJ,OAAQ,CACNC,KAAM,SACNI,QAAS,WACTC,aAAc,OACdC,YAAa,CAAzBC,IAAAA,KAAAC,QAAAA,QACYC,cAAc,EACdC,QAAQ,IAGZC,KAAM,CACJhB,MAAO,MAAP,UAAVC,GACUG,OAAQ,CACNC,KAAM,SACNI,QAAS,OACTC,aAAc,OACdC,YAAa,CAAzBC,IAAAA,KAAAC,QAAAA,QACYC,cAAc,EACdC,QAAQ,IAGZE,QAAS,CACPjB,MAAO,OACPC,UAAW,GACXG,OAAQ,CAAlBC,KAAAA,WAAAa,SAAAA,CAAAC,QAAAA,EAAAC,QAAAA,IACUC,IAAK,qBAKbC,OAAQ,CAACA,EAAAA,EAAMA,EAAAA,GACfC,SAAU,CACRrC,YADJ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C,EAAI,IAAIC,MAAM,uBAAyBP,EAAM,KAEjD,MADAM,EAAEE,KAAO,mBACHF,KAIR,IAAIG,EAAMX,EAAIE,GAAMtF,EAAK+F,EAAI,GAC7B,OAAOR,EAAoBK,EAAEG,EAAI,IAAIJ,MAAK,WACzC,OAAOJ,EAAoBvF,MAG7BqF,EAAoBW,KAAO,WAAa,OAAOtF,OAAOsF,KAAKZ,IAC3DC,EAAoBrF,GAAK,MACzBiG,EAAOC,QAAUb,G","sources":["webpack://liman/./src/views/user/porter/add-edit-porter.vue?dd45","webpack://liman/src/views/user/porter/add-edit-porter.vue","webpack://liman/./src/views/user/porter/add-edit-porter.vue?66fd","webpack://liman/./src/views/user/porter/add-edit-porter.vue","webpack://liman/./src/mixins/city.js","webpack://liman/./src/mixins/restFull.js","webpack://liman/./src/tableModel|lazy|/^/.*Tbl$/|groupOptions: {}|namespace object"],"sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('sedmed-form',{attrs:{\"items\":_vm.fromItems,\"initial-value\":_vm.initialValue,\"select-options\":_vm.formOptions,\"okText\":((_vm.id ? 'ویرایش' : 'ثبت') + \" کارشناس فروش \")},on:{\"create\":_vm.create,\"update\":_vm.update,\"change_province\":_vm.getCities}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <sedmed-form :items=\"fromItems\" @create=\"create\" @update=\"update\" @change_province=\"getCities\"\r\n :initial-value=\"initialValue\" :select-options=\"formOptions\"\r\n :okText=\"`${id ? 'ویرایش' : 'ثبت'} کارشناس فروش `\"/>\r\n</template>\r\n\r\n<script>\r\nimport city from '@/mixins/city'\r\nimport defaultFeilds from '@/mixins/defaultFeilds'\r\nimport SedmedForm from '@/components/sedmed-form/sedmed-form.vue'\r\nimport restFull from \"@/mixins/restFull\";\r\n\r\nexport default {\r\n name: 'addEditPorter',\r\n components: {\r\n SedmedForm,\r\n },\r\n data() {\r\n return {\r\n fromItems: Object.assign(Object.assign({}, defaultFeilds), {\r\n aria: {label: 'منطقه', decorator: [{defaultKey: 'required'}]},\r\n credit: {label: 'اعتبار', custom: {mode: 'number', min: 0}},\r\n province: {\r\n label: 'استان', decorator: [/*{defaultKey: 'required'}*/], getEvent: true,\r\n custom: {\r\n mode: 'select',\r\n options: 'province',\r\n options_mode: 'list',\r\n options_key: {val: 'id', display: 'name'},\r\n filterOption: true,\r\n search: true\r\n },\r\n },\r\n city: {\r\n label: 'شهر', decorator: [/*{defaultKey: 'required'}*/],\r\n custom: {\r\n mode: 'select',\r\n options: 'city',\r\n options_mode: 'list',\r\n options_key: {val: 'id', display: 'name'},\r\n filterOption: true,\r\n search: true\r\n },\r\n },\r\n address: {\r\n label: 'آدرس',\r\n decorator: [/*{defaultKey: 'required'}*/],\r\n custom: {mode: 'textarea', autoSize: {minRows: 3, maxRows: 5},},\r\n cls: 'md:col-span-3'\r\n },\r\n }),\r\n }\r\n },\r\n mixins: [city, restFull],\r\n computed: {\r\n formOptions() {\r\n return {\r\n province: this.province,\r\n city: this.cities,\r\n }\r\n },\r\n },\r\n async created() {\r\n await this.getProvince()\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!./add-edit-porter.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!./add-edit-porter.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./add-edit-porter.vue?vue&type=template&id=61a0cdda&scoped=true&\"\nimport script from \"./add-edit-porter.vue?vue&type=script&lang=js&\"\nexport * from \"./add-edit-porter.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 \"61a0cdda\",\n null\n \n)\n\nexport default component.exports","export default {\r\n data() {\r\n return {\r\n province: [],\r\n cities: [],\r\n }\r\n },\r\n methods: {\r\n async getProvince() {\r\n try {\r\n this.$store.commit('setLoading', true)\r\n const { data: {rows} } = await this.$caxios.post('/utility/province/table',{\r\n limit:2000,\r\n filters: [{field: 'level', value: 1}],\r\n })\r\n this.province = rows[0]\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 getCities(id) {\r\n try {\r\n if (id) {\r\n this.$store.commit('setLoading', true)\r\n const { data: {rows} } = await this.$caxios.post('/utility/province/table',{\r\n filters: [{field: 'parent', value: id}],\r\n limit:2000,\r\n })\r\n this.cities = rows[0]\r\n }\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 },\r\n}\r\n","export default {\r\n data() {\r\n return {\r\n initialValue: undefined,\r\n model: undefined,\r\n view: false,\r\n }\r\n },\r\n computed: {\r\n id() {\r\n return this.$route.params.id\r\n },\r\n restfull() {\r\n return this.$route.meta.restfull\r\n },\r\n restfullPath() {\r\n return this.$route.meta.restfullPath || this.$route.meta.restfull\r\n },\r\n customRoute() {\r\n return this.$route.meta.isCustomRoute\r\n },\r\n },\r\n async created() {\r\n const model = await import(`@/tableModel/${this.restfull}Tbl`)\r\n this.model = model.default\r\n if (this.id && !this.customRoute) await this.getData()\r\n if (this.initialValue && this.initialValue.city) {\r\n await this.getProvince()\r\n if (this.initialValue.province) await this.getCities(this.initialValue.province)\r\n }\r\n },\r\n methods: {\r\n async getData(id = undefined) {\r\n try {\r\n this.$store.commit('setLoading', true)\r\n const {data} = await this.$axios.get(`/${this.restfullPath}/${id || this.id}/`)\r\n if (data && data.city && data.city.id && data.city.parent && data.city.parent.id) {\r\n this.initialValue = Object.assign(data, {\r\n province: data.city.parent.id,\r\n city: data.city.id\r\n })\r\n }\r\n else this.initialValue = data\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 update(values) {\r\n try {\r\n this.$store.commit('setLoading', true)\r\n await this.$axios.patch(`/${this.restfullPath}/${this.id}/`, values)\r\n this.$ntSuccess('اطلاعات با موفقیت آپدیت شد')\r\n await this.$router.push({name: `${this.restfull}_list`})\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 create(values) {\r\n try {\r\n this.$store.commit('setLoading', true)\r\n await this.$axios.post(`/${this.restfullPath}/`, values)\r\n this.$ntSuccess('اطلاعات با موفقیت ثبت شد')\r\n await this.$router.push({name: `${this.restfull}_list`})\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\r\n\r\n\r\n // list methods\r\n toEdit(id) {\r\n window.open(`/${this.restfull}/edit/${id}`, '_blank').focus()\r\n },\r\n setInitialValue(row) {\r\n this.initialValue = row\r\n this.view = true\r\n },\r\n async toView(id) {\r\n await this.getData(id)\r\n this.view = true\r\n },\r\n async deleteItem(id) {\r\n try {\r\n this.$store.commit('setLoading', true)\r\n await this.$axios.delete(`/${this.restfullPath}/${id}/`)\r\n this.$ntSuccess('آیتم با موفقیت حذف شد')\r\n await this.$refs[`${this.restfull}Tbl`].fetch()\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 },\r\n}\r\n","var map = {\n\t\"./brandTbl\": [\n\t\t54660,\n\t\t4660\n\t],\n\t\"./categoryTbl\": [\n\t\t22881,\n\t\t2881\n\t],\n\t\"./constantTbl\": [\n\t\t77041,\n\t\t7041\n\t],\n\t\"./customerTbl\": [\n\t\t61003,\n\t\t1003\n\t],\n\t\"./documentTbl\": [\n\t\t1370,\n\t\t1370\n\t],\n\t\"./factorTbl\": [\n\t\t13159,\n\t\t3159\n\t],\n\t\"./negotiable-typeTbl\": [\n\t\t47429,\n\t\t7429\n\t],\n\t\"./negotiableTbl\": [\n\t\t2941,\n\t\t2941\n\t],\n\t\"./orderTbl\": [\n\t\t56730,\n\t\t6730\n\t],\n\t\"./porsantTbl\": [\n\t\t45693,\n\t\t5693\n\t],\n\t\"./porterTbl\": [\n\t\t63685,\n\t\t3685\n\t],\n\t\"./productTbl\": [\n\t\t44740,\n\t\t4740\n\t],\n\t\"./sasheTbl\": [\n\t\t45868,\n\t\t5868\n\t],\n\t\"./userTbl\": [\n\t\t66896,\n\t\t6896\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(function() {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = function() { return Object.keys(map); };\nwebpackAsyncContext.id = 18847;\nmodule.exports = webpackAsyncContext;"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","fromItems","initialValue","formOptions","id","on","create","update","getCities","staticRenderFns","name","components","SedmedForm","data","Object","assign","aria","label","decorator","defaultKey","credit","custom","mode","min","province","getEvent","options","options_mode","options_key","val","display","filterOption","search","city","address","autoSize","minRows","maxRows","cls","mixins","computed","cities","component","methods","getProvince","$store","commit","$caxios","post","limit","filters","field","value","rows","console","log","undefined","model","view","$route","params","restfull","meta","restfullPath","customRoute","isCustomRoute","created","default","getData","$axios","get","parent","values","patch","$ntSuccess","$router","push","toEdit","window","open","focus","setInitialValue","row","toView","deleteItem","delete","$refs","fetch","map","webpackAsyncContext","req","__webpack_require__","o","Promise","resolve","then","e","Error","code","ids","keys","module","exports"],"sourceRoot":""}
Copyright ©2k19 -
Hexid
|
Tex7ure