[script,docs]docker-compose部署脚本迁到script目录,文档更新

This commit is contained in:
tomsun28
2022-03-15 21:52:36 +08:00
parent 4db3e04dd6
commit b5bc5d2975
16 changed files with 166 additions and 125 deletions

View File

@@ -97,19 +97,22 @@ export class MonitorService {
): Observable<Message<Page<Monitor>>> {
pageIndex = pageIndex ? pageIndex : 0;
pageSize = pageSize ? pageSize : 8;
status = status ? status : 9;
// 注意HttpParams是不可变对象 需要保存set后返回的对象为最新对象
let httpParams = new HttpParams();
httpParams = httpParams.appendAll({
name: searchValue,
host: searchValue,
status: status,
pageIndex: pageIndex,
pageSize: pageSize
});
if (status != undefined && status != 9) {
httpParams = httpParams.append('status', status);
}
if (app != undefined) {
httpParams = httpParams.append('app', app);
}
if (searchValue != undefined && searchValue != '' && searchValue.trim() != '') {
httpParams = httpParams.append('name', searchValue);
httpParams = httpParams.append('host', searchValue);
}
const options = { params: httpParams };
return this.http.get<Message<Page<Monitor>>>(monitors_uri, options);
}