Showing
1 changed file
with
4 additions
and
1 deletions
| @@ -16,7 +16,7 @@ | @@ -16,7 +16,7 @@ | ||
| 16 | type="primary" | 16 | type="primary" |
| 17 | color="error" | 17 | color="error" |
| 18 | @click="handleDeleteOrBatchDelete(null)" | 18 | @click="handleDeleteOrBatchDelete(null)" |
| 19 | - :disabled="hasBatchDelete" | 19 | + :disabled="singleStopDeleteStatus || hasBatchDelete" |
| 20 | > | 20 | > |
| 21 | 批量删除 | 21 | 批量删除 |
| 22 | </a-button> | 22 | </a-button> |
| @@ -117,6 +117,7 @@ | @@ -117,6 +117,7 @@ | ||
| 117 | convertIds: [], | 117 | convertIds: [], |
| 118 | status: 0, | 118 | status: 0, |
| 119 | }); | 119 | }); |
| 120 | + const singleStopDeleteStatus = ref(false); | ||
| 120 | const disabledStatus1 = ref(true); | 121 | const disabledStatus1 = ref(true); |
| 121 | const disabledStatus2 = ref(true); | 122 | const disabledStatus2 = ref(true); |
| 122 | const disabledStatus3 = ref(true); | 123 | const disabledStatus3 = ref(true); |
| @@ -314,6 +315,7 @@ | @@ -314,6 +315,7 @@ | ||
| 314 | setLoading(false); | 315 | setLoading(false); |
| 315 | reload(); | 316 | reload(); |
| 316 | disabledStatus1.value = true; | 317 | disabledStatus1.value = true; |
| 318 | + singleStopDeleteStatus.value = true; | ||
| 317 | } else { | 319 | } else { |
| 318 | createMessage.error('流转配置多项启用失败'); | 320 | createMessage.error('流转配置多项启用失败'); |
| 319 | } | 321 | } |
| @@ -342,6 +344,7 @@ | @@ -342,6 +344,7 @@ | ||
| 342 | handleDisable, | 344 | handleDisable, |
| 343 | hasBatchDelete, | 345 | hasBatchDelete, |
| 344 | handleDeleteOrBatchDelete, | 346 | handleDeleteOrBatchDelete, |
| 347 | + singleStopDeleteStatus, | ||
| 345 | }; | 348 | }; |
| 346 | }, | 349 | }, |
| 347 | }); | 350 | }); |