|
@@ -4874,6 +4874,456 @@ function ($rootScope, $scope, $state, $translate, $localStorage, $cookieStore, $
|
4874
|
4874
|
},
|
4875
|
4875
|
});
|
4876
|
4876
|
}
|
|
4877
|
+ // 补单
|
|
4878
|
+ $scope.supplement = function(){
|
|
4879
|
+ if(!$scope.categorySelectId){
|
|
4880
|
+ SweetAlert.swal({
|
|
4881
|
+ title: "提示",
|
|
4882
|
+ text: "请选择故障现象!",
|
|
4883
|
+ type: "error",
|
|
4884
|
+ confirmButtonColor: "#DD6B55"
|
|
4885
|
+ });
|
|
4886
|
+ return;
|
|
4887
|
+ }
|
|
4888
|
+ if(!$scope.selectedDuty){
|
|
4889
|
+ SweetAlert.swal({
|
|
4890
|
+ title: "提示",
|
|
4891
|
+ text: "故障现象【"+ $scope.categorySelect.category +"】没有设置责任科室!",
|
|
4892
|
+ type: "error",
|
|
4893
|
+ confirmButtonColor: "#DD6B55"
|
|
4894
|
+ });
|
|
4895
|
+ return;
|
|
4896
|
+ }
|
|
4897
|
+ if(!$scope.incidentModel.department){
|
|
4898
|
+ SweetAlert.swal({
|
|
4899
|
+ title: "提示",
|
|
4900
|
+ text: "请选择报修科室!",
|
|
4901
|
+ type: "error",
|
|
4902
|
+ confirmButtonColor: "#DD6B55"
|
|
4903
|
+ });
|
|
4904
|
+ return;
|
|
4905
|
+ }
|
|
4906
|
+ if(!$scope.incidentModel.contactsInformation){
|
|
4907
|
+ SweetAlert.swal({
|
|
4908
|
+ title: "提示",
|
|
4909
|
+ text: "请填写联系电话!",
|
|
4910
|
+ type: "error",
|
|
4911
|
+ confirmButtonColor: "#DD6B55"
|
|
4912
|
+ });
|
|
4913
|
+ return;
|
|
4914
|
+ }
|
|
4915
|
+ if(!$scope.incidentModel.priority){
|
|
4916
|
+ SweetAlert.swal({
|
|
4917
|
+ title: "提示",
|
|
4918
|
+ text: "请选择优先级!",
|
|
4919
|
+ type: "error",
|
|
4920
|
+ confirmButtonColor: "#DD6B55"
|
|
4921
|
+ });
|
|
4922
|
+ return;
|
|
4923
|
+ }
|
|
4924
|
+ if(!$scope.incidentModel.description){
|
|
4925
|
+ SweetAlert.swal({
|
|
4926
|
+ title: "提示",
|
|
4927
|
+ text: "请选择故障描述!",
|
|
4928
|
+ type: "error",
|
|
4929
|
+ confirmButtonColor: "#DD6B55"
|
|
4930
|
+ });
|
|
4931
|
+ return;
|
|
4932
|
+ }
|
|
4933
|
+ $modal.open({
|
|
4934
|
+ templateUrl: "assets/views/newOrderSupplement.html",
|
|
4935
|
+ controller: function ($scope,scope,$state, $modalInstance, SweetAlert,api_bpm) {
|
|
4936
|
+ $scope.categorySelect = scope.categorySelect;
|
|
4937
|
+ console.log($scope.categorySelect)
|
|
4938
|
+ $scope.incidentModel = {
|
|
4939
|
+ handlerMsg:'',//处理方案
|
|
4940
|
+ closecode:'',//处理结果
|
|
4941
|
+ acceptDate:'',//登记时间
|
|
4942
|
+ responseHandleTime:'',//接单时间
|
|
4943
|
+ handleTime:'',//解决时间
|
|
4944
|
+ handlingPersonnelUser:'',//处理人
|
|
4945
|
+ };
|
|
4946
|
+ // 处理人模糊搜索
|
|
4947
|
+ $scope.jry_userSearch = function (key = "") {
|
|
4948
|
+ var userData = {
|
|
4949
|
+ idx: 0,
|
|
4950
|
+ sum: 1000,
|
|
4951
|
+ user: {
|
|
4952
|
+ duty: scope.selectedDuty || undefined,
|
|
4953
|
+ roledata: {rolecode: "first-line support"},
|
|
4954
|
+ selectDetails:'1',
|
|
4955
|
+ simple:true,
|
|
4956
|
+ name: key,
|
|
4957
|
+ selectType: "pinyin_qs",
|
|
4958
|
+ engineer: 1,
|
|
4959
|
+ },
|
|
4960
|
+ };
|
|
4961
|
+ api_user_data.fetchDataList("user", userData).then(function (data) {
|
|
4962
|
+ $scope.jry_userData = data.list;
|
|
4963
|
+ });
|
|
4964
|
+ };
|
|
4965
|
+ $scope.jry_userSearch();
|
|
4966
|
+ // 处理结果
|
|
4967
|
+ $scope.closecodeArray = [];
|
|
4968
|
+ $scope.jry_closecodeSearch = function () {
|
|
4969
|
+ api_wechatfile
|
|
4970
|
+ .getDictionary({ type: "list", key: "incident_closecode" })
|
|
4971
|
+ .then(function (data) {
|
|
4972
|
+ $scope.closecodeArray = data;
|
|
4973
|
+ });
|
|
4974
|
+ };
|
|
4975
|
+ $scope.jry_closecodeSearch();
|
|
4976
|
+ // 确定
|
|
4977
|
+ $scope.ok = function () {
|
|
4978
|
+ if($scope.categorySelect.hasSimple != 1 && !$scope.incidentModel.handlerMsg){
|
|
4979
|
+ SweetAlert.swal({
|
|
4980
|
+ title: "提示",
|
|
4981
|
+ text: "请填写处理方案!",
|
|
4982
|
+ type: "error",
|
|
4983
|
+ confirmButtonColor: "#DD6B55"
|
|
4984
|
+ });
|
|
4985
|
+ return;
|
|
4986
|
+ }
|
|
4987
|
+ if(!$scope.incidentModel.closecode.id){
|
|
4988
|
+ SweetAlert.swal({
|
|
4989
|
+ title: "提示",
|
|
4990
|
+ text: "请选择处理结果!",
|
|
4991
|
+ type: "error",
|
|
4992
|
+ confirmButtonColor: "#DD6B55"
|
|
4993
|
+ });
|
|
4994
|
+ return;
|
|
4995
|
+ }
|
|
4996
|
+ if(!$scope.incidentModel.acceptDate){
|
|
4997
|
+ SweetAlert.swal({
|
|
4998
|
+ title: "提示",
|
|
4999
|
+ text: "请选择登记时间!",
|
|
5000
|
+ type: "error",
|
|
5001
|
+ confirmButtonColor: "#DD6B55"
|
|
5002
|
+ });
|
|
5003
|
+ return;
|
|
5004
|
+ }
|
|
5005
|
+ if(!$scope.incidentModel.responseHandleTime){
|
|
5006
|
+ SweetAlert.swal({
|
|
5007
|
+ title: "提示",
|
|
5008
|
+ text: "请选择接单时间!",
|
|
5009
|
+ type: "error",
|
|
5010
|
+ confirmButtonColor: "#DD6B55"
|
|
5011
|
+ });
|
|
5012
|
+ return;
|
|
5013
|
+ }
|
|
5014
|
+ if(!$scope.incidentModel.handleTime){
|
|
5015
|
+ SweetAlert.swal({
|
|
5016
|
+ title: "提示",
|
|
5017
|
+ text: "请选择解决时间!",
|
|
5018
|
+ type: "error",
|
|
5019
|
+ confirmButtonColor: "#DD6B55"
|
|
5020
|
+ });
|
|
5021
|
+ return;
|
|
5022
|
+ }
|
|
5023
|
+ if(!$scope.incidentModel.handlingPersonnelUser){
|
|
5024
|
+ SweetAlert.swal({
|
|
5025
|
+ title: "提示",
|
|
5026
|
+ text: "请选择处理人!",
|
|
5027
|
+ type: "error",
|
|
5028
|
+ confirmButtonColor: "#DD6B55"
|
|
5029
|
+ });
|
|
5030
|
+ return;
|
|
5031
|
+ }
|
|
5032
|
+
|
|
5033
|
+ // -------新建事件,积分机制,补单-------
|
|
5034
|
+ var integralMechanism = sessionStorage.getItem('integralMechanism');
|
|
5035
|
+ if(integralMechanism == 1 || (integralMechanism == 2 && $rootScope.user.userType.value == 2)){
|
|
5036
|
+ $modal.open({
|
|
5037
|
+ templateUrl: 'assets/views/incident/tpl/toIntegralMechanism.tpl.html',
|
|
5038
|
+ controller: function ($scope, $modalInstance, incidentData,categorySelect, currentUserId, Alert, api_wechatfile,scope,api_bpm_data) {
|
|
5039
|
+ console.log(incidentData,currentUserId,categorySelect);
|
|
5040
|
+ $scope.complexityConfirm = {complexity:null,updateReason:''};
|
|
5041
|
+ $scope.complexityFn = function(category){
|
|
5042
|
+ if(category.complexity){
|
|
5043
|
+ return category.complexity.value;
|
|
5044
|
+ }else if(category.parent){
|
|
5045
|
+ return $scope.complexityFn(category.parent);
|
|
5046
|
+ }else{
|
|
5047
|
+ return $scope.list[0]?$scope.list[0].value:1;
|
|
5048
|
+ }
|
|
5049
|
+ }
|
|
5050
|
+ $scope.list = [];
|
|
5051
|
+ api_wechatfile.getDictionary({"key":"incident_complexity","type":"list"}).then(function(res){
|
|
5052
|
+ $scope.list = res;
|
|
5053
|
+ if(categorySelect && categorySelect.id){
|
|
5054
|
+ api_bpm_data.fetchData("incidentCategory",categorySelect.id).then(function(result){
|
|
5055
|
+ if(result.status == 200){
|
|
5056
|
+ $scope.complexity = $scope.complexityFn(result.data);
|
|
5057
|
+ $scope.complexityConfirm.complexity = $scope.list.find(v=>v.value == $scope.complexity);
|
|
5058
|
+ }
|
|
5059
|
+ })
|
|
5060
|
+ }
|
|
5061
|
+ })
|
|
5062
|
+ $scope.onChangeComplexity = function(item){
|
|
5063
|
+
|
|
5064
|
+ }
|
|
5065
|
+ $scope.ok = function () {
|
|
5066
|
+ if (!$scope.complexityConfirm.complexity){
|
|
5067
|
+ Alert.swal({
|
|
5068
|
+ title: "操作失败",
|
|
5069
|
+ text: "请选择工时!",
|
|
5070
|
+ type: "error"
|
|
5071
|
+ });
|
|
5072
|
+ return;
|
|
5073
|
+ }
|
|
5074
|
+ if ($scope.complexityConfirm.complexity.value != $scope.complexity&&!$scope.complexityConfirm.updateReason.trim()){
|
|
5075
|
+ Alert.swal({
|
|
5076
|
+ title: "操作失败",
|
|
5077
|
+ text: "请填写升级原因!",
|
|
5078
|
+ type: "error"
|
|
5079
|
+ });
|
|
5080
|
+ return;
|
|
5081
|
+ }
|
|
5082
|
+ $modalInstance.close('success');
|
|
5083
|
+ handlerStart();
|
|
5084
|
+ scope.complexity = $scope.complexity;
|
|
5085
|
+ scope.complexityConfirm = $scope.complexityConfirm;
|
|
5086
|
+ // 暂存--后面直接处理后调用积分接口
|
|
5087
|
+ }
|
|
5088
|
+ $scope.cancel = function () {
|
|
5089
|
+ if (localStorage.getItem('fenjiNumber')) {
|
|
5090
|
+ $rootScope.jry_shixian();
|
|
5091
|
+ }
|
|
5092
|
+ $modalInstance.dismiss('cancel');
|
|
5093
|
+ }
|
|
5094
|
+ },
|
|
5095
|
+ size: 'sm',
|
|
5096
|
+ resolve: {
|
|
5097
|
+ scope: function () {
|
|
5098
|
+ return $scope;
|
|
5099
|
+ },
|
|
5100
|
+ api_bpm: function () {
|
|
5101
|
+ return api_bpm;
|
|
5102
|
+ },
|
|
5103
|
+ incidentData: function () {
|
|
5104
|
+ return scope.incidentModel;
|
|
5105
|
+ },
|
|
5106
|
+ categorySelect: function () {
|
|
5107
|
+ return scope.categorySelect;
|
|
5108
|
+ },
|
|
5109
|
+ currentUserId: function () {
|
|
5110
|
+ return $rootScope.user.id;
|
|
5111
|
+ },
|
|
5112
|
+ Alert: function () {
|
|
5113
|
+ return SweetAlert;
|
|
5114
|
+ },
|
|
5115
|
+ api_user_data: function () {
|
|
5116
|
+ return api_user_data;
|
|
5117
|
+ },
|
|
5118
|
+ api_wechatfile: function () {
|
|
5119
|
+ return api_wechatfile;
|
|
5120
|
+ }
|
|
5121
|
+ }
|
|
5122
|
+ });
|
|
5123
|
+ }else{
|
|
5124
|
+ handlerStart();
|
|
5125
|
+ }
|
|
5126
|
+ // -------新建事件,积分机制,补单-------
|
|
5127
|
+ };
|
|
5128
|
+ // 补单,新建事件
|
|
5129
|
+ async function handlerStart(){
|
|
5130
|
+ $rootScope.isMask = true;
|
|
5131
|
+ console.log(scope.incidentModel,$scope.incidentModel);
|
|
5132
|
+ var repair_main = JSON.parse(sessionStorage.getItem('repair_main'));
|
|
5133
|
+ var postData = {
|
|
5134
|
+ "incident": {
|
|
5135
|
+ "id": scope.incidentModel.id || undefined,
|
|
5136
|
+ "deleteFlag": 0,
|
|
5137
|
+ "duty":scope.selectedDuty?scope.selectedDuty:undefined,
|
|
5138
|
+ "requester":scope.incidentModel.requester||undefined,
|
|
5139
|
+ "alarmType": false,
|
|
5140
|
+ "department": scope.incidentModel.department||undefined,
|
|
5141
|
+ "contactsInformation": scope.incidentModel.contactsInformation,
|
|
5142
|
+ "contacts": scope.incidentModel.contacts,
|
|
5143
|
+ "branch": scope.incidentModel.branch?scope.incidentModel.branch.id:undefined,
|
|
5144
|
+ "area": scope.incidentModel.area||undefined,
|
|
5145
|
+ "place": scope.incidentModel.place||undefined,
|
|
5146
|
+ "houseNumber": scope.incidentModel.address,
|
|
5147
|
+ "category": scope.categorySelect||undefined,
|
|
5148
|
+ "priority": scope.incidentModel.priority||undefined,
|
|
5149
|
+ "source": scope.incidentModel.source||undefined,
|
|
5150
|
+ "title": scope.categorySelect.category,
|
|
5151
|
+ "description": scope.incidentModel.description,
|
|
5152
|
+ "directProcess": 1,
|
|
5153
|
+ "handleDescription": $scope.incidentModel.handlerMsg,
|
|
5154
|
+ "handlingPersonnelUser":{id:$scope.incidentModel.handlingPersonnelUser.id},
|
|
5155
|
+ "yyTime": scope.incidentModel.yyTime ? moment(scope.incidentModel.yyTime).format('YYYY-MM-DD HH:mm:ss') : undefined,
|
|
5156
|
+ "acceptDate": $scope.incidentModel.acceptDate ? moment($scope.incidentModel.acceptDate).format('YYYY-MM-DD HH:mm:ss') : undefined,
|
|
5157
|
+ "responseHandleTime": $scope.incidentModel.responseHandleTime ? moment($scope.incidentModel.responseHandleTime).format('YYYY-MM-DD HH:mm:ss') : undefined,
|
|
5158
|
+ "handleTime": $scope.incidentModel.handleTime ? moment($scope.incidentModel.handleTime).format('YYYY-MM-DD HH:mm:ss') : undefined,
|
|
5159
|
+ "closecode": $scope.incidentModel.closecode||undefined,
|
|
5160
|
+ "repairType": repair_main?repair_main.valueconfig:undefined,
|
|
5161
|
+ "acceptUser": $scope.incidentModel.handlingPersonnelUser||undefined,
|
|
5162
|
+ "callID": scope.incidentModel.callID||undefined,
|
|
5163
|
+ "incomingPhone": scope.incidentModel.incomingPhone||undefined,
|
|
5164
|
+ },
|
|
5165
|
+ };
|
|
5166
|
+ scope.modelData && (postData.incident = Object.assign({}, scope.modelData.incident, postData.incident));
|
|
5167
|
+ // if(scope.modelData){
|
|
5168
|
+ // // 微信报修转事件
|
|
5169
|
+ // postData.flow = scope.modelData.flow;
|
|
5170
|
+ // }
|
|
5171
|
+ if(!postData.incident.incidentsign){
|
|
5172
|
+ let res1 = await api_bpm_domain.workernumber('sj');
|
|
5173
|
+ postData.incident.incidentsign = res1.data;
|
|
5174
|
+ }
|
|
5175
|
+
|
|
5176
|
+ // api_bpm_domain.workernumber('sj').then(res1=>{
|
|
5177
|
+ // postData.incident.incidentsign = res1.data;
|
|
5178
|
+ api_flow.accept("patchOrder", postData).then(function (resData) {
|
|
5179
|
+ if (scope.uploader != null) {
|
|
5180
|
+ // 有图片
|
|
5181
|
+ scope.uploader.onBeforeUploadItem = function(item) {
|
|
5182
|
+ angular.extend(item.headers, $rootScope.getSession());
|
|
5183
|
+ item.url = api_bpm_domain.uploadAttachmentJryModel("wechatRequesterIncident", resData.data.id).getRequestedUrl();
|
|
5184
|
+ item.formData.push({ 'fileName': item.file.name });
|
|
5185
|
+ };
|
|
5186
|
+ scope.uploader.uploadAll();
|
|
5187
|
+ }
|
|
5188
|
+ var integralMechanism = sessionStorage.getItem('integralMechanism');
|
|
5189
|
+ if(integralMechanism == 1 || (integralMechanism == 2 && $rootScope.user.userType.value == 2)){
|
|
5190
|
+ api_wechatfile.getDictionary({"key":"incident_integral_state","type":"list"}).then(function(res){
|
|
5191
|
+ var auditState = res.find(v=>v.value == 0);
|
|
5192
|
+ var postData = {
|
|
5193
|
+ incidentIntegral: {
|
|
5194
|
+ incidentId:resData.bussId,
|
|
5195
|
+ auditState:auditState,
|
|
5196
|
+ handlerUser:$rootScope.user.id,
|
|
5197
|
+ handlerUserName:$rootScope.user.name,
|
|
5198
|
+ sourceScore:$scope.complexity,
|
|
5199
|
+ currentScore:$scope.complexityConfirm.complexity.value,
|
|
5200
|
+ updateReason:$scope.complexityConfirm.updateReason.trim() || undefined,
|
|
5201
|
+ }
|
|
5202
|
+ }
|
|
5203
|
+ console.log(postData)
|
|
5204
|
+ api_bpm_data.addData('incidentIntegral', postData).then(function (response) {
|
|
5205
|
+ console.log(response)
|
|
5206
|
+ $rootScope.isMask = false;
|
|
5207
|
+ if (response.status == 200) {
|
|
5208
|
+ SweetAlert.swal(
|
|
5209
|
+ {
|
|
5210
|
+ title: "保存成功!",
|
|
5211
|
+ type: "success",
|
|
5212
|
+ confirmButtonColor: "#007AFF",
|
|
5213
|
+ },
|
|
5214
|
+ function (isConfirm) {
|
|
5215
|
+ if(isConfirm){
|
|
5216
|
+ $modalInstance.dismiss("cancel");
|
|
5217
|
+ // 是否连续建单
|
|
5218
|
+ if(scope.btns.isBuildOrderAgagin){
|
|
5219
|
+ scope.categorySelect = "";
|
|
5220
|
+ scope.categorySelectId = 0;
|
|
5221
|
+ scope.incidentModel.assign = 1;
|
|
5222
|
+ scope.incidentModel.user = "";
|
|
5223
|
+ scope.incidentModel.group = "";
|
|
5224
|
+ }else{
|
|
5225
|
+ if (localStorage.getItem('fenjiNumber')) {
|
|
5226
|
+ $rootScope.jry_shixian();
|
|
5227
|
+ }
|
|
5228
|
+ scope.cancel();
|
|
5229
|
+ }
|
|
5230
|
+ $rootScope.newOrderShowOpen = false;
|
|
5231
|
+ if($state.current.name === 'app.incident.list'){
|
|
5232
|
+ $state.reload();
|
|
5233
|
+ }else{
|
|
5234
|
+ $state.go("app.incident.list");
|
|
5235
|
+ }
|
|
5236
|
+ }
|
|
5237
|
+ }
|
|
5238
|
+ );
|
|
5239
|
+ } else {
|
|
5240
|
+ Alert.swal({
|
|
5241
|
+ title: "操作失败",
|
|
5242
|
+ text: "操作失败, 请稍后再试!",
|
|
5243
|
+ type: "error"
|
|
5244
|
+ });
|
|
5245
|
+ }
|
|
5246
|
+ });
|
|
5247
|
+ })
|
|
5248
|
+ }else{
|
|
5249
|
+ SweetAlert.swal(
|
|
5250
|
+ {
|
|
5251
|
+ title: "提交成功!",
|
|
5252
|
+ type: "success",
|
|
5253
|
+ confirmButtonColor: "#007AFF",
|
|
5254
|
+ },
|
|
5255
|
+ function (isConfirm) {
|
|
5256
|
+ if(isConfirm){
|
|
5257
|
+ if (localStorage.getItem('fenjiNumber')) {
|
|
5258
|
+ $rootScope.jry_shixian();
|
|
5259
|
+ }
|
|
5260
|
+ scope.cancel();
|
|
5261
|
+ $modalInstance.dismiss("cancel");
|
|
5262
|
+ $rootScope.newOrderShowOpen = false;
|
|
5263
|
+ if($state.current.name === 'app.incident.list'){
|
|
5264
|
+ $state.reload();
|
|
5265
|
+ }else{
|
|
5266
|
+ $state.go("app.incident.list");
|
|
5267
|
+ }
|
|
5268
|
+ }
|
|
5269
|
+ }
|
|
5270
|
+ );
|
|
5271
|
+ }
|
|
5272
|
+ // -------------------------------------------
|
|
5273
|
+ $rootScope.isMask = false;
|
|
5274
|
+ SweetAlert.swal(
|
|
5275
|
+ {
|
|
5276
|
+ title: "保存成功!",
|
|
5277
|
+ type: "success",
|
|
5278
|
+ confirmButtonColor: "#007AFF",
|
|
5279
|
+ },
|
|
5280
|
+ function (isConfirm) {
|
|
5281
|
+ if(isConfirm){
|
|
5282
|
+ $modalInstance.dismiss("cancel");
|
|
5283
|
+ // 是否连续建单
|
|
5284
|
+ if(scope.btns.isBuildOrderAgagin){
|
|
5285
|
+ scope.categorySelect = "";
|
|
5286
|
+ scope.categorySelectId = 0;
|
|
5287
|
+ scope.incidentModel.assign = 1;
|
|
5288
|
+ scope.incidentModel.user = "";
|
|
5289
|
+ scope.incidentModel.group = "";
|
|
5290
|
+ }else{
|
|
5291
|
+ if (localStorage.getItem('fenjiNumber')) {
|
|
5292
|
+ $rootScope.jry_shixian();
|
|
5293
|
+ }
|
|
5294
|
+ scope.cancel();
|
|
5295
|
+ }
|
|
5296
|
+ $rootScope.newOrderShowOpen = false;
|
|
5297
|
+ if($state.current.name === 'app.incident.list'){
|
|
5298
|
+ $state.reload();
|
|
5299
|
+ }else{
|
|
5300
|
+ $state.go("app.incident.list");
|
|
5301
|
+ }
|
|
5302
|
+ }
|
|
5303
|
+ }
|
|
5304
|
+ );
|
|
5305
|
+ });
|
|
5306
|
+ // })
|
|
5307
|
+ }
|
|
5308
|
+ // 取消
|
|
5309
|
+ $scope.cancel = function () {
|
|
5310
|
+ if (localStorage.getItem('fenjiNumber')) {
|
|
5311
|
+ $rootScope.jry_shixian();
|
|
5312
|
+ }
|
|
5313
|
+ $modalInstance.dismiss("cancel");
|
|
5314
|
+ };
|
|
5315
|
+ },
|
|
5316
|
+ size:'lg',
|
|
5317
|
+ resolve: {
|
|
5318
|
+ SweetAlert: function () {
|
|
5319
|
+ return SweetAlert;
|
|
5320
|
+ },
|
|
5321
|
+ scope: function(){
|
|
5322
|
+ return $scope;
|
|
5323
|
+ }
|
|
5324
|
+ },
|
|
5325
|
+ });
|
|
5326
|
+ }
|
4877
|
5327
|
// 处理顶部责任科室数据
|
4878
|
5328
|
$scope.handlerDuty = function(){
|
4879
|
5329
|
if(!$scope.categorySelect){
|