fix(测试计划): 定时任务开关提醒优化
This commit is contained in:
parent
1875638720
commit
1d6b6c0511
|
@ -1 +1 @@
|
||||||
Subproject commit bd451607ee198520f89faeebab38dd0c75e7b397
|
Subproject commit 17293a0e1faed0922a3914d1f021e947d1da3353
|
|
@ -628,7 +628,12 @@ export default {
|
||||||
cancelButtonText: this.$t('commons.cancel'),
|
cancelButtonText: this.$t('commons.cancel'),
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
this.result = this.$post('/test/plan/schedule/updateEnableByPrimyKey', param, response => {
|
this.result = this.$post('/test/plan/schedule/updateEnableByPrimyKey', param, () => {
|
||||||
|
if (row.scheduleOpen) {
|
||||||
|
row.scheduleStatus = 'OPEN'
|
||||||
|
} else {
|
||||||
|
row.scheduleStatus = 'SHUT'
|
||||||
|
}
|
||||||
this.$success(this.$t('commons.save_success'));
|
this.$success(this.$t('commons.save_success'));
|
||||||
});
|
});
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 54dfbe2f9dfa3ffe6042737f5cbb1768085f7143
|
Subproject commit 9b8007988010508ea145e42ab3e088968e3003ea
|
|
@ -118,16 +118,16 @@ export let CUSTOM_TABLE_HEADER = {
|
||||||
{id: 'plannedStartTime', key: '7', label: 'test_track.plan.planned_start_time'},
|
{id: 'plannedStartTime', key: '7', label: 'test_track.plan.planned_start_time'},
|
||||||
{id: 'plannedEndTime', key: '8', label: 'test_track.plan.planned_end_time'},
|
{id: 'plannedEndTime', key: '8', label: 'test_track.plan.planned_end_time'},
|
||||||
{id: 'actualStartTime', key: '9', label: 'test_track.plan.actual_start_time'},
|
{id: 'actualStartTime', key: '9', label: 'test_track.plan.actual_start_time'},
|
||||||
{id: 'actualEndTime', key: '10', label: 'test_track.plan.actual_end_time'},
|
{id: 'actualEndTime', key: 'a', label: 'test_track.plan.actual_end_time'},
|
||||||
{id: 'tags', key: 'a', label: 'commons.tag'},
|
{id: 'tags', key: 'b', label: 'commons.tag'},
|
||||||
{id: 'scheduleStatus', key: 'b', label: 'commons.trigger_mode.schedule'},
|
{id: 'scheduleStatus', key: 'c', label: 'commons.trigger_mode.schedule'},
|
||||||
{id: 'executionTimes', key: 'c', label: 'commons.execution_times'},
|
{id: 'executionTimes', key: 'd', label: 'commons.execution_times'},
|
||||||
{id: 'passRate', key: 'd', label: 'commons.pass_rate'},
|
{id: 'passRate', key: 'e', label: 'commons.pass_rate'},
|
||||||
{id: 'createUser', key: 'e', label: 'commons.create_user'},
|
{id: 'createUser', key: 'f', label: 'commons.create_user'},
|
||||||
{id: 'testPlanTestCaseCount', key: 'f', label: 'test_track.plan.test_plan_test_case_count'},
|
{id: 'testPlanTestCaseCount', key: 'g', label: 'test_track.plan.test_plan_test_case_count'},
|
||||||
{id: 'testPlanApiCaseCount', key: 'g', label: 'test_track.plan.test_plan_api_case_count'},
|
{id: 'testPlanApiCaseCount', key: 'h', label: 'test_track.plan.test_plan_api_case_count'},
|
||||||
{id: 'testPlanApiScenarioCount', key: 'h', label: 'test_track.plan.test_plan_api_scenario_count'},
|
{id: 'testPlanApiScenarioCount', key: 'i', label: 'test_track.plan.test_plan_api_scenario_count'},
|
||||||
{id: 'testPlanLoadCaseCount', key: 'i', label: 'test_track.plan.test_plan_load_case_count'}
|
{id: 'testPlanLoadCaseCount', key: 'j', label: 'test_track.plan.test_plan_load_case_count'}
|
||||||
],
|
],
|
||||||
//测试计划-功能用例
|
//测试计划-功能用例
|
||||||
TEST_PLAN_FUNCTION_TEST_CASE: [
|
TEST_PLAN_FUNCTION_TEST_CASE: [
|
||||||
|
@ -177,7 +177,7 @@ export let CUSTOM_TABLE_HEADER = {
|
||||||
{id: 'versionId', key: 'd', label: 'commons.version'},
|
{id: 'versionId', key: 'd', label: 'commons.version'},
|
||||||
{id: 'level', key: '3', label: 'api_test.automation.case_level'},
|
{id: 'level', key: '3', label: 'api_test.automation.case_level'},
|
||||||
{id: 'tagNames', key: '4', label: 'api_test.automation.tag'},
|
{id: 'tagNames', key: '4', label: 'api_test.automation.tag'},
|
||||||
{id: 'stepTotal', key: '7', label: 'api_test.automation.step'},
|
{id: 'stepTotal', key: '7', label: 'api_test.automation.step'},
|
||||||
{id: 'envs', key: '8', label: 'commons.environment'},
|
{id: 'envs', key: '8', label: 'commons.environment'},
|
||||||
{id: 'passRate', key: '9', label: 'api_test.automation.passing_rate'},
|
{id: 'passRate', key: '9', label: 'api_test.automation.passing_rate'},
|
||||||
{id: 'maintainer', key: 'a', label: 'api_test.definition.request.responsible'},
|
{id: 'maintainer', key: 'a', label: 'api_test.definition.request.responsible'},
|
||||||
|
|
Loading…
Reference in New Issue