diff --git a/lms/nladmin-ui/src/views/system/dept/index.vue b/lms/nladmin-ui/src/views/system/dept/index.vue
index 63ebcd416..d7e745462 100644
--- a/lms/nladmin-ui/src/views/system/dept/index.vue
+++ b/lms/nladmin-ui/src/views/system/dept/index.vue
@@ -207,7 +207,7 @@ export default {
if (form.pid != null) {
this.getSupDepts(form.pid)
} else {
- this.getDepts()
+ this.getDepts({ pidIsNull: true })
}
},
getSupDepts(id) {
@@ -227,8 +227,9 @@ export default {
}
})
},
- getDepts() {
- crudDept.getDeptvo({ is_used: '1' }).then(res => {
+ getDepts(data) {
+ data['is_used'] = '1'
+ crudDept.getDeptvo(data).then(res => {
this.depts = res.content.map(function(obj) {
if (obj.hasChildren) {
obj.children = null
diff --git a/lms/nladmin-ui/src/views/system/dict/index.vue b/lms/nladmin-ui/src/views/system/dict/index.vue
index fb9eb0d0a..53d1dc41f 100644
--- a/lms/nladmin-ui/src/views/system/dict/index.vue
+++ b/lms/nladmin-ui/src/views/system/dict/index.vue
@@ -36,7 +36,8 @@
highlight-current-row
style="width: 100%;"
@selection-change="crud.selectionChangeHandler"
- @current-change="handleCurrentChange">
+ @current-change="handleCurrentChange"
+ >
@@ -127,6 +128,8 @@ export default {
// 选中字典后,设置字典详情数据
handleCurrentChange(val) {
if (val) {
+ this.$refs.table.clearSelection()
+ this.$refs.table.toggleRowSelection(val, true)
this.$refs.dictDetail.query.code = val.code
this.$refs.dictDetail.form.dictCode = val.code
this.$refs.dictDetail.crud.toQuery()
diff --git a/lms/nladmin-ui/src/views/system/menu/index.vue b/lms/nladmin-ui/src/views/system/menu/index.vue
index 230b4f86a..d2f83ef69 100644
--- a/lms/nladmin-ui/src/views/system/menu/index.vue
+++ b/lms/nladmin-ui/src/views/system/menu/index.vue
@@ -69,8 +69,8 @@
- 是
- 否
+ 是
+ 否
@@ -138,7 +138,7 @@
>
-
+
{{ dict.label.system_type[scope.row.system_type] }}
@@ -155,19 +155,19 @@
-
+
是
否
-
+
是
否
-
+
否
是