Compare commits

...

17 Commits

Author SHA1 Message Date
hy 589a28c98e Merge pull request 'dev' (#41) from dev into master
Reviewed-on: #41
2026-04-21 16:50:59 +08:00
小肥羊 ca03abb096 还原 开环境配置 2026-04-21 16:50:12 +08:00
小肥羊 f64a46710c 优化 屏蔽学生老师的过期职位 2026-04-21 16:46:56 +08:00
hy d1504468d3 Merge pull request 'staging' (#40) from staging into master
Reviewed-on: #40
2025-12-09 18:28:12 +08:00
hy 7a0ae7886e Merge pull request 'staging' (#38) from staging into master
Reviewed-on: #38
2025-12-08 11:47:03 +08:00
hy 29feac03a3 Merge pull request 'staging' (#36) from staging into master
Reviewed-on: #36
2025-11-28 10:36:37 +08:00
hy ba2d248971 Merge pull request 'staging' (#34) from staging into master
Reviewed-on: #34
2025-11-27 17:32:57 +08:00
hy b42acd9208 Merge pull request 'staging' (#32) from staging into master
Reviewed-on: #32
2025-11-17 18:28:28 +08:00
hy 8ac62bef81 Merge pull request 'staging' (#30) from staging into master
Reviewed-on: #30
2025-11-11 17:50:02 +08:00
hy 6b2aaa7aeb Merge pull request 'staging' (#27) from staging into master
Reviewed-on: #27
2025-10-16 10:51:15 +08:00
hy a7477deb9f Merge pull request 'staging' (#25) from staging into master
Reviewed-on: #25
2025-10-14 15:44:51 +08:00
tiananlin 9f770e8487 更新 Dockerfiles/Dockerfile-production/Dockerfile 2025-10-14 11:38:50 +08:00
hy e75843bcf8 Merge pull request 'staging' (#23) from staging into master
Reviewed-on: #23
2025-10-14 11:13:16 +08:00
hy 63949500f6 Merge pull request 'dev' (#15) from dev into master
Reviewed-on: #15
2025-08-27 17:25:48 +08:00
hy 7aa4518673 Merge pull request '新增 edit时的学生类型' (#11) from dev into master
Reviewed-on: #11
2025-08-27 10:02:06 +08:00
hy f08e73a42e Merge pull request 'dev' (#10) from dev into master
Reviewed-on: #10
2025-08-27 09:25:08 +08:00
hy 6ff7c1f06e Merge pull request 'dev' (#8) from dev into master
Reviewed-on: #8
2025-08-26 19:03:28 +08:00
7 changed files with 12 additions and 19 deletions

View File

@ -16,3 +16,9 @@ VITE_API_USERCENTER_URL = "https://dca.w.23544.com:8843/api"
# VITE_API_BASEURL = "https://learn-archives-admin-dev.23544.com/api"
# #数据中心后台地址
# VITE_API_USERCENTER_URL = "https://dca.w.23544.com:8843/api"
# 接口地址
# VITE_API_BASEURL = "https://learn-archives-admin.23544.com/api"
# #数据中心后台地址
# VITE_API_USERCENTER_URL = "https://dcb.23544.com/api"

View File

@ -32,7 +32,7 @@ FROM m.daocloud.io/docker.io/library/nginx:alpine
COPY --from=builder --chown=nginx:nginx /app/dist /usr/share/nginx/html
# 复制 Nginx 配置
COPY Dockerfiles/Dockerfile-staging/default.conf /etc/nginx/conf.d/default.conf
COPY Dockerfiles/Dockerfile-production/default.conf /etc/nginx/conf.d/default.conf
# 暴露端口
EXPOSE 80

View File

@ -204,7 +204,7 @@ export interface Position {
subjectName: string;
positionType: number;
positionLevel: number;
status: boolean;
status: number;
classList?: ComboModel[];
}

View File

@ -649,7 +649,7 @@ const fetchFormData = async () => {
}
let sInfo = await StudentInfo(props.id);
positionList.value = res.data.positions
.filter((s: Position) => s.enable)
.filter((s: Position) => s.enable && s.status == 1)
.map((s: Position) => {
if (s.positionLevel > 2)
s.grade = (s.gradeLevel ?? s.grade[0]) + s.graduationYear + "届";
@ -680,12 +680,6 @@ const fetchFormData = async () => {
positionList: positionList.value,
...sInfo.data,
});
positionList.value = res.data.positions
.filter((s: Position) => s.enable)
.map((s: Position) => {
s.grade = (s.gradeLevel ?? s.grade[0]) + s.graduationYear + "届";
return s;
});
PositionFormIds.value = res.data.positions
.filter((s: Position) => s.enable)
.map((s: any) => s.id);

View File

@ -638,7 +638,7 @@ const PositionsSort = (arr: Position[]) => {
return 1;
}
});
return arr.filter((s) => s.enable);
return arr.filter((s) => s.enable && s.status == 1);
};
const handleReloadPaged = (event?: any, searchUnUse?: boolean) => {

View File

@ -493,7 +493,7 @@ const fetchFormData = () => {
}
positionList.value = res.data.positions
.filter((s: Position) => s.enable)
.filter((s: Position) => s.enable && s.status == 1)
.map((s: Position) => {
if (s.positionLevel > 2)
s.grade = (s.gradeLevel ?? s.grade[0]) + s.graduationYear + "届";
@ -522,13 +522,6 @@ const fetchFormData = () => {
pointPenSN: res.data.pointPenSN,
positionList: positionList.value ?? [],
});
positionList.value = res.data.positions
.filter((s: Position) => s.enable)
.map((s: Position) => {
if (s.positionLevel > 2)
s.grade = (s.gradeLevel ?? s.grade[0]) + s.graduationYear + "届";
return s;
});
PositionFormIds.value = res.data.positions
.filter((s: Position) => s.enable)
.map((s: any) => s.id);

View File

@ -618,7 +618,7 @@ const PositionsSort = (arr: Position[]) => {
return 1;
}
});
return arr.filter((s) => s.enable);
return arr.filter((s) => s.enable && s.status == 1);
};
function searchReload() {