mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 03:46:45 +08:00
fix:社招新员工项目配置隐藏部分功能
This commit is contained in:
@@ -186,7 +186,7 @@
|
||||
:tabBarStyle="{ marginLeft: '10px', marginTop: '5px' }"
|
||||
@change="tabsChange"
|
||||
>
|
||||
<a-tab-pane key="1" tab="概览">
|
||||
<a-tab-pane v-if="!isNewEmployee" key="1" tab="概览">
|
||||
<div class="split"></div>
|
||||
<!-- 概览(无数据) -->
|
||||
<div v-if="!hasTask">
|
||||
@@ -943,7 +943,7 @@
|
||||
v-if="isNewEmployee"
|
||||
@click="showSignUpRecord(record)"
|
||||
type="link"
|
||||
>查看报名记录</a-button
|
||||
>报名记录</a-button
|
||||
>
|
||||
<!-- 成绩单下载 -->
|
||||
<a-button
|
||||
@@ -954,24 +954,32 @@
|
||||
</a-button>
|
||||
<a-button
|
||||
@click="settingTopFlag(record)"
|
||||
v-if="checkPer(permissions, createId)"
|
||||
v-if="checkPer(permissions, createId) && !isNewEmployee"
|
||||
type="link"
|
||||
>{{ record.topFlag ? "取消优秀" : "优秀学员" }}
|
||||
</a-button>
|
||||
<a-button
|
||||
type="link"
|
||||
v-if="checkPer(permissions, createId)"
|
||||
v-if="checkPer(permissions, createId) && !isNewEmployee"
|
||||
:disabled="record.isLeader === '1'"
|
||||
@click="showChangeGroupModal(record)"
|
||||
>换组
|
||||
</a-button>
|
||||
<a-button type="link" @click="modifyRemarks(record)"
|
||||
<a-button
|
||||
type="link"
|
||||
v-if="!isNewEmployee"
|
||||
@click="modifyRemarks(record)"
|
||||
>修改备注
|
||||
</a-button>
|
||||
</template>
|
||||
</TableStudent>
|
||||
</a-tab-pane>
|
||||
<a-tab-pane key="9" tab="小组管理" force-render>
|
||||
<a-tab-pane
|
||||
v-if="!isNewEmployee"
|
||||
key="9"
|
||||
tab="小组管理"
|
||||
force-render
|
||||
>
|
||||
<div class="group">
|
||||
<div class="groupleft">
|
||||
<div class="groupname">小组名称:</div>
|
||||
@@ -1113,7 +1121,7 @@
|
||||
</a-tabs>
|
||||
</div>
|
||||
</a-tab-pane>
|
||||
<a-tab-pane key="4" tab="公告">
|
||||
<a-tab-pane v-if="!isNewEmployee" key="4" tab="公告">
|
||||
<div class="split"></div>
|
||||
<a-tabs v-model:activeKey="activeKeyNotice">
|
||||
<a-tab-pane key="11" tab="公告">
|
||||
@@ -1137,7 +1145,7 @@
|
||||
:projectId="projectId"
|
||||
></ProjectScore>
|
||||
</a-tab-pane>
|
||||
<a-tab-pane key="6" tab="排行榜">
|
||||
<a-tab-pane v-if="!isNewEmployee" key="6" tab="排行榜">
|
||||
<div class="split"></div>
|
||||
<div class="content6">
|
||||
<div class="title">排行榜</div>
|
||||
@@ -1263,7 +1271,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</a-tab-pane>
|
||||
<a-tab-pane key="7" tab="证书">
|
||||
<a-tab-pane v-if="!isNewEmployee" key="7" tab="证书">
|
||||
<div class="split"></div>
|
||||
<div v-if="!ischeckCertificate">
|
||||
<!-- 没有证书显示的页面 -->
|
||||
@@ -1391,7 +1399,7 @@
|
||||
>
|
||||
</TableCertificateStudent>
|
||||
</a-tab-pane>
|
||||
<a-tab-pane key="8" tab="设置">
|
||||
<a-tab-pane v-if="!isNewEmployee" key="8" tab="设置">
|
||||
<div class="split"></div>
|
||||
<a-tabs v-model:activeKey="activeSetKey">
|
||||
<a-tab-pane key="12" tab="基本信息">
|
||||
@@ -2663,15 +2671,15 @@ export default {
|
||||
const showSignUpRecordModal = ref(false);
|
||||
const signupRecordLoading = ref(false);
|
||||
const signupRecordColumns = [
|
||||
{ title: "姓名", dataIndex: "name", align: "center" },
|
||||
{ title: "工号", dataIndex: "workNo", align: "center" },
|
||||
// { title: "姓名", dataIndex: "name", align: "center" },
|
||||
// { title: "工号", dataIndex: "workNo", align: "center" },
|
||||
{
|
||||
title: "状态",
|
||||
dataIndex: "status",
|
||||
align: "center",
|
||||
slots: { customRender: "status" },
|
||||
},
|
||||
{ title: "报名时间", dataIndex: "applierAtStr", align: "center" },
|
||||
{ title: "时间", dataIndex: "applierAtStr", align: "center" },
|
||||
{ title: "描述", dataIndex: "desc", align: "left" },
|
||||
];
|
||||
const signupRecordList = ref([]);
|
||||
@@ -2704,13 +2712,21 @@ export default {
|
||||
// 将接口返回的数据映射到表格列
|
||||
signupRecordList.value = res.data.data.map((item, index) => ({
|
||||
id: index + 1,
|
||||
name: record.studentName ||"",
|
||||
workNo: record.studentUserNo || "",
|
||||
status: getStatusText(item.enrollStatusCode),
|
||||
enrollStatusCode: item.enrollStatusCode,
|
||||
applierAtStr: item.applierAtStr || "",
|
||||
desc: item.enrollMark || ""
|
||||
}));
|
||||
signupRecordList.value = [
|
||||
{
|
||||
"pid": "1139",
|
||||
"stuId": "965342027497607168",
|
||||
"applierAt": "1762944292267",
|
||||
"applierAtStr": "2025-11-12 18:44:52", //报名时间
|
||||
"status": '报名失败', //状态(1报名失败、2审核中、3审核通过、4审核不通过)
|
||||
"desc": "报名失败,java.lang.NullPointerException" //描述
|
||||
}
|
||||
]
|
||||
} else {
|
||||
message.error(res.msg || "获取报名记录失败");
|
||||
signupRecordList.value = [];
|
||||
@@ -2830,20 +2846,6 @@ export default {
|
||||
buttonLoading: false,
|
||||
stage: [],
|
||||
stuColumns: [
|
||||
{
|
||||
title: "进度",
|
||||
dataIndex: "progress",
|
||||
key: "progress",
|
||||
width: 80,
|
||||
align: "center",
|
||||
className: "h",
|
||||
ellipsis: true,
|
||||
customRender: ({ record }) => (
|
||||
<div>
|
||||
{record.finishTaskNum || 0}/{record.totalTaskNum || 0}
|
||||
</div>
|
||||
),
|
||||
},
|
||||
{
|
||||
title: "岗位",
|
||||
dataIndex: "studentJobName",
|
||||
@@ -2863,7 +2865,7 @@ export default {
|
||||
ellipsis: true,
|
||||
},
|
||||
{
|
||||
title: "状态",
|
||||
title: "学习状态",
|
||||
dataIndex: "status",
|
||||
key: "status",
|
||||
width: 80,
|
||||
@@ -4471,6 +4473,7 @@ export default {
|
||||
}).then((res) => {
|
||||
if(res.data.data.projectInfo.szxygProjectFlag == "1"){
|
||||
state.isNewEmployee = true;
|
||||
state.activeKey = '2';
|
||||
}
|
||||
if (
|
||||
res.data.data.projectAuditLogDtoList &&
|
||||
|
||||
Reference in New Issue
Block a user