|
|
|
@ -1080,11 +1080,11 @@ define(['angular', 'decimal', 'uiRouter', 'ngBootSwitch', 'ngFileUpload', 'uiBoo
|
|
|
|
|
|
|
|
|
|
$scope.uploadSign = function () {
|
|
|
|
|
if ($scope.signInfo.fullName == null || $scope.signInfo.fullName == "") {
|
|
|
|
|
commonDialog.alert({title: 'Commit Fail', content: 'Please confirm full name entered', type: 'error'});
|
|
|
|
|
commonDialog.alert({title: 'Submit Fail', content: 'Please confirm full name entered', type: 'error'});
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if ($scope.signInfo.src == null || $scope.signInfo.src == "") {
|
|
|
|
|
commonDialog.alert({title: 'Commit Fail', content: 'Please confirm signature', type: 'error'});
|
|
|
|
|
commonDialog.alert({title: 'Submit Fail', content: 'Please confirm signature', type: 'error'});
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
document.getElementById("loading_logo").style ="";
|
|
|
|
@ -1803,7 +1803,7 @@ define(['angular', 'decimal', 'uiRouter', 'ngBootSwitch', 'ngFileUpload', 'uiBoo
|
|
|
|
|
};
|
|
|
|
|
}]);
|
|
|
|
|
|
|
|
|
|
app.controller('agreementSignDialogCtrl', ['$scope', '$http', function ($scope, $http) {
|
|
|
|
|
app.controller('agreementSignDialogCtrl', ['$scope', '$http', 'commonDialog', function ($scope, $http, commonDialog) {
|
|
|
|
|
$scope.submitSign = function (fullName) {
|
|
|
|
|
var sign = $("#signature").jSignature('getData', 'image');
|
|
|
|
|
var signInfo = {};
|
|
|
|
|