From 87123359573ba29468cb98c5f6cdee14634f3062 Mon Sep 17 00:00:00 2001 From: "Captain.B" Date: Sat, 18 Sep 2021 18:12:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20--bug=3D1006003=20--user=3D=E5=88=98?= =?UTF-8?q?=E7=91=9E=E6=96=8C=20=E3=80=90=E7=B3=BB=E7=BB=9F=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE-=E6=B6=88=E6=81=AF=E8=AE=BE=E7=BD=AE=E3=80=91?= =?UTF-8?q?=E7=AB=99=E5=86=85=E9=80=9A=E7=9F=A5=E6=96=B9=E5=BC=8Fwebhook?= =?UTF-8?q?=E5=8F=AF=E8=BE=93=E5=85=A5=EF=BC=8C=E5=BB=BA=E8=AE=AE=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E4=B8=8E=E9=82=AE=E7=AE=B1=E6=96=B9=E5=BC=8F?= =?UTF-8?q?=E4=B8=80=E8=87=B4=EF=BC=88=E9=82=AE=E7=AE=B1=E6=AD=A4=E5=A4=84?= =?UTF-8?q?=E4=B8=8D=E5=8F=AF=E9=80=89=E4=B8=AD=EF=BC=89=20https://www.tap?= =?UTF-8?q?d.cn/55049933/s/1048643?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../organization/components/api/ApiAutomationNotification.vue | 4 ++-- .../organization/components/api/ApiDefinitionNotification.vue | 4 ++-- .../organization/components/api/ApiHomeNotification.vue | 4 ++-- .../organization/components/api/ApiReportNotification.vue | 4 ++-- .../organization/components/jenkins/JenkinsNotification.vue | 4 ++-- .../components/performance/PerformanceReportNotification.vue | 4 ++-- .../components/performance/PerformanceTestNotification.vue | 4 ++-- .../organization/components/track/DefectTaskNotification.vue | 4 ++-- .../organization/components/track/TestCaseNotification.vue | 4 ++-- .../components/track/TestPlanTaskNotification.vue | 4 ++-- .../organization/components/track/TestReviewNotification.vue | 4 ++-- .../organization/components/track/TrackHomeNotification.vue | 4 ++-- .../organization/components/track/TrackReportNotification.vue | 4 ++-- 13 files changed, 26 insertions(+), 26 deletions(-) diff --git a/frontend/src/business/components/settings/organization/components/api/ApiAutomationNotification.vue b/frontend/src/business/components/settings/organization/components/api/ApiAutomationNotification.vue index 4708b6448f..4a49656407 100644 --- a/frontend/src/business/components/settings/organization/components/api/ApiAutomationNotification.vue +++ b/frontend/src/business/components/settings/organization/components/api/ApiAutomationNotification.vue @@ -213,14 +213,14 @@ export default { }, handleEdit(index, data) { data.isReadOnly = true; - if (data.type === 'EMAIL') { + if (data.type === 'EMAIL' || data.type === 'IN_SITE') { data.isReadOnly = !data.isReadOnly; data.webhook = ''; } }, handleEditTask(index, data) { data.isSet = true; - if (data.type === 'EMAIL') { + if (data.type === 'EMAIL' || data.type === 'IN_SITE') { data.isReadOnly = false; data.webhook = ''; } else { diff --git a/frontend/src/business/components/settings/organization/components/api/ApiDefinitionNotification.vue b/frontend/src/business/components/settings/organization/components/api/ApiDefinitionNotification.vue index 3b77318158..76ac94c389 100644 --- a/frontend/src/business/components/settings/organization/components/api/ApiDefinitionNotification.vue +++ b/frontend/src/business/components/settings/organization/components/api/ApiDefinitionNotification.vue @@ -216,14 +216,14 @@ export default { }, handleEdit(index, data) { data.isReadOnly = true; - if (data.type === 'EMAIL') { + if (data.type === 'EMAIL' || data.type === 'IN_SITE') { data.isReadOnly = !data.isReadOnly; data.webhook = ''; } }, handleEditTask(index, data) { data.isSet = true; - if (data.type === 'EMAIL') { + if (data.type === 'EMAIL' || data.type === 'IN_SITE') { data.isReadOnly = false; data.webhook = ''; } else { diff --git a/frontend/src/business/components/settings/organization/components/api/ApiHomeNotification.vue b/frontend/src/business/components/settings/organization/components/api/ApiHomeNotification.vue index 3dc4ffb9d2..da49d238ad 100644 --- a/frontend/src/business/components/settings/organization/components/api/ApiHomeNotification.vue +++ b/frontend/src/business/components/settings/organization/components/api/ApiHomeNotification.vue @@ -212,7 +212,7 @@ export default { }, handleEdit(index, data) { data.isReadOnly = true; - if (data.type === 'EMAIL') { + if (data.type === 'EMAIL' || data.type === 'IN_SITE') { data.isReadOnly = !data.isReadOnly; data.webhook = ''; } @@ -220,7 +220,7 @@ export default { handleEditTask(index, data) { data.isSet = true; - if (data.type === 'EMAIL') { + if (data.type === 'EMAIL' || data.type === 'IN_SITE') { data.isReadOnly = false; data.webhook = ''; } else { diff --git a/frontend/src/business/components/settings/organization/components/api/ApiReportNotification.vue b/frontend/src/business/components/settings/organization/components/api/ApiReportNotification.vue index ad7d0b43f4..5723464228 100644 --- a/frontend/src/business/components/settings/organization/components/api/ApiReportNotification.vue +++ b/frontend/src/business/components/settings/organization/components/api/ApiReportNotification.vue @@ -209,14 +209,14 @@ export default { }, handleEdit(index, data) { data.isReadOnly = true; - if (data.type === 'EMAIL') { + if (data.type === 'EMAIL' || data.type === 'IN_SITE') { data.isReadOnly = !data.isReadOnly; data.webhook = ''; } }, handleEditTask(index, data) { data.isSet = true; - if (data.type === 'EMAIL') { + if (data.type === 'EMAIL' || data.type === 'IN_SITE') { data.isReadOnly = false; data.webhook = ''; } else { diff --git a/frontend/src/business/components/settings/organization/components/jenkins/JenkinsNotification.vue b/frontend/src/business/components/settings/organization/components/jenkins/JenkinsNotification.vue index 2368d4f405..36b8d1c353 100644 --- a/frontend/src/business/components/settings/organization/components/jenkins/JenkinsNotification.vue +++ b/frontend/src/business/components/settings/organization/components/jenkins/JenkinsNotification.vue @@ -234,7 +234,7 @@ export default { }, handleEdit(index, data) { data.isReadOnly = true; - if (data.type === 'EMAIL') { + if (data.type === 'EMAIL' || data.type === 'IN_SITE') { data.isReadOnly = !data.isReadOnly; data.webhook = ''; } @@ -268,7 +268,7 @@ export default { }, handleEditTask(index, data) { data.isSet = true; - if (data.type === 'EMAIL') { + if (data.type === 'EMAIL' || data.type === 'IN_SITE') { data.isReadOnly = false; data.webhook = ''; } else { diff --git a/frontend/src/business/components/settings/organization/components/performance/PerformanceReportNotification.vue b/frontend/src/business/components/settings/organization/components/performance/PerformanceReportNotification.vue index c097586fc3..f3d2075a52 100644 --- a/frontend/src/business/components/settings/organization/components/performance/PerformanceReportNotification.vue +++ b/frontend/src/business/components/settings/organization/components/performance/PerformanceReportNotification.vue @@ -209,14 +209,14 @@ export default { }, handleEdit(index, data) { data.isReadOnly = true; - if (data.type === 'EMAIL') { + if (data.type === 'EMAIL' || data.type === 'IN_SITE') { data.isReadOnly = !data.isReadOnly; data.webhook = ''; } }, handleEditTask(index, data) { data.isSet = true; - if (data.type === 'EMAIL') { + if (data.type === 'EMAIL' || data.type === 'IN_SITE') { data.isReadOnly = false; data.webhook = ''; } else { diff --git a/frontend/src/business/components/settings/organization/components/performance/PerformanceTestNotification.vue b/frontend/src/business/components/settings/organization/components/performance/PerformanceTestNotification.vue index ae2708ddc6..0a5cbdca7a 100644 --- a/frontend/src/business/components/settings/organization/components/performance/PerformanceTestNotification.vue +++ b/frontend/src/business/components/settings/organization/components/performance/PerformanceTestNotification.vue @@ -212,14 +212,14 @@ export default { }, handleEdit(index, data) { data.isReadOnly = true; - if (data.type === 'EMAIL') { + if (data.type === 'EMAIL' || data.type === 'IN_SITE') { data.isReadOnly = !data.isReadOnly; data.webhook = ''; } }, handleEditTask(index, data) { data.isSet = true; - if (data.type === 'EMAIL') { + if (data.type === 'EMAIL' || data.type === 'IN_SITE') { data.isReadOnly = false; data.webhook = ''; } else { diff --git a/frontend/src/business/components/settings/organization/components/track/DefectTaskNotification.vue b/frontend/src/business/components/settings/organization/components/track/DefectTaskNotification.vue index 7ac4b123b6..2a06d16450 100644 --- a/frontend/src/business/components/settings/organization/components/track/DefectTaskNotification.vue +++ b/frontend/src/business/components/settings/organization/components/track/DefectTaskNotification.vue @@ -211,14 +211,14 @@ export default { }, handleEdit(index, data) { data.isReadOnly = true; - if (data.type === 'EMAIL') { + if (data.type === 'EMAIL' || data.type === 'IN_SITE') { data.isReadOnly = !data.isReadOnly; data.webhook = ''; } }, handleEditTask(index, data) { data.isSet = true; - if (data.type === 'EMAIL') { + if (data.type === 'EMAIL' || data.type === 'IN_SITE') { data.isReadOnly = false; data.webhook = ''; } else { diff --git a/frontend/src/business/components/settings/organization/components/track/TestCaseNotification.vue b/frontend/src/business/components/settings/organization/components/track/TestCaseNotification.vue index 95518e4cfa..ad2f30e41d 100644 --- a/frontend/src/business/components/settings/organization/components/track/TestCaseNotification.vue +++ b/frontend/src/business/components/settings/organization/components/track/TestCaseNotification.vue @@ -212,14 +212,14 @@ export default { }, handleEdit(index, data) { data.isReadOnly = true; - if (data.type === 'EMAIL') { + if (data.type === 'EMAIL' || data.type === 'IN_SITE') { data.isReadOnly = !data.isReadOnly; data.webhook = ''; } }, handleEditTask(index, data) { data.isSet = true; - if (data.type === 'EMAIL') { + if (data.type === 'EMAIL' || data.type === 'IN_SITE') { data.isReadOnly = false; data.webhook = ''; } else { diff --git a/frontend/src/business/components/settings/organization/components/track/TestPlanTaskNotification.vue b/frontend/src/business/components/settings/organization/components/track/TestPlanTaskNotification.vue index b3f025c730..0c749f8b88 100644 --- a/frontend/src/business/components/settings/organization/components/track/TestPlanTaskNotification.vue +++ b/frontend/src/business/components/settings/organization/components/track/TestPlanTaskNotification.vue @@ -221,14 +221,14 @@ export default { }, handleEdit(index, data) { data.isReadOnly = true; - if (data.type === 'EMAIL') { + if (data.type === 'EMAIL' || data.type === 'IN_SITE') { data.isReadOnly = !data.isReadOnly; data.webhook = ''; } }, handleEditTask(index, data) { data.isSet = true; - if (data.type === 'EMAIL') { + if (data.type === 'EMAIL' || data.type === 'IN_SITE') { data.isReadOnly = false; data.webhook = ''; } else { diff --git a/frontend/src/business/components/settings/organization/components/track/TestReviewNotification.vue b/frontend/src/business/components/settings/organization/components/track/TestReviewNotification.vue index 73c7e9d293..da9427346a 100644 --- a/frontend/src/business/components/settings/organization/components/track/TestReviewNotification.vue +++ b/frontend/src/business/components/settings/organization/components/track/TestReviewNotification.vue @@ -219,14 +219,14 @@ export default { }, handleEdit(index, data) { data.isReadOnly = true; - if (data.type === 'EMAIL') { + if (data.type === 'EMAIL' || data.type === 'IN_SITE') { data.isReadOnly = !data.isReadOnly; data.webhook = ''; } }, handleEditTask(index, data) { data.isSet = true; - if (data.type === 'EMAIL') { + if (data.type === 'EMAIL' || data.type === 'IN_SITE') { data.isReadOnly = false; data.webhook = ''; } else { diff --git a/frontend/src/business/components/settings/organization/components/track/TrackHomeNotification.vue b/frontend/src/business/components/settings/organization/components/track/TrackHomeNotification.vue index de7ac1f4a5..f55581c0e8 100644 --- a/frontend/src/business/components/settings/organization/components/track/TrackHomeNotification.vue +++ b/frontend/src/business/components/settings/organization/components/track/TrackHomeNotification.vue @@ -212,7 +212,7 @@ export default { }, handleEdit(index, data) { data.isReadOnly = true; - if (data.type === 'EMAIL') { + if (data.type === 'EMAIL' || data.type === 'IN_SITE') { data.isReadOnly = !data.isReadOnly; data.webhook = ''; } @@ -220,7 +220,7 @@ export default { handleEditTask(index, data) { data.isSet = true; - if (data.type === 'EMAIL') { + if (data.type === 'EMAIL' || data.type === 'IN_SITE') { data.isReadOnly = false; data.webhook = ''; } else { diff --git a/frontend/src/business/components/settings/organization/components/track/TrackReportNotification.vue b/frontend/src/business/components/settings/organization/components/track/TrackReportNotification.vue index ec504d0048..e16c38eff1 100644 --- a/frontend/src/business/components/settings/organization/components/track/TrackReportNotification.vue +++ b/frontend/src/business/components/settings/organization/components/track/TrackReportNotification.vue @@ -210,14 +210,14 @@ export default { }, handleEdit(index, data) { data.isReadOnly = true; - if (data.type === 'EMAIL') { + if (data.type === 'EMAIL' || data.type === 'IN_SITE') { data.isReadOnly = !data.isReadOnly; data.webhook = ''; } }, handleEditTask(index, data) { data.isSet = true; - if (data.type === 'EMAIL') { + if (data.type === 'EMAIL' || data.type === 'IN_SITE') { data.isReadOnly = false; data.webhook = ''; } else {