You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
6.1 KiB
1 line
6.1 KiB
{"remainingRequest":"D:\\Work\\WorkSpace\\GitWorkSpace\\TenShop\\resource\\WarehouseManagerSystem\\src\\WarehouseManagerVue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\Work\\WorkSpace\\GitWorkSpace\\TenShop\\resource\\WarehouseManagerSystem\\src\\WarehouseManagerVue\\src\\components\\Header.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\Work\\WorkSpace\\GitWorkSpace\\TenShop\\resource\\WarehouseManagerSystem\\src\\WarehouseManagerVue\\src\\components\\Header.vue","mtime":1677915063820},{"path":"D:\\Work\\WorkSpace\\GitWorkSpace\\TenShop\\resource\\WarehouseManagerSystem\\src\\WarehouseManagerVue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1677927572803},{"path":"D:\\Work\\WorkSpace\\GitWorkSpace\\TenShop\\resource\\WarehouseManagerSystem\\src\\WarehouseManagerVue\\node_modules\\babel-loader\\lib\\index.js","mtime":1677927576192},{"path":"D:\\Work\\WorkSpace\\GitWorkSpace\\TenShop\\resource\\WarehouseManagerSystem\\src\\WarehouseManagerVue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1677927572803},{"path":"D:\\Work\\WorkSpace\\GitWorkSpace\\TenShop\\resource\\WarehouseManagerSystem\\src\\WarehouseManagerVue\\node_modules\\vue-loader\\lib\\index.js","mtime":1677927577316}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:DQogICAgZXhwb3J0IGRlZmF1bHQgew0KICAgICAgICBuYW1lOiAiSGVhZGVyIiwNCiAgICAgICAgZGF0YSgpew0KICAgICAgICAgICAgcmV0dXJuIHsNCiAgICAgICAgICAgICAgICB1c2VyIDogSlNPTi5wYXJzZShzZXNzaW9uU3RvcmFnZS5nZXRJdGVtKCdDdXJVc2VyJykpDQogICAgICAgICAgICB9DQogICAgICAgIH0sDQogICAgICAgIHByb3BzOnsNCiAgICAgICAgICAgIGljb246U3RyaW5nDQogICAgICAgIH0sDQogICAgICAgIG1ldGhvZHM6ew0KICAgICAgICAgICAgdG9Vc2VyKCl7DQogICAgICAgICAgICAgICAgY29uc29sZS5sb2coJ3RvX3VzZXInKQ0KDQogICAgICAgICAgICAgICAgdGhpcy4kcm91dGVyLnB1c2goIi9Ib21lIikNCiAgICAgICAgICAgIH0sDQogICAgICAgICAgICBsb2dvdXQoKXsNCiAgICAgICAgICAgICAgICBjb25zb2xlLmxvZygnbG9nb3V0JykNCg0KICAgICAgICAgICAgICAgIHRoaXMuJGNvbmZpcm0oJ+aCqOehruWumuimgemAgOWHuueZu+W9leWQl++8nycsICfmj5DnpLonLCB7DQogICAgICAgICAgICAgICAgICAgIGNvbmZpcm1CdXR0b25UZXh0OiAn56Gu5a6aJywgIC8v56Gu6K6k5oyJ6ZKu55qE5paH5a2X5pi+56S6DQogICAgICAgICAgICAgICAgICAgIHR5cGU6ICd3YXJuaW5nJywNCiAgICAgICAgICAgICAgICAgICAgY2VudGVyOiB0cnVlLCAvL+aWh+Wtl+WxheS4reaYvuekug0KDQogICAgICAgICAgICAgICAgfSkNCiAgICAgICAgICAgICAgICAgICAgLnRoZW4oKCkgPT4gew0KICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy4kbWVzc2FnZSh7DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgdHlwZTonc3VjY2VzcycsDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgbWVzc2FnZTon6YCA5Ye655m75b2V5oiQ5Yqf77yBJw0KICAgICAgICAgICAgICAgICAgICAgICAgfSkNCg0KICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy4kcm91dGVyLnB1c2goIi8iKQ0KICAgICAgICAgICAgICAgICAgICAgICAgc2Vzc2lvblN0b3JhZ2UuY2xlYXIoKQ0KICAgICAgICAgICAgICAgICAgICB9KQ0KICAgICAgICAgICAgICAgICAgICAuY2F0Y2goKCkgPT4gew0KICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy4kbWVzc2FnZSh7DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgdHlwZTonaW5mbycsDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgbWVzc2FnZTon5bey5Y+W5raI6YCA5Ye655m75b2V77yBJw0KICAgICAgICAgICAgICAgICAgICAgICAgfSkNCiAgICAgICAgICAgICAgICAgICAgfSkNCg0KICAgICAgICAgICAgfSwNCiAgICAgICAgICAgIGNvbGxhcHNlKCl7DQogICAgICAgICAgICAgICAgdGhpcy4kZW1pdCgnZG9Db2xsYXBzZScpDQogICAgICAgICAgICB9DQoNCiAgICAgICAgfSwNCiAgICAgICAgY3JlYXRlZCgpew0KICAgICAgICAgICAgdGhpcy4kcm91dGVyLnB1c2goIi9Ib21lIikNCiAgICAgICAgfQ0KDQogICAgfQ0K"},{"version":3,"sources":["Header.vue"],"names":[],"mappings":";AAwBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA","file":"Header.vue","sourceRoot":"src/components","sourcesContent":["<!--头部组件-->\r\n<template>\r\n <div style=\"display: flex;line-height: 60px;\">\r\n <div style=\"margin-top: 8px;\">\r\n <!--菜单伸缩-->\r\n <i :class=\"icon\" style=\"font-size: 20px;cursor: pointer;\" @click=\"collapse\"></i>\r\n </div>\r\n <div style=\"flex: 1;text-align: center;font-size: 34px;\">\r\n <!--欢迎字样-->\r\n <span>欢迎来到仓库管理系统</span>\r\n </div>\r\n <el-dropdown>\r\n <!--dropdown下拉-->\r\n <span>{{user.name}}</span><i class=\"el-icon-arrow-down\" style=\"margin-left: 5px;\"></i>\r\n <el-dropdown-menu slot=\"dropdown\">\r\n <el-dropdown-item @click.native=\"toUser\">个人中心</el-dropdown-item>\r\n <el-dropdown-item @click.native=\"logout\">退出登录</el-dropdown-item>\r\n </el-dropdown-menu>\r\n </el-dropdown>\r\n\r\n </div>\r\n</template>\r\n\r\n<script>\r\n export default {\r\n name: \"Header\",\r\n data(){\r\n return {\r\n user : JSON.parse(sessionStorage.getItem('CurUser'))\r\n }\r\n },\r\n props:{\r\n icon:String\r\n },\r\n methods:{\r\n toUser(){\r\n console.log('to_user')\r\n\r\n this.$router.push(\"/Home\")\r\n },\r\n logout(){\r\n console.log('logout')\r\n\r\n this.$confirm('您确定要退出登录吗?', '提示', {\r\n confirmButtonText: '确定', //确认按钮的文字显示\r\n type: 'warning',\r\n center: true, //文字居中显示\r\n\r\n })\r\n .then(() => {\r\n this.$message({\r\n type:'success',\r\n message:'退出登录成功!'\r\n })\r\n\r\n this.$router.push(\"/\")\r\n sessionStorage.clear()\r\n })\r\n .catch(() => {\r\n this.$message({\r\n type:'info',\r\n message:'已取消退出登录!'\r\n })\r\n })\r\n\r\n },\r\n collapse(){\r\n this.$emit('doCollapse')\r\n }\r\n\r\n },\r\n created(){\r\n this.$router.push(\"/Home\")\r\n }\r\n\r\n }\r\n</script>\r\n\r\n<style scoped>\r\n\r\n</style>"]}]} |