Browse Source

优化

master
陈裕财 5 years ago
parent
commit
770149e870
  1. 7
      src/views/xm/core/xmIteration/XmIterationMng.vue
  2. 8
      src/views/xm/core/xmIteration/XmIterationOverviewComplex.vue
  3. 8
      src/views/xm/core/xmProduct/XmProductMng.vue

7
src/views/xm/core/xmIteration/XmIterationMng.vue

@ -70,12 +70,6 @@
<el-checkbox v-model="gstcVisible">甘特图</el-checkbox>
</el-col>
</el-row>
<el-divider content-position="left"><strong>更多操作</strong></el-divider>
<el-row>
<el-col :span="24" style="padding-top:5px;">
<el-button v-if="xmProduct" size="mini" icon="el-icon-plus" @click="iterationSelectVisible=true">将更多迭代加入产品<strong>{{xmProduct.productName}}</strong></el-button>
</el-col>
</el-row>
<el-button slot="reference" icon="el-icon-more" circle></el-button>
</el-popover>
</el-row>
@ -101,7 +95,6 @@
<el-table-column prop="actWorkload" label="实际工作量" min-width="80" show-overflow-tooltip></el-table-column>
<el-table-column label="操作" width="400" fixed="right">
<template slot-scope="scope">
<el-tooltip v-if="xmProduct" :content="'将迭代与'+ xmProduct.productName + '脱钩'"><el-button @click="doDelXmIterationProductLink( scope.row,scope.$index)" icon="el-icon-remove-outline">与产品脱钩</el-button></el-tooltip>
<el-button type="danger" @click="handleDel(scope.row,scope.$index)" icon="el-icon-delete"></el-button>
</template>
</el-table-column>

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

@ -10,7 +10,9 @@
<el-menu-item index="iterationProductLink">
<span slot="title">配置可见产品</span>
</el-menu-item>
<el-menu-item index="iterationMenuMng">
<span slot="title">配置可见故事</span>
</el-menu-item>
<el-submenu index="project-change">
<template slot="title">
<span slot="title">项目变更</span>
@ -88,6 +90,7 @@
<xm-iteration-overview v-if="showPanelName=='overview'" :xm-iteration="xmIteration"></xm-iteration-overview>
<xm-iteration-edit v-if="showPanelName=='detail'" :xm-iteration="xmIteration"></xm-iteration-edit>
<xm-iteration-product-link-mng v-if="showPanelName=='iterationProductLink'" :xm-iteration="xmIteration"></xm-iteration-product-link-mng>
<xm-iteration-menu-mng v-if="showPanelName=='iterationMenuMng'" :xm-iteration="xmIteration"></xm-iteration-menu-mng>
</section>
</template>
@ -98,10 +101,11 @@ import { mapGetters } from "vuex";
import XmIterationOverview from './XmIterationOverview.vue';
import XmIterationEdit from './XmIterationEdit.vue';
import XmIterationProductLinkMng from '../xmIterationProductLink/XmIterationProductLinkMng.vue';
import XmIterationMenuMng from '../xmIterationMenu/XmIterationMenuMng.vue';
export default {
components: {XmIterationOverview,XmIterationEdit, XmIterationProductLinkMng },
components: {XmIterationOverview,XmIterationEdit, XmIterationProductLinkMng, XmIterationMenuMng },
computed: {
...mapGetters(["userInfo"]),
},

8
src/views/xm/core/xmProduct/XmProductMng.vue

@ -28,7 +28,6 @@
<el-button v-loading="load.list" :disabled="load.list==true" v-on:click="searchXmProducts" icon="el-icon-search"></el-button>
</template>
</el-input>
<el-button v-if="xmIteration" icon="el-icon-plus" @click="productSelectVisible=true">将更多产品加入迭代<strong>{{xmIteration.iterationName}}</strong></el-button>
<el-button type="primary" @click="showAdd" icon="el-icon-plus" v-if="!xmIteration">产品</el-button>
<el-popover
placement="top-start"
@ -97,12 +96,6 @@
<el-button type="primary" size="mini" @click="searchXmProducts" >查询</el-button>
</el-col>
</el-row>
<el-divider content-position="left"><strong>更多操作</strong></el-divider>
<el-row>
<el-col :span="24" style="padding-top:5px;">
<el-button v-if="xmIteration" size="mini" icon="el-icon-plus" @click="productSelectVisible=true">将更多产品加入迭代<strong>{{xmIteration.iterationName}}</strong></el-button>
</el-col>
</el-row>
<el-button slot="reference" icon="el-icon-more" circle></el-button>
</el-popover>
</el-row>
@ -161,7 +154,6 @@
<el-table-column prop="actWorkload" label="实际工作量.人时" width="150" show-overflow-tooltip></el-table-column>
<el-table-column label="操作" width="200" fixed="right">
<template slot-scope="scope">
<el-tooltip v-if="xmIteration" :content="'将产品与迭代【'+ xmIteration.iterationName + '】脱钩'"><el-button @click="doDelXmIterationProductLink( scope.row,scope.$index)" icon="el-icon-remove-outline">与迭代脱钩</el-button></el-tooltip>
<el-popover
placement="top-start"
title=""

Loading…
Cancel
Save