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