按钮优化

master
wangbing 4 years ago
parent a7648b8bde
commit eab2bd2040

@ -93,6 +93,7 @@
<el-card class="box-card">
<el-row type="flex" justify="space-between">
<el-button-group>
<#if table.isPageAdd()>
${print('<#if token.hasRes("/ajax/${module.name}/${table.getFName()}/create")>')}
<el-button type="success" size="mini" icon="el-icon-plus" @click="onCreate">新增</el-button>
@ -103,6 +104,7 @@
<el-button type="danger" size="mini" icon="el-icon-delete" @click="onBitchDelete">删除</el-button>
${print('</#if>')}
</#if>
</el-button-group>
<el-button-group style="float: right;">
<#if table.isPageImp()>

@ -39,7 +39,7 @@
<el-divider><i class="el-icon-search"></i></el-divider>
<el-row type="flex" justify="space-between">
<el-col :span="12">
<el-button-group>
<#if token.hasRes("/ajax/wsys/dept/create")>
<el-button type="success" size="mini" icon="el-icon-plus" @click="onCreate">新增</el-button>
</#if>
@ -49,10 +49,9 @@
</#if>
<el-button type="warning" size="mini" icon="el-icon-share" @click="treeShow = true">树状</el-button>
</el-col>
</<el-button-group>>
<el-col :span="12">
<el-button-group style="float: right;">
<el-button-group>
<#if token.hasRes("/ajax/wsys/dept/template")>
<el-tooltip effect="dark" content="Excel模板下载" placement="bottom">
<el-button size="mini" icon="el-icon-date" @click="onTemplate"></el-button>
@ -75,7 +74,6 @@
<el-button size="mini" icon="el-icon-refresh" @click="onFind"></el-button>
</el-tooltip>
</el-button-group>
</el-col>
</el-row>
<el-table

@ -29,7 +29,7 @@
<el-card class="box-card data">
<el-row type="flex" justify="space-between">
<el-col :span="12">
<el-button-group>
<#if token.hasRes("/ajax/wsys/dict/create")>
<el-button type="success" size="mini" icon="el-icon-plus" @click="onCreate">新增</el-button>
</#if>
@ -37,10 +37,9 @@
<#if token.hasRes("/ajax/wsys/dict/delete")>
<el-button type="danger" size="mini" icon="el-icon-delete" @click="onBitchDelete">删除</el-button>
</#if>
</el-col>
<el-button-group>
<el-col :span="12">
<el-button-group style="float: right;">
<el-button-group>
<#if token.hasRes("/ajax/wsys/dict/template")>
<el-tooltip effect="dark" content="Excel模板下载" placement="bottom">
<el-button size="mini" icon="el-icon-date" @click="onTemplate"></el-button>
@ -63,7 +62,6 @@
<el-button size="mini" icon="el-icon-refresh" @click="onFind"></el-button>
</el-tooltip>
</el-button-group>
</el-col>
</el-row>
<el-table

@ -32,7 +32,7 @@
<el-card class="box-card data">
<el-row type="flex" justify="space-between">
<el-col :span="12">
<el-button-group>
<#if token.hasRes("/ajax/wsys/dictItem/create")>
<el-button type="success" size="mini" icon="el-icon-plus" @click="onCreate">新增</el-button>
</#if>
@ -40,10 +40,9 @@
<#if token.hasRes("/ajax/wsys/dictItem/delete")>
<el-button type="danger" size="mini" icon="el-icon-delete" @click="onBitchDelete">删除</el-button>
</#if>
</el-col>
</el-button-group>
<el-col :span="12">
<el-button-group style="float: right;">
<el-button-group>
<#if token.hasRes("/ajax/wsys/dictItem/template")>
<el-tooltip effect="dark" content="Excel模板下载" placement="bottom">
<el-button size="mini" icon="el-icon-date" @click="onTemplate"></el-button>
@ -66,7 +65,6 @@
<el-button size="mini" icon="el-icon-refresh" @click="onFind"></el-button>
</el-tooltip>
</el-button-group>
</el-col>
</el-row>
<el-table

@ -32,7 +32,7 @@
<el-card class="box-card data">
<el-row type="flex" justify="space-between">
<el-col :span="12">
<el-button-group>
<#if token.hasRes("/ajax/wsys/file/create")>
<el-button type="success" size="mini" icon="el-icon-plus" @click="onCreate">新增</el-button>
</#if>
@ -40,10 +40,9 @@
<#if token.hasRes("/ajax/wsys/file/delete")>
<el-button type="danger" size="mini" icon="el-icon-delete" @click="onBitchDelete">删除</el-button>
</#if>
</el-col>
</el-button-group>
<el-col :span="12">
<el-button-group style="float: right;">
<el-button-group>
<#if token.hasRes("/ajax/wsys/file/template")>
<el-tooltip effect="dark" content="Excel模板下载" placement="bottom">
<el-button size="mini" icon="el-icon-date" @click="onTemplate"></el-button>
@ -66,7 +65,6 @@
<el-button size="mini" icon="el-icon-refresh" @click="onFind"></el-button>
</el-tooltip>
</el-button-group>
</el-col>
</el-row>
<el-table

@ -33,14 +33,13 @@
<el-card class="box-card">
<el-row type="flex" justify="space-between">
<el-col :span="12">
<el-button-group>
<el-button type="success" size="mini" icon="el-icon-shopping-cart-full" @click="onBatchStart">开始处理</el-button>
<el-button type="warning" size="mini" icon="el-icon-circle-check" @click="onBatchFinish">处理结束</el-button>
</el-col>
</el-button-group>
<el-col :span="12">
<el-button-group style="float: right;">
<el-button-group>
<el-tooltip effect="dark" content="解决" placement="bottom">
<el-button size="mini" icon="el-icon-shopping-cart-full" @click="onBatchStart"></el-button>
</el-tooltip>
@ -53,7 +52,6 @@
<el-button size="mini" icon="el-icon-refresh" @click="onFind"></el-button>
</el-tooltip>
</el-button-group>
</el-col>
</el-row>
<el-table

@ -49,14 +49,13 @@
<el-card class="box-card">
<el-row type="flex" justify="space-between">
<el-col :span="12">
<el-button-group>
<#if token.hasRes("/ajax/wsys/logtask/delete")>
<el-button type="danger" size="mini" icon="el-icon-delete" @click="onBitchDelete">删除</el-button>
</#if>
</el-col>
</el-button-group>
<el-col :span="12">
<el-button-group style="float: right;">
<el-button-group>
<#if token.hasRes("/ajax/wsys/logtask/template")>
<el-tooltip effect="dark" content="Excel模板下载" placement="bottom">
<el-button size="mini" icon="el-icon-date" @click="onTemplate"></el-button>
@ -79,7 +78,6 @@
<el-button size="mini" icon="el-icon-refresh" @click="onFind"></el-button>
</el-tooltip>
</el-button-group>
</el-col>
</el-row>
<el-table

@ -28,7 +28,7 @@
<el-card class="box-card">
<el-row type="flex" justify="space-between">
<el-col :span="12">
<el-button-group>
<#if token.hasRes("/ajax/wsys/profiles/create")>
<el-button type="success" size="mini" icon="el-icon-plus" @click="onCreate">新增</el-button>
</#if>
@ -36,10 +36,9 @@
<#if token.hasRes("/ajax/wsys/profiles/delete")>
<el-button type="danger" size="mini" icon="el-icon-delete" @click="onBitchDelete">删除</el-button>
</#if>
</el-col>
</el-button-group>
<el-col :span="12">
<el-button-group style="float: right;">
<el-button-group>
<#if token.hasRes("/ajax/wsys/profiles/template")>
<el-tooltip effect="dark" content="Excel模板下载" placement="bottom">
<el-button size="mini" icon="el-icon-date" @click="onTemplate"></el-button>
@ -62,7 +61,6 @@
<el-button size="mini" icon="el-icon-refresh" @click="onFind"></el-button>
</el-tooltip>
</el-button-group>
</el-col>
</el-row>
<el-table

@ -45,7 +45,7 @@
</el-card>
<el-card class="box-card">
<el-row type="flex" justify="space-between">
<el-col :span="12">
<el-button-group>
<#if token.hasRes("/ajax/wsys/res/create")>
<el-button type="success" size="mini" icon="el-icon-plus" @click="onCreate">新增</el-button>
</#if>
@ -55,10 +55,9 @@
</#if>
<el-button type="warning" size="mini" icon="el-icon-share" @click="treeShow = true">树状</el-button>
</el-col>
</el-button-group>
<el-col :span="12">
<el-button-group style="float: right;">
<el-button-group>
<#if token.hasRes("/ajax/wsys/res/template")>
<el-tooltip effect="dark" content="Excel模板下载" placement="bottom">
<el-button size="mini" icon="el-icon-date" @click="onTemplate"></el-button>
@ -81,7 +80,6 @@
<el-button size="mini" icon="el-icon-refresh" @click="onFind"></el-button>
</el-tooltip>
</el-button-group>
</el-col>
</el-row>
<el-table

@ -25,7 +25,7 @@
<el-card class="box-card">
<el-row type="flex" justify="space-between">
<el-col :span="12">
<el-button-group>
<#if token.hasRes("/ajax/wsys/role/create")>
<el-button type="success" size="mini" icon="el-icon-plus" @click="onCreate">新增</el-button>
</#if>
@ -33,10 +33,9 @@
<#if token.hasRes("/ajax/wsys/role/delete")>
<el-button type="danger" size="mini" icon="el-icon-delete" @click="onBitchDelete">删除</el-button>
</#if>
</el-col>
</el-button-group>
<el-col :span="12">
<el-button-group style="float: right;">
<el-button-group>
<#if token.hasRes("/ajax/wsys/role/template")>
<el-tooltip effect="dark" content="Excel模板下载" placement="bottom">
<el-button size="mini" icon="el-icon-date" @click="onTemplate"></el-button>
@ -59,7 +58,6 @@
<el-button size="mini" icon="el-icon-refresh" @click="onFind"></el-button>
</el-tooltip>
</el-button-group>
</el-col>
</el-row>
<el-table

@ -35,7 +35,7 @@
<el-card class="box-card">
<el-row type="flex" justify="space-between">
<el-col :span="12">
<el-button-group>
<#if token.hasRes("/ajax/wsys/taskSql/create")>
<el-button type="success" size="mini" icon="el-icon-plus" @click="onCreate">新增</el-button>
</#if>
@ -43,10 +43,9 @@
<#if token.hasRes("/ajax/wsys/taskSql/delete")>
<el-button type="danger" size="mini" icon="el-icon-delete" @click="onBitchDelete">删除</el-button>
</#if>
</el-col>
</el-button-group>
<el-col :span="12">
<el-button-group style="float: right;">
<el-button-group>
<#if token.hasRes("/ajax/wsys/taskSql/template")>
<el-tooltip effect="dark" content="Excel模板下载" placement="bottom">
<el-button size="mini" icon="el-icon-date" @click="onTemplate"></el-button>
@ -69,7 +68,6 @@
<el-button size="mini" icon="el-icon-refresh" @click="onFind"></el-button>
</el-tooltip>
</el-button-group>
</el-col>
</el-row>
<el-table

@ -51,19 +51,17 @@
<el-card class="box-card data">
<el-row type="flex" justify="space-between">
<el-col :span="12">
<el-button-group>
<#if token.hasRes("/ajax/wsys/dept/exports")>
<el-button type="warning" size="mini" icon="el-icon-download" @click="onExport">导出</el-button>
</#if>
</el-col>
</el-button-group>
<el-col :span="12">
<el-button-group style="float: right;">
<el-button-group>
<el-tooltip effect="dark" content="刷新" placement="bottom">
<el-button size="mini" icon="el-icon-refresh" @click="onFind"></el-button>
</el-tooltip>
</el-button-group>
</el-col>
</el-row>
<el-table

@ -36,7 +36,7 @@
<el-card class="box-card">
<el-row type="flex" justify="space-between">
<el-col :span="12">
<el-button-group>
<#if token.hasRes("/ajax/wsys/user/create")>
<el-button type="success" size="mini" icon="el-icon-plus" @click="onCreate">新增</el-button>
</#if>
@ -44,10 +44,9 @@
<#if token.hasRes("/ajax/wsys/user/delete")>
<el-button type="danger" size="mini" icon="el-icon-delete" @click="onBitchDelete">删除</el-button>
</#if>
</el-col>
</el-button-group>
<el-col :span="12">
<el-button-group style="float: right;">
<el-button-group >
<#if token.hasRes("/ajax/wsys/user/template")>
<el-tooltip effect="dark" content="Excel模板下载" placement="bottom">
<el-button size="mini" icon="el-icon-date" @click="onTemplate"></el-button>
@ -70,7 +69,6 @@
<el-button size="mini" icon="el-icon-refresh" @click="onFind"></el-button>
</el-tooltip>
</el-button-group>
</el-col>
</el-row>
<el-table

@ -33,7 +33,7 @@
<el-card class="box-card">
<el-row type="flex" justify="space-between">
<el-col :span="12">
<el-button-group>
<#if token.hasRes("/ajax/wsys/visitor/create")>
<el-button type="success" size="mini" icon="el-icon-plus" @click="onCreate">新增</el-button>
</#if>
@ -41,10 +41,9 @@
<#if token.hasRes("/ajax/wsys/visitor/delete")>
<el-button type="danger" size="mini" icon="el-icon-delete" @click="onBitchDelete">删除</el-button>
</#if>
</el-col>
</el-button-group>
<el-col :span="12">
<el-button-group style="float: right;">
<el-button-group>
<#if token.hasRes("/ajax/wsys/visitor/template")>
<el-tooltip effect="dark" content="Excel模板下载" placement="bottom">
<el-button size="mini" icon="el-icon-date" @click="onTemplate"></el-button>
@ -67,7 +66,6 @@
<el-button size="mini" icon="el-icon-refresh" @click="onFind"></el-button>
</el-tooltip>
</el-button-group>
</el-col>
</el-row>
<el-table

Loading…
Cancel
Save

Powered by TurnKey Linux.