1 |
- {"remainingRequest":"E:\\item\\千鸟\\千鸟云商前端源代码\\源点计划\\jindouyunNewFront\\node_modules\\thread-loader\\dist\\cjs.js!E:\\item\\千鸟\\千鸟云商前端源代码\\源点计划\\jindouyunNewFront\\node_modules\\babel-loader\\lib\\index.js!E:\\item\\千鸟\\千鸟云商前端源代码\\源点计划\\jindouyunNewFront\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!E:\\item\\千鸟\\千鸟云商前端源代码\\源点计划\\jindouyunNewFront\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!E:\\item\\千鸟\\千鸟云商前端源代码\\源点计划\\jindouyunNewFront\\src\\layouts\\index.vue?vue&type=script&lang=js&","dependencies":[{"path":"E:\\item\\千鸟\\千鸟云商前端源代码\\源点计划\\jindouyunNewFront\\src\\layouts\\index.vue","mtime":1671171995031},{"path":"E:\\item\\千鸟\\千鸟云商前端源代码\\源点计划\\jindouyunNewFront\\babel.config.js","mtime":1655374732000},{"path":"E:\\item\\千鸟\\千鸟云商前端源代码\\源点计划\\jindouyunNewFront\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\item\\千鸟\\千鸟云商前端源代码\\源点计划\\jindouyunNewFront\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\item\\千鸟\\千鸟云商前端源代码\\源点计划\\jindouyunNewFront\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"E:\\item\\千鸟\\千鸟云商前端源代码\\源点计划\\jindouyunNewFront\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\item\\千鸟\\千鸟云商前端源代码\\源点计划\\jindouyunNewFront\\node_modules\\vue-loader\\lib\\index.js","mtime":1655715099000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy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A,EAGA,SAHA,EAIA,cAJA,EAKA,IALA,EAMA,IANA;MAQA;IACA;EACA,CAhEA;;EAiEAC,WACA;MACAC,yCADA;MAEAC,yCAFA;MAGAC,2CAHA;MAIAC,2CAJA;MAKAC,sCALA;MAMAC,kDANA;MAOAC,sEAPA;MAQAC;IARA,EADA;;IAWAC;MACA;;MACA;QACA;QACA;QACA;QACA;MACA;IACA,CAnBA;;IAoBAC;MACA;;MACA;QACAC;QACA;MACA;IACA,CA1BA;;IA2BA;IACA;MACA;QACA9B;MADA,IAEA,qBAFA;;MAGA;QACA;QACA;QACA,oCACAA,4CADA;QAGA;MACA,CAPA,MAOA;QACA;QACA;QACA;QACA;MACA;IACA;;EA7CA;AAjEA","names":["mapActions","mapGetters","tokenName","getBasicSetup","getDataFieldRadio","name","data","oldLayout","width","playAudio","computed","layout","showTagsBar","collapse","header","device","classObj","mobile","beforeMount","window","beforeDestroy","mounted","e","title","message","methods","handleOpenSideBar","handleFoldSideBar","handleChangeLayout","handleToggleDevice","changePrintTag","changeSalePriceTimes","changeEnableLocationManagement","changeBaseSetting","handleLayouts","wrapperClick","audio"],"sourceRoot":"src/layouts","sources":["index.vue"],"sourcesContent":["<template>\r\n\t<div :class=\"classObj\" class=\"vue-admin-beautiful-wrapper\" @click=\"wrapperClick\">\r\n\t\t<!-- 横向布局 -->\r\n\t\t<div v-if=\"'horizontal' === layout\" :class=\"{\r\n fixed: header === 'fixed',\r\n 'no-tags-bar': !showTagsBar,\r\n }\" class=\"layout-container-horizontal\">\r\n\t\t\t<div :class=\"header === 'fixed' ? 'fixed-header' : ''\" class=\"layout-header\">\r\n\t\t\t\t<top-bar></top-bar>\r\n\t\t\t\t<div v-if=\"showTagsBar\" :class=\"{ 'tag-bar-horizontal': showTagsBar }\">\r\n\t\t\t\t\t<div class=\"vab-main\">\r\n\t\t\t\t\t\t<tags-bar></tags-bar>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"vab-main main-padding\">\r\n\t\t\t\t<app-main></app-main>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<!-- 纵向布局 -->\r\n\t\t<div v-else-if=\"'vertical' === layout\" :class=\"{\r\n fixed: header === 'fixed',\r\n 'no-tags-bar': !showTagsBar,\r\n }\" class=\"layout-container-vertical\">\r\n\t\t\t<div v-if=\"device === 'mobile' && !collapse\" class=\"mask\" @click=\"handleFoldSideBar\"></div>\r\n\t\t\t<side-bar></side-bar>\r\n\t\t\t<div :class=\"collapse ? 'is-collapse-main' : ''\" class=\"vab-main\">\r\n\t\t\t\t<div :class=\"header === 'fixed' ? 'fixed-header' : ''\" class=\"layout-header\">\r\n\t\t\t\t\t<nav-bar></nav-bar>\r\n\t\t\t\t\t<tags-bar v-if=\"showTagsBar\" />\r\n\t\t\t\t</div>\r\n\t\t\t\t<app-main></app-main>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<!--画廊布局 -->\r\n\t\t<div v-else-if=\"'gallery' === layout\" :class=\"{\r\n fixed: header === 'fixed',\r\n 'no-tags-bar': !showTagsBar,\r\n }\" class=\"layout-container-gallery\">\r\n\t\t\t<gallery-bar></gallery-bar>\r\n\t\t\t<div :class=\"collapse ? 'is-collapse-main' : ''\" class=\"vab-main\">\r\n\t\t\t\t<div :class=\"header === 'fixed' ? 'fixed-header' : ''\" class=\"layout-header\">\r\n\t\t\t\t\t<nav-bar></nav-bar>\r\n\t\t\t\t\t<tags-bar v-if=\"showTagsBar\" />\r\n\t\t\t\t</div>\r\n\t\t\t\t<app-main></app-main>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<!--综合布局 -->\r\n\t\t<div v-else-if=\"'comprehensive' === layout\" :class=\"{\r\n fixed: header === 'fixed',\r\n 'no-tags-bar': !showTagsBar,\r\n }\" class=\"layout-container-comprehensive\">\r\n\t\t\t<comprehensive-bar></comprehensive-bar>\r\n\t\t\t<div :class=\"collapse ? 'is-collapse-main' : ''\" class=\"vab-main\">\r\n\t\t\t\t<div :class=\"header === 'fixed' ? 'fixed-header' : ''\" class=\"layout-header\">\r\n\t\t\t\t\t<nav-bar layout=\"comprehensive\"></nav-bar>\r\n\t\t\t\t\t<tags-bar v-if=\"showTagsBar\" />\r\n\t\t\t\t</div>\r\n\t\t\t\t<app-main></app-main>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<!--常规布局 -->\r\n\t\t<div v-else-if=\"'common' === layout\" :class=\"{\r\n fixed: header === 'fixed',\r\n 'no-tags-bar': !showTagsBar,\r\n }\" class=\"layout-container-common\">\r\n\t\t\t<div :class=\"header === 'fixed' ? 'fixed-header' : ''\" class=\"layout-header\">\r\n\t\t\t\t<top-bar layout=\"common\"></top-bar>\r\n\t\t\t\t<div v-if=\"showTagsBar\">\r\n\t\t\t\t\t<side-bar layout=\"common\"></side-bar>\r\n\t\t\t\t\t<div :class=\"collapse ? 'is-collapse-main' : ''\" class=\"vab-main\">\r\n\t\t\t\t\t\t<tags-bar layout=\"common\"></tags-bar>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t\t<div :class=\"collapse ? 'is-collapse-main' : ''\" class=\"vab-main main-padding\">\r\n\t\t\t\t<app-main></app-main>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<el-backtop></el-backtop>\r\n\t</div>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\tmapActions,\r\n\t\tmapGetters\r\n\t} from \"vuex\";\r\n\timport {\r\n\t\ttokenName\r\n\t} from \"@/config/settings\";\r\n\timport {\r\n\t\tgetBasicSetup\r\n\t} from \"@/api/System\";\r\n\timport {\r\n\t\tgetDataFieldRadio\r\n\t} from \"@/access/check\";\r\n\texport default {\r\n\t\tname: \"Layout\",\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\toldLayout: \"\",\r\n\t\t\t\twidth: 0,\r\n\t\t\t\tplayAudio: true,\r\n\t\t\t};\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\t...mapGetters({\r\n\t\t\t\tlayout: \"settings/layout\",\r\n\t\t\t\tshowTagsBar: \"settings/showTagsBar\",\r\n\t\t\t\tcollapse: \"settings/collapse\",\r\n\t\t\t\theader: \"settings/header\",\r\n\t\t\t\tdevice: \"settings/device\",\r\n\t\t\t}),\r\n\t\t\tclassObj() {\r\n\t\t\t\treturn {\r\n\t\t\t\t\tmobile: this.device === \"mobile\",\r\n\t\t\t\t};\r\n\t\t\t},\r\n\t\t},\r\n\t\tbeforeMount() {\r\n\t\t\twindow.addEventListener(\"resize\", this.handleLayouts);\r\n\t\t},\r\n\t\tbeforeDestroy() {\r\n\t\t\twindow.removeEventListener(\"resize\", this.handleLayouts);\r\n\t\t},\r\n\t\tmounted() {\r\n\t\t\tthis.oldLayout = this.layout;\r\n\t\t\tthis.handleLayouts();\r\n\t\t\tthis.$nextTick(() => {\r\n\t\t\t\twindow.addEventListener(\r\n\t\t\t\t\t\"storage\",\r\n\t\t\t\t\t(e) => {\r\n\t\t\t\t\t\tif (e.key === tokenName || e.key === null) window.location.reload();\r\n\t\t\t\t\t\tif (e.key === tokenName && e.value === null)\r\n\t\t\t\t\t\t\twindow.location.reload();\r\n\t\t\t\t\t},\r\n\t\t\t\t\tfalse\r\n\t\t\t\t);\r\n\t\t\t});\r\n\t\t\t// 获取详情设置详情\r\n\t\t\tthis.getBasicSetup();\r\n\t\t\t// 如果有出库单权限或者有新订单权限加语音提示\r\n\t\t\tif (this.systemType === 1) {\r\n\t\t\t\tif (\r\n\t\t\t\t\tthis.$accessCheck(this.$Access.newOrderList) ||\r\n\t\t\t\t\tthis.$accessCheck(this.$Access.InventoryOut)\r\n\t\t\t\t) {\r\n\t\t\t\t\tconst message = \"听不到订单提示语音,请进行以下操作\";\r\n\t\t\t\t\tconst title =\r\n\t\t\t\t\t\t\"1,请检查电脑音响是否开启,音量是否设置为静音;<br>2,请检查【设置-语音配置】是否开启订单提醒!<p style='color: #E6A23C'>确认以上操作后,下一笔新订单即可听到语音播报</p>\";\r\n\t\t\t\t\tthis.$baseNotify(\r\n\t\t\t\t\t\ttitle,\r\n\t\t\t\t\t\tmessage,\r\n\t\t\t\t\t\t\"warning\",\r\n\t\t\t\t\t\t\"bottom-right\",\r\n\t\t\t\t\t\t5000,\r\n\t\t\t\t\t\ttrue\r\n\t\t\t\t\t);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t...mapActions({\r\n\t\t\t\thandleOpenSideBar: \"settings/openSideBar\",\r\n\t\t\t\thandleFoldSideBar: \"settings/foldSideBar\",\r\n\t\t\t\thandleChangeLayout: \"settings/changeLayout\",\r\n\t\t\t\thandleToggleDevice: \"settings/toggleDevice\",\r\n\t\t\t\tchangePrintTag: \"MUser/changePrintTag\",\r\n\t\t\t\tchangeSalePriceTimes: \"MUser/changeSalePriceTimes\",\r\n\t\t\t\tchangeEnableLocationManagement: \"MUser/changeEnableLocationManagement\",\r\n\t\t\t\tchangeBaseSetting: \"MUser/changeBaseSetting\",\r\n\t\t\t}),\r\n\t\t\thandleLayouts() {\r\n\t\t\t\tconst width = document.body.getBoundingClientRect().width;\r\n\t\t\t\tif (this.width !== width) {\r\n\t\t\t\t\tconst isMobile = width - 1 < 992;\r\n\t\t\t\t\tthis.handleChangeLayout(isMobile ? \"vertical\" : this.oldLayout);\r\n\t\t\t\t\tthis.handleToggleDevice(isMobile ? \"mobile\" : \"desktop\");\r\n\t\t\t\t\tthis.width = width;\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\twrapperClick() {\r\n\t\t\t\tlet audio = document.getElementById(\"orderTip\");\r\n\t\t\t\tif (audio !== null && this.playAudio) {\r\n\t\t\t\t\taudio.pause();\r\n\t\t\t\t\tthis.playAudio = false;\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t// 获取设置详情\r\n\t\t\tasync getBasicSetup() {\r\n\t\t\t\tconst {\r\n\t\t\t\t\tdata\r\n\t\t\t\t} = await getBasicSetup();\r\n\t\t\t\tif (data.basicData) {\r\n\t\t\t\t\tthis.changePrintTag(data.basicData.printTag || 4);\r\n\t\t\t\t\tthis.changeSalePriceTimes(data.basicData.salePriceTimes || 1.2);\r\n\t\t\t\t\tthis.changeEnableLocationManagement(\r\n\t\t\t\t\t\tdata.basicData.enableLocationManagement || 4\r\n\t\t\t\t\t);\r\n\t\t\t\t\tthis.changeBaseSetting(data.basicData);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.changePrintTag(4);\r\n\t\t\t\t\tthis.changeSalePriceTimes(1.2);\r\n\t\t\t\t\tthis.changeEnableLocationManagement(4);\r\n\t\t\t\t\tthis.changeBaseSetting({});\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t},\r\n\t};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t@mixin fix-header {\r\n\t\tposition: fixed;\r\n\t\ttop: 0;\r\n\t\tright: 0;\r\n\t\tleft: 0;\r\n\t\tz-index: $base-z-index - 2;\r\n\t\twidth: 100%;\r\n\t\toverflow: hidden;\r\n\t\ttransition: $base-transition;\r\n\t}\r\n\r\n\t.vue-admin-beautiful-wrapper {\r\n\t\tposition: relative;\r\n\t\twidth: 100%;\r\n\t\theight: 100%;\r\n\t\tcolor: #2c3e50;\r\n\r\n\t\t.layout-header {\r\n\t\t\tbox-shadow: $base-box-shadow;\r\n\t\t}\r\n\r\n\t\t.layout-container-horizontal,\r\n\t\t.layout-container-common {\r\n\t\t\tposition: relative;\r\n\r\n\t\t\t&.fixed {\r\n\t\t\t\tpadding-top: calc(#{$base-top-bar-height} + #{$base-tags-bar-height});\r\n\t\t\t}\r\n\r\n\t\t\t&.fixed.no-tags-bar {\r\n\t\t\t\tpadding-top: $base-top-bar-height;\r\n\t\t\t}\r\n\r\n\t\t\t::v-deep {\r\n\t\t\t\t.vab-main {\r\n\t\t\t\t\twidth: 88%;\r\n\t\t\t\t\tmargin: auto;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.fixed-header {\r\n\t\t\t\t\t@include fix-header;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.tag-bar-horizontal {\r\n\t\t\t\t\tbackground: $base-color-white;\r\n\t\t\t\t\tbox-shadow: $base-box-shadow;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.nav-bar-container {\r\n\t\t\t\t\t.fold-unfold {\r\n\t\t\t\t\t\tdisplay: none;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.main-padding {\r\n\t\t\t\t\t.app-main-container {\r\n\t\t\t\t\t\tmargin-top: $base-padding;\r\n\t\t\t\t\t\tmargin-bottom: $base-padding;\r\n\t\t\t\t\t\tbackground: $base-color-white;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.layout-container-common {\r\n\t\t\t::v-deep {\r\n\t\t\t\t.top-bar-container {\r\n\t\t\t\t\t.vab-main {\r\n\t\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\t\tmargin: auto $base-padding;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.layout-container-horizontal {\r\n\t\t\t::v-deep {\r\n\t\t\t\t.tags-bar-container {\r\n\t\t\t\t\tpadding-right: 0;\r\n\t\t\t\t\tpadding-left: 0;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.layout-container-vertical,\r\n\t\t.layout-container-comprehensive,\r\n\t\t.layout-container-gallery,\r\n\t\t.layout-container-common {\r\n\t\t\tposition: relative;\r\n\r\n\t\t\t.mask {\r\n\t\t\t\tposition: fixed;\r\n\t\t\t\ttop: 0;\r\n\t\t\t\tright: 0;\r\n\t\t\t\tbottom: 0;\r\n\t\t\t\tleft: 0;\r\n\t\t\t\tz-index: $base-z-index - 1;\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\theight: 100vh;\r\n\t\t\t\toverflow: hidden;\r\n\t\t\t\tbackground: #000;\r\n\t\t\t\topacity: 0.5;\r\n\t\t\t}\r\n\r\n\t\t\t&.fixed {\r\n\t\t\t\tpadding-top: calc(#{$base-nav-bar-height} + #{$base-tags-bar-height});\r\n\t\t\t}\r\n\r\n\t\t\t&.fixed.no-tags-bar {\r\n\t\t\t\tpadding-top: $base-nav-bar-height;\r\n\t\t\t}\r\n\r\n\t\t\t.vab-main {\r\n\t\t\t\tposition: relative;\r\n\t\t\t\twidth: auto;\r\n\t\t\t\tmin-height: 100%;\r\n\t\t\t\tmargin-left: $base-left-menu-width;\r\n\t\t\t\tbackground: #f6f8f9;\r\n\t\t\t\ttransition: $base-transition;\r\n\r\n\t\t\t\t::v-deep {\r\n\t\t\t\t\t.fixed-header {\r\n\t\t\t\t\t\t@include fix-header;\r\n\r\n\t\t\t\t\t\tleft: $base-left-menu-width;\r\n\t\t\t\t\t\twidth: $base-right-content-width;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t.nav-bar-container {\r\n\t\t\t\t\t\tposition: relative;\r\n\t\t\t\t\t\tbox-sizing: border-box;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t.tags-bar-container {\r\n\t\t\t\t\t\tbox-sizing: border-box;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t.app-main-container {\r\n\t\t\t\t\t\t/*width: calc(100% - #{$base-padding} - #{$base-padding});*/\r\n\t\t\t\t\t\twidth: calc(100% - #{$base-padding} - 14px);\r\n\t\t\t\t\t\t/*margin: $base-padding auto;*/\r\n\t\t\t\t\t\tmargin: 16px auto;\r\n\t\t\t\t\t\t/*background: $base-color-white;*/\r\n\t\t\t\t\t\tborder-radius: $base-border-radius;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t&.is-collapse-main {\r\n\t\t\t\t\tmargin-left: $base-left-menu-width-min;\r\n\r\n\t\t\t\t\t::v-deep {\r\n\t\t\t\t\t\t.fixed-header {\r\n\t\t\t\t\t\t\tleft: $base-left-menu-width-min;\r\n\t\t\t\t\t\t\twidth: calc(100% - 65px);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t/* 手机端开始 */\r\n\t\t&.mobile {\r\n\t\t\t::v-deep {\r\n\r\n\t\t\t\t.el-pager,\r\n\t\t\t\t.el-pagination__jump {\r\n\t\t\t\t\tdisplay: none;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.layout-container-vertical {\r\n\t\t\t\t\t.el-scrollbar.side-bar-container.is-collapse {\r\n\t\t\t\t\t\twidth: 0;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t.vab-main {\r\n\t\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\t\tmargin-left: 0;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.vab-main {\r\n\t\t\t\t\t.fixed-header {\r\n\t\t\t\t\t\tleft: 0 !important;\r\n\t\t\t\t\t\twidth: 100% !important;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t/* 手机端结束 */\r\n\t}\r\n</style>\n"]}]}
|