ref: 角色数据权限菜单I18N 修改

This commit is contained in:
lbw 2023-04-13 23:11:12 +08:00
parent 604fd963f3
commit 8293514627
4 changed files with 5 additions and 5 deletions

View File

@ -35,7 +35,7 @@
</el-dialog> </el-dialog>
<!--校验失败错误数据--> <!--校验失败错误数据-->
<el-dialog :title="$t('common.validationFailureData')" v-model="state.errorVisible"> <el-dialog :title="$t('excel.validationFailureData')" v-model="state.errorVisible">
<el-table :data="state.errorData"> <el-table :data="state.errorData">
<el-table-column property="lineNum" :label="$t('excel.lineNumbers')" width="100"></el-table-column> <el-table-column property="lineNum" :label="$t('excel.lineNumbers')" width="100"></el-table-column>
<el-table-column property="errors" :label="$t('excel.misDescription')" show-overflow-tooltip> <el-table-column property="errors" :label="$t('excel.misDescription')" show-overflow-tooltip>

View File

@ -228,8 +228,8 @@ export function parseDate(time, pattern) {
return time_str; return time_str;
} }
export const dateTimeStr: string = 'YYYY-MM-DD hh:mm:ss'; export const dateTimeStr: string = 'YYYY-MM-DD HH:mm:ss';
export const dateStr: string = 'YYYY-MM-DD'; export const dateStr: string = 'YYYY-MM-DD';
export const timeStr: string = 'hh:mm:ss'; export const timeStr: string = 'HH:mm:ss';

View File

@ -124,7 +124,7 @@ const dataRules = ref({
], ],
roleDesc: [{ max: 128, message: '长度在 128 个字符内', trigger: 'blur' }], roleDesc: [{ max: 128, message: '长度在 128 个字符内', trigger: 'blur' }],
dsType: [{ required: true, message: '请选择数据权限类型', trigger: 'blur' }], dsType: [{ required: true, message: '请选择数据权限类型', trigger: 'blur' }],
menu_authority: [{ required: true, message: '菜单权限不能为空', trigger: 'blur' }], menu_authority: [{ required: true, message: '数据权限不能为空', trigger: 'blur' }],
}); });
const dictType = ref([ const dictType = ref([

View File

@ -13,7 +13,7 @@ export default {
please_enter_a_role_name: '请输入角色名称', please_enter_a_role_name: '请输入角色名称',
please_enter_the_role_Code: '请输入角色标识', please_enter_the_role_Code: '请输入角色标识',
please_enter_the_role_description: '请输入角色描述', please_enter_the_role_description: '请输入角色描述',
menu_authority: '菜单权限', menu_authority: '数据权限',
please_select: 'please select', please_select: 'please select',
}, },
}; };