|
|
@@ -2,7 +2,7 @@
|
|
|
<div v-loading="loading">
|
|
|
<div class="white-box admin-role-box">
|
|
|
<el-table :data="tableData" border style="width: 100%">
|
|
|
- <el-table-column label="模块" width="180">
|
|
|
+ <el-table-column :label="$t('Administrator.module')" width="180">
|
|
|
<template slot-scope="scope">
|
|
|
<el-checkbox :indeterminate="isIndeterminate[scope.row.id]" v-model="mainCheck[scope.row.id]"
|
|
|
@change="handleCheckAllChange(scope.row.id, scope.row.childPermission)">
|
|
|
@@ -10,7 +10,7 @@
|
|
|
</el-checkbox>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="权限">
|
|
|
+ <el-table-column :label="$t('permission.permission')">
|
|
|
<template slot-scope="scope">
|
|
|
<el-checkbox-group v-model="checkedValue" class="checkgroup"
|
|
|
@change="handlePermissionChange(scope.row.id, scope.row.childPermission)">
|
|
|
@@ -22,7 +22,7 @@
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
<div style="margin-top: 20px">
|
|
|
- <el-button type="primary" :loading="submitButtonStat" @click="onSubmit" style="float: right;">Submit<!-- 提交 --></el-button>
|
|
|
+ <el-button type="primary" :loading="submitButtonStat" @click="onSubmit" style="float: right;">{{ $t("common.submit") }}<!-- 提交 --></el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|