This commit is contained in:
Natsumi
2021-12-24 16:19:35 +13:00
parent d54853f6ff
commit 980fc118a3
+11 -11
View File
@@ -165,9 +165,9 @@ html
data-tables(v-bind="photonEventTable" style="margin-bottom:10px") data-tables(v-bind="photonEventTable" style="margin-bottom:10px")
el-table-column(label="Date" prop="created_at" width="90") el-table-column(label="Date" prop="created_at" width="90")
template(v-once #default="scope") template(v-once #default="scope")
el-tooltip(placement="right") el-tooltip(placement="right")
template(#content) template(#content)
span {{ scope.row.created_at | formatDate('YYYY-MM-DD HH24:MI:SS') }} span {{ scope.row.created_at | formatDate('YYYY-MM-DD HH24:MI:SS') }}
span {{ scope.row.created_at | formatDate('MM-DD HH24:MI') }} span {{ scope.row.created_at | formatDate('MM-DD HH24:MI') }}
el-table-column(label="Name" prop="photonId" width="160") el-table-column(label="Name" prop="photonId" width="160")
template(v-once #default="scope") template(v-once #default="scope")
@@ -197,14 +197,14 @@ html
el-table-column(label="Event" prop="text") el-table-column(label="Event" prop="text")
template(v-once #default="scope") template(v-once #default="scope")
span(v-if="scope.row.avatar") span(v-if="scope.row.avatar")
span ChangeAvatar span ChangeAvatar
span.x-link(v-text="scope.row.avatar.name" @click="showAvatarDialog(scope.row.avatar.id)") span.x-link(v-text="scope.row.avatar.name" @click="showAvatarDialog(scope.row.avatar.id)")
|   |  
span.avatar-info-public(v-if="scope.row.avatar.releaseStatus === 'public'") (Public) span.avatar-info-public(v-if="scope.row.avatar.releaseStatus === 'public'") (Public)
span.avatar-info-own(v-else-if="scope.row.avatar.releaseStatus === 'private'") (Private) span.avatar-info-own(v-else-if="scope.row.avatar.releaseStatus === 'private'") (Private)
template(v-if="scope.row.avatar.description && scope.row.avatar.name !== scope.row.avatar.description") template(v-if="scope.row.avatar.description && scope.row.avatar.name !== scope.row.avatar.description")
| - {{ scope.row.avatar.description }} | - {{ scope.row.avatar.description }}
span(v-else v-text="scope.row.text") span(v-else v-text="scope.row.text")
//- feed //- feed
.x-container(v-show="$refs.menu && $refs.menu.activeIndex === 'feed'") .x-container(v-show="$refs.menu && $refs.menu.activeIndex === 'feed'")