Browse Source

事件来源修改为报修来源

seimin 5 months ago
parent
commit
016eeba3ab

+ 2 - 2
src/app/components/incidentManagement/incident-create/incident-create.component.html

@@ -178,8 +178,8 @@
178
                     </nz-select>
178
                     </nz-select>
179
                   </div>
179
                   </div>
180
                   <div class="col">
180
                   <div class="col">
181
-                    <span class="name">事件来源:</span>
182
-                    <nz-select class="w100" [(ngModel)]="incidentModel.source" nzAllowClear nzPlaceHolder="请选择事件来源">
181
+                    <span class="name">报修来源:</span>
182
+                    <nz-select class="w100" [(ngModel)]="incidentModel.source" nzAllowClear nzPlaceHolder="请选择报修来源">
183
                       <nz-option [nzValue]="item.id" [nzLabel]="item.name" *ngFor="let item of applicationSourceList"></nz-option>
183
                       <nz-option [nzValue]="item.id" [nzLabel]="item.name" *ngFor="let item of applicationSourceList"></nz-option>
184
                     </nz-select>
184
                     </nz-select>
185
                   </div>
185
                   </div>

+ 2 - 2
src/app/components/incidentManagement/incident-create/incident-create.component.ts

@@ -589,7 +589,7 @@ export class IncidentCreateComponent implements OnInit {
589
         this.isLoading = false;
589
         this.isLoading = false;
590
         if (data.status == 200) {
590
         if (data.status == 200) {
591
           this.applicationPriorityList = data.list;
591
           this.applicationPriorityList = data.list;
592
-          // 回显事件来源
592
+          // 回显报修来源
593
           let source = this.applicationSourceList.find(v => v.value === 'phone');
593
           let source = this.applicationSourceList.find(v => v.value === 'phone');
594
           if(!this.incidentModel.source && source){
594
           if(!this.incidentModel.source && source){
595
             this.incidentModel.source = source.id;
595
             this.incidentModel.source = source.id;
@@ -597,7 +597,7 @@ export class IncidentCreateComponent implements OnInit {
597
         }
597
         }
598
       });
598
       });
599
   }
599
   }
600
-  // 事件来源列表
600
+  // 报修来源列表
601
   applicationSourceList:any[] = [];
601
   applicationSourceList:any[] = [];
602
   searchApplicationSource(keyWord?) {
602
   searchApplicationSource(keyWord?) {
603
     this.mainService.getDictionary("list", "incident_source").subscribe((data) => {
603
     this.mainService.getDictionary("list", "incident_source").subscribe((data) => {

+ 2 - 2
src/app/views/fuwutai/fuwutai.component.html

@@ -1446,8 +1446,8 @@
1446
                       </nz-select>
1446
                       </nz-select>
1447
                     </div>
1447
                     </div>
1448
                     <div class="col">
1448
                     <div class="col">
1449
-                      <span class="name required">事件来源:</span>
1450
-                      <nz-select class="w100" [(ngModel)]="incidentModel.source" nzAllowClear nzPlaceHolder="请选择事件来源">
1449
+                      <span class="name required">报修来源:</span>
1450
+                      <nz-select class="w100" [(ngModel)]="incidentModel.source" nzAllowClear nzPlaceHolder="请选择报修来源">
1451
                         <nz-option [nzValue]="item.id" [nzLabel]="item.name" *ngFor="let item of applicationSourceList"></nz-option>
1451
                         <nz-option [nzValue]="item.id" [nzLabel]="item.name" *ngFor="let item of applicationSourceList"></nz-option>
1452
                       </nz-select>
1452
                       </nz-select>
1453
                     </div>
1453
                     </div>

+ 5 - 5
src/app/views/fuwutai/fuwutai.component.ts

@@ -3300,7 +3300,7 @@ export class FuwutaiComponent implements OnInit {
3300
         this.isLoading = false;
3300
         this.isLoading = false;
3301
         if (data.status == 200) {
3301
         if (data.status == 200) {
3302
           this.applicationPriorityList = data.list;
3302
           this.applicationPriorityList = data.list;
3303
-          // 回显事件来源
3303
+          // 回显报修来源
3304
           let source = this.applicationSourceList.find(v => v.value === 'phone');
3304
           let source = this.applicationSourceList.find(v => v.value === 'phone');
3305
           if(!this.incidentModel.source && source){
3305
           if(!this.incidentModel.source && source){
3306
             this.incidentModel.source = source.id;
3306
             this.incidentModel.source = source.id;
@@ -3308,7 +3308,7 @@ export class FuwutaiComponent implements OnInit {
3308
         }
3308
         }
3309
       });
3309
       });
3310
   }
3310
   }
3311
-  // 事件来源列表
3311
+  // 报修来源列表
3312
   applicationSourceList:any[] = [];
3312
   applicationSourceList:any[] = [];
3313
   searchApplicationSource(keyWord?) {
3313
   searchApplicationSource(keyWord?) {
3314
     this.mainService.getDictionary("list", "incident_source").subscribe((data) => {
3314
     this.mainService.getDictionary("list", "incident_source").subscribe((data) => {
@@ -3740,7 +3740,7 @@ export class FuwutaiComponent implements OnInit {
3740
     }
3740
     }
3741
 
3741
 
3742
 		if(!this.incidentModel.source){
3742
 		if(!this.incidentModel.source){
3743
-		  this.msg.warning('请选择事件来源!');
3743
+		  this.msg.warning('请选择报修来源!');
3744
 		  return;
3744
 		  return;
3745
 		}
3745
 		}
3746
 
3746
 
@@ -3796,7 +3796,7 @@ export class FuwutaiComponent implements OnInit {
3796
     }
3796
     }
3797
 
3797
 
3798
 		if(!this.incidentModel.source){
3798
 		if(!this.incidentModel.source){
3799
-		  this.msg.warning('请选择事件来源!');
3799
+		  this.msg.warning('请选择报修来源!');
3800
 		  return;
3800
 		  return;
3801
 		}
3801
 		}
3802
 
3802
 
@@ -3988,7 +3988,7 @@ export class FuwutaiComponent implements OnInit {
3988
     }
3988
     }
3989
 
3989
 
3990
 		if(!this.incidentModel.source){
3990
 		if(!this.incidentModel.source){
3991
-		  this.msg.warning('请选择事件来源!');
3991
+		  this.msg.warning('请选择报修来源!');
3992
 		  return;
3992
 		  return;
3993
 		}
3993
 		}
3994
 
3994
 

+ 1 - 1
src/app/views/incident-config/incident-config.component.ts

@@ -25,7 +25,7 @@ export class IncidentConfigComponent implements OnInit, AfterViewInit {
25
   // 数据字典
25
   // 数据字典
26
   dictionaryKeyList:any[] = [
26
   dictionaryKeyList:any[] = [
27
     { id: 1, name: '积分配置', key: "incident_category_score"},
27
     { id: 1, name: '积分配置', key: "incident_category_score"},
28
-    { id: 2, name: '事件来源', key: "incident_source"},
28
+    { id: 2, name: '报修来源', key: "incident_source"},
29
     { id: 3, name: '处理结果', key: "incident_closecode"},
29
     { id: 3, name: '处理结果', key: "incident_closecode"},
30
     { id: 4, name: '处理方式', key: "incident_handle_type"},
30
     { id: 4, name: '处理方式', key: "incident_handle_type"},
31
     { id: 5, name: '状态', key: "incident_status"},
31
     { id: 5, name: '状态', key: "incident_status"},