This commit is contained in:
shaohaojiecoder
2020-02-08 22:27:56 +08:00
parent 07814b85f9
commit bd82a0e27c
33 changed files with 147 additions and 85 deletions

View File

@@ -44,7 +44,7 @@
>
<a-button @click="handleAddParent" type="primary" style="margin-right: 1rem">关联父角色</a-button>
<a-button @click="handleAddChild" type="primary" style="margin-right: 1rem">关联子角色</a-button>
<a-button @click="onClose">取消</a-button>
<a-button @click="onClose">{{ $t('button.cancel') }}</a-button>
</div>

View File

@@ -65,8 +65,8 @@
}"
>
<a-button @click="handleSubmit" type="primary" style="margin-right: 1rem">确定</a-button>
<a-button @click="onClose">取消</a-button>
<a-button @click="handleSubmit" type="primary" style="margin-right: 1rem">{{ $t('button.submit') }}</a-button>
<a-button @click="onClose">{{ $t('button.cancel') }}</a-button>
</div>

View File

@@ -52,8 +52,8 @@
}"
>
<a-button @click="handleSubmit" type="primary" style="margin-right: 1rem">确定</a-button>
<a-button @click="onClose">取消</a-button>
<a-button @click="handleSubmit" type="primary" style="margin-right: 1rem">{{ $t('button.submit') }}</a-button>
<a-button @click="onClose">{{ $t('button.cancel') }}</a-button>
</div>

View File

@@ -30,7 +30,7 @@
</a-form-item>
<div class="btn-group">
<a-button @click="handleSubmit" type="primary" style="margin-right: 1rem">添加</a-button>
<a-button @click="closeForm">取消</a-button>
<a-button @click="closeForm">{{ $t('button.cancel') }}</a-button>
</div>
</a-form>

View File

@@ -60,8 +60,8 @@
}"
>
<a-button @click="handleSubmit" type="primary" style="margin-right: 1rem">确定</a-button>
<a-button @click="onClose">取消</a-button>
<a-button @click="handleSubmit" type="primary" style="margin-right: 1rem">{{ $t('button.submit') }}</a-button>
<a-button @click="onClose">{{ $t('button.cancel') }}</a-button>
</div>

View File

@@ -66,8 +66,8 @@
background: '#fff',
}"
>
<a-button @click="handleSubmit" type="primary" style="margin-right: 1rem">确定</a-button>
<a-button @click="onClose">取消</a-button>
<a-button @click="handleSubmit" type="primary" style="margin-right: 1rem">{{ $t('button.submit') }}</a-button>
<a-button @click="onClose">{{ $t('button.cancel') }}</a-button>
</div>
</a-form>

View File

@@ -133,8 +133,8 @@
}"
>
<a-button @click="handleSubmit" type="primary" style="margin-right: 1rem">确定</a-button>
<a-button @click="onClose">取消</a-button>
<a-button @click="handleSubmit" type="primary" style="margin-right: 1rem">{{ $t('button.submit') }}</a-button>
<a-button @click="onClose">{{ $t('button.cancel') }}</a-button>
</div>

View File

@@ -39,7 +39,7 @@
@click="() => handleReset(clearFilters, column)"
size="small"
style="width: 90px"
>重置</a-button>
>{{ $t('button.reset') }}</a-button>
</div>
<a-icon slot="filterIcon" slot-scope="filtered" type="search" :style="{ color: filtered ? '#108ee9' : undefined }" />
@@ -61,7 +61,7 @@
<span slot="action" slot-scope="text, record">
<template>
<a @click="handleEdit(record)">编辑</a>
<a @click="handleEdit(record)">{{ $t('tip.edit') }}</a>
<a-divider type="vertical"/>
<a-popconfirm
@@ -71,7 +71,7 @@
okText=""
cancelText=""
>
<a>删除</a>
<a>{{ $t('tip.delete') }}</a>
</a-popconfirm>
</template>
</span>

View File

@@ -39,7 +39,7 @@
@click="() => handleReset(clearFilters, column)"
size="small"
style="width: 90px"
>重置</a-button>
>{{ $t('button.reset') }}</a-button>
</div>
<a-icon slot="filterIcon" slot-scope="filtered" type="search" :style="{ color: filtered ? '#108ee9' : undefined }" />
@@ -61,7 +61,7 @@
<span slot="action" slot-scope="text, record">
<template>
<a @click="handleEdit(record)">编辑</a>
<a @click="handleEdit(record)">{{ $t('tip.edit') }}</a>
<a-divider type="vertical"/>
<a-popconfirm
@@ -71,7 +71,7 @@
okText=""
cancelText=""
>
<a>删除</a>
<a>{{ $t('tip.delete') }}</a>
</a-popconfirm>
</template>
</span>

View File

@@ -55,7 +55,7 @@
@click="() => handleReset(clearFilters, column)"
size="small"
style="width: 90px"
>重置</a-button>
>{{ $t('button.reset') }}</a-button>
</div>
<a-icon slot="filterIcon" slot-scope="filtered" type="search" :style="{ color: filtered ? '#108ee9' : undefined }" />
@@ -81,7 +81,7 @@
okText=""
cancelText=""
>
<a>删除</a>
<a>{{ $t('tip.delete') }}</a>
</a-popconfirm>
</template>
</span>

View File

@@ -37,7 +37,7 @@
@click="() => handleReset(clearFilters, column)"
size="small"
style="width: 90px"
>重置</a-button>
>{{ $t('button.reset') }}</a-button>
</div>
<a-icon slot="filterIcon" slot-scope="filtered" type="search" :style="{ color: filtered ? '#108ee9' : undefined }" />
@@ -70,7 +70,7 @@
okText=""
cancelText=""
>
<a>删除</a>
<a>{{ $t('tip.delete') }}</a>
</a-popconfirm>
</template>
</span>

View File

@@ -38,7 +38,7 @@
@click="() => handleReset(clearFilters, column)"
size="small"
style="width: 90px"
>重置</a-button>
>{{ $t('button.reset') }}</a-button>
</div>
<a-icon slot="filterIcon" slot-scope="filtered" type="search" :style="{ color: filtered ? '#108ee9' : undefined }" />
@@ -71,7 +71,7 @@
<span slot="action" slot-scope="text, record">
<template>
<a @click="handleEdit(record)">编辑</a>
<a @click="handleEdit(record)">{{ $t('tip.edit') }}</a>
<a-divider type="vertical"/>
<a-popconfirm
@@ -81,7 +81,7 @@
okText=""
cancelText=""
>
<a>删除</a>
<a>{{ $t('tip.delete') }}</a>
</a-popconfirm>
</template>
</span>