1 |
- {"remainingRequest":"/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/node_modules/vue-loader/lib/index.js??vue-loader-options!/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/src/views/personalCenter/index.vue?vue&type=script&lang=js","dependencies":[{"path":"/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/src/views/personalCenter/index.vue","mtime":1708395041888},{"path":"/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/node_modules/cache-loader/dist/cjs.js","mtime":1708395146433},{"path":"/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/node_modules/babel-loader/lib/index.js","mtime":1708395147257},{"path":"/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/node_modules/cache-loader/dist/cjs.js","mtime":1708395146433},{"path":"/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/node_modules/vue-loader/lib/index.js","mtime":1708395147382}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KCi8vICAgaW1wb3J0IHVzZXJBdmF0YXIgZnJvbSAiLi91c2VyQXZhdGFyIjsKaW1wb3J0IHVzZXJJbmZvIGZyb20gIi4vdXNlckluZm8iOwppbXBvcnQgcmVzZXRQd2QgZnJvbSAiLi9yZXNldFB3ZCI7CmltcG9ydCB7IHBlcnNvbmFsIH0gZnJvbSAiQC9hcGkvcGVyc29uYWxDZW50ZXIiOwoKZXhwb3J0IGRlZmF1bHQgewogIG5hbWU6ICJQcm9maWxlIiwKICAvLyBjb21wb25lbnRzOiB7IHVzZXJBdmF0YXIsIHVzZXJJbmZvLCByZXNldFB3ZCB9LAogIGNvbXBvbmVudHM6IHsgdXNlckluZm8sIHJlc2V0UHdkIH0sCiAgZGF0YSgpIHsKICAgIHJldHVybiB7CiAgICAgIHVzZXI6IHt9LAogICAgICBlZGl0VXNlcjoge30sCiAgICAgIHJvbGVHcm91cDoge30sCiAgICAgIHBvc3RHcm91cDoge30sCiAgICAgIGFjdGl2ZVRhYjogInVzZXJpbmZvIiwKICAgIH07CiAgfSwKICBjcmVhdGVkKCkgewogICAgdGhpcy5wZXJzb25hbCgpOwogIH0sCiAgbWV0aG9kczogewogICAgcGVyc29uYWwoKSB7CiAgICAgIHBlcnNvbmFsKCkudGhlbigocmVzcG9uc2UpID0+IHsKICAgICAgICB0aGlzLnVzZXIgPSByZXNwb25zZS51c2VyOwogICAgICAgIHRoaXMuZWRpdFVzZXIgPSBKU09OLnBhcnNlKEpTT04uc3RyaW5naWZ5KHJlc3BvbnNlLnVzZXIpKTsKICAgICAgICB0aGlzLnJvbGVHcm91cCA9IHJlc3BvbnNlLnJvbGVHcm91cDsKICAgICAgICB0aGlzLnBvc3RHcm91cCA9IHJlc3BvbnNlLnBvc3RHcm91cDsKICAgICAgfSk7CiAgICB9LAogIH0sCn07Cg=="},{"version":3,"sources":["index.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"index.vue","sourceRoot":"src/views/personalCenter","sourcesContent":["<template>\n <div class=\"app-container persionancenter\">\n <el-row :gutter=\"20\">\n <el-col :span=\"6\" :xs=\"24\">\n <el-card class=\"box-card\">\n <div slot=\"header\" class=\"clearfix\">\n <span>个人信息</span>\n </div>\n <div>\n <div class=\"text-center\">\n <!-- <userAvatar :user=\"user\" /> -->\n </div>\n <ul class=\"list-group list-group-striped\">\n <li class=\"list-group-item\">\n 账号\n <div class=\"pull-right\">{{ user.userName }}</div>\n </li>\n <li class=\"list-group-item\">\n 用户名称\n <div class=\"pull-right\">{{ user.nickName }}</div>\n </li>\n <li class=\"list-group-item\">\n 手机号码\n <div class=\"pull-right\">{{ user.phoneNum }}</div>\n </li>\n\n <li class=\"list-group-item\">\n 所属部门\n <div class=\"pull-right\" v-if=\"user.dept\">\n {{ user.dept.deptName }}\n </div>\n </li>\n <li class=\"list-group-item\">\n 状态\n <div class=\"pull-right\">\n {{ user.status == 1 ? \"正常\" : \"停用\" }}\n </div>\n </li>\n <li class=\"list-group-item\">\n 创建日期\n <div class=\"pull-right\">{{ user.createTime }}</div>\n </li>\n </ul>\n </div>\n </el-card>\n </el-col>\n <el-col :span=\"18\" :xs=\"24\">\n <el-card>\n <div slot=\"header\" class=\"clearfix\">\n <span>基本资料</span>\n </div>\n <el-tabs v-model=\"activeTab\">\n <el-tab-pane label=\"基本资料\" name=\"userinfo\">\n <userInfo :user=\"editUser\" />\n </el-tab-pane>\n <!-- <el-tab-pane label=\"修改密码\" name=\"resetPwd\">\n <resetPwd :user=\"user\" />\n </el-tab-pane> -->\n </el-tabs>\n </el-card>\n </el-col>\n </el-row>\n </div>\n</template>\n\n <script>\n// import userAvatar from \"./userAvatar\";\nimport userInfo from \"./userInfo\";\nimport resetPwd from \"./resetPwd\";\nimport { personal } from \"@/api/personalCenter\";\n\nexport default {\n name: \"Profile\",\n // components: { userAvatar, userInfo, resetPwd },\n components: { userInfo, resetPwd },\n data() {\n return {\n user: {},\n editUser: {},\n roleGroup: {},\n postGroup: {},\n activeTab: \"userinfo\",\n };\n },\n created() {\n this.personal();\n },\n methods: {\n personal() {\n personal().then((response) => {\n this.user = response.user;\n this.editUser = JSON.parse(JSON.stringify(response.user));\n this.roleGroup = response.roleGroup;\n this.postGroup = response.postGroup;\n });\n },\n },\n};\n</script>\n <style>\n.list-group-striped > .list-group-item {\n border-left: 0;\n border-right: 0;\n border-radius: 0;\n padding-left: 0;\n padding-right: 0;\n}\n.list-group-item {\n border-bottom: 1px solid #e7eaec;\n border-top: 1px solid #e7eaec;\n height: 66px;\n line-height: 40px;\n margin-bottom: -1px;\n padding: 11px 0px;\n font-size: 13px;\n}\n.app-container {\n padding: 20px;\n}\n.list-group {\n padding-left: 0px;\n list-style: none;\n}\n\n.list-group-item {\n border-bottom: 1px solid #e7eaec;\n border-top: 1px solid #e7eaec;\n margin-bottom: -1px;\n padding: 11px 0px;\n font-size: 13px;\n}\n.pull-right {\n float: right !important;\n}\n\n.persionancenter .el-card {\n height: calc(100vh - 113px);\n background: #fff;\n}\n</style>\n"]}]}
|