[update] 53537

This commit is contained in:
zhaomeijing
2022-06-02 15:55:44 +08:00
parent 7d88b2fe82
commit d840464e64
2 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -111,8 +111,8 @@
</div> </div>
</template> </template>
<span slot="action" slot-scope="text, record"> <span slot="action" slot-scope="text, record">
<a @click="handleEdit(record)" style='margin-right: 10px' v-has="'sys:user:edit'">{{$t('edit')}}</a> <a @click="handleEdit(record)" style='margin-right: 10px' v-has="'sys:user:edit'">{{$t('See')}}</a>
<a @click="resetPassword(record)" v-has="'sys:user:resetpass'">{{$t('resetPassword')}}</a> <!-- <a @click="resetPassword(record)" v-has="'sys:user:resetpass'">{{$t('resetPassword')}}</a>-->
</span> </span>
</a-table> </a-table>
@@ -1,6 +1,6 @@
<template> <template>
<a-drawer <a-drawer
:title="$t('RoleAssignment')" :title="$t('See')"
:maskClosable="true" :maskClosable="true"
:width="drawerWidth" :width="drawerWidth"
placement="right" placement="right"
@@ -62,6 +62,7 @@
:placeholder="$t('selectUserRole')" :placeholder="$t('selectUserRole')"
optionFilterProp="children" optionFilterProp="children"
v-model="selectedRole" v-model="selectedRole"
:disabled='isdisabled'
:getPopupContainer="(target) => target.parentNode"> :getPopupContainer="(target) => target.parentNode">
<a-select-option v-for="(role,roleindex) in roleList" :key="roleindex.toString()" :value="role.id"> <a-select-option v-for="(role,roleindex) in roleList" :key="roleindex.toString()" :value="role.id">
{{ role.roleName }} {{ role.roleName }}
@@ -175,7 +176,7 @@
:cancelText="$t('cancel')"> :cancelText="$t('cancel')">
<a-button style="margin-right: .8rem">{{$t('cancel')}}</a-button> <a-button style="margin-right: .8rem">{{$t('cancel')}}</a-button>
</a-popconfirm> </a-popconfirm>
<a-button @click="handleSubmit" type="primary" :loading="confirmLoading">{{$t('submit')}}</a-button> <!-- <a-button @click="handleSubmit" type="primary" :loading="confirmLoading">{{$t('submit')}}</a-button>-->
</div> </div>
</a-drawer> </a-drawer>
</template> </template>