Commit e8567b1e authored by wangqinghua's avatar wangqinghua

icon update

parent fbf508ed
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"project": {
"name": "smart"
},
"apps": [
{
"root": "src/main/webapp",
"outDir": "dist",
"assets": [
"assets",
"favicon.ico"
],
"index": "index.html",
"main": "main.ts",
"polyfills": "polyfills.ts",
"test": "test.ts",
"tsconfig": "tsconfig.app.json",
"testTsconfig": "tsconfig.spec.json",
"prefix": "app",
"styles": [
"styles.css"
],
"scripts": [],
"environmentSource": "environments/environment.ts",
"environments": {
"dev": "environments/environment.ts",
"prod": "environments/environment.prod.ts"
}
}
],
"e2e": {
"protractor": {
"config": "./protractor.conf.js"
}
},
"lint": [
{
"project": "src/tsconfig.app.json",
"exclude": "**/node_modules/**"
},
{
"project": "src/tsconfig.spec.json",
"exclude": "**/node_modules/**"
},
{
"project": "e2e/tsconfig.e2e.json",
"exclude": "**/node_modules/**"
}
],
"test": {
"karma": {
"config": "./karma.conf.js"
}
},
"defaults": {
"styleExt": "css",
"component": {}
}
}
...@@ -6678,7 +6678,8 @@ ...@@ -6678,7 +6678,8 @@
"ansi-regex": { "ansi-regex": {
"version": "2.1.1", "version": "2.1.1",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"aproba": { "aproba": {
"version": "1.2.0", "version": "1.2.0",
...@@ -6699,12 +6700,14 @@ ...@@ -6699,12 +6700,14 @@
"balanced-match": { "balanced-match": {
"version": "1.0.0", "version": "1.0.0",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"brace-expansion": { "brace-expansion": {
"version": "1.1.11", "version": "1.1.11",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"balanced-match": "^1.0.0", "balanced-match": "^1.0.0",
"concat-map": "0.0.1" "concat-map": "0.0.1"
...@@ -6719,17 +6722,20 @@ ...@@ -6719,17 +6722,20 @@
"code-point-at": { "code-point-at": {
"version": "1.1.0", "version": "1.1.0",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"concat-map": { "concat-map": {
"version": "0.0.1", "version": "0.0.1",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"console-control-strings": { "console-control-strings": {
"version": "1.1.0", "version": "1.1.0",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"core-util-is": { "core-util-is": {
"version": "1.0.2", "version": "1.0.2",
...@@ -6846,7 +6852,8 @@ ...@@ -6846,7 +6852,8 @@
"inherits": { "inherits": {
"version": "2.0.3", "version": "2.0.3",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"ini": { "ini": {
"version": "1.3.5", "version": "1.3.5",
...@@ -6858,6 +6865,7 @@ ...@@ -6858,6 +6865,7 @@
"version": "1.0.0", "version": "1.0.0",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"number-is-nan": "^1.0.0" "number-is-nan": "^1.0.0"
} }
...@@ -6872,6 +6880,7 @@ ...@@ -6872,6 +6880,7 @@
"version": "3.0.4", "version": "3.0.4",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"brace-expansion": "^1.1.7" "brace-expansion": "^1.1.7"
} }
...@@ -6879,12 +6888,14 @@ ...@@ -6879,12 +6888,14 @@
"minimist": { "minimist": {
"version": "0.0.8", "version": "0.0.8",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"minipass": { "minipass": {
"version": "2.2.4", "version": "2.2.4",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"safe-buffer": "^5.1.1", "safe-buffer": "^5.1.1",
"yallist": "^3.0.0" "yallist": "^3.0.0"
...@@ -6903,6 +6914,7 @@ ...@@ -6903,6 +6914,7 @@
"version": "0.5.1", "version": "0.5.1",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"minimist": "0.0.8" "minimist": "0.0.8"
} }
...@@ -6983,7 +6995,8 @@ ...@@ -6983,7 +6995,8 @@
"number-is-nan": { "number-is-nan": {
"version": "1.0.1", "version": "1.0.1",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"object-assign": { "object-assign": {
"version": "4.1.1", "version": "4.1.1",
...@@ -6995,6 +7008,7 @@ ...@@ -6995,6 +7008,7 @@
"version": "1.4.0", "version": "1.4.0",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"wrappy": "1" "wrappy": "1"
} }
...@@ -7080,7 +7094,8 @@ ...@@ -7080,7 +7094,8 @@
"safe-buffer": { "safe-buffer": {
"version": "5.1.1", "version": "5.1.1",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"safer-buffer": { "safer-buffer": {
"version": "2.1.2", "version": "2.1.2",
...@@ -7116,6 +7131,7 @@ ...@@ -7116,6 +7131,7 @@
"version": "1.0.2", "version": "1.0.2",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"code-point-at": "^1.0.0", "code-point-at": "^1.0.0",
"is-fullwidth-code-point": "^1.0.0", "is-fullwidth-code-point": "^1.0.0",
...@@ -7135,6 +7151,7 @@ ...@@ -7135,6 +7151,7 @@
"version": "3.0.1", "version": "3.0.1",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"ansi-regex": "^2.0.0" "ansi-regex": "^2.0.0"
} }
...@@ -7178,12 +7195,14 @@ ...@@ -7178,12 +7195,14 @@
"wrappy": { "wrappy": {
"version": "1.0.2", "version": "1.0.2",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"yallist": { "yallist": {
"version": "3.0.2", "version": "3.0.2",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
} }
} }
}, },
...@@ -9851,13 +9870,15 @@ ...@@ -9851,13 +9870,15 @@
"version": "1.36.0", "version": "1.36.0",
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.36.0.tgz", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.36.0.tgz",
"integrity": "sha512-L+xvyD9MkoYMXb1jAmzI/lWYAxAMCPvIBSWur0PZ5nOf5euahRLVqH//FKW9mWp2lkqUgYiXPgkzfMUFi4zVDw==", "integrity": "sha512-L+xvyD9MkoYMXb1jAmzI/lWYAxAMCPvIBSWur0PZ5nOf5euahRLVqH//FKW9mWp2lkqUgYiXPgkzfMUFi4zVDw==",
"dev": true "dev": true,
"optional": true
}, },
"mime-types": { "mime-types": {
"version": "2.1.20", "version": "2.1.20",
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.20.tgz", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.20.tgz",
"integrity": "sha512-HrkrPaP9vGuWbLK1B1FfgAkbqNjIuy4eHlIYnFi7kamZyLLrGlo2mpcx0bBmNpKqBtYtAfGbodDddIgddSJC2A==", "integrity": "sha512-HrkrPaP9vGuWbLK1B1FfgAkbqNjIuy4eHlIYnFi7kamZyLLrGlo2mpcx0bBmNpKqBtYtAfGbodDddIgddSJC2A==",
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"mime-db": "~1.36.0" "mime-db": "~1.36.0"
} }
......
...@@ -64,8 +64,6 @@ export class MineComponent implements OnInit { ...@@ -64,8 +64,6 @@ export class MineComponent implements OnInit {
}; };
this.dataSet = [item, ...this.dataSet]; this.dataSet = [item, ...this.dataSet];
this.editCache = [{data: item, edit: true}, ...this.editCache]; this.editCache = [{data: item, edit: true}, ...this.editCache];
console.log(this.dataSet);
console.log(this.editCache);
} }
startEdit(key: string): void { startEdit(key: string): void {
......
import {HttpClient} from '@angular/common/http';
import {Observable} from 'rxjs/Rx';
import {Injectable} from '@angular/core';
import {SERVER_API_URL, SERVER_API_URL_COMS} from '../app.constants';
import {CommonService} from '../shared/common/common.service';
import {LocalStorageService, SessionStorageService} from 'ngx-webstorage';
import {Http, RequestOptions, ResponseContentType, ResponseOptions} from '@angular/http';
@Injectable()
export class ProjectService {
headers;
options;
constructor(private http: HttpClient, private commonSer: CommonService, private http1: Http,
private localStorage: LocalStorageService, private sessionStorage: SessionStorageService) {
}
//修改运维公司
updateMaintainCompany(data): Observable<any> {
return this.http.post(SERVER_API_URL_COMS + '/maintainCompany/updateMaintainCompany', data);
}
//删除运维公司
deleteMaintainCompany(data): Observable<any> {
return this.http.post(SERVER_API_URL_COMS + '/maintainCompany/deleteMaintainCompany', data);
}
//增加运维公司
addMaintainCompany(data): Observable<any> {
return this.http.post(SERVER_API_URL_COMS + '/maintainCompany/addMaintainCompany', data);
}
//查询运维公司
selectMaintainCompany(data): Observable<any> {
return this.http.post(SERVER_API_URL_COMS + '/maintainCompany/selectMaintainCompany', data);
}
//查询运维公司
selectMaintainCompanyCountsById(data): Observable<any> {
return this.http.post(SERVER_API_URL_COMS + '/maintainCompany/selectMaintainCompanyCountsById', data);
}
//修改运维团队
updateMaintainTeam(data): Observable<any> {
return this.http.post(SERVER_API_URL_COMS + '/maintainTeam/updateMaintainTeam', data);
}
//创建运维团队
addMaintainTeam(data): Observable<any> {
return this.http.post(SERVER_API_URL_COMS + '/maintainTeam/addMaintainTeam', data);
}
//删除运维团队
deleteMaintainTeam(data): Observable<any> {
return this.http.post(SERVER_API_URL_COMS + '/maintainTeam/deleteMaintainTeam', data);
}
//查询运维团队数量
selectTeamCountById(data): Observable<any> {
return this.http.post(SERVER_API_URL_COMS + '/maintainTeam/selectTeamCountById', data);
}
//查询运维团队
selectMaintainTeam(data): Observable<any> {
return this.http.post(SERVER_API_URL_COMS + '/maintainTeam/selectMaintainTeam', data);
}
//修改运维团队成员
updateMaintainTeamUser(data): Observable<any> {
return this.http.post(SERVER_API_URL_COMS + '/maintainTeamUser/updateMaintainTeamUser', data);
}
//创建运维成员
addMaintainTeamUser(data): Observable<any> {
return this.http.post(SERVER_API_URL_COMS + '/maintainTeamUser/addMaintainTeamUser', data);
}
//删除运维团队成员
deleteMaintainTeamUser(data): Observable<any> {
return this.http.post(SERVER_API_URL_COMS + '/maintainTeamUser/deleteMaintainTeamUser', data);
}
//查询运维团队成员数量
selectTeamUserCount(data): Observable<any> {
return this.http.post(SERVER_API_URL_COMS + '/maintainTeamUser/selectTeamUserCount', data);
}
//查询运维成员
selectMaintainTeamUser(data): Observable<any> {
return this.http.post(SERVER_API_URL_COMS + '/maintainTeamUser/selectMaintainTeamUser', data);
}
//修改运维项目
updateMaintainProject(data): Observable<any> {
return this.http.post(SERVER_API_URL_COMS + '/maintainProject/updateMaintainProject', data);
}
//创建运维项目
addMaintainProject(data): Observable<any> {
return this.http.post(SERVER_API_URL_COMS + '/maintainProject/addMaintainProject', data);
}
//删除运维项目
deleteMaintainProject(data): Observable<any> {
return this.http.post(SERVER_API_URL_COMS + '/maintainProject/deleteMaintainProject', data);
}
//查询运维项目
selectMaintainProject(data): Observable<any> {
return this.http.post(SERVER_API_URL_COMS + '/maintainProject/selectMaintainProject', data);
}
//查询运维项目数量
selectProjectCount(data): Observable<any> {
return this.http.post(SERVER_API_URL_COMS + '/maintainProject/selectProjectCount', data);
}
//跟踪记录查询
selectProjectCount1(data): Observable<any> {
return this.http.post(SERVER_API_URL_COMS + '/maintainProject/selectProjectCount', data);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment