|
@@ -88,7 +88,7 @@
|
|
|
inactive-value="0" :before-change="beforeChange1" />
|
|
inactive-value="0" :before-change="beforeChange1" />
|
|
|
</template>
|
|
</template>
|
|
|
</el-popconfirm>
|
|
</el-popconfirm>
|
|
|
- <el-button v-if="row.tempStatus == '1'" type="primary" text>
|
|
|
|
|
|
|
+ <el-button v-if="row.tempStatus == '1'" type="primary" text @click="temporary(row)">
|
|
|
查看
|
|
查看
|
|
|
</el-button>
|
|
</el-button>
|
|
|
</template>
|
|
</template>
|
|
@@ -122,6 +122,9 @@
|
|
|
</div>
|
|
</div>
|
|
|
<SignInCode v-if="showSignIn" v-model:show="showSignIn" :info="rowInfo" :dict="{ dm_training_join_type }">
|
|
<SignInCode v-if="showSignIn" v-model:show="showSignIn" :info="rowInfo" :dict="{ dm_training_join_type }">
|
|
|
</SignInCode>
|
|
</SignInCode>
|
|
|
|
|
+ <TemporaryRegistration v-if="showTemporary" v-model:show="showTemporary" :info="temporaryRegistration"
|
|
|
|
|
+ :dict="{ dm_training_join_type }">
|
|
|
|
|
+ </TemporaryRegistration>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script setup name="meeting" lang="ts">
|
|
<script setup name="meeting" lang="ts">
|
|
@@ -129,6 +132,7 @@ import { colNoData, colNoUnm } from '@/utils/noData';
|
|
|
import { searchTabs } from '@/views/models';
|
|
import { searchTabs } from '@/views/models';
|
|
|
import { trainingList, queryTrainingCount, trainingDelete, publishTraining, unpublishTraining, offOrNoTemp } from '@/api/training';
|
|
import { trainingList, queryTrainingCount, trainingDelete, publishTraining, unpublishTraining, offOrNoTemp } from '@/api/training';
|
|
|
import { SignInCode } from '../models';
|
|
import { SignInCode } from '../models';
|
|
|
|
|
+import TemporaryRegistration from '../models/temporary-registration.vue'
|
|
|
|
|
|
|
|
const router = useRouter();
|
|
const router = useRouter();
|
|
|
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
|
|
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
|
|
@@ -149,7 +153,8 @@ const data = reactive<any>({
|
|
|
},
|
|
},
|
|
|
rules: {}
|
|
rules: {}
|
|
|
});
|
|
});
|
|
|
-const temporaryRegistration = ref(false)
|
|
|
|
|
|
|
+const temporaryRegistration = ref()
|
|
|
|
|
+const showTemporary = ref(false)
|
|
|
const { queryParams, form } = toRefs(data);
|
|
const { queryParams, form } = toRefs(data);
|
|
|
/** 查询会员信息列表 */
|
|
/** 查询会员信息列表 */
|
|
|
const getList = async () => {
|
|
const getList = async () => {
|
|
@@ -262,6 +267,11 @@ const trainingSignIn = (row: any) => {
|
|
|
rowInfo.value = { ...row };
|
|
rowInfo.value = { ...row };
|
|
|
showSignIn.value = true;
|
|
showSignIn.value = true;
|
|
|
};
|
|
};
|
|
|
|
|
+// 打开临时报名二维码
|
|
|
|
|
+const temporary = (row: any) => {
|
|
|
|
|
+ temporaryRegistration.value = { ...row };
|
|
|
|
|
+ showTemporary.value = true;
|
|
|
|
|
+};
|
|
|
onMounted(() => {
|
|
onMounted(() => {
|
|
|
getMeetingCount();
|
|
getMeetingCount();
|
|
|
getList();
|
|
getList();
|