diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue index 5e4c151e..aa446055 100644 --- a/src/views/system/dept/index.vue +++ b/src/views/system/dept/index.vue @@ -59,7 +59,7 @@ v-permission="['system:dept:delete']" status="danger" :title="record.isSystem ? '系统内置数据不能删除' : undefined" - :disabled="record.disabled" + :disabled="record.isSystem" @click="onDelete(record)" > 删除 diff --git a/src/views/system/user/dept/RightMenu.vue b/src/views/system/user/dept/RightMenu.vue new file mode 100644 index 00000000..935fc5eb --- /dev/null +++ b/src/views/system/user/dept/RightMenu.vue @@ -0,0 +1,67 @@ + + + + + diff --git a/src/views/system/user/dept/index.vue b/src/views/system/user/dept/index.vue new file mode 100644 index 00000000..2fccd2af --- /dev/null +++ b/src/views/system/user/dept/index.vue @@ -0,0 +1,225 @@ + + + + + diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 1176a15b..32de531f 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -7,25 +7,34 @@ - - - - - - - + + + - - + +