Browse Source

优化

master
陈裕财 3 years ago
parent
commit
9e7fddc34d
  1. 6
      src/views/xm/core/xmIteration/XmIterationForLinkComplex.vue
  2. 4
      src/views/xm/core/xmIteration/XmIterationOverviewComplex.vue
  3. 2
      src/views/xm/core/xmIteration/top-nav.vue
  4. 6
      src/views/xm/core/xmProduct/XmProductForLinkComplex.vue
  5. 4
      src/views/xm/core/xmProduct/XmProductOverviewComplex.vue
  6. 2
      src/views/xm/core/xmProduct/top-nav.vue
  7. 6
      src/views/xm/core/xmProject/XmProjectForLinkComplex.vue
  8. 4
      src/views/xm/core/xmProject/XmProjectOverviewComplex.vue
  9. 2
      src/views/xm/core/xmProject/top-nav.vue
  10. 2
      src/views/xm/core/xmTestCasedb/top-nav.vue
  11. 8
      src/views/xm/core/xmTestPlan/XmTestPlanInfo.vue
  12. 6
      src/views/xm/rpt/indexForIteration.vue
  13. 6
      src/views/xm/rpt/indexForProduct.vue
  14. 6
      src/views/xm/rpt/indexForProject.vue
  15. 6
      src/views/xm/rpt/indexForTest.vue

6
src/views/xm/core/xmIteration/XmIterationForLinkComplex.vue

@ -317,7 +317,7 @@
<xm-question-mng v-if="xmIteration && showPanel=='bugs'" :xm-product="xmProductCpd" :xm-iteration="xmIteration" :sel-project="projectInfo"></xm-question-mng> <xm-question-mng v-if="xmIteration && showPanel=='bugs'" :xm-product="xmProductCpd" :xm-iteration="xmIteration" :sel-project="projectInfo"></xm-question-mng>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="效能分析" lazy name="效能" v-if="xmIteration&&xmIteration.id"> <el-tab-pane label="效能分析" lazy name="效能" v-if="xmIteration&&xmIteration.id">
<xm-report v-if="xmIteration && showPanel=='效能'" :xm-project="projectInfo" :xm-iteration="xmIteration" :xm-product="xmProductCpd" category="迭代级"></xm-report>
<xm-rpt v-if="xmIteration && showPanel=='效能'" :xm-project="projectInfo" :xm-iteration="xmIteration" :xm-product="xmProductCpd" category="迭代级"></xm-rpt>
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
<el-row> <el-row>
@ -352,7 +352,7 @@
import XmIterationEdit from './XmIterationEdit.vue'; import XmIterationEdit from './XmIterationEdit.vue';
import XmIterationAdd from './XmIterationEdit';// import XmIterationAdd from './XmIterationEdit';//
import XmReport from "@/views/xm/rpt/index";
import XmRpt from "@/views/xm/rpt/index";
import XmIterationMenuMng from '../xmIterationMenu/XmIterationMenuMng.vue'; import XmIterationMenuMng from '../xmIterationMenu/XmIterationMenuMng.vue';
import { initDicts,editSomeFieldsXmIteration } from '@/api/xm/core/xmIteration'; import { initDicts,editSomeFieldsXmIteration } from '@/api/xm/core/xmIteration';
@ -476,7 +476,7 @@
XmIterationAdd, XmIterationAdd,
XmIterationEdit, XmIterationEdit,
XmIterationMenuMng, XmIterationMenuMng,
XmReport,
XmRpt,
}, },
mounted() { mounted() {

4
src/views/xm/core/xmIteration/XmIterationOverviewComplex.vue

@ -169,7 +169,7 @@
type="warning" type="warning"
plain plain
@click="jumpTo('iterationReport')"
@click="jumpTo('iterationRpt')"
>效能分析</el-button >效能分析</el-button
> >
<el-button <el-button
@ -188,7 +188,7 @@
type="warning" type="warning"
plain plain
@click="jumpTo('iterationReport')"
@click="jumpTo('iterationRpt')"
>效能分析</el-button >效能分析</el-button
> >
</span> </span>

2
src/views/xm/core/xmIteration/top-nav.vue

@ -68,7 +68,7 @@
<el-menu-item :index="'/xm/core/iteration/group?iterationId='+xmIteration.id"> <el-menu-item :index="'/xm/core/iteration/group?iterationId='+xmIteration.id">
<span slot="title"><i class="el-icon-user-solid"></i>团队</span> <span slot="title"><i class="el-icon-user-solid"></i>团队</span>
</el-menu-item> </el-menu-item>
<el-menu-item :index="'/xm/core/iteration/report?iterationId='+xmIteration.id">
<el-menu-item :index="'/xm/core/iteration/rpt?iterationId='+xmIteration.id">
<span slot="title"><i class="el-icon-s-data"></i>效能</span> <span slot="title"><i class="el-icon-s-data"></i>效能</span>
</el-menu-item> </el-menu-item>
<el-submenu index="更多"> <el-submenu index="更多">

6
src/views/xm/core/xmProduct/XmProductForLinkComplex.vue

@ -283,7 +283,7 @@
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="效能分析" name="效能" v-if="xmProduct && xmProduct.id"> <el-tab-pane label="效能分析" name="效能" v-if="xmProduct && xmProduct.id">
<xm-report v-if="xmProduct && showPanel=='效能'" :xm-project="projectInfo" :xm-iteration="xmIteration" :xm-product="xmProduct" category="产品级"></xm-report>
<xm-rpt v-if="xmProduct && showPanel=='效能'" :xm-project="projectInfo" :xm-iteration="xmIteration" :xm-product="xmProduct" category="产品级"></xm-rpt>
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
<el-row> </el-row> <el-row> </el-row>
@ -329,7 +329,7 @@ import XmProductEdit from "./XmProductEdit.vue";
import XmProductAdd from "./XmProductEdit"; // import XmProductAdd from "./XmProductEdit"; //
import XmGroupMng from '../xmGroup/XmGroupMng.vue' import XmGroupMng from '../xmGroup/XmGroupMng.vue'
import XmReport from "@/views/xm/rpt/index";
import XmRpt from "@/views/xm/rpt/index";
export default { export default {
computed: { computed: {
...mapGetters(["userInfo", "roles","projectInfo","xmIteration"]), ...mapGetters(["userInfo", "roles","projectInfo","xmIteration"]),
@ -562,7 +562,7 @@ export default {
XmProductProjectLinkMng, XmProductProjectLinkMng,
XmProductEdit, XmProductEdit,
XmGroupMng, XmGroupMng,
XmReport
XmRpt
}, },
mounted() { mounted() {
this.$nextTick(() => { this.$nextTick(() => {

4
src/views/xm/core/xmProduct/XmProductOverviewComplex.vue

@ -101,7 +101,7 @@
type="warning" type="warning"
plain plain
@click="jumpTo('productReport')"
@click="jumpTo('productRpt')"
>效能分析</el-button >效能分析</el-button
> >
<el-button <el-button
@ -144,7 +144,7 @@
type="warning" type="warning"
plain plain
@click="jumpTo('productReport')"
@click="jumpTo('productRpt')"
>效能分析</el-button >效能分析</el-button
> >
</span> </span>

2
src/views/xm/core/xmProduct/top-nav.vue

@ -87,7 +87,7 @@
<span slot="title"><i class="el-icon-coin"></i>费用</span> <span slot="title"><i class="el-icon-coin"></i>费用</span>
</el-menu-item> </el-menu-item>
</el-submenu> </el-submenu>
<el-menu-item :index="'/xm/core/product/report?productId='+xmProduct.id">
<el-menu-item :index="'/xm/core/product/rpt?productId='+xmProduct.id">
<span slot="title"><i class="el-icon-s-data"></i>效能</span> <span slot="title"><i class="el-icon-s-data"></i>效能</span>
</el-menu-item> </el-menu-item>
<el-submenu index="zhishi" class="hidden-md-and-down"> <el-submenu index="zhishi" class="hidden-md-and-down">

6
src/views/xm/core/xmProject/XmProjectForLinkComplex.vue

@ -262,7 +262,7 @@
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="效能分析" name="效能" v-if="selProject && selProject.id"> <el-tab-pane label="效能分析" name="效能" v-if="selProject && selProject.id">
<xm-report v-if="selProject && showPanel=='效能'" :xm-project="selProject" :xm-iteration="xmIteration" :xm-product="xmProduct" category="项目级"></xm-report>
<xm-rpt v-if="selProject && showPanel=='效能'" :xm-project="selProject" :xm-iteration="xmIteration" :xm-product="xmProduct" category="项目级"></xm-rpt>
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
</el-col> </el-col>
@ -309,7 +309,7 @@ import XmProductProjectLinkMng from "../xmProductProjectLink/XmProductProjectLin
import XmPlan from "../xmTask/XmPlan.vue"; import XmPlan from "../xmTask/XmPlan.vue";
import xmGroupMng from "../xmGroup/XmGroupMng"; import xmGroupMng from "../xmGroup/XmGroupMng";
import XmReport from "@/views/xm/rpt/index";
import XmRpt from "@/views/xm/rpt/index";
import { import {
initDicts, initDicts,
getDefOptions, getDefOptions,
@ -467,7 +467,7 @@ export default {
XmProjectOverview, XmProjectOverview,
XmProductProjectLinkMng, XmProductProjectLinkMng,
XmPlan, XmPlan,
XmReport,
XmRpt,
xmGroupMng, xmGroupMng,
}, },
mounted() { mounted() {

4
src/views/xm/core/xmProject/XmProjectOverviewComplex.vue

@ -64,7 +64,7 @@
<el-button class="step-btn" type="warning" plain @click="jumpTo('projectWorkloadDay')">每日工时</el-button> <el-button class="step-btn" type="warning" plain @click="jumpTo('projectWorkloadDay')">每日工时</el-button>
<el-button class="step-btn" type="warning" plain @click="jumpTo('projectWorkloadMonth')">每月工时</el-button> <el-button class="step-btn" type="warning" plain @click="jumpTo('projectWorkloadMonth')">每月工时</el-button>
<el-button class="step-btn" type="warning" plain @click="jumpTo('projectCost')">费用管理</el-button> <el-button class="step-btn" type="warning" plain @click="jumpTo('projectCost')">费用管理</el-button>
<el-button class="step-btn" type="warning" plain @click="jumpTo('projectReport')">效能分析</el-button>
<el-button class="step-btn" type="warning" plain @click="jumpTo('projectRpt')">效能分析</el-button>
<el-button class="step-btn" type="danger" icon="el-icon-d-caret" plain @click="editXmProjectSomeFields(projectInfo,'status','4')">暂停项目</el-button> <el-button class="step-btn" type="danger" icon="el-icon-d-caret" plain @click="editXmProjectSomeFields(projectInfo,'status','4')">暂停项目</el-button>
<el-button class="step-btn" type="warning" plain @click="projectChangeRequire()">变更申请</el-button> <el-button class="step-btn" type="warning" plain @click="projectChangeRequire()">变更申请</el-button>
<el-button class="step-btn" type="danger" icon="el-icon-d-caret" plain @click="editXmProjectSomeFields(projectInfo,'status','5')">设为结项中</el-button> <el-button class="step-btn" type="danger" icon="el-icon-d-caret" plain @click="editXmProjectSomeFields(projectInfo,'status','5')">设为结项中</el-button>
@ -76,7 +76,7 @@
<el-button class="step-btn" type="warning" plain @click="jumpTo('projectWorkloadDay')">每日工时</el-button> <el-button class="step-btn" type="warning" plain @click="jumpTo('projectWorkloadDay')">每日工时</el-button>
<el-button class="step-btn" type="warning" plain @click="jumpTo('projectWorkloadMonth')">每月工时</el-button> <el-button class="step-btn" type="warning" plain @click="jumpTo('projectWorkloadMonth')">每月工时</el-button>
<el-button class="step-btn" type="warning" plain @click="jumpTo('projectCost')">费用管理</el-button> <el-button class="step-btn" type="warning" plain @click="jumpTo('projectCost')">费用管理</el-button>
<el-button class="step-btn" type="warning" plain @click="jumpTo('projectReport')">效能分析</el-button>
<el-button class="step-btn" type="warning" plain @click="jumpTo('projectRpt')">效能分析</el-button>
<el-button v-if="projectInfo.status<i.id" class="step-btn" type="danger" icon="el-icon-d-caret" plain @click="editXmProjectSomeFields(projectInfo,'status','5')">结项申请</el-button> <el-button v-if="projectInfo.status<i.id" class="step-btn" type="danger" icon="el-icon-d-caret" plain @click="editXmProjectSomeFields(projectInfo,'status','5')">结项申请</el-button>
<el-button class="step-btn" type="warning" plain @click="showDetail()">变更申请</el-button> <el-button class="step-btn" type="warning" plain @click="showDetail()">变更申请</el-button>
</span> </span>

2
src/views/xm/core/xmProject/top-nav.vue

@ -78,7 +78,7 @@
<span slot="title"><i class="el-icon-coin"></i>费用</span> <span slot="title"><i class="el-icon-coin"></i>费用</span>
</el-menu-item> </el-menu-item>
</el-submenu> </el-submenu>
<el-menu-item :index="'/xm/core/project/report?projectId='+projectInfo.id">
<el-menu-item :index="'/xm/core/project/rpt?projectId='+projectInfo.id">
<span slot="title"><i class="el-icon-s-data"></i>效能</span> <span slot="title"><i class="el-icon-s-data"></i>效能</span>
</el-menu-item> </el-menu-item>
<el-submenu index="zhishi" class="hidden-md-and-down"> <el-submenu index="zhishi" class="hidden-md-and-down">

2
src/views/xm/core/xmTestCasedb/top-nav.vue

@ -56,7 +56,7 @@
<span slot="title"><i class="el-icon-connection"></i>测试计划</span> <span slot="title"><i class="el-icon-connection"></i>测试计划</span>
</el-menu-item> </el-menu-item>
<el-menu-item :index="'/xm/core/test/report?casedbId='+testCasedb.id">
<el-menu-item :index="'/xm/core/test/rpt?casedbId='+testCasedb.id">
<span slot="title"><i class="el-icon-time"></i>统计分析</span> <span slot="title"><i class="el-icon-time"></i>统计分析</span>
</el-menu-item> </el-menu-item>

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

@ -14,7 +14,7 @@
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<el-link :type="subPage=='testBug'?'primary':''" @click="subPage='testBug'"><i class="el-icon-question"></i>&nbsp;缺陷</el-link> <el-link :type="subPage=='testBug'?'primary':''" @click="subPage='testBug'"><i class="el-icon-question"></i>&nbsp;缺陷</el-link>
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<el-link :type="subPage=='xmReport'?'primary':''" @click="subPage='xmReport'"><i class="el-icon-s-data"></i>&nbsp;报表</el-link>
<el-link :type="subPage=='xmRpt'?'primary':''" @click="subPage='xmRpt'"><i class="el-icon-s-data"></i>&nbsp;报表</el-link>
<el-divider direction="vertical"> <el-divider direction="vertical">
</el-divider> </el-divider>
<span style="float:right;"> <span style="float:right;">
@ -43,8 +43,8 @@
<xm-test-plan-rpt key="rpt" ref="rpt" :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-test-plan-rpt > <xm-test-plan-rpt key="rpt" ref="rpt" :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-test-plan-rpt >
</el-row> </el-row>
<el-row v-if="subPage=='xmReport'">
<xm-report key="xmReport" ref="xmReport" :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-report >
<el-row v-if="subPage=='xmRpt'">
<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>
<xm-test-plan-mng v-else @select="onTestPlanSelect" :xm-test-casedb="xmTestCasedb"> </xm-test-plan-mng> <xm-test-plan-mng v-else @select="onTestPlanSelect" :xm-test-casedb="xmTestCasedb"> </xm-test-plan-mng>
@ -67,7 +67,7 @@ export default {
components: { components: {
XmProductSelect,XmQuestionMng, XmProductSelect,XmQuestionMng,
"xm-test-plan-rpt":()=>import("../../rpt/index.vue"), "xm-test-plan-rpt":()=>import("../../rpt/index.vue"),
"xm-report":()=>import("../../rpt/index"),
"xm-rpt":()=>import("../../rpt/index"),
"xm-test-plan-mng":()=>import("../xmTestPlan/XmTestPlanMng.vue"), "xm-test-plan-mng":()=>import("../xmTestPlan/XmTestPlanMng.vue"),
"xm-test-case-mng":()=>import("../xmTestCase/XmTestCaseMng.vue"), "xm-test-case-mng":()=>import("../xmTestCase/XmTestCaseMng.vue"),
"xm-test-plan-case-mng":()=>import("../xmTestPlanCase/XmTestPlanCaseMng.vue") "xm-test-plan-case-mng":()=>import("../xmTestPlanCase/XmTestPlanCaseMng.vue")

6
src/views/xm/rpt/indexForIteration.vue

@ -1,13 +1,13 @@
<template> <template>
<section> <section>
<report-index :xm-iteration="xmIteration" :xm-product="xmProduct" category="迭代级"></report-index>
<rpt-index :xm-iteration="xmIteration" :xm-product="xmProduct" category="迭代级"></rpt-index>
</section> </section>
</template> </template>
<script> <script>
import { mapGetters } from 'vuex'; import { mapGetters } from 'vuex';
import reportIndex from './index'
import rptIndex from './index'
export default { export default {
computed: { computed: {
@ -33,7 +33,7 @@
},//end methods },//end methods
components: { components: {
reportIndex,
rptIndex,
// //
}, },
activated(){ activated(){

6
src/views/xm/rpt/indexForProduct.vue

@ -1,13 +1,13 @@
<template> <template>
<section> <section>
<report-index :xm-product="xmProduct" category="产品级"></report-index>
<rpt-index :xm-product="xmProduct" category="产品级"></rpt-index>
</section> </section>
</template> </template>
<script> <script>
import { mapGetters } from 'vuex'; import { mapGetters } from 'vuex';
import reportIndex from './index'
import rptIndex from './index'
export default { export default {
computed: { computed: {
@ -26,7 +26,7 @@
},//end methods },//end methods
components: { components: {
reportIndex,
rptIndex,
// //
}, },
activated(){ activated(){

6
src/views/xm/rpt/indexForProject.vue

@ -1,13 +1,13 @@
<template> <template>
<section> <section>
<report-index :xm-project="projectInfo" category="项目级"></report-index>
<rpt-index :xm-project="projectInfo" category="项目级"></rpt-index>
</section> </section>
</template> </template>
<script> <script>
import { mapGetters } from 'vuex'; import { mapGetters } from 'vuex';
import reportIndex from './index'
import rptIndex from './index'
export default { export default {
computed: { computed: {
@ -26,7 +26,7 @@
},//end methods },//end methods
components: { components: {
reportIndex,
rptIndex,
// //
}, },
activated(){ activated(){

6
src/views/xm/rpt/indexForTest.vue

@ -1,13 +1,13 @@
<template> <template>
<section> <section>
<report-index :xm-product="xmProduct" :xm-test-casedb="testCasedb" category="测试级"></report-index>
<rpt-index :xm-product="xmProduct" :xm-test-casedb="testCasedb" category="测试级"></rpt-index>
</section> </section>
</template> </template>
<script> <script>
import { mapGetters } from 'vuex'; import { mapGetters } from 'vuex';
import reportIndex from './index'
import rptIndex from './index'
export default { export default {
computed: { computed: {
@ -33,7 +33,7 @@
},//end methods },//end methods
components: { components: {
reportIndex,
rptIndex,
// //
}, },
activated(){ activated(){

Loading…
Cancel
Save