From ee159f6249f3b750823626b86b196b84fa34ea90 Mon Sep 17 00:00:00 2001
From: SHAOJIAHAO <55341701@qq.com>
Date: Thu, 9 Jul 2020 14:00:17 +0800
Subject: [PATCH] =?UTF-8?q?[=E6=96=B0=E5=A2=9E]=E7=94=A8=E6=88=B7=E7=95=8C?=
=?UTF-8?q?=E9=9D=A2=E5=B8=83=E5=B1=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/app/navigation/navigation.component.html | 11 +++-
src/app/navigation/navigation.component.ts | 12 +++-
src/app/ui/all-file/all-file.component.ts | 3 +-
.../enterpriseuser.component.html | 55 +++++++------------
.../enterpriseuser.component.scss | 10 +++-
.../enterpriseuser.component.ts | 22 +++++---
src/app/ui/ui-routing.module.ts | 4 +-
7 files changed, 66 insertions(+), 51 deletions(-)
diff --git a/src/app/navigation/navigation.component.html b/src/app/navigation/navigation.component.html
index 9258602..126b0ba 100644
--- a/src/app/navigation/navigation.component.html
+++ b/src/app/navigation/navigation.component.html
@@ -56,7 +56,16 @@
{{item.name}}
-
+
+
+
+ 系统管理
+
+
+
+
diff --git a/src/app/navigation/navigation.component.ts b/src/app/navigation/navigation.component.ts
index 1315752..0e16f62 100644
--- a/src/app/navigation/navigation.component.ts
+++ b/src/app/navigation/navigation.component.ts
@@ -32,7 +32,7 @@ export class NavigationComponent implements OnInit {
{ id:"支队级-政工岗位", name:"政工岗位" },
{ id:"支队级-后勤与保障岗位", name:"后勤与保障岗位" },
{ id:"支队级-防火监督岗位", name:"防火监督岗位" },
- { id:"支队级-指挥岗位", name:"指挥岗位" },
+ { id:"支队级-指挥中心", name:"指挥中心" },
{ id:"支队级-安全员", name:"安全员" },
]
//大队级菜单
@@ -58,6 +58,10 @@ export class NavigationComponent implements OnInit {
{ id:"消防救援站-装备技师", name:"装备技师" }
]
+ //系统管理菜单
+ systemManagement:any = [
+ { id:"用户管理", name:"用户管理" },
+ ]
ngOnInit() {
@@ -84,6 +88,12 @@ export class NavigationComponent implements OnInit {
}
+ //点击用户管理
+ clickUser(item){
+ this.selectedDataBank = item.id
+ this.router.navigate([`/home/userManagement`])
+ }
+
//新增资料库
// addDataBank(){
// const dialogRef = this.dialog.open(AddDataBank, {//调用open方法打开对话框并且携带参数过去
diff --git a/src/app/ui/all-file/all-file.component.ts b/src/app/ui/all-file/all-file.component.ts
index 1f52c50..4cc2e2e 100644
--- a/src/app/ui/all-file/all-file.component.ts
+++ b/src/app/ui/all-file/all-file.component.ts
@@ -38,7 +38,6 @@ export class AllFileComponent {
//表头排序
sortData (e) {
let data = this.oldDataSource.concat();
- // console.log(123,data)
data.forEach(element => {
if(element.key.indexOf(".") != -1){
let typeArr = element.key.split('.')
@@ -47,7 +46,7 @@ export class AllFileComponent {
}
});
- // console.log(666,e)
+
if( e.direction=='asc' ) { //从小到大排序
data.sort( function(a,b) {
return a.newTime - b.newTime
diff --git a/src/app/ui/enterpriseuser/enterpriseuser.component.html b/src/app/ui/enterpriseuser/enterpriseuser.component.html
index af329b3..5cf8322 100644
--- a/src/app/ui/enterpriseuser/enterpriseuser.component.html
+++ b/src/app/ui/enterpriseuser/enterpriseuser.component.html
@@ -2,67 +2,54 @@