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>
diff --git a/resmgr/src/main/webapp/resmgr/js/app.js b/resmgr/src/main/webapp/resmgr/js/app.js
index 968f79a..796c9b8 100644
--- a/resmgr/src/main/webapp/resmgr/js/app.js
+++ b/resmgr/src/main/webapp/resmgr/js/app.js
@@ -295,9 +295,9 @@
             $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 b6dc45e..5fe7b2a 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">