Commit 7b73fd53 authored by liwei's avatar liwei

修改了按钮样式

parent 73e25368
...@@ -3,15 +3,15 @@ ...@@ -3,15 +3,15 @@
<IndicatorStandardsTree class="w-1/4 xl:w-1/5" @select="handleSelect" /> <IndicatorStandardsTree class="w-1/4 xl:w-1/5" @select="handleSelect" />
<BasicTable @register="registerTable" class="w-3/4 xl:w-4/5" :searchInfo="searchInfo"> <BasicTable @register="registerTable" class="w-3/4 xl:w-4/5" :searchInfo="searchInfo">
<template #toolbar> <template #toolbar>
<a-button type="primary" @click="copyButton">复制到</a-button> <a-button type="primary" :disabled="getRowSelection().selectedRowKeys <=0" @click="copyButton">复制到</a-button>
<a-button type="primary" @click="deleteBatchButton">删除</a-button> <a-button type="primary" :disabled="getRowSelection().selectedRowKeys <=0" @click="deleteBatchButton">删除</a-button>
<a-button type="primary" @click="MoveButton">移动</a-button> <a-button type="primary" :disabled="getRowSelection().selectedRowKeys <=0" @click="MoveButton">移动</a-button>
<a-button type="primary" @click="ImportDataStandardsButton">导入数据标准</a-button> <a-button type="primary" :disabled="getRowSelection().selectedRowKeys <=0" @click="ImportDataStandardsButton">导入数据标准</a-button>
<a-button type="primary" @click="ExportRelativeButton">导出关联关系</a-button> <a-button type="primary" :disabled="getRowSelection().selectedRowKeys <=0" @click="ExportRelativeButton">导出关联关系</a-button>
<a-button type="primary" @click="ExportDataStandardsButton">导出数据标准</a-button> <a-button type="primary" :disabled="getRowSelection().selectedRowKeys <=0" @click="ExportDataStandardsButton">导出数据标准</a-button>
<a-button type="primary" @click="batchPublishButton">批量发布</a-button> <a-button type="primary" :disabled="getRowSelection().selectedRowKeys <=0" @click="batchPublishButton">批量发布</a-button>
<a-button type="primary" @click="createStandardsTypeButton">新建标准分类</a-button> <a-button type="primary" @click="createStandardsTypeButton">新建标准分类</a-button>
<a-button type="primary" @click="createIndicatorStandardsButton">新建指标标准</a-button> <a-button type="primary" :disabled="getRowSelection().selectedRowKeys <=0" @click="createIndicatorStandardsButton">新建指标标准</a-button>
</template> </template>
<template #bodyCell="{ column, record }"> <template #bodyCell="{ column, record }">
<template v-if="column.key === 'action'"> <template v-if="column.key === 'action'">
......
...@@ -3,16 +3,16 @@ ...@@ -3,16 +3,16 @@
<BasicStandardsTree class="w-1/4 xl:w-1/5" @select="handleSelect" /> <BasicStandardsTree class="w-1/4 xl:w-1/5" @select="handleSelect" />
<BasicTable @register="registerTable" class="w-3/4 xl:w-4/5" :searchInfo="searchInfo"> <BasicTable @register="registerTable" class="w-3/4 xl:w-4/5" :searchInfo="searchInfo">
<template #toolbar> <template #toolbar>
<a-button type="primary" @click="copyButton">复制到</a-button> <a-button type="primary" :disabled="getRowSelection().selectedRowKeys <=0" @click="copyButton">复制到</a-button>
<a-button type="primary" @click="deleteBatchButton">删除</a-button> <a-button type="primary" :disabled="getRowSelection().selectedRowKeys <=0" @click="deleteBatchButton">删除</a-button>
<a-button type="primary" @click="MoveButton">移动</a-button> <a-button type="primary" :disabled="getRowSelection().selectedRowKeys <=0" @click="MoveButton">移动</a-button>
<a-button type="primary" @click="ImportRelativeButton">导入关联关系</a-button> <a-button type="primary" :disabled="getRowSelection().selectedRowKeys <=0" @click="ImportRelativeButton">导入关联关系</a-button>
<a-button type="primary" @click="ImportDataStandardsButton">导入数据标准</a-button> <a-button type="primary" :disabled="getRowSelection().selectedRowKeys <=0" @click="ImportDataStandardsButton">导入数据标准</a-button>
<a-button type="primary" @click="ExportRelativeButton">导出关联关系</a-button> <a-button type="primary" :disabled="getRowSelection().selectedRowKeys <=0" @click="ExportRelativeButton">导出关联关系</a-button>
<a-button type="primary" @click="ExportDataStandardsButton">导出数据标准</a-button> <a-button type="primary" :disabled="getRowSelection().selectedRowKeys <=0" @click="ExportDataStandardsButton">导出数据标准</a-button>
<a-button type="primary" @click="batchPublishButton">批量发布</a-button> <a-button type="primary" :disabled="getRowSelection().selectedRowKeys <=0" @click="batchPublishButton">批量发布</a-button>
<a-button type="primary" @click="createStandardsTypeButton">新建标准分类</a-button> <a-button type="primary" @click="createStandardsTypeButton">新建标准分类</a-button>
<a-button type="primary" @click="createBasicStandardsButton">新建基础标准</a-button> <a-button type="primary" :disabled="getRowSelection().selectedRowKeys <=0" @click="createBasicStandardsButton">新建基础标准</a-button>
</template> </template>
<template #bodyCell="{ column, record }"> <template #bodyCell="{ column, record }">
<template v-if="column.key === 'action'"> <template v-if="column.key === 'action'">
......
...@@ -3,15 +3,15 @@ ...@@ -3,15 +3,15 @@
<BasicStandardsTree class="w-1/4 xl:w-1/5" @select="handleSelect" /> <BasicStandardsTree class="w-1/4 xl:w-1/5" @select="handleSelect" />
<BasicTable @register="registerTable" class="w-3/4 xl:w-4/5" :searchInfo="searchInfo"> <BasicTable @register="registerTable" class="w-3/4 xl:w-4/5" :searchInfo="searchInfo">
<template #toolbar> <template #toolbar>
<a-button type="primary" @click="copyButton">复制到</a-button> <a-button type="primary" :disabled="getRowSelection().selectedRowKeys <=0" @click="copyButton">复制到</a-button>
<a-button type="primary" @click="deleteBatchButton">删除</a-button> <a-button type="primary" :disabled="getRowSelection().selectedRowKeys <=0" @click="deleteBatchButton">删除</a-button>
<a-button type="primary" @click="MoveButton">移动</a-button> <a-button type="primary" :disabled="getRowSelection().selectedRowKeys <=0" @click="MoveButton">移动</a-button>
<a-button type="primary" @click="ImportDataStandardsButton">导入数据标准</a-button> <a-button type="primary" :disabled="getRowSelection().selectedRowKeys <=0" @click="ImportDataStandardsButton">导入数据标准</a-button>
<a-button type="primary" @click="ExportRelativeButton">导出关联关系</a-button> <a-button type="primary" :disabled="getRowSelection().selectedRowKeys <=0" @click="ExportRelativeButton">导出关联关系</a-button>
<a-button type="primary" @click="ExportDataStandardsButton">导出数据标准</a-button> <a-button type="primary" :disabled="getRowSelection().selectedRowKeys <=0" @click="ExportDataStandardsButton">导出数据标准</a-button>
<a-button type="primary" @click="batchPublishButton">批量发布</a-button> <a-button type="primary" :disabled="getRowSelection().selectedRowKeys <=0" @click="batchPublishButton">批量发布</a-button>
<a-button type="primary" @click="createStandardsTypeButton">新建标准分类</a-button> <a-button type="primary" @click="createStandardsTypeButton">新建标准分类</a-button>
<a-button type="primary" @click="createPublicCodeButton">新建公共代码</a-button> <a-button type="primary" :disabled="getRowSelection().selectedRowKeys <=0" @click="createPublicCodeButton">新建公共代码</a-button>
</template> </template>
<template #bodyCell="{ column, record }"> <template #bodyCell="{ column, record }">
<template v-if="column.key === 'action'"> <template v-if="column.key === 'action'">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment