|
@@ -131,7 +131,7 @@ export class IncidentCreateComponent implements OnInit {
|
131
|
131
|
|
132
|
132
|
// 判断工单当前状态
|
133
|
133
|
compareStateValue(incidentData){
|
134
|
|
- if(incidentData.state.value !== 'pending' || incidentData.state.value !== 'handler' || incidentData.state.value !== 'reassign' || incidentData.state.value !== 'close'){
|
|
134
|
+ if(incidentData.state.value !== 'pending' && incidentData.state.value !== 'handler' && incidentData.state.value !== 'reassign' && incidentData.state.value !== 'close'){
|
135
|
135
|
this.msg.warning('工单状态异常!请刷新页面再重试');
|
136
|
136
|
this.newOrderCancel();
|
137
|
137
|
}
|