|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <view v-if="appStore.amProfileStore.isAudit()">
|
|
|
|
|
|
|
+ <view>
|
|
|
<SearchBar
|
|
<SearchBar
|
|
|
v-model:search-input-value="searchInputValue"
|
|
v-model:search-input-value="searchInputValue"
|
|
|
v-model:search-type="searchType"
|
|
v-model:search-type="searchType"
|
|
@@ -20,7 +20,7 @@
|
|
|
custom-class="mx-15 pt-10"
|
|
custom-class="mx-15 pt-10"
|
|
|
>
|
|
>
|
|
|
<template #item="{ item }">
|
|
<template #item="{ item }">
|
|
|
- <vb-cell-group v-if="item.amId != myAmId">
|
|
|
|
|
|
|
+ <vb-cell-group v-if="item.amId != myAmId && appStore.amProfileStore.notDemo()">
|
|
|
<view class="am-book d-flex p-10" @click="onClick(item)">
|
|
<view class="am-book d-flex p-10" @click="onClick(item)">
|
|
|
<view class="avatar px-5">
|
|
<view class="avatar px-5">
|
|
|
<view class="w-70px h-70px br-round bg-gray-3 pos-r">
|
|
<view class="w-70px h-70px br-round bg-gray-3 pos-r">
|
|
@@ -83,9 +83,6 @@
|
|
|
</template>
|
|
</template>
|
|
|
</vb-list>
|
|
</vb-list>
|
|
|
</view>
|
|
</view>
|
|
|
- <view v-else>
|
|
|
|
|
- <view class="d-fc text-gray-5 mt-50">功能正在开发中...</view>
|
|
|
|
|
- </view>
|
|
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
|
<script lang="ts" setup>
|
|
@@ -148,6 +145,9 @@ function getLastLogin(item: any) {
|
|
|
return dayjs(item.loginDate).fromNow()
|
|
return dayjs(item.loginDate).fromNow()
|
|
|
}
|
|
}
|
|
|
function onClick(item: any) {
|
|
function onClick(item: any) {
|
|
|
|
|
+ if (!appStore.amProfileStore.notDemo()) {
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
route.navigate("alumnusDetail", { id: item.amId, userId: item.userId })
|
|
route.navigate("alumnusDetail", { id: item.amId, userId: item.userId })
|
|
|
}
|
|
}
|
|
|
|
|
|