mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 11:26:45 +08:00
Merge branch 'compulsory_professional_skills' into compulsory_professional_skills_copy
This commit is contained in:
@@ -441,10 +441,23 @@ const tablecolumns = ref([
|
|||||||
title: "归属组织",
|
title: "归属组织",
|
||||||
dataIndex: "orgName",
|
dataIndex: "orgName",
|
||||||
key: "orgName",
|
key: "orgName",
|
||||||
width: 230,
|
width: 210,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h",
|
className: "h",
|
||||||
ellipsis: true,
|
customRender: ({ record }) => {
|
||||||
|
return (
|
||||||
|
<a-tooltip
|
||||||
|
getPopupContainer={(triggerNode) =>
|
||||||
|
triggerNode.parentNode || document.body
|
||||||
|
}
|
||||||
|
title={record.orgNamePath || record.orgName}
|
||||||
|
color="#fff"
|
||||||
|
style="color:#000"
|
||||||
|
>
|
||||||
|
<div>{record.orgName || "--"}</div>
|
||||||
|
</a-tooltip>
|
||||||
|
);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
// {
|
// {
|
||||||
// title: "标准岗位",
|
// title: "标准岗位",
|
||||||
@@ -468,7 +481,7 @@ const tablecolumns = ref([
|
|||||||
title: "Band职级",
|
title: "Band职级",
|
||||||
dataIndex: "bandCode",
|
dataIndex: "bandCode",
|
||||||
key: "bandCode",
|
key: "bandCode",
|
||||||
width: 100,
|
width: 90,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h",
|
className: "h",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
@@ -487,7 +500,7 @@ const tablecolumns = ref([
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "必修进度",
|
title: "必修进度",
|
||||||
width: 100,
|
width: 90,
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: "progress",
|
dataIndex: "progress",
|
||||||
key: "progress",
|
key: "progress",
|
||||||
@@ -498,7 +511,7 @@ const tablecolumns = ref([
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "选修进度",
|
title: "选修进度",
|
||||||
width: 100,
|
width: 90,
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: "electivepProgress",
|
dataIndex: "electivepProgress",
|
||||||
key: "electivepProgress",
|
key: "electivepProgress",
|
||||||
@@ -511,7 +524,7 @@ const tablecolumns = ref([
|
|||||||
title: "完成状态",
|
title: "完成状态",
|
||||||
dataIndex: "completionStatus",
|
dataIndex: "completionStatus",
|
||||||
key: "completionStatus",
|
key: "completionStatus",
|
||||||
width: 100,
|
width: 90,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h",
|
className: "h",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
@@ -704,7 +717,7 @@ function closeDrawer() {
|
|||||||
GrowthDrawerRef.value.closeDrawer();
|
GrowthDrawerRef.value.closeDrawer();
|
||||||
}
|
}
|
||||||
function confirmDrawer(selectList) {
|
function confirmDrawer(selectList) {
|
||||||
GrowthDrawerRef.value.spinning = true
|
GrowthDrawerRef.value.spinning = true;
|
||||||
tableData.value.loading = true;
|
tableData.value.loading = true;
|
||||||
addLearners({
|
addLearners({
|
||||||
growthId: props.id,
|
growthId: props.id,
|
||||||
@@ -712,14 +725,14 @@ function confirmDrawer(selectList) {
|
|||||||
})
|
})
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
tableData.value.loading = false;
|
tableData.value.loading = false;
|
||||||
GrowthDrawerRef.value.spinning = false
|
GrowthDrawerRef.value.spinning = false;
|
||||||
message.success("添加成功");
|
message.success("添加成功");
|
||||||
closeDrawer();
|
closeDrawer();
|
||||||
getStuList();
|
getStuList();
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
tableData.value.loading = false;
|
tableData.value.loading = false;
|
||||||
GrowthDrawerRef.value.spinning = false
|
GrowthDrawerRef.value.spinning = false;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -746,6 +759,9 @@ function startLoading() {
|
|||||||
defineExpose({ getStuList, startLoading });
|
defineExpose({ getStuList, startLoading });
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
::v-deep .ant-tooltip-inner {
|
||||||
|
color: #000 !important;
|
||||||
|
}
|
||||||
::v-deep .ant-pagination-total-text {
|
::v-deep .ant-pagination-total-text {
|
||||||
color: #818a92;
|
color: #818a92;
|
||||||
}
|
}
|
||||||
@@ -776,6 +792,7 @@ defineExpose({ getStuList, startLoading });
|
|||||||
.tips {
|
.tips {
|
||||||
padding: 20px 0 0 20px;
|
padding: 20px 0 0 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.stuName {
|
.stuName {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|||||||
@@ -146,7 +146,7 @@
|
|||||||
</a-drawer>
|
</a-drawer>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script lang="jsx">
|
||||||
import { reactive, toRefs, watch, ref } from "vue";
|
import { reactive, toRefs, watch, ref } from "vue";
|
||||||
import { getGrowStudentDetail, markComplete } from "@/api/growthpath";
|
import { getGrowStudentDetail, markComplete } from "@/api/growthpath";
|
||||||
import { message } from "ant-design-vue";
|
import { message } from "ant-design-vue";
|
||||||
@@ -175,6 +175,7 @@ export default {
|
|||||||
dataIndex: "courseType",
|
dataIndex: "courseType",
|
||||||
key: "courseType",
|
key: "courseType",
|
||||||
align: "center",
|
align: "center",
|
||||||
|
width: 120,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
slots: { customRender: "courseType" },
|
slots: { customRender: "courseType" },
|
||||||
},
|
},
|
||||||
@@ -183,12 +184,14 @@ export default {
|
|||||||
dataIndex: "taskName",
|
dataIndex: "taskName",
|
||||||
key: "taskName",
|
key: "taskName",
|
||||||
align: "center",
|
align: "center",
|
||||||
|
width: 200,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "必修/选修",
|
title: "必修/选修",
|
||||||
dataIndex: "taskType",
|
dataIndex: "taskType",
|
||||||
key: "taskType",
|
key: "taskType",
|
||||||
|
width: 100,
|
||||||
align: "center",
|
align: "center",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
customRender: ({ record: { taskType } }) =>
|
customRender: ({ record: { taskType } }) =>
|
||||||
@@ -201,26 +204,33 @@ export default {
|
|||||||
title: "学习进度",
|
title: "学习进度",
|
||||||
dataIndex: "progress",
|
dataIndex: "progress",
|
||||||
key: "progress",
|
key: "progress",
|
||||||
|
width: 90,
|
||||||
align: "center",
|
align: "center",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "开始时间",
|
title: "开始时间",
|
||||||
dataIndex: "startTime",
|
dataIndex: "taskStartTime",
|
||||||
key: "startTime",
|
key: "taskStartTime",
|
||||||
align: "center",
|
align: "center",
|
||||||
ellipsis: true,
|
customRender: ({ record }) => {
|
||||||
|
return record.taskStartTime || "--";
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "完成时间",
|
title: "完成时间",
|
||||||
dataIndex: "finishTime",
|
dataIndex: "finishTime",
|
||||||
key: "finishTime",
|
key: "finishTime",
|
||||||
align: "center",
|
align: "center",
|
||||||
|
customRender: ({ record }) => {
|
||||||
|
return record.taskEndTime || "--";
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "任务状态",
|
title: "任务状态",
|
||||||
dataIndex: "completionStatus",
|
dataIndex: "completionStatus",
|
||||||
key: "completionStatus",
|
key: "completionStatus",
|
||||||
|
width: 100,
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: ({ record: { completionStatus } }) =>
|
customRender: ({ record: { completionStatus } }) =>
|
||||||
({
|
({
|
||||||
|
|||||||
Reference in New Issue
Block a user