Compare commits

...

2 Commits

Author SHA1 Message Date
FLL
29df30ee82 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 11m7s
2025-08-21 14:25:19 +08:00
FLL
76fa9960e0 热门活动 2025-08-21 14:25:04 +08:00
2 changed files with 12 additions and 12 deletions

View File

@ -30,7 +30,7 @@ async function queryUser(value: string, callback: any) {
const options = res.rows.map((user) => ({
label: user.userName,
value: user.userName,
userId: user.userId,
userId: user.id,
userName: user.userName,
}));
callback(options);
@ -55,7 +55,7 @@ async function getUserInfo(val:number|string) {
const user = await personInfo(val)
if (user) {
data.value = [{
userId: user.userId,
userId: user.id,
userName: user.userName,
}]
emit('update:userInfo', data.value[0]);

View File

@ -76,10 +76,10 @@ const [VisitorTodoModal, modalApi] = useVbenModal({
connectedComponent: visitorTodoModal,
});
async function handleEdit(row: Required<VisitorManagementForm>) {
modalApi.setData({ id: row.id });
modalApi.open();
}
// async function handleEdit(row: Required<VisitorManagementForm>) {
// modalApi.setData({ id: row.id });
// modalApi.open();
// }
</script>
<template>
@ -92,12 +92,12 @@ async function handleEdit(row: Required<VisitorManagementForm>) {
>
{{ $t('pages.common.info') }}
</ghost-button>
<ghost-button
@click.stop="handleEdit(row)"
v-if="row.serveStatus === 0"
>
{{ '审核' }}
</ghost-button>
<!-- <ghost-button-->
<!-- @click.stop="handleEdit(row)"-->
<!-- v-if="row.serveStatus === 0"-->
<!-- >-->
<!-- {{ '审核' }}-->
<!-- </ghost-button>-->
</Space>
</template>
</BasicTable>