修改前端样式
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
>
|
||||
<a-button type="primary">数据导入</a-button>
|
||||
</a-upload>
|
||||
<a-button @click="download">模板下载</a-button>
|
||||
<a-button @click="download" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">模板下载</a-button>
|
||||
</a-space>
|
||||
</template>
|
||||
<a-tabs v-model:activeKey="activeKey">
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
<a-form-item class="ele-text-right" :wrapper-col="{span: 24}">
|
||||
<a-space>
|
||||
<a-button type="primary" @click="reload">查询</a-button>
|
||||
<a-button @click="reset">重置</a-button>
|
||||
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
|
||||
</a-space>
|
||||
</a-form-item>
|
||||
</a-form>
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
|
||||
<a-space>
|
||||
<a-button type="primary" @click="reload">查询</a-button>
|
||||
<a-button @click="reset">重置</a-button>
|
||||
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
|
||||
</a-space>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
@@ -222,7 +222,7 @@
|
||||
/>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
|
||||
|
||||
<a-col :md="12" :sm="24">
|
||||
<a-form-item label="功能区代码" name="functionCode">
|
||||
<a-input
|
||||
@@ -746,4 +746,4 @@ export default {
|
||||
</script>
|
||||
|
||||
<style scoped lang="less">
|
||||
</style>
|
||||
</style>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<a-col :lg="6" :md="12" :sm="24" :xs="24">
|
||||
<a-space>
|
||||
<a-button type="primary" @click="reload">查询</a-button>
|
||||
<a-button @click="reset">重置</a-button>
|
||||
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
|
||||
</a-space>
|
||||
</a-col>
|
||||
</a-row>
|
||||
@@ -139,7 +139,7 @@
|
||||
>删除
|
||||
</a-button>
|
||||
</a-popconfirm>
|
||||
<a-button @click="exportData" type="primary">导出</a-button>
|
||||
<a-button @click="exportData" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出</a-button>
|
||||
</a-space>
|
||||
</template>
|
||||
<template #action="{ record }">
|
||||
@@ -416,4 +416,4 @@ export default {
|
||||
</script>
|
||||
|
||||
<style scoped lang="less">
|
||||
</style>
|
||||
</style>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<a-col :lg="6" :md="12" :sm="24" :xs="24">
|
||||
<a-space>
|
||||
<a-button type="primary" @click="reload">查询</a-button>
|
||||
<a-button @click="reset">重置</a-button>
|
||||
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
|
||||
</a-space>
|
||||
</a-col>
|
||||
</a-row>
|
||||
@@ -145,7 +145,7 @@
|
||||
>
|
||||
<a-button>导入</a-button>
|
||||
</a-upload>
|
||||
<a-button @click="exportData" type="primary">导出</a-button>
|
||||
<a-button @click="exportData" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出</a-button>
|
||||
</a-space>
|
||||
</template>
|
||||
<template #action="{ record }">
|
||||
@@ -506,4 +506,4 @@ export default {
|
||||
</script>
|
||||
|
||||
<style scoped lang="less">
|
||||
</style>
|
||||
</style>
|
||||
|
||||
@@ -31,8 +31,8 @@
|
||||
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
|
||||
<a-space>
|
||||
<a-button type="primary" @click="reload">查询</a-button>
|
||||
<a-button @click="reset">重置</a-button>
|
||||
<a-button @click="exportFile">导出excel</a-button>
|
||||
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
|
||||
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出excel</a-button>
|
||||
</a-space>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
@@ -221,4 +221,4 @@ export default {
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
</style>
|
||||
</style>
|
||||
|
||||
@@ -73,8 +73,8 @@
|
||||
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
|
||||
<a-space>
|
||||
<a-button type="primary" @click="reload">查询</a-button>
|
||||
<a-button @click="reset">重置</a-button>
|
||||
<a-button @click="exportFile">导出Excel</a-button>
|
||||
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
|
||||
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出Excel</a-button>
|
||||
</a-space>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
@@ -557,4 +557,4 @@ export default {
|
||||
</script>
|
||||
|
||||
<style scoped lang="less">
|
||||
</style>
|
||||
</style>
|
||||
|
||||
@@ -30,8 +30,8 @@
|
||||
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
|
||||
<a-space>
|
||||
<a-button type="primary" @click="reload">查询</a-button>
|
||||
<a-button @click="reset">重置</a-button>
|
||||
<a-button @click="exportFile">导出excel</a-button>
|
||||
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
|
||||
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出excel</a-button>
|
||||
</a-space>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
@@ -50,7 +50,7 @@
|
||||
>
|
||||
<template #toolbar>
|
||||
<!-- <a-space>
|
||||
|
||||
|
||||
</a-space> -->
|
||||
</template>
|
||||
</ele-pro-table>
|
||||
@@ -198,15 +198,15 @@ export default {
|
||||
let sheet = XLSX.utils.aoa_to_sheet(array);
|
||||
// 合并单元格
|
||||
sheet['!merges'] = [
|
||||
{s: {r: 0, c: 0}, e: {r: 2, c: 0}},
|
||||
{s: {r: 0, c: 1}, e: {r: 0, c: 2}},
|
||||
{s: {r: 0, c: 3}, e: {r: 0, c: 4}},
|
||||
{s: {r: 0, c: 5}, e: {r: 0, c: 6}},
|
||||
{s: {r: 0, c: 0}, e: {r: 2, c: 0}},
|
||||
{s: {r: 0, c: 1}, e: {r: 0, c: 2}},
|
||||
{s: {r: 0, c: 3}, e: {r: 0, c: 4}},
|
||||
{s: {r: 0, c: 5}, e: {r: 0, c: 6}},
|
||||
{s: {r: 0, c: 7}, e: {r: 0, c: 8}},
|
||||
{s: {r: 1, c: 1}, e: {r: 1, c: 2}},
|
||||
{s: {r: 1, c: 3}, e: {r: 1, c: 4}},
|
||||
{s: {r: 1, c: 5}, e: {r: 1, c: 6}},
|
||||
{s: {r: 1, c: 7}, e: {r: 1, c: 8}}
|
||||
{s: {r: 1, c: 1}, e: {r: 1, c: 2}},
|
||||
{s: {r: 1, c: 3}, e: {r: 1, c: 4}},
|
||||
{s: {r: 1, c: 5}, e: {r: 1, c: 6}},
|
||||
{s: {r: 1, c: 7}, e: {r: 1, c: 8}}
|
||||
];
|
||||
this.$util.exportSheet(XLSX, sheet, new Date().getTime().toString());
|
||||
},
|
||||
@@ -215,4 +215,4 @@ export default {
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
</style>
|
||||
</style>
|
||||
|
||||
@@ -30,8 +30,8 @@
|
||||
<a-form-item class="ele-text-right" :wrapper-col="{ span: 24 }">
|
||||
<a-space>
|
||||
<a-button type="primary" @click="reload">查询</a-button>
|
||||
<a-button @click="reset">重置</a-button>
|
||||
<a-button @click="exportFile">导出excel</a-button>
|
||||
<a-button @click="reset" style="background: #FFA200FF; border-color: #FFA200FF;color: #FFFFFF">重置</a-button>
|
||||
<a-button @click="exportFile" style="background: #2FA524FF; border-color: #2FA524FF;color: #FFFFFF">导出excel</a-button>
|
||||
</a-space>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
@@ -50,7 +50,7 @@
|
||||
>
|
||||
<template #toolbar>
|
||||
<!-- <a-space>
|
||||
|
||||
|
||||
</a-space> -->
|
||||
</template>
|
||||
</ele-pro-table>
|
||||
@@ -198,15 +198,15 @@ export default {
|
||||
let sheet = XLSX.utils.aoa_to_sheet(array);
|
||||
// 合并单元格
|
||||
sheet['!merges'] = [
|
||||
{s: {r: 0, c: 0}, e: {r: 2, c: 0}},
|
||||
{s: {r: 0, c: 1}, e: {r: 0, c: 2}},
|
||||
{s: {r: 0, c: 3}, e: {r: 0, c: 4}},
|
||||
{s: {r: 0, c: 5}, e: {r: 0, c: 6}},
|
||||
{s: {r: 0, c: 0}, e: {r: 2, c: 0}},
|
||||
{s: {r: 0, c: 1}, e: {r: 0, c: 2}},
|
||||
{s: {r: 0, c: 3}, e: {r: 0, c: 4}},
|
||||
{s: {r: 0, c: 5}, e: {r: 0, c: 6}},
|
||||
{s: {r: 0, c: 7}, e: {r: 0, c: 8}},
|
||||
{s: {r: 1, c: 1}, e: {r: 1, c: 2}},
|
||||
{s: {r: 1, c: 3}, e: {r: 1, c: 4}},
|
||||
{s: {r: 1, c: 5}, e: {r: 1, c: 6}},
|
||||
{s: {r: 1, c: 7}, e: {r: 1, c: 8}}
|
||||
{s: {r: 1, c: 1}, e: {r: 1, c: 2}},
|
||||
{s: {r: 1, c: 3}, e: {r: 1, c: 4}},
|
||||
{s: {r: 1, c: 5}, e: {r: 1, c: 6}},
|
||||
{s: {r: 1, c: 7}, e: {r: 1, c: 8}}
|
||||
];
|
||||
this.$util.exportSheet(XLSX, sheet, new Date().getTime().toString());
|
||||
},
|
||||
@@ -215,4 +215,4 @@ export default {
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
</style>
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user