|
@@ -20,6 +20,7 @@
|
|
|
</div>
|
|
|
<template #dropdown>
|
|
|
<el-dropdown-menu>
|
|
|
+ <el-dropdown-item command="pw">修改密码</el-dropdown-item>
|
|
|
<el-dropdown-item command="uc">帐号信息</el-dropdown-item>
|
|
|
<el-dropdown-item command="clearCache"
|
|
|
>清除缓存</el-dropdown-item
|
|
@@ -85,6 +86,9 @@
|
|
|
</el-drawer>
|
|
|
</div>
|
|
|
<setting ref="setting"></setting>
|
|
|
+
|
|
|
+ <UpdatePassword ref="updatePassword" :innerVisible="innerVisible" v-on:innerDialog="getInnerStatus($event)"></UpdatePassword>
|
|
|
+
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
@@ -94,6 +98,7 @@ import loginService from "@/api/auth/loginService";
|
|
|
import setting from "./../components/setting.vue";
|
|
|
import notifyService from "@/api/notify/notifyService";
|
|
|
import config from "@/config";
|
|
|
+import UpdatePassword from "@/views/layout/UpdatePassword2.vue";
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
@@ -130,6 +135,7 @@ export default {
|
|
|
components: {
|
|
|
setting,
|
|
|
search,
|
|
|
+ UpdatePassword
|
|
|
},
|
|
|
computed: {
|
|
|
backlogCount(){
|
|
@@ -156,6 +162,10 @@ export default {
|
|
|
},
|
|
|
//个人信息
|
|
|
handleUser(command) {
|
|
|
+ if (command == "pw") {
|
|
|
+ console.log(111)
|
|
|
+ this.$refs.updatePassword.init()
|
|
|
+ }
|
|
|
if (command == "uc") {
|
|
|
this.$router.push({ path: "/sys/user/UserInfo" });
|
|
|
}
|