fix(项目信息): 增加过滤ID

--bug=1008363 --user=郭雨琦 项目设置概览-编辑项目,没有 AzureDevops过滤ID
This commit is contained in:
guoyuqi 2021-12-02 16:30:19 +08:00 committed by xiaomeinvG
parent c56955e475
commit 901fef28f3
5 changed files with 10 additions and 3 deletions

View File

@ -47,6 +47,10 @@
<el-form-item :label-width="labelWidth" :label="$t('project.azureDevops_id')" v-if="azuredevops"> <el-form-item :label-width="labelWidth" :label="$t('project.azureDevops_id')" v-if="azuredevops">
<el-input v-model="form.azureDevopsId" autocomplete="off"></el-input> <el-input v-model="form.azureDevopsId" autocomplete="off"></el-input>
</el-form-item> </el-form-item>
<el-form-item :label-width="labelWidth" :label="$t('project.azureDevops_filter_id')" v-if="azuredevops">
<el-input v-model="form.azureFilterId" autocomplete="off"/>
<ms-instructions-icon content="非必填项,用例关联需求时,可以只筛选出,所填的 workItem 下的选项" effect="light"/>
</el-form-item>
<el-form-item :label-width="labelWidth" :label="$t('project.repeatable')" prop="repeatable"> <el-form-item :label-width="labelWidth" :label="$t('project.repeatable')" prop="repeatable">
<el-switch v-model="form.repeatable"></el-switch> <el-switch v-model="form.repeatable"></el-switch>
</el-form-item> </el-form-item>

View File

@ -142,17 +142,17 @@
<el-form-item :label-width="labelWidth" :label="$t('project.azureDevops_id')" v-if="azuredevops"> <el-form-item :label-width="labelWidth" :label="$t('project.azureDevops_id')" v-if="azuredevops">
<el-input v-model="form.azureDevopsId" autocomplete="off" ></el-input> <el-input v-model="form.azureDevopsId" autocomplete="off" ></el-input>
</el-form-item> </el-form-item>
<el-form-item :label-width="labelWidth" :label="'AzureDevops过滤ID'" v-if="azuredevops"> <el-form-item :label-width="labelWidth" :label="$t('project.azureDevops_filter_id')" v-if="azuredevops">
<el-input v-model="form.azureFilterId" autocomplete="off"/> <el-input v-model="form.azureFilterId" autocomplete="off"/>
<ms-instructions-icon content="非必填项,用例关联需求时,可以只筛选出,所填的 workItem 下的选项" effect="light"/> <ms-instructions-icon content="非必填项,用例关联需求时,可以只筛选出,所填的 workItem 下的选项" effect="light"/>
</el-form-item> </el-form-item>
<el-form-item :label-width="labelWidth" :label="$t('project.repeatable')" prop="repeatable"> <el-form-item :label-width="labelWidth" :label="$t('project.repeatable')" prop="repeatable">
<el-switch v-model="form.repeatable"></el-switch> <el-switch v-model="form.repeatable"></el-switch>
</el-form-item> </el-form-item>
<el-form-item :label-width="labelWidth" label="测试用例自定义ID" prop="customNum"> <el-form-item :label-width="labelWidth" :label="$t('project.test_case_custom_id')" prop="customNum">
<el-switch v-model="form.customNum"></el-switch> <el-switch v-model="form.customNum"></el-switch>
</el-form-item> </el-form-item>
<el-form-item :label-width="labelWidth" label="场景自定义ID" prop="scenarioCustomNum"> <el-form-item :label-width="labelWidth" :label="$t('project.scenario_custom_id')" prop="scenarioCustomNum">
<el-switch v-model="form.scenarioCustomNum"></el-switch> <el-switch v-model="form.scenarioCustomNum"></el-switch>
</el-form-item> </el-form-item>
</el-form> </el-form>

View File

@ -596,6 +596,7 @@ export default {
jira_key: 'JIRA Project key', jira_key: 'JIRA Project key',
zentao_id: 'Zentao Project ID', zentao_id: 'Zentao Project ID',
azureDevops_id: 'AzureDevops Project ID', azureDevops_id: 'AzureDevops Project ID',
azureDevops_filter_id: 'AzureDevops Filter ID',
azureDevops_info:'AzureDevops Information', azureDevops_info:'AzureDevops Information',
azureDevops_tip:'This information is the user token information for submitting defects through Azure Devops. If not filled in, the default information configured in the workspace will be used', azureDevops_tip:'This information is the user token information for submitting defects through Azure Devops. If not filled in, the default information configured in the workspace will be used',
manager: 'Manager', manager: 'Manager',

View File

@ -599,6 +599,7 @@ export default {
jira_key: 'JIRA项目key', jira_key: 'JIRA项目key',
zentao_id: 'Zentao项目ID', zentao_id: 'Zentao项目ID',
azureDevops_id: 'AzureDevops项目ID', azureDevops_id: 'AzureDevops项目ID',
azureDevops_filter_id: 'AzureDevops过滤ID',
azureDevops_info:'AzureDevops 信息', azureDevops_info:'AzureDevops 信息',
azureDevops_tip:'该信息为通过Azure Devops提交缺陷的用户令牌信息若未填写则使用工作空间中配置的默认信息', azureDevops_tip:'该信息为通过Azure Devops提交缺陷的用户令牌信息若未填写则使用工作空间中配置的默认信息',
manager: '项目管理', manager: '项目管理',

View File

@ -600,6 +600,7 @@ export default {
jira_key: 'JIRA項目key', jira_key: 'JIRA項目key',
zentao_id: 'Zentao項目ID', zentao_id: 'Zentao項目ID',
azureDevops_id: 'AzureDevops項目ID', azureDevops_id: 'AzureDevops項目ID',
azureDevops_filter_id: 'AzureDevops過濾ID',
azureDevops_info:'AzureDevops 信息', azureDevops_info:'AzureDevops 信息',
azureDevops_tip:'該信息為通過Azure Devops提交缺陷的用戶令牌信息若未填寫則使用工作空間中配置的默認信息', azureDevops_tip:'該信息為通過Azure Devops提交缺陷的用戶令牌信息若未填寫則使用工作空間中配置的默認信息',
manager: '項目管理', manager: '項目管理',