diff options
author | YILI <li.yi101@zte.com.cn> | 2017-03-22 11:36:29 +0800 |
---|---|---|
committer | 6092002077 <li.yi101@zte.com.cn> | 2017-03-22 14:40:48 +0800 |
commit | 3d2fa1dc4692c869cf54a3c53288f3a5783588b3 (patch) | |
tree | 98595c9c84712745779ddb829e203947b3837889 /alarm-analysis/src/main/webapp/alarm/app | |
parent | 074ac4beac7451d74f11f9828e685cb2b3f16c0c (diff) |
Modify RuleList and RuleInfo
modify some issue and add 2 file for package
Issue-ID:CLIENT-151
Change-Id: I86878b22f723592c3d6bf8c8d6d980ebe22be241
Signed-off-by: YILI <li.yi101@zte.com.cn>
Diffstat (limited to 'alarm-analysis/src/main/webapp/alarm/app')
3 files changed, 7 insertions, 7 deletions
diff --git a/alarm-analysis/src/main/webapp/alarm/app/app.routing.ts b/alarm-analysis/src/main/webapp/alarm/app/app.routing.ts index 173d5335..423f5f2f 100644 --- a/alarm-analysis/src/main/webapp/alarm/app/app.routing.ts +++ b/alarm-analysis/src/main/webapp/alarm/app/app.routing.ts @@ -37,4 +37,4 @@ const appRoutes: Routes = [ },
];
-export const routing: ModuleWithProviders = RouterModule.forRoot(appRoutes);
+export const routing: ModuleWithProviders = RouterModule.forRoot(appRoutes,{ useHash: true });
diff --git a/alarm-analysis/src/main/webapp/alarm/app/correlation-ruleInfo/ruleInfo.component.html b/alarm-analysis/src/main/webapp/alarm/app/correlation-ruleInfo/ruleInfo.component.html index b294cd06..b0b811c3 100644 --- a/alarm-analysis/src/main/webapp/alarm/app/correlation-ruleInfo/ruleInfo.component.html +++ b/alarm-analysis/src/main/webapp/alarm/app/correlation-ruleInfo/ruleInfo.component.html @@ -19,7 +19,7 @@ <div class="row form-group col-xs-12 ">
<label for="userName" class="col-xs-2 col-form-label labelstyle">
- <span>{{"field_rule_name"|translate}}</span>
+ <span>{{"field_rule_name_Add_Page"|translate}}</span>
<span style="color: red">*</span>
</label>
<div class="col-xs-6" style="margin-left: -100px">
diff --git a/alarm-analysis/src/main/webapp/alarm/app/correlation-ruleList/alarmRule.component.html b/alarm-analysis/src/main/webapp/alarm/app/correlation-ruleList/alarmRule.component.html index f2acebd2..3a259fda 100644 --- a/alarm-analysis/src/main/webapp/alarm/app/correlation-ruleList/alarmRule.component.html +++ b/alarm-analysis/src/main/webapp/alarm/app/correlation-ruleList/alarmRule.component.html @@ -31,7 +31,7 @@ <label for="userName" class="col-xs-3 control-label" style="padding-top: 8px">
<span>{{"common_keyword"|translate}}</span>
</label>
- <input class="form-control ng-untouched ng-pristine ng-valid" style="width: 60%" placeholder='{{"field_rule_name"|translate}}'
+ <input class="form-control ng-untouched ng-pristine ng-valid" style="width: 60%" placeholder='{{"field_rule_name_Add_Page"|translate}}'
type="text" [(ngModel)]="ruleModel.rulename" name="name">
</div>
@@ -67,7 +67,7 @@ <table class="table table-bordered table-striped customtable table-hover">
<thead class="nf_thead">
<tr class="heading">
- <td>{{"field_rule_name"|translate}}</td>
+ <td>{{"field_rule_name_Add_Page"|translate}}</td>
<td>{{"common_status"|translate}}</td>
<td>{{"field_create_time"|translate}}</td>
<td>{{"field_creator"|translate}}</td>
@@ -111,12 +111,12 @@ <span>{{"message_is_delete"|translate}}</span>
</div>
<div style="float:rightl;padding-top: 10px;margin-bottom: -20px" class="">
- <button class="btn btnDefault btnmrg" type="button" data-popmodal-but="cancel">
- <span>{{"common_cancel"|translate}}</span>
- </button>
<button class="btn btnDefault btnmrg" data-popmodal-but="ok">
<span>{{"common_confirm"|translate}}</span>
</button>
+ <button class="btn btnDefault btnmrg" type="button" data-popmodal-but="cancel">
+ <span>{{"common_cancel"|translate}}</span>
+ </button>
</div>
</div>
</div>
|