| | |
| | | .then((response) => { |
| | | const res = response.data |
| | | if (res.code == 200) { |
| | | sessionStorage.setItem('isdepartment',res.result.isdepartment) |
| | | sessionStorage.setItem('company',res.result.company) |
| | | sessionStorage.setItem('department',res.result.department) |
| | | sessionStorage.setItem('realname',res.result.realname) |
| | | localStorage.setItem('loginForm',JSON.stringify(loginForm)) |
| | | // this.$store.dispatch('user/getClassifyOne',1) |
| | | _this.loading = false |
| | |
| | | }, |
| | | methods:{ |
| | | openTaskInfo(value,title){ |
| | | console.log(sessionStorage.getItem('department')) |
| | | this.title = title |
| | | this.taskCreateDialog = true |
| | | this.activeName = 'taskBasic' |
| | |
| | | <span>{{ scope.row.roles | parseRoles }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="人员MAC地址" prop="deviceNo" align="center" width="100px"> |
| | | <!-- <el-table-column label="人员MAC地址" prop="deviceNo" align="center" width="100px"> |
| | | <template slot-scope="scope"> |
| | | <span>{{ scope.row.deviceNo}}</span> |
| | | </template> |
| | |
| | | <span>{{ scope.row.endtime}}</span> |
| | | </template> |
| | | |
| | | </el-table-column> |
| | | </el-table-column> --> |
| | | <el-table-column label="是否单位负责人" prop="iscompany" align="center" width="100px"> |
| | | <template slot-scope="scope"> |
| | | <div v-for="item in isList"> |
| | |
| | | }) |
| | | _this.getUserList() |
| | | } else { |
| | | parseError({ error: res.data.message, vm: _this }) |
| | | parseError({ error: res.message, vm: _this }) |
| | | } |
| | | }) |
| | | .catch((error) => { |