This commit is contained in:
zzp 2025-10-13 13:18:53 +08:00
commit 4365458529
2 changed files with 5 additions and 24 deletions

View File

@ -683,7 +683,7 @@ const isScoreShow = ref(false);
const curScore = ref(0);
const scoreDetail = ref<any>({});
const isAdmin = computed(() => {
return route.query.admin == 'superman' ? true : false;
return route.query.admin == 'superman' || Session.get('userInfoLocal').userType == '02' || Session.get('userInfoLocal').userType == '01' ? true : false;
});
async function getScoreDetail(id: any) {
if (!isAdmin.value) return;

View File

@ -480,6 +480,10 @@ async function doApprovalFn(item, status) {
}
onMounted(() => {
changeTab(0);
mescrollRef.value.addEventListener('scroll', handleScroll);
// getData();
if (Session.get('userInfoLocal').userType == '02') {
tabsList.value = [
{
@ -503,30 +507,7 @@ onMounted(() => {
status: null,
},
];
} else if (Session.get('userInfoLocal').userType == '01') {
tabsList.value = [
{
name: '已二审',
status: 4,
},
{
name: '已发布',
status: 2,
},
{
name: '退改中',
status: -1,
},
{
name: '全部',
status: null,
},
];
}
changeTab(0);
mescrollRef.value.addEventListener('scroll', handleScroll);
// getData();
});
onUnmounted(() => {