|
|
@ -191,6 +191,8 @@ define(['angular', 'jquery', 'uiRouter', './monitoring/analysis-monitoring'],
|
|
|
|
* @returns {*}
|
|
|
|
* @returns {*}
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
$scope.splitStr = function (str, position) {
|
|
|
|
$scope.splitStr = function (str, position) {
|
|
|
|
|
|
|
|
if (str == null || str == '')
|
|
|
|
|
|
|
|
return;
|
|
|
|
var strArr = str.split(",");
|
|
|
|
var strArr = str.split(",");
|
|
|
|
var resultStr = '';
|
|
|
|
var resultStr = '';
|
|
|
|
for (var i = 0; i < strArr.length; i++) {
|
|
|
|
for (var i = 0; i < strArr.length; i++) {
|
|
|
@ -598,6 +600,9 @@ define(['angular', 'jquery', 'uiRouter', './monitoring/analysis-monitoring'],
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
$scope.is_send_client = false;
|
|
|
|
$scope.is_send_client = false;
|
|
|
|
|
|
|
|
$scope.changeIsSendClient = function(flag) {
|
|
|
|
|
|
|
|
$scope.is_send_client = flag
|
|
|
|
|
|
|
|
};
|
|
|
|
$scope.save = function(form) {
|
|
|
|
$scope.save = function(form) {
|
|
|
|
if (form.$invalid) {
|
|
|
|
if (form.$invalid) {
|
|
|
|
angular.forEach(form, function (item, key) {
|
|
|
|
angular.forEach(form, function (item, key) {
|
|
|
|