| | |
| | | }) |
| | | } |
| | | |
| | | export const updateUserStatus = (params) => { |
| | | return request({ |
| | | url: '/api/ubcs-user/user/updateUserStatus ', |
| | | method: 'get', |
| | | params:{ |
| | | ...params |
| | | } |
| | | }) |
| | | } |
| | | |
| | |
| | | <top-search></top-search> |
| | | </span> |
| | | </div> |
| | | <div></div> |
| | | <div class="top-bar__right"> |
| | | <el-tooltip style="margin-right: 35px"> |
| | | <p style="font-size: 20px;line-height: 20px">本系统为非涉密应用系统,禁止处理、存储、传输涉密信息</p> |
| | | </el-tooltip> |
| | | <el-tooltip v-if="showColor" |
| | | effect="dark" |
| | | :content="$t('navbar.color')" |
| | |
| | | </el-dropdown-item> |
| | | </el-dropdown-menu> |
| | | </el-dropdown> |
| | | <el-tooltip effect="dark" style="margin-left: 15px"> |
| | | <p style="font-size: 16px">当前登录用户:{{storedUsername}}</p> |
| | | </el-tooltip> |
| | | <el-dialog title="用户信息选择" |
| | | append-to-body |
| | | :visible.sync="userBox" |
| | |
| | | name: "top", |
| | | data() { |
| | | return { |
| | | storedUsername: '', |
| | | userBox: false, |
| | | userForm: { |
| | | deptId: '', |
| | |
| | | }, |
| | | mounted() { |
| | | listenfullscreen(this.setScreen); |
| | | this.storedUsername = localStorage.getItem('username'); |
| | | }, |
| | | computed: { |
| | | ...mapState({ |
| | |
| | | resetPassword, unlock |
| | | } from "@/api/system/user"; |
| | | import {exportBlob} from "@/api/common"; |
| | | import {getDeptTree, getDeptLazyTree} from "@/api/system/dept"; |
| | | import {getDeptTree, getDeptLazyTree, updateUserStatus} from "@/api/system/dept"; |
| | | import {getRoleTree} from "@/api/system/role"; |
| | | import {getPostList} from "@/api/system/post"; |
| | | import {mapGetters} from "vuex"; |
| | |
| | | } |
| | | }, |
| | | created() { |
| | | updateUserStatus({userid:'1702600796324032513',status:'true'}).then(res=>{ |
| | | console.log(res) |
| | | }) |
| | | this.selecload() |
| | | const arr=JSON.parse(localStorage.getItem("updataid")) |
| | | if(arr.user_id != '0' && arr.tenant_id !== '000000'){ |