Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/hir_web into main
continuous-integration/drone/push Build is passing Details

main
caiyiling 2024-05-22 17:00:54 +08:00
commit 97874be6e4
5 changed files with 9 additions and 6 deletions

View File

@ -284,7 +284,9 @@ export default {
this.$router.replace({ path: res[0].path });
return;
}
if (this.hasPermi(["role:pm",'role:oa','role:admin'])) {
if (
this.hasPermi(["role:pm", "role:oa", "role:admin", "role:dev"])
) {
this.$router.replace({ path: "/trials/trials-inspection" });
} else if (this.hasPermi(["role:oa"])) {
this.$router.replace({ path: "/system" });

View File

@ -69,6 +69,7 @@
:data="list"
class="table"
@sort-change="handleSortByColumn"
:default-sort="{ prop: 'CreateTime', order: 'descending' }"
>
<el-table-column
type="index"
@ -166,8 +167,8 @@ const searchDataDefault = () => {
LoginFaildName: '',
BeginDate: '',
EndDate: '',
Asc: true,
SortField: '',
Asc: false,
SortField: 'CreateTime',
PageIndex: 1,
PageSize: 20
}

View File

@ -42,7 +42,7 @@
</template>
</el-table-column>
<el-table-column label="Description" prop="Description" min-width="220" show-overflow-tooltip />
<el-table-column label="Action" width="280">
<el-table-column label="Action" width="280" v-if="hasPermi(['system:role:edit','system:role:delete'])">
<template slot-scope="scope">
<el-button
v-hasPermi="['system:role:edit']"

View File

@ -32,7 +32,7 @@
<!-- 工作台 -->
<!-- <span slot="title">{{ $t('trials:menuTitle:workbench') }}</span>
</el-menu-item> -->
<el-menu-item v-if="hasPermi(['role:pm','role:oa','role:admin'])" index="1">
<el-menu-item v-if="hasPermi(['role:pm','role:oa','role:admin','role:dev'])" index="1">
<i class="el-icon-odometer" />
<!-- 检查 -->
<span slot="title">{{ $t("trials:menuTitle:inspection") }}</span>

View File

@ -64,7 +64,7 @@
<!-- 操作人 -->
<el-form-item :label="$t('trials:auditRecord:table:operator')">
<el-input
v-model="searchData.OpByUserName"
v-model="searchData.CreateUserRealName"
style="width: 120px"
clearable
/>