fix: 修复部分变量问题
--bug=1008990 --user=刘瑞斌 【消息通知】变量显示问题汇总 https://www.tapd.cn/55049933/s/1089497
This commit is contained in:
parent
fc42ad0527
commit
c25a1b6cf3
|
@ -295,8 +295,14 @@ export default {
|
|||
value:'order',
|
||||
},
|
||||
{
|
||||
label:this.$t('api_test.environment.environment'),
|
||||
value:'environment',
|
||||
label: this.$t('api_test.environment.environment_type'),
|
||||
value: 'environmentType',
|
||||
}, {
|
||||
label: this.$t('api_test.environment.environment_json'),
|
||||
value: 'environmentJson',
|
||||
}, {
|
||||
label: this.$t('api_test.environment.environment_group_id'),
|
||||
value: 'environmentGroupId',
|
||||
},
|
||||
]
|
||||
};
|
||||
|
|
|
@ -179,120 +179,126 @@ export default {
|
|||
],
|
||||
variables: [
|
||||
{
|
||||
label:this.$t('group.operator'),
|
||||
value:'operator',
|
||||
label: this.$t('group.operator'),
|
||||
value: 'operator',
|
||||
},
|
||||
{
|
||||
label:'id',
|
||||
value:'id',
|
||||
label: 'id',
|
||||
value: 'id',
|
||||
},
|
||||
{
|
||||
label:this.$t('project.id'),
|
||||
value:'projectId',
|
||||
label: this.$t('project.id'),
|
||||
value: 'projectId',
|
||||
},
|
||||
{
|
||||
label:this.$t('commons.tag'),
|
||||
value:'tags',
|
||||
label: this.$t('commons.tag'),
|
||||
value: 'tags',
|
||||
},
|
||||
{
|
||||
label:this.$t('user.id'),
|
||||
value:'userId',
|
||||
label: this.$t('user.id'),
|
||||
value: 'userId',
|
||||
},
|
||||
{
|
||||
label:this.$t('api_test.scenario.module_id'),
|
||||
value:'apiScenarioModuleId',
|
||||
label: this.$t('api_test.scenario.module_id'),
|
||||
value: 'apiScenarioModuleId',
|
||||
},
|
||||
{
|
||||
label:this.$t('module.path'),
|
||||
value:'modulePath',
|
||||
label: this.$t('module.path'),
|
||||
value: 'modulePath',
|
||||
},
|
||||
{
|
||||
label:this.$t('commons.name'),
|
||||
value:'name',
|
||||
label: this.$t('commons.name'),
|
||||
value: 'name',
|
||||
},
|
||||
{
|
||||
label:this.$t('commons.level'),
|
||||
value:'level',
|
||||
label: this.$t('commons.level'),
|
||||
value: 'level',
|
||||
},
|
||||
{
|
||||
label:this.$t('commons.status'),
|
||||
value:'status',
|
||||
label: this.$t('commons.status'),
|
||||
value: 'status',
|
||||
},
|
||||
{
|
||||
label:this.$t('api_test.automation.scenario.principal'),
|
||||
value:'principal',
|
||||
label: this.$t('api_test.automation.scenario.principal'),
|
||||
value: 'principal',
|
||||
},
|
||||
{
|
||||
label:this.$t('api_test.automation.step_total'),
|
||||
value:'stepTotal',
|
||||
label: this.$t('api_test.automation.step_total'),
|
||||
value: 'stepTotal',
|
||||
},
|
||||
{
|
||||
label:this.$t('api_test.automation.schedule'),
|
||||
value:'schedule',
|
||||
label: this.$t('api_test.automation.schedule'),
|
||||
value: 'schedule',
|
||||
},
|
||||
{
|
||||
label:this.$t('commons.create_time'),
|
||||
value:'createTime',
|
||||
label: this.$t('commons.create_time'),
|
||||
value: 'createTime',
|
||||
},
|
||||
{
|
||||
label:this.$t('commons.update_time'),
|
||||
value:'updateTime',
|
||||
label: this.$t('commons.update_time'),
|
||||
value: 'updateTime',
|
||||
},
|
||||
{
|
||||
label:this.$t('test_track.pass_rate'),
|
||||
value:'passRate',
|
||||
label: this.$t('test_track.pass_rate'),
|
||||
value: 'passRate',
|
||||
},
|
||||
{
|
||||
label:this.$t('api_test.automation.last_result'),
|
||||
value:'lastResult',
|
||||
label: this.$t('api_test.automation.last_result'),
|
||||
value: 'lastResult',
|
||||
},
|
||||
{
|
||||
label:this.$t('report.id'),
|
||||
value:'reportId',
|
||||
label: this.$t('report.id'),
|
||||
value: 'reportId',
|
||||
},
|
||||
{
|
||||
label:this.$t('test_track.case.number'),
|
||||
value:'num',
|
||||
label: this.$t('test_track.case.number'),
|
||||
value: 'num',
|
||||
},
|
||||
{
|
||||
label:this.$t('commons.original_state'),
|
||||
value:'originalState',
|
||||
label: this.$t('commons.original_state'),
|
||||
value: 'originalState',
|
||||
},
|
||||
{
|
||||
label:this.$t('commons.custom_num'),
|
||||
value:'customNum',
|
||||
label: this.$t('commons.custom_num'),
|
||||
value: 'customNum',
|
||||
},
|
||||
{
|
||||
label:this.$t('commons.create_user'),
|
||||
value:'createUser',
|
||||
label: this.$t('commons.create_user'),
|
||||
value: 'createUser',
|
||||
},
|
||||
{
|
||||
label:this.$t('commons.version'),
|
||||
value:'version',
|
||||
label: this.$t('commons.version'),
|
||||
value: 'version',
|
||||
},
|
||||
{
|
||||
label:this.$t('commons.delete_time'),
|
||||
value:'deleteTime',
|
||||
label: this.$t('commons.delete_time'),
|
||||
value: 'deleteTime',
|
||||
},
|
||||
{
|
||||
label:this.$t('commons.delete_user_id'),
|
||||
value:'deleteUserId',
|
||||
label: this.$t('commons.delete_user_id'),
|
||||
value: 'deleteUserId',
|
||||
},
|
||||
{
|
||||
label:this.$t('test_track.plan.execute_time'),
|
||||
value:'executeTimes',
|
||||
label: this.$t('test_track.plan.execute_time'),
|
||||
value: 'executeTimes',
|
||||
},
|
||||
{
|
||||
label:this.$t('api_test.definition.document.order'),
|
||||
value:'order',
|
||||
label: this.$t('api_test.definition.document.order'),
|
||||
value: 'order',
|
||||
},
|
||||
{
|
||||
label:this.$t('api_test.environment.environment'),
|
||||
value:'environment',
|
||||
label: this.$t('api_test.environment.environment_type'),
|
||||
value: 'environmentType',
|
||||
}, {
|
||||
label: this.$t('api_test.environment.environment_json'),
|
||||
value: 'environmentJson',
|
||||
}, {
|
||||
label: this.$t('api_test.environment.environment_group_id'),
|
||||
value: 'environmentGroupId',
|
||||
},
|
||||
{
|
||||
label:this.$t('report.plan_share_url'),
|
||||
value:'planShareUrl',
|
||||
label: this.$t('report.plan_share_url'),
|
||||
value: 'planShareUrl',
|
||||
},
|
||||
]
|
||||
};
|
||||
|
|
|
@ -1335,6 +1335,9 @@ export default {
|
|||
config_environment: "Config Environment",
|
||||
copy_environment: "copy environment",
|
||||
environment: "Environment",
|
||||
environment_type: "Environment Type",
|
||||
environment_json: "Environment Config",
|
||||
environment_group_id: "Environment Group ID",
|
||||
select_environment: "Please select environment",
|
||||
please_save_test: "Please Save Test First",
|
||||
common_config: "Common Config",
|
||||
|
|
|
@ -1340,6 +1340,9 @@ export default {
|
|||
config_environment: "配置环境",
|
||||
copy_environment: "复制环境",
|
||||
environment: "环境",
|
||||
environment_type: "环境类型",
|
||||
environment_json: "环境配置",
|
||||
environment_group_id: "环境组ID",
|
||||
select_environment: "请选择环境",
|
||||
please_save_test: "请先保存测试",
|
||||
common_config: "通用配置",
|
||||
|
|
|
@ -1340,6 +1340,9 @@ export default {
|
|||
config_environment: "配置環境",
|
||||
copy_environment: "復製環境",
|
||||
environment: "環境",
|
||||
environment_type: "環境类型",
|
||||
environment_json: "環境配置",
|
||||
environment_group_id: "環境組ID",
|
||||
select_environment: "請選擇環境",
|
||||
please_save_test: "請先保存測試",
|
||||
common_config: "通用配置",
|
||||
|
|
Loading…
Reference in New Issue