1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804 |
- exports.ids = [63,16,19];
- exports.modules = {
- /***/ 159:
- /***/ (function(module, exports) {
- // Exports
- module.exports = {
- };
- /***/ }),
- /***/ 182:
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Pagination_vue_vue_type_style_index_0_id_044ef958_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(159);
- /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Pagination_vue_vue_type_style_index_0_id_044ef958_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Pagination_vue_vue_type_style_index_0_id_044ef958_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
- /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Pagination_vue_vue_type_style_index_0_id_044ef958_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Pagination_vue_vue_type_style_index_0_id_044ef958_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
- /***/ }),
- /***/ 183:
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- /* unused harmony export formatPrice */
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return round; });
- /* unused harmony export transformNumber */
- /* unused harmony export getUnit */
- /* unused harmony export getSetup */
- /* unused harmony export getPrint */
- /* unused harmony export getAddon */
- /* unused harmony export getPackaging */
- /* unused harmony export getFright */
- /* harmony import */ var number_precision__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(121);
- /* harmony import */ var number_precision__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(number_precision__WEBPACK_IMPORTED_MODULE_0__);
- // 商品价格计算相关
- // 价格格式化
- function formatPrice(value, needSymbol = true) {
- // 不能在最后一步显示之前格式化999 111, 否则可能出现单价1买999个得到999价格被格式化成poa的情况
- if (value === 0) {
- return needSymbol ? '£0.00' : '0.00';
- } else {
- return needSymbol ? `£${value}` : `${value}`;
- }
- }
- // 简单的乘法换算
- function multiply(value, ratio = 100) {
- return parseFloat((value * ratio).toPrecision(12));
- }
- // 小数处理, 四舍五入, 为toFixed做准备
- function round(number, ratio = 100) {
- return Math.round(multiply(number, ratio)) / ratio;
- }
- /**
- * 将字符串简单转换成数字, 并可数倍转换. 注意, 这个适用于整数倍(商品件数), 非整数的不能用这个处理小数.
- * @param {*} value 目标值
- * @param {*} ratio 倍数, 默认1
- * @returns number | origin, 转换后的数字, 无法转成数字的返回原值
- */
- function transformNumber(value, ratio = 1) {
- const v = Number(value);
- if (Number.isNaN(v)) {
- return value;
- } else {
- // 保留两位小数
- return Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["divide"])(Math.trunc(Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["times"])(Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["times"])(v, ratio), 100)), 100);
- }
- }
- // unit 单个商品的, 没有乘数量. 因为含有111 999 这些极端值, 没有格式化输出之前直接乘回出问题的.
- const getUnit = function (buyNum, index, attributeList, basePriceList) {
- // 算出购买数量位于 价格阶梯的 哪个区间
- const candidate = Object.entries(attributeList).filter(item => buyNum >= item[1]);
- let key = 'website_qty1';
- if (candidate.length) {
- key = candidate.pop()[0];
- }
- return transformNumber(basePriceList[index][key], buyNum);
- };
- // 打印和附加价格 的steup之和. 商品基础价格现在没有setup了.
- const getSetup = function (buyNum, form, additionList) {
- const sum = Object.entries(form).reduce((total, current) => {
- let s = 0;
- // 打印服务表单的数据跟附加服务表单的数据结构不一致, 以数字id字符串键名的是打印服务的数据
- if (/\d+/.test(current[0]) && current[1].enable) {
- const temp = current[1].colorForm.filter(i => i.id === current[1].printService);
- let colorNumber = 1;
- if (temp.length) {
- colorNumber = temp[0].colorNumber;
- }
- const decoration = current[1].decorationList.filter(i => i.id === current[1].printService);
- let setup = 0;
- if (decoration.length) {
- setup = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["plus"])(Number(decoration[0].website_setup), Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["times"])(Number(decoration[0].supplier_setup), colorNumber - 1));
- }
- s = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["plus"])(s, setup);
- } else if (current[1].length) {
- // 附加服务的表单数据, 有值说明该项有选中了附加服务
- const addition = additionList[current[0]].filter(addition => current[1].includes(addition.id));
- if (addition.length) {
- const temp = addition.reduce((t, c) => {
- let value = Number(c.website_setup);
- if ([5, 6].includes(c.website_setup_id)) {
- // 5是poa, 6是waived. 这种情况一般setup是留空的, 不留空大概是异常数据, 重置0保险一点.
- value = 0;
- }
- return Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["plus"])(t, Number.isNaN(value) ? 0 : value);
- }, 0);
- s = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["plus"])(s, temp);
- }
- }
- total = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["plus"])(total, s);
- return total;
- }, 0);
- return transformNumber(sum);
- };
- // 打印价格的 阶梯基础价*购买数量.
- const getPrint = function (buyNum, form, attributeList) {
- // 算出购买数量位于 价格阶梯的 哪个区间
- const candidate = Object.entries(attributeList).filter(item => buyNum >= item[1]);
- const key = `website_qty${candidate.length}`;
- const key2 = `supplier_qty${candidate.length}`;
- // 如果其中一项为POA, 则‘和’都是POA
- const result = Object.entries(form).reduce((total, current) => {
- if (total === 'POA') {
- return total;
- }
- let sum = 0;
- if (/\d+/.test(current[0]) && current[1].enable) {
- const temp = current[1].colorForm.filter(i => i.id === current[1].printService);
- let colorNumber = 1;
- if (temp.length) {
- colorNumber = temp[0].colorNumber;
- }
- const decoration = current[1].decorationList.filter(i => i.id === current[1].printService);
- // 打印价格的基础价. 其中数字111(代表'-') 和999(代表'POA')
- const p1 = transformNumber(decoration[0][key]);
- if (p1 === 999 || p1 === 111 || typeof p1 !== 'number') {
- return 'POA';
- }
- // 打印价格的附加价
- const p2 = transformNumber(decoration[0][key2]);
- if (p2 === 999 || p2 === 111 || typeof p2 !== 'number') {
- return 'POA';
- }
- let price = 0;
- if (decoration.length) {
- price = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["plus"])(p1, Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["times"])(p2, colorNumber - 1));
- }
- sum = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["plus"])(sum, price);
- }
- total = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["plus"])(total, sum);
- return total;
- }, 0);
- return transformNumber(result, buyNum);
- };
- // 附加服务除了packing之外的总价
- const getAddon = function (buyNum, form, attributeList, additionList) {
- // 算出购买数量位于 价格阶梯的 哪个区间
- const candidate = Object.entries(attributeList).filter(item => buyNum >= item[1]);
- const key = `website_qty${candidate.length}`;
- const result = Object.entries(form).reduce((total, current) => {
- if (total === 'POA') {
- return total;
- }
- let sum = 0;
- if (!/\d+/.test(current[0]) && current[0] !== 'packaging') {
- sum = additionList[current[0]].filter(item => current[1].includes(item.id)).reduce((t, c) => {
- if (t === 'POA') {
- return t;
- }
- let temp = transformNumber(c[key]);
- if (temp === 999 || temp === 111 || typeof temp !== 'number') {
- temp = 0;
- return 'POA';
- }
- t = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["plus"])(t, temp);
- return t;
- }, 0);
- }
- return Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["plus"])(total, sum);
- }, 0);
- return transformNumber(result, buyNum);
- };
- // 附加服务中 packing 的价格
- const getPackaging = function (buyNum, form, attributeList, additionList) {
- // 算出购买数量位于 价格阶梯的 哪个区间
- const candidate = Object.entries(attributeList).filter(item => buyNum >= item[1]);
- const key = `website_qty${candidate.length}`;
- const result = Object.entries(form).reduce((total, current) => {
- if (total === 'POA') {
- return total;
- }
- let sum = 0;
- if (!/\d+/.test(current[0]) && current[0] === 'packaging') {
- sum = additionList[current[0]].filter(item => current[1].includes(item.id)).reduce((t, c) => {
- if (t === 'POA') {
- return t;
- }
- let temp = transformNumber(c[key]);
- if (temp === 999 || temp === 111 || typeof temp !== 'number') {
- temp = 0;
- return 'POA';
- }
- t = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["plus"])(t, temp);
- return t;
- }, 0);
- }
- return Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["plus"])(total, sum);
- }, 0);
- return transformNumber(result, buyNum);
- };
- // 运费计算. 从product页面抄过来的逻辑. +号是隐式类型转换
- const getFright = function (buyNum, config, freight, weight, ratio = 1) {
- // 单独批次数量的总重
- const totalWeight = Math.ceil(Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["times"])(+weight.unit_w_local, buyNum));
- const expressFactor = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["plus"])(1, Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["divide"])(Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["plus"])(+config.express_freight, +config.fuel), 100));
- const AAEFactor = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["plus"])(1, Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["divide"])(Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["plus"])(+config.bag_freight, +config.fuel), 100));
- let frightCost = 0;
- if (freight.type === 1) {
- if (totalWeight > 20) {
- const a1 = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["minus"])(totalWeight, 20);
- const a2 = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["times"])(a1, +freight.basic);
- const a3 = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["plus"])(+freight.pickup, a2);
- frightCost = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["times"])(a3, expressFactor);
- } else {
- frightCost = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["times"])(+freight.pickup, expressFactor);
- }
- } else if (freight.type === 2) {
- const a1 = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["times"])(totalWeight, +freight.basic);
- const a2 = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["plus"])(+freight.pickup, a1);
- frightCost = Object(number_precision__WEBPACK_IMPORTED_MODULE_0__["times"])(a2, AAEFactor);
- } else {
- frightCost = 0;
- }
- return transformNumber(frightCost, ratio);
- };
- /***/ }),
- /***/ 192:
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- // ESM COMPAT FLAG
- __webpack_require__.r(__webpack_exports__);
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/Pagination.vue?vue&type=template&id=044ef958&scoped=true
- var render = function render() {
- var _vm = this,
- _c = _vm._self._c;
- return _c('div', {
- staticClass: "pagination-container",
- class: {
- 'hidden': _vm.hidden
- }
- }, [_vm._t("slot"), _vm._ssrNode(" "), _c('el-pagination', _vm._b({
- attrs: {
- "background": _vm.background,
- "current-page": _vm.currentPage,
- "page-size": _vm.pageSize,
- "layout": _vm.layout,
- "total": _vm.total
- },
- on: {
- "update:currentPage": function ($event) {
- _vm.currentPage = $event;
- },
- "update:current-page": function ($event) {
- _vm.currentPage = $event;
- },
- "update:pageSize": function ($event) {
- _vm.pageSize = $event;
- },
- "update:page-size": function ($event) {
- _vm.pageSize = $event;
- },
- "size-change": _vm.handleSizeChange,
- "current-change": _vm.handleCurrentChange
- }
- }, 'el-pagination', _vm.$attrs, false))], 2);
- };
- var staticRenderFns = [];
- // CONCATENATED MODULE: ./components/Pagination.vue?vue&type=template&id=044ef958&scoped=true
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/Pagination.vue?vue&type=script&lang=js
- /* harmony default export */ var Paginationvue_type_script_lang_js = ({
- name: 'Pagination',
- props: {
- total: {
- required: true,
- type: Number
- },
- page: {
- type: Number,
- default: 0
- },
- limit: {
- type: Number,
- default: 10
- },
- // pageSizes: {
- // type: Array,
- // default() {
- // return [10, 20, 50, 100]
- // }
- // },
- layout: {
- type: String,
- default: 'prev, pager, next'
- },
- background: {
- type: Boolean,
- default: true
- },
- autoScroll: {
- type: Boolean,
- default: true
- },
- hidden: {
- type: Boolean,
- default: false
- }
- },
- computed: {
- currentPage: {
- get() {
- return this.page;
- },
- set(val) {
- this.$emit('update:page', val);
- }
- },
- pageSize: {
- get() {
- return this.limit;
- },
- set(val) {
- this.$emit('update:limit', val);
- }
- }
- },
- methods: {
- handleSizeChange(val) {
- this.$emit('pagination', {
- page: this.currentPage,
- limit: val
- });
- if (this.autoScroll) {
- scrollTo(0, 800);
- }
- },
- handleCurrentChange(val) {
- this.$emit('pagination', {
- page: val,
- limit: this.pageSize
- });
- if (this.autoScroll) {
- scrollTo(0, 800);
- }
- }
- }
- });
- // CONCATENATED MODULE: ./components/Pagination.vue?vue&type=script&lang=js
- /* harmony default export */ var components_Paginationvue_type_script_lang_js = (Paginationvue_type_script_lang_js);
- // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
- var componentNormalizer = __webpack_require__(2);
- // CONCATENATED MODULE: ./components/Pagination.vue
- function injectStyles (context) {
-
- var style0 = __webpack_require__(182)
- if (style0.__inject__) style0.__inject__(context)
- }
- /* normalize component */
- var component = Object(componentNormalizer["a" /* default */])(
- components_Paginationvue_type_script_lang_js,
- render,
- staticRenderFns,
- false,
- injectStyles,
- "044ef958",
- "230c7770"
-
- )
- /* harmony default export */ var Pagination = __webpack_exports__["default"] = (component.exports);
- /***/ }),
- /***/ 215:
- /***/ (function(module, exports) {
- // Exports
- module.exports = {
- };
- /***/ }),
- /***/ 246:
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImageUpload_vue_vue_type_style_index_0_id_596f82bc_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(215);
- /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImageUpload_vue_vue_type_style_index_0_id_596f82bc_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImageUpload_vue_vue_type_style_index_0_id_596f82bc_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
- /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImageUpload_vue_vue_type_style_index_0_id_596f82bc_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImageUpload_vue_vue_type_style_index_0_id_596f82bc_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
- /***/ }),
- /***/ 263:
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- // ESM COMPAT FLAG
- __webpack_require__.r(__webpack_exports__);
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/ImageUpload.vue?vue&type=template&id=596f82bc&scoped=true
- var render = function render() {
- var _vm = this,
- _c = _vm._self._c;
- return _c('div', {
- staticClass: "com-image-upload"
- }, [_c('draggable', {
- staticClass: "flex start wrap",
- attrs: {
- "draggable": ".image-item"
- },
- on: {
- "end": _vm.end
- },
- model: {
- value: _vm.imageList,
- callback: function ($$v) {
- _vm.imageList = $$v;
- },
- expression: "imageList"
- }
- }, [_vm._l(_vm.imageList, function (item, index) {
- return _c('div', {
- key: item.uid || index,
- staticClass: "image-item flex",
- style: {
- width: _vm.width,
- height: _vm.height
- }
- }, [_c('img', {
- attrs: {
- "src": item.url,
- "alt": ""
- }
- }), _vm._v(" "), _c('div', {
- staticClass: "action-area flex center"
- }, [!_vm.disablePreview ? _c('span', {
- staticClass: "action-icon",
- on: {
- "click": function ($event) {
- return _vm.handlePictureCardPreview(item);
- }
- }
- }, [_c('i', {
- staticClass: "el-icon-zoom-in"
- })]) : _vm._e(), _vm._v(" "), _c('span', {
- staticClass: "action-icon",
- on: {
- "click": function ($event) {
- return _vm.handleRemove(index);
- }
- }
- }, [_c('i', {
- staticClass: "el-icon-delete"
- })])])]);
- }), _vm._v(" "), _c('el-progress', {
- directives: [{
- name: "show",
- rawName: "v-show",
- value: _vm.loading,
- expression: "loading"
- }],
- staticStyle: {
- "margin": "8px"
- },
- attrs: {
- "type": "circle",
- "percentage": _vm.uploadPercent,
- "width": Number(_vm.width.slice(0, _vm.width.length - 2))
- }
- }), _vm._v(" "), _c('div', {
- staticClass: "upload-wrap",
- class: {
- hide: _vm.loading || _vm.imageList.length >= _vm.max
- },
- style: {
- width: _vm.width,
- height: _vm.height
- }
- }, [_c('el-upload', {
- ref: "pictureUpload",
- staticClass: "custom-upload-item",
- attrs: {
- "multiple": true,
- "limit": _vm.max,
- "action": "",
- "drag": "",
- "accept": ".jpg,.png,.jpeg",
- "list-type": "picture-card",
- "file-list": _vm.imageList,
- "show-file-list": false,
- "auto-upload": false,
- "on-remove": _vm.handleRemove,
- "on-preview": _vm.handlePictureCardPreview,
- "on-change": (file, fileList) => {
- _vm.handleUpload(file, fileList);
- }
- }
- }, [_c('i', {
- staticClass: "el-icon-plus avatar-uploader-icon"
- })])], 1)], 2), _vm._ssrNode(" "), _c('el-dialog', {
- attrs: {
- "visible": _vm.imageDialogVisible
- },
- on: {
- "update:visible": function ($event) {
- _vm.imageDialogVisible = $event;
- }
- }
- }, [_c('img', {
- attrs: {
- "width": "100%",
- "src": _vm.imageUrl,
- "alt": ""
- }
- })])], 2);
- };
- var staticRenderFns = [];
- // CONCATENATED MODULE: ./components/ImageUpload.vue?vue&type=template&id=596f82bc&scoped=true
- // EXTERNAL MODULE: external "vuedraggable"
- var external_vuedraggable_ = __webpack_require__(142);
- var external_vuedraggable_default = /*#__PURE__*/__webpack_require__.n(external_vuedraggable_);
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/ImageUpload.vue?vue&type=script&lang=js
- // import { common } from '@/api'
- /* harmony default export */ var ImageUploadvue_type_script_lang_js = ({
- name: 'ImageUpload',
- components: {
- draggable: external_vuedraggable_default.a
- },
- props: {
- list: {
- type: Array,
- default: () => []
- },
- max: {
- type: Number,
- default: 16
- },
- disablePreview: {
- type: Boolean,
- default: false
- },
- width: {
- type: String,
- default: '150px'
- },
- height: {
- type: String,
- default: '150px'
- }
- },
- data() {
- return {
- // 组件内部数据.
- imageList: [],
- loading: false,
- uploadPercent: 0,
- imageDialogVisible: false,
- // 预览大图的url, 每次点击都会更新
- imageUrl: ''
- };
- },
- computed: {
- fulled() {
- return 0;
- }
- },
- watch: {
- list() {
- this.imageList = JSON.parse(JSON.stringify(this.list));
- }
- },
- mounted() {
- this.updateList();
- },
- methods: {
- handleUpload(file, fileList) {
- this.fileList = [];
- if (file.status === 'ready') {
- this.loading = true;
- const interval = setInterval(() => {
- if (this.uploadPercent >= 99) {
- clearInterval(interval);
- return;
- }
- this.uploadPercent += 1; // 进度条进度
- }, 100);
- }
- const formData = new FormData();
- fileList.forEach(file => {
- formData.append('file', file.raw);
- });
- formData.append('type', 1);
- this.$axios.post(`/uk-api/user_base/imagesUpload`, formData).then(response => {
- if (response.result.code === 200) {
- this.imageList.push({
- url: response.result.data,
- uid: file.uid
- });
- this.updateList();
- return;
- }
- this.$message({
- message: response.result.message,
- type: 'warning'
- });
- }).catch(error => {
- console.log(error, 'component upload image error');
- this.$message.error(error.response.data.msg);
- }).finally(() => {
- this.loading = false;
- // 进度条恢复到初始状态
- this.uploadPercent = 0;
- });
- },
- handleRemove(index) {
- this.imageList.splice(index, 1);
- this.updateList();
- },
- handlePictureCardPreview(file) {
- this.imageUrl = file.url;
- this.imageDialogVisible = true;
- },
- // 每次更新imageList后手动更新父组件的数据, 不能用watch自动更新, 因为同时要watch prop值更新iamgeList, 同时watch会死循环.
- // 直接把prop数据绑定到dragable 和 el-upload的话vue和eslint会报错, 也可能造成调试困难
- updateList() {
- this.$emit('update:list', JSON.parse(JSON.stringify(this.imageList)));
- },
- end() {
- this.updateList();
- }
- }
- });
- // CONCATENATED MODULE: ./components/ImageUpload.vue?vue&type=script&lang=js
- /* harmony default export */ var components_ImageUploadvue_type_script_lang_js = (ImageUploadvue_type_script_lang_js);
- // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
- var componentNormalizer = __webpack_require__(2);
- // CONCATENATED MODULE: ./components/ImageUpload.vue
- function injectStyles (context) {
-
- var style0 = __webpack_require__(246)
- if (style0.__inject__) style0.__inject__(context)
- }
- /* normalize component */
- var component = Object(componentNormalizer["a" /* default */])(
- components_ImageUploadvue_type_script_lang_js,
- render,
- staticRenderFns,
- false,
- injectStyles,
- "596f82bc",
- "7f6e537e"
-
- )
- /* harmony default export */ var ImageUpload = __webpack_exports__["default"] = (component.exports);
- /***/ }),
- /***/ 278:
- /***/ (function(module, exports) {
- // Exports
- module.exports = {
- };
- /***/ }),
- /***/ 279:
- /***/ (function(module, exports) {
- // Exports
- module.exports = {
- };
- /***/ }),
- /***/ 333:
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_325cc999_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(278);
- /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_325cc999_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_325cc999_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
- /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_325cc999_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_325cc999_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
- /***/ }),
- /***/ 334:
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_1_id_325cc999_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(279);
- /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_1_id_325cc999_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_1_id_325cc999_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
- /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_1_id_325cc999_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_1_id_325cc999_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
- /***/ }),
- /***/ 374:
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- // ESM COMPAT FLAG
- __webpack_require__.r(__webpack_exports__);
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./pages/home/myDetail/index.vue?vue&type=template&id=325cc999&scoped=true
- var render = function render() {
- var _vm$$store$state$user, _vm$$store$state$user2, _vm$$store$state$user3;
- var _vm = this,
- _c = _vm._self._c;
- return _c('div', {
- staticClass: "com-main com-margin-auto com-fixationwidth-1400"
- }, [_c('el-breadcrumb', {
- attrs: {
- "separator-class": "el-icon-arrow-right"
- }
- }, [_c('el-breadcrumb-item', {
- attrs: {
- "to": {
- path: '/'
- }
- }
- }, [_vm._v("Home")]), _vm._v(" "), _c('el-breadcrumb-item', [_vm._v(_vm._s(_vm.tabName))])], 1), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"content\" data-v-325cc999>", "</div>", [_c('el-menu', {
- ref: "menu",
- staticClass: "el-menu-vertical",
- attrs: {
- "background-color": "#e8eaee",
- "text-color": "#4a596c",
- "active-text-color": "#fff",
- "default-active": _vm.activeMenu
- },
- on: {
- "select": _vm.handleClick
- }
- }, [_c('el-menu-item', {
- attrs: {
- "index": "profile"
- }
- }, [_c('i', {
- staticClass: "iconfont"
- }, [_vm._v("")]), _vm._v(" "), _c('span', {
- attrs: {
- "slot": "title"
- },
- slot: "title"
- }, [_vm._v("My Profile")])]), _vm._v(" "), _c('el-submenu', {
- attrs: {
- "index": "order"
- }
- }, [_c('template', {
- slot: "title"
- }, [_c('i', {
- staticClass: "iconfont"
- }, [_vm._v("")]), _vm._v(" "), _c('span', {
- attrs: {
- "slot": "title"
- },
- slot: "title"
- }, [_vm._v("My Orders")])]), _vm._v(" "), _c('el-menu-item', {
- attrs: {
- "index": "all-orders"
- }
- }, [_vm._v("All Orders")]), _vm._v(" "), _c('el-menu-item', {
- attrs: {
- "index": "open-orders"
- }
- }, [_vm._v("Open Orders")]), _vm._v(" "), _c('el-menu-item', {
- attrs: {
- "index": "closed-orders"
- }
- }, [_vm._v("Closed Orders")])], 2)], 1), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"content-right\" data-v-325cc999>", "</div>", [_vm._ssrNode("<div" + _vm._ssrStyle(null, null, {
- display: _vm.activeMenu === 'profile' ? '' : 'none'
- }) + " data-v-325cc999>", "</div>", [_vm._ssrNode("<div class=\"content-form\" data-v-325cc999>", "</div>", [_vm._ssrNode("<p class=\"content-title\" data-v-325cc999>" + _vm._ssrEscape(_vm._s(_vm.tabName)) + "</p> "), _c('el-form', {
- ref: "form",
- attrs: {
- "model": _vm.profileform,
- "rules": _vm.rules,
- "label-width": "220px"
- }
- }, [_c('el-row', [_c('el-col', {
- attrs: {
- "span": 15
- }
- }, [_c('el-form-item', {
- attrs: {
- "label": "Email Address",
- "prop": "email"
- }
- }, [_c('el-input', {
- attrs: {
- "disabled": true
- },
- model: {
- value: _vm.profileform.email,
- callback: function ($$v) {
- _vm.$set(_vm.profileform, "email", $$v);
- },
- expression: "profileform.email"
- }
- })], 1)], 1), _vm._v(" "), _c('el-col', {
- attrs: {
- "span": 9
- }
- }, [_c('el-form-item', {
- staticClass: "upload-item",
- attrs: {
- "label": "Your Logo"
- }
- }, [_c('image-upload', {
- attrs: {
- "list": _vm.profileform.logo,
- "disablePreview": true,
- "max": 1
- },
- on: {
- "update:list": function ($event) {
- return _vm.$set(_vm.profileform, "logo", $event);
- }
- }
- })], 1)], 1)], 1), _vm._v(" "), _c('el-form-item', {
- attrs: {
- "label": "Company Name",
- "prop": "company"
- }
- }, [_c('el-input', {
- model: {
- value: _vm.profileform.company,
- callback: function ($$v) {
- _vm.$set(_vm.profileform, "company", $$v);
- },
- expression: "profileform.company"
- }
- })], 1), _vm._v(" "), _c('el-form-item', {
- attrs: {
- "label": "First Name",
- "prop": "contacts"
- }
- }, [_c('el-input', {
- model: {
- value: _vm.profileform.contacts,
- callback: function ($$v) {
- _vm.$set(_vm.profileform, "contacts", $$v);
- },
- expression: "profileform.contacts"
- }
- })], 1), _vm._v(" "), _c('el-form-item', {
- attrs: {
- "label": "Last Name",
- "prop": "last_name"
- }
- }, [_c('el-input', {
- model: {
- value: _vm.profileform.last_name,
- callback: function ($$v) {
- _vm.$set(_vm.profileform, "last_name", $$v);
- },
- expression: "profileform.last_name"
- }
- })], 1), _vm._v(" "), _c('el-form-item', {
- attrs: {
- "label": "Contact Phone Number",
- "prop": "phone"
- }
- }, [_c('el-input', {
- model: {
- value: _vm.profileform.phone,
- callback: function ($$v) {
- _vm.$set(_vm.profileform, "phone", $$v);
- },
- expression: "profileform.phone"
- }
- })], 1)], 1)], 2), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"content-form\" style=\"margin-top: 20px\" data-v-325cc999>", "</div>", [_vm._ssrNode("<p class=\"content-title\" data-v-325cc999>Account And Password</p> "), _c('el-form', {
- ref: "ruleForm",
- staticClass: "accountPasswordForm",
- attrs: {
- "model": _vm.accountPasswordForm,
- "label-width": "220px"
- }
- }, [_c('el-form-item', {
- attrs: {
- "label": "Enter the new password",
- "prop": "password"
- }
- }, [_c('el-input', {
- model: {
- value: _vm.accountPasswordForm.password,
- callback: function ($$v) {
- _vm.$set(_vm.accountPasswordForm, "password", $$v);
- },
- expression: "accountPasswordForm.password"
- }
- })], 1), _vm._v(" "), _c('el-form-item', {
- attrs: {
- "label": "Retype the password",
- "prop": "confirm_password"
- }
- }, [_c('el-input', {
- model: {
- value: _vm.accountPasswordForm.confirm_password,
- callback: function ($$v) {
- _vm.$set(_vm.accountPasswordForm, "confirm_password", $$v);
- },
- expression: "accountPasswordForm.confirm_password"
- }
- })], 1), _vm._v(" "), _c('el-form-item', [_c('el-button', {
- staticClass: "saveBtn",
- on: {
- "click": function ($event) {
- return _vm.onSave('form');
- }
- }
- }, [_vm._v("\n Save\n ")])], 1)], 1)], 2)], 2), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"content-form\"" + _vm._ssrStyle(null, null, {
- display: _vm.activeMenu === 'enquiry' ? '' : 'none'
- }) + " data-v-325cc999>", "</div>", [_vm._ssrNode("<p class=\"content-title\" data-v-325cc999>" + _vm._ssrEscape(_vm._s(_vm.tabName)) + "</p> "), _vm._ssrNode("<div class=\"searchInput\" data-v-325cc999>", "</div>", [_c('el-input', {
- attrs: {
- "placeholder": "Search your job name",
- "clearable": ""
- },
- on: {
- "clear": _vm.getEnquiryList
- },
- nativeOn: {
- "keyup": function ($event) {
- if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) return null;
- return _vm.getEnquiryList.apply(null, arguments);
- }
- },
- model: {
- value: _vm.enquiryKeyword,
- callback: function ($$v) {
- _vm.enquiryKeyword = $$v;
- },
- expression: "enquiryKeyword"
- }
- }, [_c('i', {
- staticClass: "el-input__icon el-icon-search",
- attrs: {
- "slot": "suffix"
- },
- on: {
- "click": _vm.getEnquiryList
- },
- slot: "suffix"
- })])], 1), _vm._ssrNode(" "), _c('el-table', {
- directives: [{
- name: "loading",
- rawName: "v-loading",
- value: _vm.tableLoading,
- expression: "tableLoading"
- }],
- staticClass: "table-order-list",
- staticStyle: {
- "width": "100%"
- },
- attrs: {
- "data": _vm.enquiryList,
- "stripe": "",
- "header-cell-style": {
- background: '#00213b',
- color: '#ffffff'
- }
- },
- on: {
- "row-click": _vm.goEnquiryDetail
- }
- }, [_c('el-table-column', {
- attrs: {
- "prop": "Auto_Number",
- "label": "Enquiry No"
- }
- }), _vm._v(" "), _c('el-table-column', {
- attrs: {
- "prop": "Enquiry_Title",
- "label": "Job Name",
- "width": "300"
- }
- }), _vm._v(" "), _c('el-table-column', {
- attrs: {
- "prop": "Customize_Pipeline_Stage",
- "label": "Status"
- }
- }), _vm._v(" "), _c('el-table-column', {
- attrs: {
- "prop": "Enquiry_Created",
- "label": "Date"
- },
- scopedSlots: _vm._u([{
- key: "default",
- fn: function (scope) {
- return [_c('div', [_vm._v("\n " + _vm._s(_vm.$utils.formatTime(scope.row.Sales_Order_Created, 'DD/MM/YYYY', true)) + "\n ")])];
- }
- }])
- }), _vm._v(" "), _c('el-table-column', {
- attrs: {
- "label": "Action",
- "width": "90",
- "align": "center"
- }
- }, [[_c('el-button', {
- staticStyle: {
- "background-color": "rgb(0, 33, 59)",
- "color": "#fff"
- },
- attrs: {
- "size": "small",
- "plain": ""
- }
- }, [_vm._v("View")])]], 2)], 1), _vm._ssrNode(" "), _c('pagination', {
- directives: [{
- name: "show",
- rawName: "v-show",
- value: _vm.enquiryTotal > 0,
- expression: "enquiryTotal > 0"
- }],
- attrs: {
- "total": _vm.enquiryTotal,
- "page": _vm.enquiryListQuery.page,
- "limit": _vm.enquiryListQuery.limit
- },
- on: {
- "update:page": function ($event) {
- return _vm.$set(_vm.enquiryListQuery, "page", $event);
- },
- "update:limit": function ($event) {
- return _vm.$set(_vm.enquiryListQuery, "limit", $event);
- },
- "pagination": _vm.getEnquiryList
- }
- })], 2), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"content-form\"" + _vm._ssrStyle(null, null, {
- display: _vm.activeMenu.includes('orders') ? '' : 'none'
- }) + " data-v-325cc999>", "</div>", [_vm._ssrNode("<p class=\"content-title\" data-v-325cc999>" + _vm._ssrEscape(_vm._s(_vm.tabName)) + "</p> "), _vm._ssrNode("<div class=\"searchInput\" data-v-325cc999>", "</div>", [_c('el-input', {
- attrs: {
- "placeholder": "Search your job name",
- "clearable": ""
- },
- on: {
- "clear": _vm.getOrdersList
- },
- nativeOn: {
- "keyup": function ($event) {
- if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) return null;
- return _vm.getOrdersList.apply(null, arguments);
- }
- },
- model: {
- value: _vm.orderKeyword,
- callback: function ($$v) {
- _vm.orderKeyword = $$v;
- },
- expression: "orderKeyword"
- }
- }, [_c('i', {
- staticClass: "el-input__icon el-icon-search",
- attrs: {
- "slot": "suffix"
- },
- on: {
- "click": _vm.getOrdersList
- },
- slot: "suffix"
- })]), _vm._ssrNode(" "), _vm.selShow ? _c('el-select', {
- attrs: {
- "filterable": "",
- "clearable": "",
- "default-first-option": "",
- "placeholder": "Select the status"
- },
- model: {
- value: _vm.selword,
- callback: function ($$v) {
- _vm.selword = $$v;
- },
- expression: "selword"
- }
- }, _vm._l(_vm.orderSelList, function (option) {
- return _c('el-option', {
- key: option,
- attrs: {
- "label": option,
- "value": option
- }
- });
- }), 1) : _vm._e(), _vm._ssrNode(" "), ((_vm$$store$state$user = _vm.$store.state.userInfo) === null || _vm$$store$state$user === void 0 ? void 0 : (_vm$$store$state$user2 = _vm$$store$state$user.memberCrmcomList) === null || _vm$$store$state$user2 === void 0 ? void 0 : _vm$$store$state$user2.length) > 1 ? _c('el-select', {
- attrs: {
- "filterable": "",
- "clearable": "",
- "default-first-option": "",
- "placeholder": "Select the CRM"
- },
- model: {
- value: _vm.accounts_id,
- callback: function ($$v) {
- _vm.accounts_id = $$v;
- },
- expression: "accounts_id"
- }
- }, _vm._l((_vm$$store$state$user3 = _vm.$store.state.userInfo) === null || _vm$$store$state$user3 === void 0 ? void 0 : _vm$$store$state$user3.memberCrmcomList, function (option) {
- return _c('el-option', {
- key: option.id,
- attrs: {
- "label": option.name,
- "value": option.id
- }
- });
- }), 1) : _vm._e(), _vm._ssrNode(" "), _c('el-button', {
- staticStyle: {
- "background-color": "rgb(0, 33, 59)",
- "border-color": "rgb(0, 33, 59)"
- },
- attrs: {
- "type": "primary"
- },
- on: {
- "click": _vm.getOrdersList
- }
- }, [_vm._v("Submit")])], 2), _vm._ssrNode(" "), _c('el-table', {
- directives: [{
- name: "loading",
- rawName: "v-loading",
- value: _vm.tableLoading,
- expression: "tableLoading"
- }],
- staticClass: "table-order-list",
- staticStyle: {
- "width": "100%"
- },
- attrs: {
- "data": _vm.tableData,
- "stripe": "",
- "header-cell-style": {
- background: '#00213b',
- color: '#ffffff'
- }
- }
- }, [_c('el-table-column', {
- attrs: {
- "prop": "Sales_Order_Title_Job_Name",
- "label": "Job Name"
- },
- scopedSlots: _vm._u([{
- key: "default",
- fn: function (scope) {
- return [_c('p', {
- staticClass: "table-list-p1"
- }, [_vm._v("\n " + _vm._s(scope.row.Sales_Order_Title_Job_Name) + "\n ")])];
- }
- }])
- }), _vm._v(" "), _c('el-table-column', {
- attrs: {
- "width": "100",
- "prop": "Reference",
- "label": "Order No"
- }
- }), _vm._v(" "), _c('el-table-column', {
- attrs: {
- "width": "120",
- "prop": "Sales_Order_Created",
- "label": "Order Date"
- },
- scopedSlots: _vm._u([{
- key: "default",
- fn: function (scope) {
- return [_c('div', [_vm._v("\n " + _vm._s(_vm.$utils.formatTime(scope.row.Sales_Order_Created, 'DD/MM/YYYY')) + "\n ")])];
- }
- }])
- }), _vm._v(" "), _c('el-table-column', {
- attrs: {
- "width": "140",
- "prop": "Order_Stage_new",
- "label": "Order Status"
- }
- }), _vm._v(" "), _c('el-table-column', {
- attrs: {
- "width": "160",
- "prop": "Tracking_No_arr",
- "label": "Tracking No#"
- },
- scopedSlots: _vm._u([{
- key: "default",
- fn: function (scope) {
- return [_c('ul', {
- staticClass: "location"
- }, _vm._l(scope.row.Tracking_No_arr, function (item) {
- return _c('li', {
- key: item.Tracking_No,
- on: {
- "click": function ($event) {
- return _vm.openTracking_URL(item.Tracking_URL);
- }
- }
- }, [_c('i', {
- staticClass: "el-icon-location"
- }), _vm._v(_vm._s(item.Tracking_No) + "\n ")]);
- }), 0)];
- }
- }])
- }), _vm._v(" "), _c('el-table-column', {
- attrs: {
- "width": "110",
- "prop": "Grand_Total",
- "label": "Amount"
- },
- scopedSlots: _vm._u([{
- key: "default",
- fn: function (scope) {
- return [_vm._v("\n $" + _vm._s(_vm.transformNumber(scope.row.Grand_Total)) + "\n ")];
- }
- }])
- }), _vm._v(" "), _c('el-table-column', {
- attrs: {
- "label": "Action",
- "width": "100",
- "align": "center"
- },
- scopedSlots: _vm._u([{
- key: "default",
- fn: function (scope) {
- return [_c('el-button', {
- staticStyle: {
- "background-color": "rgb(0, 33, 59)",
- "color": "#fff",
- "width": "85px",
- "margin": "0"
- },
- attrs: {
- "size": "small",
- "plain": ""
- },
- on: {
- "click": function ($event) {
- return _vm.goOrderDetail(scope.row);
- }
- }
- }, [_vm._v("View")])];
- }
- }])
- })], 1), _vm._ssrNode(" "), _c('pagination', {
- directives: [{
- name: "show",
- rawName: "v-show",
- value: _vm.orderTotal > 0,
- expression: "orderTotal > 0"
- }],
- attrs: {
- "total": _vm.orderTotal,
- "page": _vm.orderListQuery.page,
- "limit": _vm.orderListQuery.limit
- },
- on: {
- "update:page": function ($event) {
- return _vm.$set(_vm.orderListQuery, "page", $event);
- },
- "update:limit": function ($event) {
- return _vm.$set(_vm.orderListQuery, "limit", $event);
- },
- "pagination": _vm.getOrdersList
- }
- })], 2)], 2)], 2), _vm._ssrNode(" "), _c('dialog-XX-success', {
- attrs: {
- "visible": _vm.xxContentVisible,
- "content": _vm.xxContent
- },
- on: {
- "update:visible": function ($event) {
- _vm.xxContentVisible = $event;
- },
- "notify-parent": _vm.handleNotification
- }
- }), _vm._ssrNode(" "), _c('el-dialog', {
- attrs: {
- "lock-scroll": false,
- "visible": _vm.urlDialogShow,
- "center": "",
- "width": "850px",
- "top": "20vh"
- },
- on: {
- "update:visible": function ($event) {
- _vm.urlDialogShow = $event;
- }
- }
- }, [_c('iframe', {
- staticStyle: {
- "width": "100%",
- "height": "500px"
- },
- attrs: {
- "src": _vm.Tracking_URL,
- "frameborder": "0"
- }
- })])], 2);
- };
- var staticRenderFns = [];
- // CONCATENATED MODULE: ./pages/home/myDetail/index.vue?vue&type=template&id=325cc999&scoped=true
- // EXTERNAL MODULE: external "vuex"
- var external_vuex_ = __webpack_require__(6);
- // EXTERNAL MODULE: ./components/DIalogXXSuccess.vue + 4 modules
- var DIalogXXSuccess = __webpack_require__(30);
- // EXTERNAL MODULE: ./components/ImageUpload.vue + 4 modules
- var ImageUpload = __webpack_require__(263);
- // EXTERNAL MODULE: ./utils/price.js
- var price = __webpack_require__(183);
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./pages/home/myDetail/index.vue?vue&type=script&lang=js
- // import addAddressDialog from '../../../components/addAddressDialog.vue'
- /* harmony default export */ var myDetailvue_type_script_lang_js = ({
- components: {
- // addAddressDialog,
- 'dialog-XX-success': DIalogXXSuccess["default"],
- imageUpload: ImageUpload["default"]
- },
- data() {
- return {
- xxContentVisible: false,
- xxContent: 'success',
- componentVisible: 1,
- // 2:add 3:edit 4:audit
- tabName: '',
- tableLoading: true,
- // 表单配置项
- profileform: {},
- rules: {
- email: [{
- required: true,
- message: 'Please enter the email',
- trigger: 'blur'
- }],
- company: [{
- required: true,
- message: 'Please enter the company',
- trigger: 'blur'
- }],
- contacts: [{
- required: true,
- message: 'Please enter first name',
- trigger: 'blur'
- }],
- last_name: [{
- required: true,
- message: 'Please enter last name',
- trigger: 'blur'
- }],
- phone: [{
- required: true,
- message: 'Please enter the phone',
- trigger: 'blur'
- }],
- password: [{
- required: true,
- message: 'Please enter the password',
- trigger: 'blur'
- }],
- confirm_password: [{
- required: true,
- message: 'Please enter the confirm_password',
- trigger: 'blur'
- }]
- },
- accountPasswordForm: {
- password: '',
- confirm_password: ''
- },
- orderKeyword: '',
- selword: '',
- accounts_id: '',
- orderTotal: 0,
- orderListQuery: {
- page: 1,
- limit: 20
- },
- tableData: [],
- dialogVisible: false,
- addressTotal: 0,
- addressListQuery: {
- page: 1,
- limit: 8
- },
- addressList: [],
- addressDetail: {},
- enquiryKeyword: '',
- enquiryList: [],
- enquiryListQuery: {
- page: 1,
- limit: 20
- },
- enquiryTotal: 0,
- orderSelList: [],
- Tracking_URL: '',
- urlDialogShow: false
- };
- },
- computed: {
- activeMenu() {
- var _this$$route$query$ty;
- return (_this$$route$query$ty = this.$route.query.type) !== null && _this$$route$query$ty !== void 0 ? _this$$route$query$ty : 'profile';
- },
- selShow() {
- return this.activeMenu === 'all-orders' || this.activeMenu === 'open-orders';
- }
- },
- watch: {
- $route: {
- handler(to) {
- if (false) {}
- }
- },
- orderKeyword() {
- this.orderListQuery.page = 1;
- },
- enquiryKeyword() {
- this.enquiryListQuery.page = 1;
- }
- },
- mounted() {
- if (this.$utils.checkLogin()) {
- this.updateType();
- } else {
- this.$router.replace('/');
- }
- },
- methods: {
- transformNumber(value) {
- return Object(price["a" /* round */])(Number(value)).toFixed(2);
- },
- handleClick(key, keyPath) {
- if (key) {
- this.$router.push({
- path: '/home/myDetail',
- query: {
- type: key
- }
- });
- }
- },
- updateType() {
- if (this.activeMenu === 'profile') {
- this.tabName = 'My Profile';
- this.getMemberDetail();
- } else if (this.activeMenu === 'enquiry') {
- this.tabName = 'My Enquiry';
- this.getEnquiryList();
- } else if (this.activeMenu === 'address') {
- // this.tabName = 'My Address'
- // this.getAddressList()
- } else {
- this.selword = '';
- if (this.activeMenu === 'all-orders') {
- this.orderSelList = ['Order Confirmed', 'In Production', 'In Transit', 'Order Completed'];
- }
- if (this.activeMenu === 'open-orders') {
- this.orderSelList = ['Order Confirmed', 'In Production', 'In Transit'];
- }
- this.tabName = 'My Orders';
- this.getOrdersList();
- }
- },
- closeAddressDialog() {
- this.dialogVisible = false;
- },
- // 获取用户信息
- getMemberDetail() {
- this.$axios.get('/uk-api/uk/member/detail').then(res => {
- if (res.code === 1) {
- this.profileform = res.result;
- this.profileform.logo = this.profileform.logo ? this.formatLogo(this.profileform.logo) : [];
- }
- }).catch(() => {});
- },
- formatLogo(params) {
- return [{
- url: params
- }];
- },
- onSave(form) {
- if (this.accountPasswordForm.confirm_password !== this.accountPasswordForm.password) {
- this.$message.error('The second password is inconsistent!');
- return;
- }
- this.$refs[form].validate(valid => {
- if (valid) {
- var _this$profileform$log, _this$profileform$log2;
- const requestBody = {
- email: this.profileform.email,
- company: this.profileform.company,
- contacts: this.profileform.contacts,
- last_name: this.profileform.last_name,
- phone: this.profileform.phone,
- logo: (_this$profileform$log = (_this$profileform$log2 = this.profileform.logo[0]) === null || _this$profileform$log2 === void 0 ? void 0 : _this$profileform$log2.url) !== null && _this$profileform$log !== void 0 ? _this$profileform$log : ''
- };
- let needLogout = false;
- if (this.accountPasswordForm.password.trim() !== '') {
- requestBody.password = this.accountPasswordForm.password;
- requestBody.confirm_password = this.accountPasswordForm.confirm_password;
- needLogout = true;
- }
- this.$axios.post('/uk-api/uk/member/edit', requestBody).then(res => {
- if (res.code === 1) {
- this.$notify({
- customClass: 'custom-notify-class',
- title: 'success',
- message: 'The profile information is modified successfully',
- type: 'success'
- });
- if (needLogout) {
- setTimeout(() => {
- this.$store.dispatch('logout').then(() => {
- this.$router.push('/');
- });
- }, 500);
- }
- }
- }).catch(() => {});
- } else {
- console.log('error submit!!');
- return false;
- }
- });
- },
- // 获取订单列表
- getOrdersList() {
- var _this$$store$state$us;
- const accounts_id = this.accounts_id ? this.accounts_id : (_this$$store$state$us = this.$store.state.userInfo) === null || _this$$store$state$us === void 0 ? void 0 : _this$$store$state$us.memberCrmcomList.map(i => i.id).join();
- const type = this.activeMenu === 'all-orders' ? '' : this.activeMenu === 'open-orders' ? 'Open Orders' : 'Closed Orders';
- this.tableLoading = true;
- this.$axios.post('/uk-api/crmdata/order_lists', {
- keyword: this.orderKeyword,
- page: this.orderListQuery.page,
- limit: this.orderListQuery.limit,
- accounts_id,
- Order_Stage: this.selword,
- type
- }).then(res => {
- if (res.code === 1) {
- this.tableData = res.result.data;
- this.orderTotal = res.result.total;
- this.tableLoading = false;
- }
- if (false) {}
- }).catch(() => {});
- },
- goOrderDetail(row) {
- const routeUrl = this.$router.resolve({
- path: '/home/myDetail/orderDetail',
- query: {
- id: row.sales_orders_id,
- crm: row.Account_Name_id
- }
- });
- window.open(routeUrl.href, '_blank');
- },
- openApproved(row) {
- this.$confirm(`
- <div style="text-align:center;">
- <h3 style="margin:0 0 10px;color:#333;">Ready to order?</h3>
- <p style="margin:0;font-size:16px;color:#333;">Your total is <b>${this.transformNumber(row.Grand_Total)}</b>. Confirm to place your order.</p>
- </div>
- `, '', {
- dangerouslyUseHTMLString: true,
- confirmButtonText: 'Confirm',
- cancelButtonText: 'Cancel',
- confirmButtonClass: 'el-button',
- cancelButtonClass: 'el-button--info',
- center: true,
- showClose: false,
- confirmButtonClass: 'com-btnblack'
- }).then(() => {
- this.$router.push({
- path: '/so-confirm',
- query: {
- id: row.sales_orders_id,
- pc_psw: row.HASH
- }
- });
- });
- },
- getEnquiryList() {
- var _this$$store$state$us2;
- this.tableLoading = true;
- this.$axios.post('/uk-api/crmdata/enquiries_lists', {
- keyword: this.enquiryKeyword,
- page: this.enquiryListQuery.page,
- limit: this.enquiryListQuery.limit,
- accounts_id: ((_this$$store$state$us2 = this.$store.state.userInfo) === null || _this$$store$state$us2 === void 0 ? void 0 : _this$$store$state$us2.crm_accounts_id) || ''
- }).then(res => {
- if (res.code === 1) {
- this.enquiryList = res.result.data;
- this.enquiryTotal = res.result.total;
- this.tableLoading = false;
- }
- if (false) {}
- });
- },
- goEnquiryDetail(row) {
- const routeUrl = this.$router.resolve({
- path: '/home/myDetail/enquiryDetail',
- query: {
- id: row.enquiries_id
- }
- });
- window.open(routeUrl.href, '_blank');
- },
- // 获取地址列表
- // getAddressList() {
- // this.$axios
- // .get('/api/address/list', {
- // params: {
- // page: this.addressListQuery.page,
- // limit: this.addressListQuery.limit,
- // },
- // })
- // .then(res => {
- // if (res.code === 1) {
- // this.addressList = res.result.data
- // this.addressTotal = res.result.total
- // }
- // if (process.client) {
- // this.$nextTick(() => {
- // window.scroll(0, 0)
- // })
- // }
- // })
- // .catch(() => {})
- // },
- // addAddress(num) {
- // this.addressDetail = {}
- // this.componentVisible = num
- // this.dialogVisible = true
- // },
- // editAddress(num, id) {
- // this.$axios
- // .get('/api/address/detail/' + id)
- // .then(res => {
- // this.addressDetail = res.result
- // this.addressDetail.is_default = res.result.is_default === 1
- // this.componentVisible = num
- // this.dialogVisible = true
- // })
- // .catch(() => {})
- // },
- // delAddress(id) {
- // this.$axios.get('/api/address/delete/' + id).then(res => {
- // this.$notify({
- // title: 'success',
- // message: 'Deleted successfully',
- // type: 'success',
- // duration: 3000,
- // })
- // this.getAddressList()
- // })
- // },
- // setDefault(id) {
- // this.$axios.get('/api/address/set_default/' + id).then(res => {
- // this.$notify({
- // title: 'success',
- // message: 'Default address is set successfully',
- // type: 'success',
- // duration: 3000,
- // })
- // this.getAddressList()
- // })
- // },
- // update() {
- // this.getAddressList()
- // },
- resetPassword() {
- if (this.accountPasswordForm.confirm_password !== this.accountPasswordForm.password) {
- this.$message.error('The second password is inconsistent!');
- } else {
- this.$axios({
- url: '/uk-api/uk/member/reset',
- method: 'POST',
- data: this.accountPasswordForm
- }).then(res => {
- if (res.code === 1) {
- this.xxContentVisible = true;
- this.xxContent = 'Password Reset Successful';
- }
- }).catch(() => {
- // this.$message.error(error.response.data.msg);
- });
- }
- },
- openTracking_URL(url) {
- this.Tracking_URL = url;
- this.urlDialogShow = true;
- },
- handleNotification() {
- this.$router.push('/');
- this.$store.dispatch('logout');
- this.openDialog();
- },
- ...Object(external_vuex_["mapMutations"])(['openDialog'])
- }
- });
- // CONCATENATED MODULE: ./pages/home/myDetail/index.vue?vue&type=script&lang=js
- /* harmony default export */ var home_myDetailvue_type_script_lang_js = (myDetailvue_type_script_lang_js);
- // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
- var componentNormalizer = __webpack_require__(2);
- // CONCATENATED MODULE: ./pages/home/myDetail/index.vue
- function injectStyles (context) {
-
- var style0 = __webpack_require__(333)
- if (style0.__inject__) style0.__inject__(context)
- var style1 = __webpack_require__(334)
- if (style1.__inject__) style1.__inject__(context)
- }
- /* normalize component */
- var component = Object(componentNormalizer["a" /* default */])(
- home_myDetailvue_type_script_lang_js,
- render,
- staticRenderFns,
- false,
- injectStyles,
- "325cc999",
- "4153663a"
-
- )
- /* harmony default export */ var myDetail = __webpack_exports__["default"] = (component.exports);
- /* nuxt-component-imports */
- installComponents(component, {ImageUpload: __webpack_require__(263).default,Pagination: __webpack_require__(192).default})
- /***/ })
- };;
- //# sourceMappingURL=index.js.map
|