|
|
@ -10,8 +10,11 @@ |
|
|
|
|
|
|
|
|
<el-row> |
|
|
<el-row> |
|
|
|
|
|
|
|
|
<el-checkbox v-if="xmTestPlan && xmTestPlan.id" true-label="1" false-label="" v-model="filters.notJoinPlan">未加入{{xmTestPlan.name}}</el-checkbox> |
|
|
|
|
|
|
|
|
<el-checkbox v-if="xmTestPlan && xmTestPlan.id" true-label="1" false-label="" v-model="filters.notJoinPlan" :title="'查询未曾加入计划【'+xmTestPlan.name+'】的测试用例'"> 未加入 </el-checkbox> |
|
|
<el-input v-model="filters.key" style="width: 20%;" placeholder="模糊查询"></el-input> |
|
|
<el-input v-model="filters.key" style="width: 20%;" placeholder="模糊查询"></el-input> |
|
|
|
|
|
<mdp-select-dict label="状态" style="width:15%;" clearable placeholder="用例状态" :dict="dicts['testCaseStatus']" v-model="filters.caseStatus"></mdp-select-dict> |
|
|
|
|
|
<mdp-select-dict placeholder="测试方式" style="width:15%;" clearable :dict="dicts['testType']" v-model="filters.testType" effect="dark"></mdp-select-dict> |
|
|
|
|
|
|
|
|
<el-button v-loading="load.list" :disabled="load.list==true" @click="searchXmTestCases" icon="el-icon-search">查询</el-button> |
|
|
<el-button v-loading="load.list" :disabled="load.list==true" @click="searchXmTestCases" icon="el-icon-search">查询</el-button> |
|
|
<span style="float:right;"> |
|
|
<span style="float:right;"> |
|
|
|
|
|
|
|
|
@ -39,6 +42,12 @@ |
|
|
<mdp-select-dict-tag :dict="dicts['testCaseStatus']" v-model="scope.row.caseStatus" effect="dark" :disabled="true"></mdp-select-dict-tag> |
|
|
<mdp-select-dict-tag :dict="dicts['testCaseStatus']" v-model="scope.row.caseStatus" effect="dark" :disabled="true"></mdp-select-dict-tag> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
|
|
|
|
|
|
|
|
|
<el-table-column prop="testType" label="测试方式" min-width="120" show-overflow-tooltip> |
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
<mdp-select-dict-tag :dict="dicts['testType']" v-model="scope.row.testType" effect="dark" :disabled="true"></mdp-select-dict-tag> |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-table-column> |
|
|
<el-table-column prop="caseRemark" label="备注" min-width="120" show-overflow-tooltip> |
|
|
<el-table-column prop="caseRemark" label="备注" min-width="120" show-overflow-tooltip> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<span> {{scope.row.caseRemark}} </span> |
|
|
<span> {{scope.row.caseRemark}} </span> |
|
|
@ -106,6 +115,8 @@ export default { |
|
|
key: '', |
|
|
key: '', |
|
|
notJoinPlan:'', |
|
|
notJoinPlan:'', |
|
|
xmFunc:null, |
|
|
xmFunc:null, |
|
|
|
|
|
caseStatus:'', |
|
|
|
|
|
testType:'', |
|
|
}, |
|
|
}, |
|
|
xmTestCases: [],//查询结果 |
|
|
xmTestCases: [],//查询结果 |
|
|
pageInfo:{//分页数据 |
|
|
pageInfo:{//分页数据 |
|
|
@ -186,6 +197,12 @@ export default { |
|
|
if(this.filters.key){ |
|
|
if(this.filters.key){ |
|
|
params.key=this.filters.key |
|
|
params.key=this.filters.key |
|
|
} |
|
|
} |
|
|
|
|
|
if(this.filters.caseStatus){ |
|
|
|
|
|
params.caseStatus=this.filters.caseStatus |
|
|
|
|
|
} |
|
|
|
|
|
if(this.filters.testType){ |
|
|
|
|
|
params.testType=this.filters.testType |
|
|
|
|
|
} |
|
|
if(this.filters.notJoinPlan && this.xmTestPlan && this.xmTestPlan.id){ |
|
|
if(this.filters.notJoinPlan && this.xmTestPlan && this.xmTestPlan.id){ |
|
|
params.notJoinPlanId=this.xmTestPlan.id |
|
|
params.notJoinPlanId=this.xmTestPlan.id |
|
|
} |
|
|
} |
|
|
|