From 6c74486f57e3e304fe26bffd7904607f0cdebfa9 Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Thu, 28 Jan 2021 10:31:21 +0800 Subject: [PATCH 1/7] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E5=AE=9A=E4=B9=89):?= =?UTF-8?q?=20=E8=8E=B7=E5=8F=96=E7=84=A6=E7=82=B9=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/automation/scenario/variable/EditConstant.vue | 6 ------ 1 file changed, 6 deletions(-) diff --git a/frontend/src/business/components/api/automation/scenario/variable/EditConstant.vue b/frontend/src/business/components/api/automation/scenario/variable/EditConstant.vue index eb4165ff1a..23f3a945db 100644 --- a/frontend/src/business/components/api/automation/scenario/variable/EditConstant.vue +++ b/frontend/src/business/components/api/automation/scenario/variable/EditConstant.vue @@ -30,12 +30,6 @@ this.$refs.nameInput.focus(); }); }, - watch: { - editData() { - this.$refs.nameInput.focus(); - } - } - } From 87d9a046ae0e7a352deb17c4a0626c2696037117 Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Thu, 28 Jan 2021 10:40:58 +0800 Subject: [PATCH 2/7] =?UTF-8?q?style(=E6=8E=A5=E5=8F=A3=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=8C=96):=20=E4=BF=AE=E5=A4=8D=E6=8F=90=E5=8F=96=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E6=98=BE=E7=A4=BA=E4=B8=8D=E5=85=A8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/request/http/ApiHttpRequestForm.vue | 3 +-- .../api/definition/components/response/ResponseResult.vue | 8 ++++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/frontend/src/business/components/api/definition/components/request/http/ApiHttpRequestForm.vue b/frontend/src/business/components/api/definition/components/request/http/ApiHttpRequestForm.vue index 921ba00734..8f048b6b23 100644 --- a/frontend/src/business/components/api/definition/components/request/http/ApiHttpRequestForm.vue +++ b/frontend/src/business/components/api/definition/components/request/http/ApiHttpRequestForm.vue @@ -86,10 +86,9 @@ import ApiRequestMethodSelect from "../../collapse/ApiRequestMethodSelect"; import {REQUEST_HEADERS} from "@/common/js/constants"; import MsApiVariable from "../../ApiVariable"; - import {createComponent} from "../../jmeter/components"; import MsApiAssertions from "../../assertion/ApiAssertions"; import MsApiExtract from "../../extract/ApiExtract"; - import {Assertions, Body, Extract, KeyValue} from "../../../model/ApiTestModel"; + import {Body, KeyValue} from "../../../model/ApiTestModel"; import {getUUID} from "@/common/js/utils"; import BatchAddParameter from "../../basis/BatchAddParameter"; import MsApiAdvancedConfig from "./ApiAdvancedConfig"; diff --git a/frontend/src/business/components/api/definition/components/response/ResponseResult.vue b/frontend/src/business/components/api/definition/components/response/ResponseResult.vue index 16e7b73164..39e6c7fb40 100644 --- a/frontend/src/business/components/api/definition/components/response/ResponseResult.vue +++ b/frontend/src/business/components/api/definition/components/response/ResponseResult.vue @@ -8,7 +8,9 @@ -
{{ response.responseResult.headers }}
+
+
{{ response.responseResult.headers }}
+
@@ -25,7 +27,9 @@ -
{{response.responseResult.vars}}
+
+
{{response.responseResult.vars}}
+
From 012b5d64a7614cbf374f90d5c7a74ab89eaa9096 Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Thu, 28 Jan 2021 10:46:08 +0800 Subject: [PATCH 3/7] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92):?= =?UTF-8?q?=20=E5=9C=BA=E6=99=AF=E7=94=A8=E4=BE=8B=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E6=A0=87=E7=AD=BE=E3=80=81ID=EF=BC=8C=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../base/mapper/ext/ExtTestPlanScenarioCaseMapper.xml | 6 ++++-- .../plan/view/comonents/api/TestPlanApiScenarioList.vue | 8 +++++++- .../view/comonents/api/TestPlanScenarioListHeader.vue | 2 +- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanScenarioCaseMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanScenarioCaseMapper.xml index 508197b62d..4800d42428 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanScenarioCaseMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanScenarioCaseMapper.xml @@ -19,7 +19,7 @@ select t.id, t.environment_id, t.create_time, t.update_time, t.last_result, t.pass_rate, t.report_id, c.id as case_id, c.project_id, c.user_id,c.api_scenario_module_id, c.module_path, c.name, c.level, - c.status, c.principal, c.step_total, c.follow_people, c.schedule, c.description, + c.status, c.principal, c.step_total, c.follow_people, c.schedule, c.description, c.tags, c.num, p.name as project_name, p.id as project_id, u.name as user_name from test_plan_api_scenario t @@ -44,7 +44,9 @@ - and c.name like CONCAT('%', #{request.name},'%') + and (c.name like CONCAT('%', #{request.name},'%') + or c.num like CONCAT('%', #{request.name},'%') + or c.tags like CONCAT('%', #{request.name},'%')) and t.last_result like CONCAT('%', #{request.status},'%') diff --git a/frontend/src/business/components/track/plan/view/comonents/api/TestPlanApiScenarioList.vue b/frontend/src/business/components/track/plan/view/comonents/api/TestPlanApiScenarioList.vue index bd2789f4b1..fd3fbac396 100644 --- a/frontend/src/business/components/track/plan/view/comonents/api/TestPlanApiScenarioList.vue +++ b/frontend/src/business/components/track/plan/view/comonents/api/TestPlanApiScenarioList.vue @@ -15,6 +15,7 @@ + @@ -159,6 +160,11 @@ let data = response.data; this.total = data.itemCount; this.tableData = data.listObject; + this.tableData.forEach(item => { + if (item.tags && item.tags.length > 0) { + item.tags = JSON.parse(item.tags); + } + }); this.loading = false; }); }, diff --git a/frontend/src/business/components/track/plan/view/comonents/api/TestPlanScenarioListHeader.vue b/frontend/src/business/components/track/plan/view/comonents/api/TestPlanScenarioListHeader.vue index e0433b30cf..a1d6b87f53 100644 --- a/frontend/src/business/components/track/plan/view/comonents/api/TestPlanScenarioListHeader.vue +++ b/frontend/src/business/components/track/plan/view/comonents/api/TestPlanScenarioListHeader.vue @@ -3,7 +3,7 @@ :condition="condition" @search="$emit('refresh')" :show-create="false" - :tip="$t('commons.search_by_name_or_id')"> + :tip="$t('commons.search_by_id_name_tag')"> From 5eec3db477bba3f72fd6ff0fa47656a0909cb99e Mon Sep 17 00:00:00 2001 From: "song.tianyang" Date: Thu, 28 Jan 2021 11:13:52 +0800 Subject: [PATCH 4/7] =?UTF-8?q?fix:=20=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA?= =?UTF-8?q?-=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B-=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E6=89=80=E6=9C=89=E6=95=B0=E6=8D=AE=E6=89=B9=E9=87=8F=E7=BC=96?= =?UTF-8?q?=E8=BE=91-=E9=9D=A2=E6=9D=BF=E5=8F=AA=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E5=BD=93=E5=89=8D=E9=A1=B5=E9=9D=A2=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复测试跟踪-测试用例-选择所有数据批量编辑-面板只显示当前页面数据的问题 --- .../table/MsTableHeaderSelectPopover.vue | 17 ----------------- .../track/case/components/BatchEdit.vue | 3 ++- .../track/case/components/TestCaseList.vue | 10 +++++++++- 3 files changed, 11 insertions(+), 19 deletions(-) diff --git a/frontend/src/business/components/common/components/table/MsTableHeaderSelectPopover.vue b/frontend/src/business/components/common/components/table/MsTableHeaderSelectPopover.vue index bca7760b96..f5ee7b6f64 100644 --- a/frontend/src/business/components/common/components/table/MsTableHeaderSelectPopover.vue +++ b/frontend/src/business/components/common/components/table/MsTableHeaderSelectPopover.vue @@ -15,23 +15,6 @@ props: ['total', 'pageSize'], data() { return { - gridData: [{ - date: '2016-05-02', - name: '王小虎', - address: '上海市普陀区金沙江路 1518 弄' - }, { - date: '2016-05-04', - name: '王小虎', - address: '上海市普陀区金沙江路 1518 弄' - }, { - date: '2016-05-01', - name: '王小虎', - address: '上海市普陀区金沙江路 1518 弄' - }, { - date: '2016-05-03', - name: '王小虎', - address: '上海市普陀区金沙江路 1518 弄' - }] }; } } diff --git a/frontend/src/business/components/track/case/components/BatchEdit.vue b/frontend/src/business/components/track/case/components/BatchEdit.vue index 9054126560..0fd6678255 100644 --- a/frontend/src/business/components/track/case/components/BatchEdit.vue +++ b/frontend/src/business/components/track/case/components/BatchEdit.vue @@ -81,7 +81,8 @@ if (size) { this.size = size; } else { - this.size = this.$parent.selectRows.size; + // this.size = this.$parent.selectRows.size; + this.size = this.$parent.selectDataCounts; } listenGoBack(this.handleClose); }, diff --git a/frontend/src/business/components/track/case/components/TestCaseList.vue b/frontend/src/business/components/track/case/components/TestCaseList.vue index 791dcb6ef2..f63ddc8a7d 100644 --- a/frontend/src/business/components/track/case/components/TestCaseList.vue +++ b/frontend/src/business/components/track/case/components/TestCaseList.vue @@ -46,7 +46,7 @@ Date: Thu, 28 Jan 2021 11:18:40 +0800 Subject: [PATCH 5/7] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E5=8F=91?= =?UTF-8?q?=E9=80=81=E9=82=AE=E4=BB=B6=E6=97=A5=E5=BF=97=EF=BC=8C=E7=A9=BA?= =?UTF-8?q?=E6=8C=87=E9=92=88=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/metersphere/api/jmeter/APIBackendListenerClient.java | 5 ----- .../io/metersphere/notice/sender/impl/MailNoticeSender.java | 4 ++++ 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/backend/src/main/java/io/metersphere/api/jmeter/APIBackendListenerClient.java b/backend/src/main/java/io/metersphere/api/jmeter/APIBackendListenerClient.java index ae9fbf35be..9fa6f503f5 100644 --- a/backend/src/main/java/io/metersphere/api/jmeter/APIBackendListenerClient.java +++ b/backend/src/main/java/io/metersphere/api/jmeter/APIBackendListenerClient.java @@ -227,12 +227,7 @@ public class APIBackendListenerClient extends AbstractBackendListenerClient impl LogUtil.error(e.getMessage(), e); } } - try { sendTask(report, reportUrl, testResult); - } catch (Exception e) { - LogUtil.error(e.getMessage(), e); - } - } private static void sendTask(ApiTestReport report, String reportUrl, TestResult testResult) { diff --git a/backend/src/main/java/io/metersphere/notice/sender/impl/MailNoticeSender.java b/backend/src/main/java/io/metersphere/notice/sender/impl/MailNoticeSender.java index dc61109f9b..d688e08b78 100644 --- a/backend/src/main/java/io/metersphere/notice/sender/impl/MailNoticeSender.java +++ b/backend/src/main/java/io/metersphere/notice/sender/impl/MailNoticeSender.java @@ -20,10 +20,13 @@ public class MailNoticeSender extends AbstractNoticeSender { private MailService mailService; private void sendMail(MessageDetail messageDetail, String context, NoticeModel noticeModel) throws MessagingException { + LogUtil.info("发送邮件开始 "); JavaMailSenderImpl javaMailSender = mailService.getMailSender(); MimeMessage mimeMessage = javaMailSender.createMimeMessage(); MimeMessageHelper helper = new MimeMessageHelper(mimeMessage, true); helper.setFrom(javaMailSender.getUsername()); + LogUtil.info("发件人地址"+javaMailSender.getUsername()); + LogUtil.info("helper"+helper); helper.setSubject("MeterSphere " + noticeModel.getSubject()); List emails = super.getUserEmails(messageDetail.getUserIds()); String[] users = emails.toArray(new String[0]); @@ -38,6 +41,7 @@ public class MailNoticeSender extends AbstractNoticeSender { String context = super.getHtmlContext(messageDetail, noticeModel); try { sendMail(messageDetail, context, noticeModel); + LogUtil.info("发送邮件结束"); } catch (Exception e) { LogUtil.error(e); } From 65501566d535df15bbdba0d03c6392982f012db4 Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Thu, 28 Jan 2021 11:54:32 +0800 Subject: [PATCH 6/7] =?UTF-8?q?style(=E6=8E=A5=E5=8F=A3=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=8C=96):=20=E4=BF=AE=E5=A4=8D=E5=BE=AA=E7=8E=AF=E7=BB=93?= =?UTF-8?q?=E6=9E=9C=E6=A0=B7=E5=BC=8F=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../automation/scenario/EditApiScenario.vue | 10 +++++--- .../scenario/common/ApiBaseComponent.vue | 25 +++++++++++++------ .../scenario/component/LoopController.vue | 25 ++++++++++++------- .../scenario/variable/EditConstant.vue | 5 ++++ 4 files changed, 44 insertions(+), 21 deletions(-) diff --git a/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue b/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue index 0c14e36851..79c5fd7ff5 100644 --- a/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue +++ b/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue @@ -286,8 +286,7 @@ }, response: {} } - } - , + }, created() { if (!this.currentScenario.apiScenarioModuleId) { this.currentScenario.apiScenarioModuleId = ""; @@ -857,6 +856,9 @@ if (this.currentScenario.tags != undefined && !(this.currentScenario.tags instanceof Array)) { this.currentScenario.tags = JSON.parse(this.currentScenario.tags); } + if (!this.currentScenario.variables) { + this.currentScenario.variables = []; + } if (this.currentScenario.id) { this.result = this.$get("/api/automation/getApiScenario/" + this.currentScenario.id, response => { if (response.data) { @@ -1044,7 +1046,7 @@ .ms-tree >>> .el-icon-caret-right:before { content: '\e723'; - font-size: 18px; + font-size: 20px; } .ms-tree >>> .el-tree-node__expand-icon.is-leaf { @@ -1058,6 +1060,6 @@ .ms-tree >>> .el-tree-node__expand-icon.expanded.el-icon-caret-right:before { color: #7C3985; content: "\e722"; - font-size: 18px; + font-size: 20px; } diff --git a/frontend/src/business/components/api/automation/scenario/common/ApiBaseComponent.vue b/frontend/src/business/components/api/automation/scenario/common/ApiBaseComponent.vue index 4b757583b1..11eba3314f 100644 --- a/frontend/src/business/components/api/automation/scenario/common/ApiBaseComponent.vue +++ b/frontend/src/business/components/api/automation/scenario/common/ApiBaseComponent.vue @@ -37,15 +37,17 @@ +
+ +
+
+ + +
+
+
+
- -
-
- - -
-
-
@@ -148,5 +150,12 @@ .enable-switch { margin-right: 10px; } + fieldset { + padding: 0px; + margin: 0px; + min-width: 100%; + min-inline-size: 0px; + border: 0px; + } diff --git a/frontend/src/business/components/api/automation/scenario/component/LoopController.vue b/frontend/src/business/components/api/automation/scenario/component/LoopController.vue index 254c664be6..427826eb6f 100644 --- a/frontend/src/business/components/api/automation/scenario/component/LoopController.vue +++ b/frontend/src/business/components/api/automation/scenario/component/LoopController.vue @@ -76,18 +76,20 @@ {{$t('loop.timeout')}} - + ms -

{{$t('api_test.definition.request.res_param')}}

- - -
- -
-
-
+
+ + +
+ +
+
+
+ +
@@ -331,6 +333,11 @@ margin: 20px 0; } + .ms-tabs >>> .el-icon-close:before { + content: ""; + + } + .icon.is-active { transform: rotate(90deg); } diff --git a/frontend/src/business/components/api/automation/scenario/variable/EditConstant.vue b/frontend/src/business/components/api/automation/scenario/variable/EditConstant.vue index 23f3a945db..81421a1bbc 100644 --- a/frontend/src/business/components/api/automation/scenario/variable/EditConstant.vue +++ b/frontend/src/business/components/api/automation/scenario/variable/EditConstant.vue @@ -30,6 +30,11 @@ this.$refs.nameInput.focus(); }); }, + watch: { + editData() { + this.$refs.nameInput.focus(); + } + } } From ec06a36bab7d45e654c243a6c380a762450fa3f1 Mon Sep 17 00:00:00 2001 From: "song.tianyang" Date: Thu, 28 Jan 2021 12:00:29 +0800 Subject: [PATCH 7/7] =?UTF-8?q?fix:=20=E4=B8=8D=E5=BA=94=E8=AF=A5=E8=B7=A8?= =?UTF-8?q?=E5=8D=8F=E8=AE=AE=E4=BF=AE=E6=94=B9=E8=AF=B7=E6=B1=82=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复跨协议修改请求类型的问题 --- .../definition/components/list/ApiCaseSimpleList.vue | 11 ++++++++++- .../api/definition/components/list/ApiList.vue | 12 ++++++++++-- .../components/api/definition/model/JsonData.js | 9 +++++++++ 3 files changed, 29 insertions(+), 3 deletions(-) diff --git a/frontend/src/business/components/api/definition/components/list/ApiCaseSimpleList.vue b/frontend/src/business/components/api/definition/components/list/ApiCaseSimpleList.vue index c03f81887b..6a4c72a57b 100644 --- a/frontend/src/business/components/api/definition/components/list/ApiCaseSimpleList.vue +++ b/frontend/src/business/components/api/definition/components/list/ApiCaseSimpleList.vue @@ -124,7 +124,7 @@ import MsContainer from "../../../../common/components/MsContainer"; import MsBottomContainer from "../BottomContainer"; import ShowMoreBtn from "../../../../track/case/components/ShowMoreBtn"; import MsBatchEdit from "../basis/BatchEdit"; -import {API_METHOD_COLOUR, CASE_PRIORITY, REQ_METHOD} from "../../model/JsonData"; +import {API_METHOD_COLOUR, CASE_PRIORITY, DUBBO_METHOD, REQ_METHOD, SQL_METHOD, TCP_METHOD} from "../../model/JsonData"; import {getBodyUploadFiles, getCurrentProjectID} from "@/common/js/utils"; import ApiListContainer from "./ApiListContainer"; @@ -409,6 +409,15 @@ export default { // } }, handleEditBatch() { + if(this.currentProtocol =='HTTP'){ + this.valueArr.method = REQ_METHOD; + }else if(this.currentProtocol =='TCP'){ + this.valueArr.method = TCP_METHOD; + }else if(this.currentProtocol =='SQL'){ + this.valueArr.method = SQL_METHOD; + }else if(this.currentProtocol =='DUBBO'){ + this.valueArr.method = DUBBO_METHOD; + } this.$refs.batchEdit.open(); }, batchEdit(form) { diff --git a/frontend/src/business/components/api/definition/components/list/ApiList.vue b/frontend/src/business/components/api/definition/components/list/ApiList.vue index 0688bfe066..a25d37e379 100644 --- a/frontend/src/business/components/api/definition/components/list/ApiList.vue +++ b/frontend/src/business/components/api/definition/components/list/ApiList.vue @@ -162,11 +162,10 @@ import MsBottomContainer from "../BottomContainer"; import ShowMoreBtn from "../../../../track/case/components/ShowMoreBtn"; import MsBatchEdit from "../basis/BatchEdit"; - import {API_METHOD_COLOUR, API_STATUS, REQ_METHOD} from "../../model/JsonData"; + import {API_METHOD_COLOUR, API_STATUS, REQ_METHOD,TCP_METHOD,SQL_METHOD,DUBBO_METHOD} from "../../model/JsonData"; import {_filter, _sort, getCurrentProjectID} from "@/common/js/utils"; import {WORKSPACE_ID} from '@/common/js/constants'; import ApiListContainer from "./ApiListContainer"; - // import MsTableSelectAll from "../../../../common/components/table/MsTableSelectAll"; import MsTableHeaderSelectPopover from "@/business/components/common/components/table/MsTableHeaderSelectPopover"; import ApiStatus from "@/business/components/api/definition/components/list/ApiStatus"; import MsTableAdvSearchBar from "@/business/components/common/components/search/MsTableAdvSearchBar"; @@ -513,6 +512,15 @@ } }, handleEditBatch() { + if(this.currentProtocol =='HTTP'){ + this.valueArr.method = REQ_METHOD; + }else if(this.currentProtocol =='TCP'){ + this.valueArr.method = TCP_METHOD; + }else if(this.currentProtocol =='SQL'){ + this.valueArr.method = SQL_METHOD; + }else if(this.currentProtocol =='DUBBO'){ + this.valueArr.method = DUBBO_METHOD; + } this.$refs.batchEdit.open(); }, batchEdit(form) { diff --git a/frontend/src/business/components/api/definition/model/JsonData.js b/frontend/src/business/components/api/definition/model/JsonData.js index 75fa446ac5..a5befa8363 100644 --- a/frontend/src/business/components/api/definition/model/JsonData.js +++ b/frontend/src/business/components/api/definition/model/JsonData.js @@ -44,6 +44,15 @@ export const REQ_METHOD = [ {id: 'HEAD', label: 'HEAD'}, {id: 'CONNECT', label: 'CONNECT'} ] +export const TCP_METHOD = [ + {id: 'TCP', label: 'TCP'} +] +export const SQL_METHOD = [ + {id: 'SQL', label: 'SQL'} +] +export const DUBBO_METHOD = [ + {id: 'dubbo://', label: 'dubbo://'}, +] export const CASE_PRIORITY = [ {id: 'P0', label: 'P0'},