|
@@ -43,7 +43,7 @@
|
|
|
<div class="flex1 ov-hd">
|
|
<div class="flex1 ov-hd">
|
|
|
<vxe-table :loading="loading" border :data="dataList" min-height="0" max-height="100%">
|
|
<vxe-table :loading="loading" border :data="dataList" min-height="0" max-height="100%">
|
|
|
<vxe-column title="序号" align="center" type="seq" width="60" />
|
|
<vxe-column title="序号" align="center" type="seq" width="60" />
|
|
|
- <vxe-column field="trainingName" title="会议名称" :formatter="colNoData" />
|
|
|
|
|
|
|
+ <vxe-column field="trainingName" title="会议名称" :formatter="colNoData" min-width="150"/>
|
|
|
<vxe-column field="trainingTime" min-width="150" title="培训时间">
|
|
<vxe-column field="trainingTime" min-width="150" title="培训时间">
|
|
|
<template #default="{ row }">{{ row.trainingStart }}~{{ row.trainingEnd }}</template>
|
|
<template #default="{ row }">{{ row.trainingStart }}~{{ row.trainingEnd }}</template>
|
|
|
</vxe-column>
|
|
</vxe-column>
|
|
@@ -56,20 +56,20 @@
|
|
|
</template>
|
|
</template>
|
|
|
</vxe-column>
|
|
</vxe-column>
|
|
|
<!-- <vxe-column field="trainingLocation" title="培训地点" align="center" min-width="150" /> -->
|
|
<!-- <vxe-column field="trainingLocation" title="培训地点" align="center" min-width="150" /> -->
|
|
|
- <vxe-column field="certFlag" title="是否颁发证书" width="80">
|
|
|
|
|
|
|
+ <vxe-column field="certFlag" title="是否颁发证书" width="60">
|
|
|
<template #default="{ row }">
|
|
<template #default="{ row }">
|
|
|
{{ selectDictLabel(yes_no, row.certFlag) }}
|
|
{{ selectDictLabel(yes_no, row.certFlag) }}
|
|
|
</template>
|
|
</template>
|
|
|
</vxe-column>
|
|
</vxe-column>
|
|
|
- <vxe-column field="joinCount" title="报名人数" width="80" />
|
|
|
|
|
- <vxe-column field="signCount" title="签到人数" width="80" />
|
|
|
|
|
|
|
+ <vxe-column field="joinCount" title="报名人数" width="60" />
|
|
|
|
|
+ <vxe-column field="signCount" title="签到人数" width="60" />
|
|
|
<vxe-column field="certCount" title="领取证书人数" width="80" />
|
|
<vxe-column field="certCount" title="领取证书人数" width="80" />
|
|
|
<vxe-column field="certFlag" title="会议状态" width="80">
|
|
<vxe-column field="certFlag" title="会议状态" width="80">
|
|
|
<template #default="{ row }">
|
|
<template #default="{ row }">
|
|
|
<DictTag :options="dm_training_status" :value="row?.trainingStatus"></DictTag>
|
|
<DictTag :options="dm_training_status" :value="row?.trainingStatus"></DictTag>
|
|
|
</template>
|
|
</template>
|
|
|
</vxe-column>
|
|
</vxe-column>
|
|
|
- <vxe-column field="certFlag" title="签到二维码" width="120" align="center">
|
|
|
|
|
|
|
+ <vxe-column field="certFlag" title="签到二维码" width="100" align="center">
|
|
|
<template #default="{ row }">
|
|
<template #default="{ row }">
|
|
|
<el-button @click="trainingSignIn(row)"
|
|
<el-button @click="trainingSignIn(row)"
|
|
|
:style="{ color: !['1', '0'].includes(row?.trainingStatus) ? '#999' : '#0079fe' }"
|
|
:style="{ color: !['1', '0'].includes(row?.trainingStatus) ? '#999' : '#0079fe' }"
|
|
@@ -85,10 +85,10 @@
|
|
|
@confirm="confirmEvent(row)" @cancel="cancelEvent">
|
|
@confirm="confirmEvent(row)" @cancel="cancelEvent">
|
|
|
<template #reference>
|
|
<template #reference>
|
|
|
<el-switch v-model="row.tempStatus" :loading="loading1" active-value="1"
|
|
<el-switch v-model="row.tempStatus" :loading="loading1" active-value="1"
|
|
|
- inactive-value="0" :before-change="beforeChange1" />
|
|
|
|
|
|
|
+ inactive-value="0" :before-change="beforeChange1" :disabled="row.trainingStatus == '2'"/>
|
|
|
</template>
|
|
</template>
|
|
|
</el-popconfirm>
|
|
</el-popconfirm>
|
|
|
- <el-button v-if="row.tempStatus == '1'" type="primary" text @click="temporary(row)">
|
|
|
|
|
|
|
+ <el-button v-if="row.tempStatus == '1'" type="primary" text @click="temporary(row)" :disabled="row.trainingStatus == '2'">
|
|
|
查看
|
|
查看
|
|
|
</el-button>
|
|
</el-button>
|
|
|
</template>
|
|
</template>
|