按钮优化

master
wangbing 4 years ago
parent a7648b8bde
commit eab2bd2040

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

@ -39,7 +39,7 @@
<el-divider><i class="el-icon-search"></i></el-divider> <el-divider><i class="el-icon-search"></i></el-divider>
<el-row type="flex" justify="space-between"> <el-row type="flex" justify="space-between">
<el-col :span="12"> <el-button-group>
<#if token.hasRes("/ajax/wsys/dept/create")> <#if token.hasRes("/ajax/wsys/dept/create")>
<el-button type="success" size="mini" icon="el-icon-plus" @click="onCreate">新增</el-button> <el-button type="success" size="mini" icon="el-icon-plus" @click="onCreate">新增</el-button>
</#if> </#if>
@ -49,33 +49,31 @@
</#if> </#if>
<el-button type="warning" size="mini" icon="el-icon-share" @click="treeShow = true">树状</el-button> <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>
<el-button-group style="float: right;"> <#if token.hasRes("/ajax/wsys/dept/template")>
<#if token.hasRes("/ajax/wsys/dept/template")> <el-tooltip effect="dark" content="Excel模板下载" placement="bottom">
<el-tooltip effect="dark" content="Excel模板下载" placement="bottom"> <el-button size="mini" icon="el-icon-date" @click="onTemplate"></el-button>
<el-button size="mini" icon="el-icon-date" @click="onTemplate"></el-button> </el-tooltip>
</el-tooltip> </#if>
</#if>
<#if token.hasRes("/ajax/wsys/dept/imports")> <#if token.hasRes("/ajax/wsys/dept/imports")>
<el-tooltip effect="dark" content="Excel导入" placement="bottom"> <el-tooltip effect="dark" content="Excel导入" placement="bottom">
<el-button size="mini" icon="el-icon-upload2" @click="onImport"></el-button> <el-button size="mini" icon="el-icon-upload2" @click="onImport"></el-button>
</el-tooltip> </el-tooltip>
</#if> </#if>
<#if token.hasRes("/ajax/wsys/dept/exports")> <#if token.hasRes("/ajax/wsys/dept/exports")>
<el-tooltip effect="dark" content="Excel导出" placement="bottom"> <el-tooltip effect="dark" content="Excel导出" placement="bottom">
<el-button size="mini" icon="el-icon-download" @click="onExport"></el-button> <el-button size="mini" icon="el-icon-download" @click="onExport"></el-button>
</el-tooltip> </el-tooltip>
</#if> </#if>
<el-tooltip effect="dark" content="刷新" placement="bottom"> <el-tooltip effect="dark" content="刷新" placement="bottom">
<el-button size="mini" icon="el-icon-refresh" @click="onFind"></el-button> <el-button size="mini" icon="el-icon-refresh" @click="onFind"></el-button>
</el-tooltip> </el-tooltip>
</el-button-group> </el-button-group>
</el-col>
</el-row> </el-row>
<el-table <el-table

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

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

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

@ -33,27 +33,25 @@
<el-card class="box-card"> <el-card class="box-card">
<el-row type="flex" justify="space-between"> <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="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-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>
<el-button-group style="float: right;"> <el-tooltip effect="dark" content="解决" placement="bottom">
<el-tooltip effect="dark" content="解决" placement="bottom"> <el-button size="mini" icon="el-icon-shopping-cart-full" @click="onBatchStart"></el-button>
<el-button size="mini" icon="el-icon-shopping-cart-full" @click="onBatchStart"></el-button> </el-tooltip>
</el-tooltip>
<el-tooltip effect="dark" content="搁置" placement="bottom"> <el-tooltip effect="dark" content="搁置" placement="bottom">
<el-button size="mini" icon="el-icon-circle-check" @click="onBatchFinish"></el-button> <el-button size="mini" icon="el-icon-circle-check" @click="onBatchFinish"></el-button>
</el-tooltip> </el-tooltip>
<el-tooltip effect="dark" content="刷新" placement="bottom"> <el-tooltip effect="dark" content="刷新" placement="bottom">
<el-button size="mini" icon="el-icon-refresh" @click="onFind"></el-button> <el-button size="mini" icon="el-icon-refresh" @click="onFind"></el-button>
</el-tooltip> </el-tooltip>
</el-button-group> </el-button-group>
</el-col>
</el-row> </el-row>
<el-table <el-table

@ -49,37 +49,35 @@
<el-card class="box-card"> <el-card class="box-card">
<el-row type="flex" justify="space-between"> <el-row type="flex" justify="space-between">
<el-col :span="12"> <el-button-group>
<#if token.hasRes("/ajax/wsys/logtask/delete")> <#if token.hasRes("/ajax/wsys/logtask/delete")>
<el-button type="danger" size="mini" icon="el-icon-delete" @click="onBitchDelete">删除</el-button> <el-button type="danger" size="mini" icon="el-icon-delete" @click="onBitchDelete">删除</el-button>
</#if> </#if>
</el-col> </el-button-group>
<el-col :span="12"> <el-button-group>
<el-button-group style="float: right;"> <#if token.hasRes("/ajax/wsys/logtask/template")>
<#if token.hasRes("/ajax/wsys/logtask/template")> <el-tooltip effect="dark" content="Excel模板下载" placement="bottom">
<el-tooltip effect="dark" content="Excel模板下载" placement="bottom"> <el-button size="mini" icon="el-icon-date" @click="onTemplate"></el-button>
<el-button size="mini" icon="el-icon-date" @click="onTemplate"></el-button> </el-tooltip>
</el-tooltip> </#if>
</#if>
<#if token.hasRes("/ajax/wsys/logtask/imports")> <#if token.hasRes("/ajax/wsys/logtask/imports")>
<el-tooltip effect="dark" content="Excel导入" placement="bottom"> <el-tooltip effect="dark" content="Excel导入" placement="bottom">
<el-button size="mini" icon="el-icon-upload2" @click="onImport"></el-button> <el-button size="mini" icon="el-icon-upload2" @click="onImport"></el-button>
</el-tooltip> </el-tooltip>
</#if> </#if>
<#if token.hasRes("/ajax/wsys/logtask/exports")> <#if token.hasRes("/ajax/wsys/logtask/exports")>
<el-tooltip effect="dark" content="Excel导出" placement="bottom"> <el-tooltip effect="dark" content="Excel导出" placement="bottom">
<el-button size="mini" icon="el-icon-download" @click="onExport"></el-button> <el-button size="mini" icon="el-icon-download" @click="onExport"></el-button>
</el-tooltip> </el-tooltip>
</#if> </#if>
<el-tooltip effect="dark" content="刷新" placement="bottom"> <el-tooltip effect="dark" content="刷新" placement="bottom">
<el-button size="mini" icon="el-icon-refresh" @click="onFind"></el-button> <el-button size="mini" icon="el-icon-refresh" @click="onFind"></el-button>
</el-tooltip> </el-tooltip>
</el-button-group> </el-button-group>
</el-col>
</el-row> </el-row>
<el-table <el-table

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

@ -45,7 +45,7 @@
</el-card> </el-card>
<el-card class="box-card"> <el-card class="box-card">
<el-row type="flex" justify="space-between"> <el-row type="flex" justify="space-between">
<el-col :span="12"> <el-button-group>
<#if token.hasRes("/ajax/wsys/res/create")> <#if token.hasRes("/ajax/wsys/res/create")>
<el-button type="success" size="mini" icon="el-icon-plus" @click="onCreate">新增</el-button> <el-button type="success" size="mini" icon="el-icon-plus" @click="onCreate">新增</el-button>
</#if> </#if>
@ -55,33 +55,31 @@
</#if> </#if>
<el-button type="warning" size="mini" icon="el-icon-share" @click="treeShow = true">树状</el-button> <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>
<el-button-group style="float: right;"> <#if token.hasRes("/ajax/wsys/res/template")>
<#if token.hasRes("/ajax/wsys/res/template")> <el-tooltip effect="dark" content="Excel模板下载" placement="bottom">
<el-tooltip effect="dark" content="Excel模板下载" placement="bottom"> <el-button size="mini" icon="el-icon-date" @click="onTemplate"></el-button>
<el-button size="mini" icon="el-icon-date" @click="onTemplate"></el-button> </el-tooltip>
</el-tooltip> </#if>
</#if>
<#if token.hasRes("/ajax/wsys/res/imports")> <#if token.hasRes("/ajax/wsys/res/imports")>
<el-tooltip effect="dark" content="Excel导入" placement="bottom"> <el-tooltip effect="dark" content="Excel导入" placement="bottom">
<el-button size="mini" icon="el-icon-upload2" @click="onImport"></el-button> <el-button size="mini" icon="el-icon-upload2" @click="onImport"></el-button>
</el-tooltip> </el-tooltip>
</#if> </#if>
<#if token.hasRes("/ajax/wsys/res/exports")> <#if token.hasRes("/ajax/wsys/res/exports")>
<el-tooltip effect="dark" content="Excel导出" placement="bottom"> <el-tooltip effect="dark" content="Excel导出" placement="bottom">
<el-button size="mini" icon="el-icon-download" @click="onExport"></el-button> <el-button size="mini" icon="el-icon-download" @click="onExport"></el-button>
</el-tooltip> </el-tooltip>
</#if> </#if>
<el-tooltip effect="dark" content="刷新" placement="bottom"> <el-tooltip effect="dark" content="刷新" placement="bottom">
<el-button size="mini" icon="el-icon-refresh" @click="onFind"></el-button> <el-button size="mini" icon="el-icon-refresh" @click="onFind"></el-button>
</el-tooltip> </el-tooltip>
</el-button-group> </el-button-group>
</el-col>
</el-row> </el-row>
<el-table <el-table

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

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

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

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

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

Loading…
Cancel
Save

Powered by TurnKey Linux.