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
4.5 KiB
1 line
4.5 KiB
{"remainingRequest":"D:\\YuanZhuoLogistics\\WarehouseManagerVue\\node_modules\\babel-loader\\lib\\index.js!D:\\YuanZhuoLogistics\\WarehouseManagerVue\\node_modules\\cache-loader\\dist\\cjs.js??ref--1-0!D:\\YuanZhuoLogistics\\WarehouseManagerVue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\YuanZhuoLogistics\\WarehouseManagerVue\\src\\components\\Home.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\YuanZhuoLogistics\\WarehouseManagerVue\\src\\components\\Home.vue","mtime":1729670475543},{"path":"D:\\YuanZhuoLogistics\\WarehouseManagerVue\\babel.config.js","mtime":1677915063811},{"path":"D:\\YuanZhuoLogistics\\WarehouseManagerVue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\YuanZhuoLogistics\\WarehouseManagerVue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\YuanZhuoLogistics\\WarehouseManagerVue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\YuanZhuoLogistics\\WarehouseManagerVue\\node_modules\\vue-loader\\lib\\index.js","mtime":1655715099000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:aW1wb3J0IERhdGVVdGlscyBmcm9tICIuL0RhdGVVdGlscyI7CmV4cG9ydCBkZWZhdWx0IHsKICBuYW1lOiAiSG9tZSIsCiAgY29tcG9uZW50czogewogICAgRGF0ZVV0aWxzCiAgfSwKCiAgZGF0YSgpIHsKICAgIHJldHVybiB7CiAgICAgIHVzZXI6IHt9CiAgICB9OwogIH0sCgogIGNvbXB1dGVkOiB7fSwKICBtZXRob2RzOiB7CiAgICBpbml0KCkgewogICAgICB0aGlzLnVzZXIgPSBKU09OLnBhcnNlKHNlc3Npb25TdG9yYWdlLmdldEl0ZW0oJ0N1clVzZXInKSk7CiAgICB9CgogIH0sCgogIGNyZWF0ZWQoKSB7CiAgICB0aGlzLmluaXQoKTsKICB9Cgp9Ow=="},{"version":3,"mappings":"AAiDA;AACA;EACAA,YADA;EAEAC;IAAAC;EAAA,CAFA;;EAGAC;IAEA;MACAC;IADA;EAGA,CARA;;EASAC,YATA;EAYAC;IACAC;MACA;IACA;;EAHA,CAZA;;EAiBAC;IACA;EACA;;AAnBA","names":["name","components","DateUtils","data","user","computed","methods","init","created"],"sourceRoot":"src/components","sources":["Home.vue"],"sourcesContent":["<!--\r\n * @Description: \r\n * @Author: Rabbiter\r\n * @Date: 2023-03-04 15:31:03\r\n-->\r\n<template>\r\n <div style=\"text-align: center;background-color: #f1f1f3;height: 100%;padding: 0px;margin: 0px;\">\r\n <!-- <h1 style=\"font-size: 50px;\">{{'欢迎你!'+user.name}}</h1> -->\r\n <el-descriptions title=\"个人中心\" :column=\"2\" size=\"40\" border style=\"padding-top:20px;\">\r\n <el-descriptions-item>\r\n <template slot=\"label\">\r\n <i class=\"el-icon-s-custom\"></i>\r\n 账号\r\n </template>\r\n {{user.no}}\r\n </el-descriptions-item>\r\n <el-descriptions-item>\r\n <template slot=\"label\">\r\n <i class=\"el-icon-mobile-phone\"></i>\r\n 电话\r\n </template>\r\n {{user.phone}}\r\n </el-descriptions-item>\r\n <el-descriptions-item>\r\n <template slot=\"label\">\r\n <i class=\"el-icon-location-outline\"></i>\r\n 性别\r\n </template>\r\n <el-tag\r\n :type=\"user.sex === '1' ? 'primary' : 'danger'\"\r\n disable-transitions><i :class=\"user.sex==1?'el-icon-male':'el-icon-female'\"></i>{{user.sex==1?\"男\":\"女\"}}</el-tag>\r\n </el-descriptions-item>\r\n <el-descriptions-item>\r\n <template slot=\"label\">\r\n <i class=\"el-icon-tickets\"></i>\r\n 角色\r\n </template>\r\n <el-tag\r\n type=\"success\"\r\n disable-transitions>{{user.roleId==0?\"快递员管家\":(user.roleId==1?\"快递员\":\"用户\")}}</el-tag>\r\n\r\n </el-descriptions-item>\r\n </el-descriptions>\r\n\r\n <DateUtils></DateUtils>\r\n </div>\r\n</template>\r\n\r\n<script>\r\n import DateUtils from \"./DateUtils\";\r\n export default {\r\n name: \"Home\",\r\n components: {DateUtils},\r\n data() {\r\n\r\n return {\r\n user:{}\r\n }\r\n },\r\n computed:{\r\n\r\n },\r\n methods:{\r\n init(){\r\n this.user = JSON.parse(sessionStorage.getItem('CurUser'))\r\n }\r\n },\r\n created(){\r\n this.init()\r\n }\r\n }\r\n</script>\r\n\r\n<style scoped>\r\n .el-descriptions{\r\n width:90%;\r\n\r\n margin: 0 auto;\r\n text-align: center;\r\n }\r\n</style>"]}]} |