|
@@ -11544,6 +11544,13 @@ appFormly.config(
|
11544
|
11544
|
},
|
11545
|
11545
|
controller: ['$scope', 'api_user_data', 'api_statistic', function ($scope, api_user_data, api_statistic) {
|
11546
|
11546
|
$scope.options.initialValue = $scope.model[$scope.options.key];
|
|
11547
|
+ $scope.saveReqPlace = false;
|
|
11548
|
+ $scope.model.saveReqPlace = false;
|
|
11549
|
+ $scope.selectGradeBox = function(){
|
|
11550
|
+ $scope.saveReqPlace = !$scope.saveReqPlace;
|
|
11551
|
+ console.log($scope);
|
|
11552
|
+ $scope.model.saveReqPlace = $scope.saveReqPlace;
|
|
11553
|
+ }
|
11547
|
11554
|
if ($scope.model.requester && $scope.model.requester.requesterTypeDTO && $scope.model.requester.requesterTypeDTO.id == 2) {
|
11548
|
11555
|
$scope.$parent.$parent.$parent.model.incident.priority.id = 2;
|
11549
|
11556
|
$scope.$parent.$parent.$parent.model.incident.emergency.id = 2;
|
|
@@ -17238,6 +17245,7 @@ appFormly.controller('CustomformCtrl', ['$rootScope', '$scope', '$parse', '$inje
|
17238
|
17245
|
// 创建事件seimin
|
17239
|
17246
|
vm.submit = function (data, style) {
|
17240
|
17247
|
console.log(vm,22222);
|
|
17248
|
+ // return;
|
17241
|
17249
|
if (vm.model.handler_code == undefined) {
|
17242
|
17250
|
vm.model.handler_code = "resolve";
|
17243
|
17251
|
}
|
|
@@ -17279,8 +17287,9 @@ appFormly.controller('CustomformCtrl', ['$rootScope', '$scope', '$parse', '$inje
|
17279
|
17287
|
} else {
|
17280
|
17288
|
startsub = false;
|
17281
|
17289
|
$scope.ldloading.expand_right = false;
|
|
17290
|
+ console.log(vm)
|
17282
|
17291
|
SweetAlert.swal({
|
17283
|
|
- title: index.templateOptions.label + '未填',
|
|
17292
|
+ title: index.templateOptions.label + '未填2',
|
17284
|
17293
|
text: "请填写此项!",
|
17285
|
17294
|
type: "error",
|
17286
|
17295
|
confirmButtonColor: "#DD6B55"
|
|
@@ -17451,6 +17460,7 @@ appFormly.controller('CustomformCtrl', ['$rootScope', '$scope', '$parse', '$inje
|
17451
|
17460
|
// id:$scope.$parent.$parent.$parent.$parent.$parent.$parent.selecthouseNumber.id
|
17452
|
17461
|
// }
|
17453
|
17462
|
// }
|
|
17463
|
+ console.log(vm);
|
17454
|
17464
|
api_bpm_domain.start(pdKey, data0327).then(function (response) {
|
17455
|
17465
|
|
17456
|
17466
|
// console.log("response="+JSON.stringify(response));
|