| | |
| | | if (res.data != null) { |
| | | this.$store.state.word = res.data |
| | | } |
| | | console.log(this.$store.state.word,'this.$store.state.word') |
| | | }, |
| | | goSingleSign() { |
| | | let username = this.$route.query.username |
| | |
| | | */ |
| | | @GetMapping("getDictMap") |
| | | @ApiOperation("字典Map") |
| | | public Map<String, String> getDictMap(@RequestParam String dictType) { |
| | | public Result<Map<String, String>> getDictMap(@RequestParam String dictType) { |
| | | |
| | | List<DictDto> userDicts = sysDictTypeService.getUserDicts(); |
| | | DictDto dict = userDicts.stream() |
| | |
| | | for (DictItemDto dictItemDto : ((DictLeafDto) dict).getDataList()) { |
| | | keywordMap.put(dictItemDto.getDictLabel(), dictItemDto.getRemark()); |
| | | } |
| | | return keywordMap; |
| | | return Result.ok(keywordMap); |
| | | } |
| | | } |