|
@@ -56,12 +56,15 @@
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
</vxe-column>
|
|
</vxe-column>
|
|
|
- <vxe-column field="signupsTime" min-width="350" title="报名时间" class-name="f-w-600">
|
|
|
|
|
|
|
+ <vxe-column field="signupsTime" min-width="350" title="报名时间" class-name="f-w-600 p-rtv">
|
|
|
<template #default="{ row }">
|
|
<template #default="{ row }">
|
|
|
<div class="d-flex a-c">
|
|
<div class="d-flex a-c">
|
|
|
{{ row.signupStart.slice(0, -3) }}~{{ row.signupEnd.slice(0, -3) }}
|
|
{{ row.signupStart.slice(0, -3) }}~{{ row.signupEnd.slice(0, -3) }}
|
|
|
<DictTag :options="lm_training_join_status" :value="row?.joinStatus"></DictTag>
|
|
<DictTag :options="lm_training_join_status" :value="row?.joinStatus"></DictTag>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <div v-if="row.joinStatus == '1'" class="pos-tag">
|
|
|
|
|
+ <el-button @click="openEnrollRegistration(row)" type="primary" size="small" text>报名二维码{{ '>' }}</el-button>
|
|
|
|
|
+ </div>
|
|
|
</template>
|
|
</template>
|
|
|
</vxe-column>
|
|
</vxe-column>
|
|
|
<vxe-column field="joinType" title="会议方式" width="80">
|
|
<vxe-column field="joinType" title="会议方式" width="80">
|
|
@@ -132,6 +135,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
<SignInCode v-if="showSignIn" v-model:show="showSignIn" :info="rowInfo" :dict="{ lm_training_join_type }"></SignInCode>
|
|
<SignInCode v-if="showSignIn" v-model:show="showSignIn" :info="rowInfo" :dict="{ lm_training_join_type }"></SignInCode>
|
|
|
<TemporaryRegistration v-if="showTemporary" v-model:show="showTemporary" :info="temporaryRegistration" :dict="{ lm_training_join_type }"></TemporaryRegistration>
|
|
<TemporaryRegistration v-if="showTemporary" v-model:show="showTemporary" :info="temporaryRegistration" :dict="{ lm_training_join_type }"></TemporaryRegistration>
|
|
|
|
|
+ <EnrollRegistration v-if="showEnroll" v-model:show="showEnroll" :info="rowInfo" :dict="{ lm_training_join_type }"></EnrollRegistration>
|
|
|
<el-dialog v-model="dialogVisible" title="会议门户" width="500">
|
|
<el-dialog v-model="dialogVisible" title="会议门户" width="500">
|
|
|
<div class="mb-20">会议名称:{{ training?.trainingName }}</div>
|
|
<div class="mb-20">会议名称:{{ training?.trainingName }}</div>
|
|
|
<div>访问地址:{{ `${VITE_APP_MEETING_URL}/?id=${training?.pageId}` }}</div>
|
|
<div>访问地址:{{ `${VITE_APP_MEETING_URL}/?id=${training?.pageId}` }}</div>
|
|
@@ -148,7 +152,7 @@
|
|
|
import { offOrNoTemp, publishTraining, queryTrainingCount, trainingDelete, trainingList, unpublishTraining,switchPage } from '@/api/training';
|
|
import { offOrNoTemp, publishTraining, queryTrainingCount, trainingDelete, trainingList, unpublishTraining,switchPage } from '@/api/training';
|
|
|
import { colNoData } from '@/utils/noData';
|
|
import { colNoData } from '@/utils/noData';
|
|
|
import { searchTabs } from '@/views/models';
|
|
import { searchTabs } from '@/views/models';
|
|
|
-import { SignInCode, TemporaryRegistration } from '../models';
|
|
|
|
|
|
|
+import { SignInCode, TemporaryRegistration,EnrollRegistration } from '../models';
|
|
|
import { copyTextToClipboard } from '@/directive/common/copyText';
|
|
import { copyTextToClipboard } from '@/directive/common/copyText';
|
|
|
const VITE_APP_MEETING_URL = ref(import.meta.env.VITE_APP_MEETING_URL);
|
|
const VITE_APP_MEETING_URL = ref(import.meta.env.VITE_APP_MEETING_URL);
|
|
|
const router = useRouter();
|
|
const router = useRouter();
|
|
@@ -157,6 +161,7 @@ const { lm_training_join_type, yes_no, dm_training_cert, lm_training_status,lm_t
|
|
|
const loading = ref(true);
|
|
const loading = ref(true);
|
|
|
const showSearch = ref(true);
|
|
const showSearch = ref(true);
|
|
|
const showSignIn = ref(false);
|
|
const showSignIn = ref(false);
|
|
|
|
|
+const showEnroll = ref(false);
|
|
|
const total = ref(0);
|
|
const total = ref(0);
|
|
|
const queryFormRef = ref<ElFormInstance>();
|
|
const queryFormRef = ref<ElFormInstance>();
|
|
|
const dataList = ref<any[]>([]);
|
|
const dataList = ref<any[]>([]);
|
|
@@ -206,7 +211,10 @@ const offOrNoTemps = async (row) => {
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+const openEnrollRegistration = (row) => {
|
|
|
|
|
+ rowInfo.value = { ...row };
|
|
|
|
|
+ showEnroll.value = true;
|
|
|
|
|
+};
|
|
|
const confirmEvent = (row) => {
|
|
const confirmEvent = (row) => {
|
|
|
if (resolvePromise) {
|
|
if (resolvePromise) {
|
|
|
loading1.value = false;
|
|
loading1.value = false;
|
|
@@ -334,3 +342,10 @@ onMounted(() => {
|
|
|
getList();
|
|
getList();
|
|
|
});
|
|
});
|
|
|
</script>
|
|
</script>
|
|
|
|
|
+<style lang="scss" scoped>
|
|
|
|
|
+.pos-tag{
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ bottom: 5px;
|
|
|
|
|
+ right: 5px;
|
|
|
|
|
+}
|
|
|
|
|
+</style>
|