|
@@ -3957,6 +3957,7 @@ function ($rootScope, $scope, $state, $translate, $localStorage, $cookieStore, $
|
3957
|
3957
|
"incomingPhone": $scope.incidentModel.incomingPhone||undefined,
|
3958
|
3958
|
}
|
3959
|
3959
|
};
|
|
3960
|
+ $scope.modelData && (postData.incident = Object.assign({}, $scope.modelData.incident, postData.incident));
|
3960
|
3961
|
// if(modelData){
|
3961
|
3962
|
// // 微信报修转事件
|
3962
|
3963
|
// postData.flow = modelData.flow;
|
|
@@ -4041,6 +4042,7 @@ function ($rootScope, $scope, $state, $translate, $localStorage, $cookieStore, $
|
4041
|
4042
|
"incomingPhone": $scope.incidentModel.incomingPhone||undefined,
|
4042
|
4043
|
}
|
4043
|
4044
|
};
|
|
4045
|
+ $scope.modelData && (postData.incident = Object.assign({}, $scope.modelData.incident, postData.incident));
|
4044
|
4046
|
// if(modelData){
|
4045
|
4047
|
// // 微信报修转事件
|
4046
|
4048
|
// postData.flow = modelData.flow;
|
|
@@ -4457,6 +4459,7 @@ function ($rootScope, $scope, $state, $translate, $localStorage, $cookieStore, $
|
4457
|
4459
|
"incomingPhone": scope.incidentModel.incomingPhone||undefined,
|
4458
|
4460
|
},
|
4459
|
4461
|
};
|
|
4462
|
+ scope.modelData && (postData.incident = Object.assign({}, scope.modelData.incident, postData.incident));
|
4460
|
4463
|
// if(scope.modelData){
|
4461
|
4464
|
// // 微信报修转事件
|
4462
|
4465
|
// postData.flow = scope.modelData.flow;
|
|
@@ -4746,7 +4749,7 @@ function ($rootScope, $scope, $state, $translate, $localStorage, $cookieStore, $
|
4746
|
4749
|
api_user_data.fetchDataList("user", userData).then(function (data) {
|
4747
|
4750
|
$scope.jry_userData = data.list;
|
4748
|
4751
|
if($scope.incidentModel.user){
|
4749
|
|
- if(!$scope.incidentModel.user.userTaskCount){
|
|
4752
|
+ if(!$scope.incidentModel.user.name){
|
4750
|
4753
|
$scope.incidentModel.user = data.list.find(v=>v.id == $scope.incidentModel.user.id);
|
4751
|
4754
|
}
|
4752
|
4755
|
}
|
|
@@ -4851,7 +4854,7 @@ function ($rootScope, $scope, $state, $translate, $localStorage, $cookieStore, $
|
4851
|
4854
|
$scope.showUserOrGroup();
|
4852
|
4855
|
// 回显人员
|
4853
|
4856
|
if($scope.incidentModel.user){
|
4854
|
|
- if(!$scope.incidentModel.user.userTaskCount){
|
|
4857
|
+ if(!$scope.incidentModel.user.name){
|
4855
|
4858
|
$scope.incidentModel.user = $scope.jry_userData.find(v=>v.id == $scope.incidentModel.user.id);
|
4856
|
4859
|
}
|
4857
|
4860
|
}
|