fix: 修复部分变量问题
--bug=1008990 --user=刘瑞斌 【消息通知】变量显示问题汇总 https://www.tapd.cn/55049933/s/1089497
This commit is contained in:
parent
b5cc0dd4a7
commit
9dfded3197
|
@ -62,7 +62,7 @@
|
|||
</el-table-column>
|
||||
<el-table-column label="webhook" min-width="20%" prop="webhook">
|
||||
<template v-slot:default="scope">
|
||||
<el-input v-model="scope.row.webhook" size="mini"
|
||||
<el-input v-model="scope.row.webhook" size="mini"
|
||||
:disabled="!scope.row.isSet||!scope.row.isReadOnly"></el-input>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
@ -175,109 +175,65 @@ 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.name'),
|
||||
value:'name',
|
||||
label: this.$t('commons.name'),
|
||||
value: 'name',
|
||||
},
|
||||
{
|
||||
label:this.$t('api_test.request.method'),
|
||||
value:'method',
|
||||
label: this.$t('commons.create_time'),
|
||||
value: 'createTime',
|
||||
},
|
||||
{
|
||||
label:this.$t('api_test.request.dubbo.protocol'),
|
||||
value:'protocol',
|
||||
label: this.$t('commons.update_time'),
|
||||
value: 'updateTime',
|
||||
},
|
||||
{
|
||||
label:this.$t('api_test.request.path'),
|
||||
value:'path',
|
||||
label: this.$t('commons.status'),
|
||||
value: 'status',
|
||||
},
|
||||
{
|
||||
label:this.$t('module.path'),
|
||||
value:'modulePath',
|
||||
label: this.$t('user.id'),
|
||||
value: 'userId',
|
||||
},
|
||||
{
|
||||
label:this.$t('api_test.environment.id'),
|
||||
value:'environmentId',
|
||||
label: this.$t('commons.create_user'),
|
||||
value: 'createUser',
|
||||
},
|
||||
{
|
||||
label:this.$t('api_test.automation.schedule'),
|
||||
value:'schedule',
|
||||
label: this.$t('commons.trigger_mode.name'),
|
||||
value: 'triggerMode',
|
||||
},
|
||||
{
|
||||
label:this.$t('commons.status'),
|
||||
value:'status',
|
||||
label: this.$t('api_test.automation.scenario_name'),
|
||||
value: 'scenarioName',
|
||||
},
|
||||
{
|
||||
label:this.$t('test_track.module.id'),
|
||||
value:'moduleId',
|
||||
label: this.$t('api_test.scenario.id'),
|
||||
value: 'scenarioId',
|
||||
},
|
||||
{
|
||||
label:this.$t('user.id'),
|
||||
value:'userId',
|
||||
label: this.$t('commons.actuator'),
|
||||
value: 'actuator',
|
||||
},
|
||||
{
|
||||
label:this.$t('commons.create_time'),
|
||||
value:'createTime',
|
||||
label: this.$t('commons.description'),
|
||||
value: 'description',
|
||||
},
|
||||
{
|
||||
label:this.$t('commons.update_time'),
|
||||
value:'updateTime',
|
||||
},
|
||||
{
|
||||
label:this.$t('test_track.case.number'),
|
||||
value:'num',
|
||||
},
|
||||
{
|
||||
label:this.$t('commons.tag'),
|
||||
value:'tags',
|
||||
},
|
||||
{
|
||||
label:this.$t('commons.original_state'),
|
||||
value:'originalState',
|
||||
},
|
||||
{
|
||||
label:this.$t('commons.create_user'),
|
||||
value:'createUser',
|
||||
},
|
||||
{
|
||||
label:this.$t('test_track.case.total'),
|
||||
value:'caseTotal',
|
||||
},
|
||||
{
|
||||
label:this.$t('test_track.case.status'),
|
||||
value:'caseStatus',
|
||||
},
|
||||
{
|
||||
label:this.$t('test_track.case.passing_rate'),
|
||||
value:'casePassingRate',
|
||||
},
|
||||
{
|
||||
label:this.$t('commons.delete_time'),
|
||||
value:'deleteTime',
|
||||
},
|
||||
{
|
||||
label:this.$t('commons.delete_user_id'),
|
||||
value:'deleteUserId',
|
||||
},
|
||||
{
|
||||
label:this.$t('api_test.definition.document.order'),
|
||||
value:'order',
|
||||
},
|
||||
{
|
||||
label:this.$t('report.plan_share_url'),
|
||||
value:'planShareUrl',
|
||||
},
|
||||
label: this.$t('report.test_end_time'),
|
||||
value: 'endTime',
|
||||
}
|
||||
]
|
||||
};
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue