Merge branch 'dev' of github.com:jetlinks/jetlinks-ui-vue into dev
This commit is contained in:
commit
9ec6732b0d
|
|
@ -123,7 +123,7 @@
|
||||||
@click="playerActive = index"
|
@click="playerActive = index"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="media-btn-refresh"
|
class="media-btn-refresh refreshBtn"
|
||||||
:style="{
|
:style="{
|
||||||
display: item.url ? 'block' : 'none',
|
display: item.url ? 'block' : 'none',
|
||||||
}"
|
}"
|
||||||
|
|
@ -464,4 +464,10 @@ defineExpose({
|
||||||
:deep(.vjs-icon-spinner){
|
:deep(.vjs-icon-spinner){
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
.refreshBtn{
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
.refreshBtn:hover{
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -66,6 +66,7 @@
|
||||||
model="TABLE"
|
model="TABLE"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
:request="history"
|
:request="history"
|
||||||
|
:scroll="{ x: 1500 }"
|
||||||
:defaultParams="{
|
:defaultParams="{
|
||||||
sorts: [{ name: 'createTime', order: 'desc' }],
|
sorts: [{ name: 'createTime', order: 'desc' }],
|
||||||
terms: defaultParams,
|
terms: defaultParams,
|
||||||
|
|
@ -74,9 +75,8 @@
|
||||||
>
|
>
|
||||||
<template #completeTime="slotProps">
|
<template #completeTime="slotProps">
|
||||||
<span>{{
|
<span>{{
|
||||||
moment(slotProps.completeTime).format(
|
slotProps?.completeTime ? moment(slotProps.completeTime).format(
|
||||||
'YYYY-MM-DD HH:mm:ss',
|
'YYYY-MM-DD HH:mm:ss') : ""
|
||||||
)
|
|
||||||
}}</span>
|
}}</span>
|
||||||
</template>
|
</template>
|
||||||
<template #createTime="slotProps">
|
<template #createTime="slotProps">
|
||||||
|
|
|
||||||
|
|
@ -207,6 +207,7 @@ const getActions = (data: Partial<Record<string, any>>): ActionsType[] => {
|
||||||
popConfirm: {
|
popConfirm: {
|
||||||
title: '确认删除?',
|
title: '确认删除?',
|
||||||
okText: ' 确定',
|
okText: ' 确定',
|
||||||
|
placement: 'topLeft',
|
||||||
cancelText: '取消',
|
cancelText: '取消',
|
||||||
onConfirm: async () => {
|
onConfirm: async () => {
|
||||||
handlDelete(data.id);
|
handlDelete(data.id);
|
||||||
|
|
|
||||||
|
|
@ -53,9 +53,9 @@
|
||||||
</template>
|
</template>
|
||||||
<template #content>
|
<template #content>
|
||||||
<Ellipsis style="width: calc(100% - 100px);">
|
<Ellipsis style="width: calc(100% - 100px);">
|
||||||
<h3 style="font-size: 16px;font-weight: 700;color: #315efb;">
|
<span style="font-size: 16px;font-weight: 700">
|
||||||
{{ slotProps.name }}
|
{{ slotProps.name }}
|
||||||
</h3>
|
</span>
|
||||||
</Ellipsis>
|
</Ellipsis>
|
||||||
<p>通道数量:{{ slotProps.count || 0 }}</p>
|
<p>通道数量:{{ slotProps.count || 0 }}</p>
|
||||||
<j-badge
|
<j-badge
|
||||||
|
|
|
||||||
|
|
@ -47,9 +47,9 @@
|
||||||
</template>
|
</template>
|
||||||
<template #content>
|
<template #content>
|
||||||
<Ellipsis style="width: calc(100% - 100px);">
|
<Ellipsis style="width: calc(100% - 100px);">
|
||||||
<h3 style="font-size: 16px;font-weight: 700;color: #315efb;">
|
<span style="font-size: 16px;font-weight: 700">
|
||||||
{{ slotProps.name }}
|
{{ slotProps.name }}
|
||||||
</h3>
|
</span>
|
||||||
</Ellipsis>
|
</Ellipsis>
|
||||||
<j-row>
|
<j-row>
|
||||||
<j-col :span="12">
|
<j-col :span="12">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue