mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 04:16:45 +08:00
部门筛选
This commit is contained in:
@@ -240,6 +240,7 @@ import apiUser from "@/api/system/user.js";
|
|||||||
import apiSearchterm from "@/api/modules/searchterm.js";
|
import apiSearchterm from "@/api/modules/searchterm.js";
|
||||||
import { deepClone } from "../../../utils";
|
import { deepClone } from "../../../utils";
|
||||||
import apiDict from "@/api/modules/dict.js";
|
import apiDict from "@/api/modules/dict.js";
|
||||||
|
import {cutFullName} from "@/utils/tools.js";
|
||||||
export default {
|
export default {
|
||||||
name: "index",
|
name: "index",
|
||||||
components: {
|
components: {
|
||||||
@@ -578,6 +579,7 @@ export default {
|
|||||||
res.result.some(author => {
|
res.result.some(author => {
|
||||||
if (author.aid == item.authorId) {
|
if (author.aid == item.authorId) {
|
||||||
item.authorInfo = author;
|
item.authorInfo = author;
|
||||||
|
author.orgInfo=cutFullName(author.orgInfo,1);
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user