diff --git a/frontend/src/components/business/tree-table/index.vue b/frontend/src/components/business/tree-table/index.vue
new file mode 100644
index 0000000000..c253f9621d
--- /dev/null
+++ b/frontend/src/components/business/tree-table/index.vue
@@ -0,0 +1,90 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/frontend/src/views/system/dept/index.vue b/frontend/src/views/system/dept/index.vue
index 2e9b5d8cc9..e9aaeb5f17 100644
--- a/frontend/src/views/system/dept/index.vue
+++ b/frontend/src/views/system/dept/index.vue
@@ -1,7 +1,7 @@
- -->
+
+
-
-
-
-
+
+
+
-
-
- {{ scope.row.createTime | timestampFormatDate }}
-
-
+
+
+ {{ scope.row.createTime | timestampFormatDate }}
+
+
-
-
+
+
+
+
import LayoutContent from '@/components/business/LayoutContent'
-import ComplexTable from '@/components/business/complex-table'
+import TreeTable from '@/components/business/tree-table'
import Treeselect from '@riophae/vue-treeselect'
import { formatCondition } from '@/utils/index'
import '@riophae/vue-treeselect/dist/vue-treeselect.css'
@@ -118,7 +136,7 @@ export default {
name: 'MsOrganization',
components: {
LayoutContent,
- ComplexTable,
+ TreeTable,
Treeselect
},
data() {
@@ -168,11 +186,7 @@ export default {
]
},
- paginationConfig: {
- currentPage: 1,
- pageSize: 10,
- total: 0
- },
+
defaultCondition: {
field: 'pid',
operator: 'eq',
@@ -271,7 +285,7 @@ export default {
},
// 加载表格数据
search(condition) {
- this.setTableAttr()
+ // this.setTableAttr()
this.tableData = []
let param = {}
if (condition && condition.quick) {
@@ -293,7 +307,7 @@ export default {
if (condition && condition.quick) {
data = this.buildTree(data)
- this.setTableAttr(true)
+ // this.setTableAttr(true)
}
this.tableData = data
this.depts = null
diff --git a/frontend/src/views/system/menu/index.vue b/frontend/src/views/system/menu/index.vue
index 9eee43df8a..92286d12ff 100644
--- a/frontend/src/views/system/menu/index.vue
+++ b/frontend/src/views/system/menu/index.vue
@@ -1,59 +1,46 @@
-
-
-
-
-
-
-
-
+
-
-
-
-
-
- {{ scope.row.createTime | timestampFormatDate }}
-
-
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+ {{ scope.row.createTime | timestampFormatDate }}
+
+
+
+
+
+
-
+
目录
菜单
按钮
-
+
-
-
+
+
-
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
{{ $t('commons.cancel') }}
确认
-
+
@@ -152,7 +118,7 @@