Browse Source

优化

master
陈裕财 3 years ago
parent
commit
be3bf2d712
  1. 4
      src/views/xm/core/xmMenu/XmMenuMngRoute.vue
  2. 2
      src/views/xm/core/xmTask/XmMyTaskCenter.vue
  3. 2
      src/views/xm/core/xmTask/XmTaskCenter.vue
  4. 9
      src/views/xm/core/xmTestPlan/XmTestPlanInfo.vue
  5. 2
      src/views/xm/core/xmTestPlan/XmTestPlanListForProject.vue
  6. 4
      src/views/xm/core/xmTestPlan/XmTestPlanMng.vue

4
src/views/xm/core/xmMenu/XmMenuMngRoute.vue

@ -1,6 +1,6 @@
<template> <template>
<section>
<xm-menu-mng class="padding-top"></xm-menu-mng>
<section class="padding">
<xm-menu-mng></xm-menu-mng>
</section> </section>
</template> </template>

2
src/views/xm/core/xmTask/XmMyTaskCenter.vue

@ -1,6 +1,6 @@
<template> <template>
<section> <section>
<el-row class="xm-task">
<el-row class="padding">
<xm-task-mng :source="source" :is-task-center="1" :is-my="1" ntype="0" queryScope="task"></xm-task-mng> <xm-task-mng :source="source" :is-task-center="1" :is-my="1" ntype="0" queryScope="task"></xm-task-mng>
</el-row> </el-row>
</section> </section>

2
src/views/xm/core/xmTask/XmTaskCenter.vue

@ -1,6 +1,6 @@
<template> <template>
<section> <section>
<el-row class="xm-task">
<el-row class="padding">
<xm-task-mng :is-task-center="1" ptype="0" ntype="0" queryScope="task"></xm-task-mng> <xm-task-mng :is-task-center="1" ptype="0" ntype="0" queryScope="task"></xm-task-mng>
</el-row> </el-row>
</section> </section>

9
src/views/xm/core/xmTestPlan/XmTestPlanInfo.vue

@ -1,11 +1,7 @@
<template> <template>
<section> <section>
<el-row>
</el-row>
<el-row>
<el-row v-if=" xmTestPlan && xmTestPlan.id"> <el-row v-if=" xmTestPlan && xmTestPlan.id">
<el-row class="border padding-left padding-right">
<el-row class="padding-left padding-right">
<el-button icon="el-icon-back" @click="goBackToPlanList()" type="primary" plain></el-button> <el-button icon="el-icon-back" @click="goBackToPlanList()" type="primary" plain></el-button>
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
{{xmTestPlan.name}} {{xmTestPlan.name}}
@ -35,7 +31,7 @@
<el-row v-if="subPage=='testPlanCase'" class="padding-right"> <el-row v-if="subPage=='testPlanCase'" class="padding-right">
<xm-test-plan-case-mng :xm-test-plan="xmTestPlan" :xm-test-casedb="xmTestCasedb"></xm-test-plan-case-mng> <xm-test-plan-case-mng :xm-test-plan="xmTestPlan" :xm-test-casedb="xmTestCasedb"></xm-test-plan-case-mng>
</el-row> </el-row>
<el-row v-if="subPage=='testBug'">
<el-row v-if="subPage=='testBug'" class="padding-left padding-right">
<xm-question-mng :xm-test-plan="xmTestPlan" :xm-test-casedb="xmTestCasedb" :xm-product="{id:xmTestPlan.productId,productName:xmTestPlan.productName}" :sel-project="{id:xmTestPlan.projectId,name:xmTestPlan.projectName}"></xm-question-mng> <xm-question-mng :xm-test-plan="xmTestPlan" :xm-test-casedb="xmTestCasedb" :xm-product="{id:xmTestPlan.productId,productName:xmTestPlan.productName}" :sel-project="{id:xmTestPlan.projectId,name:xmTestPlan.projectName}"></xm-question-mng>
</el-row> </el-row>
@ -47,7 +43,6 @@
<xm-rpt key="xmRpt" ref="xmRpt" :xm-test-casedb="xmTestCasedb" :xm-test-plan="xmTestPlan" :xm-product="{id:xmTestCasedb.productId,productName:xmTestCasedb.productName}" :xm-project="{id:xmTestPlan.projectId,name:xmTestPlan.projectName}" category="测试计划级"></xm-rpt > <xm-rpt key="xmRpt" ref="xmRpt" :xm-test-casedb="xmTestCasedb" :xm-test-plan="xmTestPlan" :xm-product="{id:xmTestCasedb.productId,productName:xmTestCasedb.productName}" :xm-project="{id:xmTestPlan.projectId,name:xmTestPlan.projectName}" category="测试计划级"></xm-rpt >
</el-row> </el-row>
</el-row> </el-row>
</el-row>
</section> </section>
</template> </template>

2
src/views/xm/core/xmTestPlan/XmTestPlanListForProject.vue

@ -1,6 +1,6 @@
<template> <template>
<section class="page-container padding" ref="xmTestPlanTable">
<section class="padding-left padding-right" ref="xmTestPlanTable">
<el-row> <el-row>
<el-input v-model="filters.key" style="width: 20%;" placeholder="模糊查询" clearable></el-input> <el-input v-model="filters.key" style="width: 20%;" placeholder="模糊查询" clearable></el-input>
<el-button v-loading="load.list" :disabled="load.list==true" @click="searchXmTestPlans" icon="el-icon-search">查询</el-button> <el-button v-loading="load.list" :disabled="load.list==true" @click="searchXmTestPlans" icon="el-icon-search">查询</el-button>

4
src/views/xm/core/xmTestPlan/XmTestPlanMng.vue

@ -1,5 +1,5 @@
<template> <template>
<section class="page-container border padding">
<section class="padding-left padding-right">
<el-row> <el-row>
<el-input v-model="filters.key" style="width: 20%;" placeholder="模糊查询" clearable></el-input> <el-input v-model="filters.key" style="width: 20%;" placeholder="模糊查询" clearable></el-input>
<mdp-select-dict style="width:15%;" clearable placeholder="状态" :dict="dicts['testPlanStatus']" v-model="filters.status" effect="dark"></mdp-select-dict> <mdp-select-dict style="width:15%;" clearable placeholder="状态" :dict="dicts['testPlanStatus']" v-model="filters.status" effect="dark"></mdp-select-dict>
@ -12,7 +12,7 @@
<el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true" icon="el-icon-delete"></el-button> <el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true" icon="el-icon-delete"></el-button>
</span> </span>
</el-row> </el-row>
<el-row class="padding-top">
<el-row>
<!--列表 XmTestPlan 测试计划--> <!--列表 XmTestPlan 测试计划-->
<el-table ref="xmTestPlanTable" :data="xmTestPlans" :height="maxTableHeight" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table ref="xmTestPlanTable" :data="xmTestPlans" :height="maxTableHeight" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column type="selection" width="55" show-overflow-tooltip fixed="left"></el-table-column> <el-table-column type="selection" width="55" show-overflow-tooltip fixed="left"></el-table-column>

Loading…
Cancel
Save