[update] 角色管理修改-删除‘导出’,新增‘新建角色’
This commit is contained in:
@@ -24,16 +24,16 @@
|
|||||||
</a-form>
|
</a-form>
|
||||||
</div>
|
</div>
|
||||||
<!-- 操作按钮区域 -->
|
<!-- 操作按钮区域 -->
|
||||||
<div class="table-operator">
|
<div class="table-operator add-flex">
|
||||||
<!-- <a-button @click="handleAdd" type="primary" icon="plus">{{$t('newRole')}}</a-button>-->
|
<a-button @click="handleAdd" type="primary" icon="plus">{{$t('newRole')}}</a-button>
|
||||||
<!-- <!–<a-button @click="handleEdit(model1)" type="primary" icon="plus">角色编辑</a-button>–>-->
|
<!--<a-button @click="handleEdit(model1)" type="primary" icon="plus">角色编辑</a-button>-->
|
||||||
<!-- <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">-->
|
<!-- <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">-->
|
||||||
<!-- <a-button type="primary" icon="import">{{$t('import')}}</a-button>-->
|
<!-- <a-button type="primary" icon="import">{{$t('import')}}</a-button>-->
|
||||||
<!-- </a-upload>-->
|
<!-- </a-upload>-->
|
||||||
<div @click="handleExportXls($t('RoleManagement'))" class="operator-text">
|
<!-- <div @click="handleExportXls($t('RoleManagement'))" class="operator-text">-->
|
||||||
<a-icon type="export" :rotate="-90"/>
|
<!-- <a-icon type="export" :rotate="-90"/>-->
|
||||||
{{$t('export')}}
|
<!-- {{$t('export')}}-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">-->
|
<!-- <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">-->
|
||||||
@@ -425,4 +425,8 @@
|
|||||||
.text {
|
.text {
|
||||||
margin-right: 8px;
|
margin-right: 8px;
|
||||||
}
|
}
|
||||||
|
.add-flex{
|
||||||
|
display: flex;
|
||||||
|
justify-content: flex-end;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -31,7 +31,7 @@
|
|||||||
:labelCol="labelCol"
|
:labelCol="labelCol"
|
||||||
:wrapperCol="wrapperCol"
|
:wrapperCol="wrapperCol"
|
||||||
label="描述">
|
label="描述">
|
||||||
<a-textarea :rows="5" placeholder="..." v-decorator="[ 'description', validatorRules.description ]" />
|
<a-textarea :rows="5" placeholder="请输入描述" v-decorator="[ 'description', validatorRules.description ]" />
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
|
|
||||||
</a-form>
|
</a-form>
|
||||||
|
|||||||
Reference in New Issue
Block a user