语言切换
This commit is contained in:
@@ -3,17 +3,17 @@
|
||||
<div class="right_side">
|
||||
<div class="content_wrap">
|
||||
<div class="title_wrap">
|
||||
<h2>角色管理</h2>
|
||||
<h2>{{ $t('role.rolemanagement') }}</h2>
|
||||
</div>
|
||||
<div class="page_container">
|
||||
<div class="grid_wrapper">
|
||||
<table>
|
||||
<tr>
|
||||
<!-- <th>选中</th> -->
|
||||
<th>角色名称</th>
|
||||
<th>描述</th>
|
||||
<th>创建日期</th>
|
||||
<th width="330px">操作</th>
|
||||
<th>{{ $t('role.rolename') }}</th>
|
||||
<th>{{ $t('role.describe') }}</th>
|
||||
<th>{{ $t('role.creationdate') }}</th>
|
||||
<th width="330px">{{ $t('common.operate') }}</th>
|
||||
</tr>
|
||||
<tr v-for="(e, i) in datalist" :key="i" :class="{'tr_selected': pkId === e.roleId}">
|
||||
<!-- <td>
|
||||
@@ -24,15 +24,15 @@
|
||||
<td @click="toCheck(e)">{{ e.createTime }}</td>
|
||||
<td width="330px">
|
||||
<div class="row">
|
||||
<button class="button button--primary grid_button" @click="showDialog('2', e)">修改</button>
|
||||
<button class="button button--primary grid_button" @click="showDialog('3', e)">删除</button>
|
||||
<button class="button button--primary grid_button" @click="showDialog('2', e)">{{ $t('button.modify') }}</button>
|
||||
<button class="button button--primary grid_button" @click="showDialog('3', e)">{{ $t('button.delete') }}</button>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="buttons_wrapper">
|
||||
<button class="button_control" @click="showDialog('1')"><p>新增角色</p></button>
|
||||
<button class="button_control" @click="showDialog('1')"><p>{{ $t('role.addrole') }}</p></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -47,7 +47,7 @@
|
||||
<div v-if="type === '1' || type === '2'" class="form_wraper">
|
||||
<div class="form">
|
||||
<div class="form_item">
|
||||
<div class="form_item__label"><i>*</i>角色名称</div>
|
||||
<div class="form_item__label"><i>*</i>{{ $t('role.rolename') }}</div>
|
||||
<div class="form_item__content">
|
||||
<!-- <input type="text" class="form_item__input" v-model="rolename" @focus="show" data-layout="normal"> -->
|
||||
<keyboard-input
|
||||
@@ -62,7 +62,7 @@
|
||||
</div>
|
||||
<div class="form">
|
||||
<div class="form_item allwidth">
|
||||
<div class="form_item__label">备注</div>
|
||||
<div class="form_item__label">{{ $t('common.remark') }}</div>
|
||||
<div class="form_item__content">
|
||||
<!-- <textarea v-model="remark" style="resize:none;" class="form_item__input form_item__textarea" @focus="show" data-layout="normal"></textarea> -->
|
||||
<keyboard-input
|
||||
@@ -76,7 +76,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="type === '3'" class="form_wraper">确定删除该用户吗?</div>
|
||||
<div v-if="type === '3'" class="form_wraper">{{ $t('user.question2') }}</div>
|
||||
</jxDialog>
|
||||
<div v-show="active1" class="dialog_wrapper">
|
||||
<div class="dialog dialog_1">
|
||||
@@ -100,8 +100,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="dialog_footer">
|
||||
<button class="button_control button_control_s button_control_disabled mgr31" @click="toCancle1"><p>取消</p></button>
|
||||
<button class="button_control button_control_s" :class="{'button--info': pkId === '' || $refs.tree.getCheckedKeys().length === 0}" :disabled="disabled" @click="toSave"><p>保存</p></button>
|
||||
<button class="button_control button_control_s button_control_disabled mgr31" @click="toCancle1"><p>{{ $t('button.cancel') }}</p></button>
|
||||
<button class="button_control button_control_s" :class="{'button--info': pkId === '' || $refs.tree.getCheckedKeys().length === 0}" :disabled="disabled" @click="toSave"><p>{{ $t('button.save') }}</p></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user