Browse Source

优化

master
陈裕财 3 years ago
parent
commit
9aeaf6812c
  1. 16
      src/views/xm/core/xmIteration/XmIterationForLinkComplex.vue
  2. 8
      src/views/xm/core/xmIteration/XmIterationOverviewComplex.vue
  3. 2
      src/views/xm/core/xmMenu/XmMenuMngBatch.vue
  4. 2
      src/views/xm/core/xmMenu/XmMenuWithPlan.vue
  5. 2
      src/views/xm/core/xmMenuTemplate/XmMenuTemplateMng.vue
  6. 9
      src/views/xm/core/xmProduct/XmProductForLinkComplex.vue
  7. 2
      src/views/xm/core/xmTaskTemplate/XmTaskTemplateMng.vue

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

@ -283,12 +283,12 @@
</el-col> </el-col>
<el-col :xl="20" :lg="20" :md="19" :sm="19" :xs="19" class="padding-left padding-right"> <el-col :xl="20" :lg="20" :md="19" :sm="19" :xs="19" class="padding-left padding-right">
<el-tabs :value="showPanel" @tab-click="tabClick"> <el-tabs :value="showPanel" @tab-click="tabClick">
<el-tab-pane label="迭代概览" lazy name="iterationOverview" >
<el-tab-pane label="迭代概览" name="iterationOverview" >
<xm-iteration-overview v-if="xmIteration && showPanel=='iterationOverview'" :xm-iteration="xmIteration" :sel-project="projectInfo"></xm-iteration-overview> <xm-iteration-overview v-if="xmIteration && showPanel=='iterationOverview'" :xm-iteration="xmIteration" :sel-project="projectInfo"></xm-iteration-overview>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="执行统计" lazy name="iterationCalc" >
<el-tab-pane label="执行统计" name="iterationCalc" >
<div v-if="showPanel=='iterationCalc'"> <div v-if="showPanel=='iterationCalc'">
<el-row> <el-row>
<el-button type="primary" @click="loadTasksToXmIterationState" v-loading="load.calcIteration">计算迭代统计数据</el-button> <el-button type="primary" @click="loadTasksToXmIterationState" v-loading="load.calcIteration">计算迭代统计数据</el-button>
@ -302,22 +302,22 @@
</div> </div>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="迭代详情" lazy name="detail" v-if="xmIteration&&xmIteration.id">
<el-tab-pane label="迭代详情" name="detail" v-if="xmIteration&&xmIteration.id">
<xm-iteration-edit v-if="showPanel=='detail'" :xm-iteration="xmIteration" @edit-fields="onEditFields" :xm-product="xmProductCpd"></xm-iteration-edit> <xm-iteration-edit v-if="showPanel=='detail'" :xm-iteration="xmIteration" @edit-fields="onEditFields" :xm-product="xmProductCpd"></xm-iteration-edit>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="需求列表" lazy name="menus" v-if="xmIteration&&xmIteration.id">
<el-tab-pane label="需求列表" name="menus" v-if="xmIteration&&xmIteration.id">
<xm-menu-mng v-if="xmIteration && showPanel=='menus'" :xm-product="xmProductCpd" :xm-iteration="xmIteration" :sel-project="projectInfo"></xm-menu-mng> <xm-menu-mng v-if="xmIteration && showPanel=='menus'" :xm-product="xmProductCpd" :xm-iteration="xmIteration" :sel-project="projectInfo"></xm-menu-mng>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="配置需求范围" lazy name="iterationMenuMng" v-if="xmIteration&&xmIteration.id">
<el-tab-pane label="配置需求范围" name="iterationMenuMng" v-if="xmIteration&&xmIteration.id">
<xm-iteration-menu-mng v-if="showPanel=='iterationMenuMng'" :xm-iteration="xmIteration" :xm-product="xmProductCpd"></xm-iteration-menu-mng> <xm-iteration-menu-mng v-if="showPanel=='iterationMenuMng'" :xm-iteration="xmIteration" :xm-product="xmProductCpd"></xm-iteration-menu-mng>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="任务列表" lazy name="tasks" v-if="xmIteration&&xmIteration.id">
<el-tab-pane label="任务列表" name="tasks" v-if="xmIteration&&xmIteration.id">
<xm-task-mng v-if="xmIteration && showPanel=='tasks'" :xm-product="xmProductCpd" :xm-iteration="xmIteration" :sel-project="projectInfo"></xm-task-mng> <xm-task-mng v-if="xmIteration && showPanel=='tasks'" :xm-product="xmProductCpd" :xm-iteration="xmIteration" :sel-project="projectInfo"></xm-task-mng>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="缺陷列表" lazy name="bugs" v-if="xmIteration&&xmIteration.id">
<el-tab-pane label="缺陷列表" name="bugs" v-if="xmIteration&&xmIteration.id">
<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="效能分析" name="效能" v-if="xmIteration&&xmIteration.id">
<xm-rpt v-if="xmIteration && showPanel=='效能'" :xm-project="projectInfo" :xm-iteration="xmIteration" :xm-product="xmProductCpd" category="迭代级"></xm-rpt> <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>

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

@ -272,22 +272,22 @@
</el-col> </el-col>
<el-col :xl="20" :lg="20" :md="19" :sm="19" :xs="19" class="padding-left padding-right"> <el-col :xl="20" :lg="20" :md="19" :sm="19" :xs="19" class="padding-left padding-right">
<el-tabs :value="showPanel" @tab-click="tabClick"> <el-tabs :value="showPanel" @tab-click="tabClick">
<el-tab-pane label="迭代概览" lazy name="overview" >
<el-tab-pane label="迭代概览" name="overview" >
<xm-iteration-overview class="padding-top" v-if="showPanel=='overview'" :xm-iteration="xmIteration"></xm-iteration-overview> <xm-iteration-overview class="padding-top" v-if="showPanel=='overview'" :xm-iteration="xmIteration"></xm-iteration-overview>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="迭代详情" lazy name="detail" >
<el-tab-pane label="迭代详情" name="detail" >
<xm-iteration-edit v-if="showPanel=='detail'" :xm-iteration="xmIteration" @edit-fields="onEditFields"></xm-iteration-edit> <xm-iteration-edit v-if="showPanel=='detail'" :xm-iteration="xmIteration" @edit-fields="onEditFields"></xm-iteration-edit>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="配置需求范围" lazy name="iterationMenuMng" >
<el-tab-pane label="配置需求范围" name="iterationMenuMng" >
<xm-iteration-menu-mng v-if="showPanel=='iterationMenuMng'" :xm-iteration="xmIteration" ref="iterationMenuMng" class="padding-top"></xm-iteration-menu-mng> <xm-iteration-menu-mng v-if="showPanel=='iterationMenuMng'" :xm-iteration="xmIteration" ref="iterationMenuMng" class="padding-top"></xm-iteration-menu-mng>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="执行统计" lazy name="iterationCalc" >
<el-tab-pane label="执行统计" name="iterationCalc" >
<div v-if="showPanel=='iterationCalc'" class="padding"> <div v-if="showPanel=='iterationCalc'" class="padding">
<el-row> <el-row>

2
src/views/xm/core/xmMenu/XmMenuMngBatch.vue

@ -6,7 +6,7 @@
<el-button @click="noBatchEdit" icon="el-icon-back">返回</el-button> <el-button @click="noBatchEdit" icon="el-icon-back">返回</el-button>
</el-row> </el-row>
<el-row style="padding-top:12px;"> <el-row style="padding-top:12px;">
<el-table ref="table" :indent="16" lazy :load="loadXmMenusLazy" :height="maxTableHeight" :data="xmMenusTreeData" class="drag-table" row-key="menuId" :tree-props="{children: 'children', hasChildren: 'childrenCnt'}" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table ref="table" :indent="16" :load="loadXmMenusLazy" :height="maxTableHeight" :data="xmMenusTreeData" class="drag-table" row-key="menuId" :tree-props="{children: 'children', hasChildren: 'childrenCnt'}" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column type="selection" width="45"></el-table-column> <el-table-column type="selection" width="45"></el-table-column>
<el-table-column prop="seqNo" label="序号" width="200" fixed="left"> <el-table-column prop="seqNo" label="序号" width="200" fixed="left">
<template slot-scope="scope"> <template slot-scope="scope">

2
src/views/xm/core/xmMenu/XmMenuWithPlan.vue

@ -104,7 +104,7 @@
</el-row> </el-row>
<el-row v-show="batchEditVisible"> <el-row v-show="batchEditVisible">
<el-table lazy :load="loadMenusLazy" :height="maxTableHeight" :data="xmMenusTreeData" row-key="menuId" :tree-props="{children: 'children', hasChildren: 'childrenCnt'}" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table :load="loadMenusLazy" :height="maxTableHeight" :data="xmMenusTreeData" row-key="menuId" :tree-props="{children: 'children', hasChildren: 'childrenCnt'}" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column prop="menuName" label="需求名称" min-width="150" > <el-table-column prop="menuName" label="需求名称" min-width="150" >
<template slot-scope="scope"> <template slot-scope="scope">

2
src/views/xm/core/xmMenuTemplate/XmMenuTemplateMng.vue

@ -13,7 +13,7 @@
<el-button v-loading="load.list" :disabled="load.list==true" v-on:click="searchXmMenuTemplates">查询</el-button> <el-button v-loading="load.list" :disabled="load.list==true" v-on:click="searchXmMenuTemplates">查询</el-button>
<el-button type="primary" v-if="isSelectMenu" v-loading="load.del" @click="selectedMenusConfirm" :disabled="this.sels.length===0 || load.del==true">确认选择</el-button> <el-button type="primary" v-if="isSelectMenu" v-loading="load.del" @click="selectedMenusConfirm" :disabled="this.sels.length===0 || load.del==true">确认选择</el-button>
</el-row> </el-row>
<el-table lazy :load="loadMenusLazy" ref="table" :height="maxTableHeight" :data="xmMenuTemplatesTreeData" row-key="menuId" :tree-props="{children: 'children', hasChildren: 'childrenCnt'}" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table :load="loadMenusLazy" ref="table" :height="maxTableHeight" :data="xmMenuTemplatesTreeData" row-key="menuId" :tree-props="{children: 'children', hasChildren: 'childrenCnt'}" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column sortable type="selection" width="40"></el-table-column> <el-table-column sortable type="selection" width="40"></el-table-column>
<el-table-column prop="menuName" label="需求名称" min-width="120" > <el-table-column prop="menuName" label="需求名称" min-width="120" >
<template slot-scope="scope"> <template slot-scope="scope">

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

@ -201,8 +201,7 @@
></xm-iteration-mng> ></xm-iteration-mng>
</el-tab-pane> </el-tab-pane>
<el-tab-pane <el-tab-pane
label="需求"
lazy
label="需求"
name="menus" name="menus"
> >
<xm-menu-mng <xm-menu-mng
@ -214,8 +213,7 @@
></xm-menu-mng> ></xm-menu-mng>
</el-tab-pane> </el-tab-pane>
<el-tab-pane <el-tab-pane
label="任务"
lazy
label="任务"
name="tasks" name="tasks"
> >
<xm-task-mng <xm-task-mng
@ -228,8 +226,7 @@
></xm-task-mng> ></xm-task-mng>
</el-tab-pane> </el-tab-pane>
<el-tab-pane <el-tab-pane
label="缺陷"
lazy
label="缺陷"
name="bugs" name="bugs"
> >
<xm-question-mng <xm-question-mng

2
src/views/xm/core/xmTaskTemplate/XmTaskTemplateMng.vue

@ -22,7 +22,7 @@
</el-row> </el-row>
<el-row class="page-main"> <el-row class="page-main">
<!--列表 XmTaskTemplate xm_task_template select-confirm--> <!--列表 XmTaskTemplate xm_task_template select-confirm-->
<el-table ref="table" lazy :load="loadXmTaskLazy" :height="maxTableHeight" :data="xmTaskTemplatesTreeData" row-key="id" :tree-props="{children: 'children', hasChildren: 'childrenCnt'}" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table ref="table" :load="loadXmTaskLazy" :height="maxTableHeight" :data="xmTaskTemplatesTreeData" row-key="id" :tree-props="{children: 'children', hasChildren: 'childrenCnt'}" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column sortable type="selection" width="40"></el-table-column> <el-table-column sortable type="selection" width="40"></el-table-column>
<el-table-column prop="name" label="任务名称" min-width="150" > <el-table-column prop="name" label="任务名称" min-width="150" >
<template slot-scope="scope"> <template slot-scope="scope">

Loading…
Cancel
Save