mirror of
https://github.com/nsnail/NetAdmin.git
synced 2025-04-20 05:02:50 +08:00
parent
7501138e31
commit
c88c8d293d
@ -12,7 +12,7 @@
|
||||
<el-button
|
||||
v-loading="loading"
|
||||
:icon="item.icon"
|
||||
:title="$t(item.title)"
|
||||
:title="item.title ? $t(item.title) : ''"
|
||||
:type="item.type"
|
||||
@click.native.stop
|
||||
size="small"></el-button>
|
||||
@ -22,7 +22,7 @@
|
||||
v-else
|
||||
v-loading="loading"
|
||||
:icon="item.icon"
|
||||
:title="$t(item.title)"
|
||||
:title="item.title ? $t(item.title) : ''"
|
||||
:type="item.type"
|
||||
@click="click(item, row, vue)"
|
||||
size="small">
|
||||
|
@ -87,6 +87,7 @@
|
||||
:buttons="[
|
||||
{
|
||||
icon: 'el-icon-view',
|
||||
title: '查看缓存',
|
||||
click: viewClick,
|
||||
},
|
||||
{
|
||||
|
@ -70,7 +70,7 @@
|
||||
ref="search" />
|
||||
</div>
|
||||
<div class="right-panel">
|
||||
<el-button @click="(this.dialog.save = { mode: 'add' })" icon="el-icon-plus" type="primary"></el-button>
|
||||
<el-button @click="this.dialog.save = { mode: 'add' }" icon="el-icon-plus" type="primary"></el-button>
|
||||
<na-button-bulk-del :api="$API.sys_job.bulkDelete" :vue="this" />
|
||||
<el-dropdown v-show="this.selection.length > 0">
|
||||
<el-button type="primary">
|
||||
@ -198,6 +198,7 @@
|
||||
naColOperation.buttons.concat(
|
||||
{
|
||||
icon: 'el-icon-video-play',
|
||||
title: '立即执行',
|
||||
click: execute,
|
||||
},
|
||||
{
|
||||
@ -209,7 +210,7 @@
|
||||
{
|
||||
icon: 'el-icon-delete',
|
||||
confirm: true,
|
||||
title: $t('删除作业'),
|
||||
title: '删除作业',
|
||||
click: rowDel,
|
||||
type: 'danger',
|
||||
},
|
||||
@ -223,7 +224,7 @@
|
||||
|
||||
<save-dialog
|
||||
v-if="dialog.save"
|
||||
@closed="(dialog.save = null)"
|
||||
@closed="dialog.save = null"
|
||||
@mounted="$refs.saveDialog.open(dialog.save)"
|
||||
@success="(data, mode) => table.handleUpdate($refs.table, data, mode)"
|
||||
ref="saveDialog"></save-dialog>
|
||||
|
@ -86,6 +86,7 @@
|
||||
:buttons="[
|
||||
{
|
||||
icon: 'el-icon-view',
|
||||
title: '查看',
|
||||
click: rowClick,
|
||||
},
|
||||
]"
|
||||
|
@ -170,6 +170,7 @@
|
||||
:buttons="[
|
||||
{
|
||||
icon: 'el-icon-view',
|
||||
title: '查看',
|
||||
click: rowClick,
|
||||
},
|
||||
]"
|
||||
@ -182,7 +183,7 @@
|
||||
<na-info v-if="dialog.info" ref="info"></na-info>
|
||||
<save-dialog
|
||||
v-if="dialog.save"
|
||||
@closed="(dialog.save = null)"
|
||||
@closed="dialog.save = null"
|
||||
@mounted="$refs.saveDialog.open(dialog.save)"
|
||||
@success="(data, mode) => table.handleUpdate($refs.table, data, mode)"
|
||||
ref="saveDialog"></save-dialog>
|
||||
|
@ -47,7 +47,7 @@
|
||||
ref="search" />
|
||||
</div>
|
||||
<div class="right-panel">
|
||||
<el-button @click="(this.dialog.save = { mode: 'add' })" icon="el-icon-plus" type="primary"></el-button>
|
||||
<el-button @click="this.dialog.save = { mode: 'add' }" icon="el-icon-plus" type="primary"></el-button>
|
||||
<na-button-bulk-del :api="$API.sys_sitemsg.bulkDelete" :vue="this" />
|
||||
</div>
|
||||
</el-header>
|
||||
@ -92,7 +92,7 @@
|
||||
naColOperation.buttons.concat({
|
||||
icon: 'el-icon-delete',
|
||||
confirm: true,
|
||||
title: $t('删除消息'),
|
||||
title: '删除消息',
|
||||
click: rowDel,
|
||||
type: 'danger',
|
||||
})
|
||||
@ -105,7 +105,7 @@
|
||||
|
||||
<save-dialog
|
||||
v-if="dialog.save"
|
||||
@closed="(dialog.save = null)"
|
||||
@closed="dialog.save = null"
|
||||
@mounted="$refs.saveDialog.open(dialog.save)"
|
||||
@success="(data, mode) => table.handleUpdate($refs.table, data, mode)"
|
||||
ref="saveDialog"></save-dialog>
|
||||
|
Loading…
x
Reference in New Issue
Block a user