mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 19:36:46 +08:00
项目任务和人员关联弹框互换
This commit is contained in:
@@ -257,19 +257,6 @@
|
|||||||
style="width: 100%; margin-right: 0px"
|
style="width: 100%; margin-right: 0px"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="select">
|
|
||||||
<a-select
|
|
||||||
mode="multiple"
|
|
||||||
size="large"
|
|
||||||
style="width: 100%"
|
|
||||||
placeholder="自定义导出方式,选择您要导出的列"
|
|
||||||
@change="getReportSelectedValues"
|
|
||||||
>
|
|
||||||
<a-select-option v-for="item in reportSelectOptions" :key="item.name">
|
|
||||||
{{ item.title }}
|
|
||||||
</a-select-option>
|
|
||||||
</a-select>
|
|
||||||
</div>
|
|
||||||
<div style="display: flex; margin-bottom: 20px">
|
<div style="display: flex; margin-bottom: 20px">
|
||||||
<div class="btnzx btnzx1" @click="searchClick">
|
<div class="btnzx btnzx1" @click="searchClick">
|
||||||
<div class="search"></div>
|
<div class="search"></div>
|
||||||
@@ -338,10 +325,10 @@
|
|||||||
</template>
|
</template>
|
||||||
<template #bodyCell="{ record, column }">
|
<template #bodyCell="{ record, column }">
|
||||||
<template v-if="column.key === 'totalStudentNum' && currentTab===0">
|
<template v-if="column.key === 'totalStudentNum' && currentTab===0">
|
||||||
<div style="color: #02a7f0; cursor: pointer;" @click="openModal('project','task',record.projectId)">{{ record.totalStudentNum }}</div>
|
<div style="color: #02a7f0; cursor: pointer;" @click="openModal('project','student',record.projectId)">{{ record.totalStudentNum }}</div>
|
||||||
</template>
|
</template>
|
||||||
<template v-if="column.key === 'taskCount' && currentTab===0">
|
<template v-if="column.key === 'taskCount' && currentTab===0">
|
||||||
<div style="color: #02a7f0; cursor: pointer;" @click="openModal('project','student',record.projectId)">{{ record.taskCount }}</div>
|
<div style="color: #02a7f0; cursor: pointer;" @click="openModal('project','task',record.projectId)">{{ record.taskCount }}</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template v-if="column.key === 'chapterNum' && currentTab===1">
|
<template v-if="column.key === 'chapterNum' && currentTab===1">
|
||||||
@@ -439,31 +426,6 @@ export default {
|
|||||||
name: "OvervoeW",
|
name: "OvervoeW",
|
||||||
components: {OwnerTableModelStudent, CommonStudent, DropDown, OfficeSelect, PostSelectNew, draggable, OvervoewnewModal,},
|
components: {OwnerTableModelStudent, CommonStudent, DropDown, OfficeSelect, PostSelectNew, draggable, OvervoewnewModal,},
|
||||||
setup() {
|
setup() {
|
||||||
// 选择导出列下拉框数据
|
|
||||||
const reportSelectOptions = ref([
|
|
||||||
{title:'项目名称',name:'projectName'},
|
|
||||||
{title:'归属组织',name:'sourceBelongName'},
|
|
||||||
{title:'分类',name:'category'},
|
|
||||||
{title:'创建人',name:'createName'},
|
|
||||||
{title:'创建时间',name:'createDate'},
|
|
||||||
{title:'发布时间',name:'publishTime'},
|
|
||||||
{title:'状态',name:'status'},
|
|
||||||
{title:'项目经理',name:'manager'},
|
|
||||||
{title:'报名人数',name:'totalStudentNum'},
|
|
||||||
{title:'学习人数',name:'studentLearnNum'},
|
|
||||||
{title:'参与率',name:'joinRate'},
|
|
||||||
{title:'完成人数',name:'completedParticipantNum'},
|
|
||||||
{title:'完成率',name:'completeRate'},
|
|
||||||
{title:'阶段数',name:'stageCount'},
|
|
||||||
{title:'任务总数',name:'taskCount'},
|
|
||||||
{title:'必修任务数',name:'bxCount'},
|
|
||||||
{title:'必修任务完成人数',name:'bxCompCount'},
|
|
||||||
{title:'必修任务完成人率',name:'bxCompRate'},
|
|
||||||
{title:'整体课程完成率',name:'courseCompRate'},
|
|
||||||
{title:'整体考试通过率',name:'examPassRate'},
|
|
||||||
{title:'整体作业完成率',name:'homeworkCompRate'}
|
|
||||||
])
|
|
||||||
|
|
||||||
// 用户选中的导出列
|
// 用户选中的导出列
|
||||||
const reportSelectedValues = ref([])
|
const reportSelectedValues = ref([])
|
||||||
// 获取用户选中的导出列
|
// 获取用户选中的导出列
|
||||||
@@ -2462,7 +2424,6 @@ export default {
|
|||||||
pieChart,
|
pieChart,
|
||||||
openModal,
|
openModal,
|
||||||
onCancel,
|
onCancel,
|
||||||
reportSelectOptions,
|
|
||||||
reportSelectedValues,
|
reportSelectedValues,
|
||||||
getReportSelectedValues,
|
getReportSelectedValues,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user