summaryrefslogtreecommitdiffstats
path: root/resmgr
diff options
context:
space:
mode:
authorc00149107 <chenchuanyu@huawei.com>2017-04-26 18:21:00 +0800
committerc00149107 <chenchuanyu@huawei.com>2017-04-26 18:21:00 +0800
commit54d5daf4ed36250f0d7c25d1872e79f65d2e6204 (patch)
tree4a320d8ebe0413e38c549438dd93a3a0b90f43fd /resmgr
parentabfee4d5a0a926e624df29b9bbbb2ba601a7620b (diff)
Fix resmgr port issues in CMCC
Fix resmgr port issues in CMCC Change-Id: I633cba5845168a98ca3446df39557450dd08cdf4 Issue-ID:CLIENT-200 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
Diffstat (limited to 'resmgr')
-rw-r--r--resmgr/src/main/webapp/resmgr/js/app.js6
-rw-r--r--resmgr/src/main/webapp/resmgr/sdn-resmgr/port/port.html6
2 files changed, 6 insertions, 6 deletions
diff --git a/resmgr/src/main/webapp/resmgr/js/app.js b/resmgr/src/main/webapp/resmgr/js/app.js
index 968f79af..796c9b84 100644
--- a/resmgr/src/main/webapp/resmgr/js/app.js
+++ b/resmgr/src/main/webapp/resmgr/js/app.js
@@ -295,9 +295,9 @@ var app = angular.module("ResourceMgrApp", ["ui.router", "ngTable"])
$scope.numericErr = false;
}
$scope.saveData = function(id) {
- $scope.port.edgePoint = $('#portEdropdown').val();
- $scope.port.type = $('#portdropdown').val();
- $scope.port.me = $('#medropdown').val();
+ $scope.port.isEdgePoint = $('#portEdropdown').val();
+ $scope.port.logicalType = $('#portdropdown').val();
+ $scope.port.meID = $('#medropdown').val();
if (!$scope.textboxErrName && !$scope.textboxErrMe) {
var ports ={};
ports.logicalTerminationPoint=$scope.port;
diff --git a/resmgr/src/main/webapp/resmgr/sdn-resmgr/port/port.html b/resmgr/src/main/webapp/resmgr/sdn-resmgr/port/port.html
index b6dc45ea..5fe7b2a4 100644
--- a/resmgr/src/main/webapp/resmgr/sdn-resmgr/port/port.html
+++ b/resmgr/src/main/webapp/resmgr/sdn-resmgr/port/port.html
@@ -95,13 +95,13 @@
<div class="form-group row" id="rowSpacing">
<label class="col-xs-4 col-form-label" id="textCenter">ME</label>
<div id="meID" class="col-xs-8" >
- <select id="medropdown" class="form-control inputfield" ng-model="port.me"></select>
+ <select id="medropdown" class="form-control inputfield" ng-model="port.meID"></select>
</div>
</div>
<div class="form-group row" id="rowSpacing">
<label class="col-xs-4 col-form-label" id="textCenter">Type</label>
<div id="logicalType" class="col-xs-8" >
- <select id="portdropdown" class="form-control inputfield" ng-model="port.type" ng-options="item.templateName for item in optionsValue"></select>
+ <select id="portdropdown" class="form-control inputfield" ng-model="port.logicalType" ng-options="item.templateName for item in optionsValue"></select>
</div>
</div>
<div class="form-group row" id="rowSpacing">
@@ -112,7 +112,7 @@
<div class="form-group row" id="rowSpacing">
<label class="col-xs-4 col-form-label" id="textCenter">Edge Point</label>
<div id="isEdgePoint" class="col-xs-8" >
- <select id="portEdropdown" class="form-control inputfield" ng-model="port.edgePoint" ng-options="item.templateName for item in optionsValue"></select>
+ <select id="portEdropdown" class="form-control inputfield" ng-model="port.isEdgePoint" ng-options="item.templateName for item in optionsValue"></select>
</div>
</div>
<div class="form-group row" id="rowSpacing">