feat(sj_1.3.0-beta1): 优化告警定时任务
This commit is contained in:
		
							parent
							
								
									74b3460e14
								
							
						
					
					
						commit
						fb7042d86b
					
				@ -266,12 +266,8 @@ async function retrySceneChange(
 | 
				
			|||||||
    | null
 | 
					    | null
 | 
				
			||||||
) {
 | 
					) {
 | 
				
			||||||
  retrySceneDisable.value = !(model.systemTaskType === 1 && (value === 1 || value === 2 || value === 5 || value === 6));
 | 
					  retrySceneDisable.value = !(model.systemTaskType === 1 && (value === 1 || value === 2 || value === 5 || value === 6));
 | 
				
			||||||
  retryNotifyStatusDisable.value = retrySceneDisable.value;
 | 
					 | 
				
			||||||
  model.notifyStatus = retrySceneDisable.value ? 0 : 1;
 | 
					 | 
				
			||||||
  if (value === 7) {
 | 
					  if (value === 7) {
 | 
				
			||||||
    model.notifyThreshold = 0;
 | 
					    model.notifyThreshold = 0;
 | 
				
			||||||
    model.rateLimiterStatus = 1;
 | 
					 | 
				
			||||||
    retrySceneDisable.value = true;
 | 
					 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -331,7 +327,7 @@ watch(visible, () => {
 | 
				
			|||||||
      <NGrid cols="2 s:1 m:2" responsive="screen" x-gap="20">
 | 
					      <NGrid cols="2 s:1 m:2" responsive="screen" x-gap="20">
 | 
				
			||||||
        <NGi>
 | 
					        <NGi>
 | 
				
			||||||
          <NFormItem :label="$t('page.notifyConfig.notifyStatus')" path="notifyStatus">
 | 
					          <NFormItem :label="$t('page.notifyConfig.notifyStatus')" path="notifyStatus">
 | 
				
			||||||
            <NRadioGroup v-model:value="model.notifyStatus" name="notifyStatus" :disabled="retryNotifyStatusDisable">
 | 
					            <NRadioGroup v-model:value="model.notifyStatus" name="notifyStatus">
 | 
				
			||||||
              <NSpace>
 | 
					              <NSpace>
 | 
				
			||||||
                <NRadio
 | 
					                <NRadio
 | 
				
			||||||
                  v-for="item in enableStatusNumberOptions"
 | 
					                  v-for="item in enableStatusNumberOptions"
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user