Browse Source

优化

master
陈裕财 3 years ago
parent
commit
54d27de262
  1. 2
      src/views/xm/core/xmMenu/XmEpicFeatures.vue
  2. 17
      src/views/xm/core/xmMenu/XmMenuBox.vue
  3. 2
      src/views/xm/core/xmMenu/XmMenuMng.vue
  4. 2
      src/views/xm/core/xmQuestion/XmQuestionForIteration.vue
  5. 2
      src/views/xm/core/xmQuestion/XmQuestionForProduct.vue
  6. 2
      src/views/xm/core/xmQuestion/XmQuestionForProject.vue
  7. 2
      src/views/xm/core/xmQuestion/XmQuestionMng.vue
  8. 2
      src/views/xm/core/xmTask/XmPhase.vue
  9. 4
      src/views/xm/core/xmTask/XmPlan.vue
  10. 6
      src/views/xm/core/xmTask/XmPlanForProduct.vue
  11. 6
      src/views/xm/core/xmTask/XmPlanForProject.vue
  12. 2
      src/views/xm/core/xmTask/XmTaskMng.vue
  13. 0
      src/views/xm/rpt/index/CompsCard copy.vue

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

@ -1,5 +1,5 @@
<template> <template>
<section class="padding">
<section>
<el-row v-show="!batchVisible"> <el-row v-show="!batchVisible">
<div style="display:flex;justify-content: space-between;"> <div style="display:flex;justify-content: space-between;">
<xm-product-select v-if=" !xmProduct || !xmProduct.id" ref="xmProductSelect1" style="display:inline;" :auto-select="true" :link-project-id="selProject?selProject.id:null" @row-click="onProductSelected" @clear="onProductClearSelect" ></xm-product-select> <xm-product-select v-if=" !xmProduct || !xmProduct.id" ref="xmProductSelect1" style="display:inline;" :auto-select="true" :link-project-id="selProject?selProject.id:null" @row-click="onProductSelected" @clear="onProductClearSelect" ></xm-product-select>

17
src/views/xm/core/xmMenu/XmMenuBox.vue

@ -1,23 +1,25 @@
<template> <template>
<el-row>
<section class="padding-left padding-right">
<el-row :gutter="10">
<el-col :span="7"> <el-col :span="7">
<!-- <!--
<el-row class="padding-left padding-right" v-if="!xmProduct||!xmProduct.id" > <el-row class="padding-left padding-right" v-if="!xmProduct||!xmProduct.id" >
<xm-product-select ref="xmProductSelect1" style="display:inline;" :auto-select="true" :link-project-id="selProject?selProject.id:null" @row-click="onProductSelected" @clear="onProductClearSelect" ></xm-product-select> <xm-product-select ref="xmProductSelect1" style="display:inline;" :auto-select="true" :link-project-id="selProject?selProject.id:null" @row-click="onProductSelected" @clear="onProductClearSelect" ></xm-product-select>
</el-row> </el-row>
--> -->
<xm-epic-features class="padding-left padding-right" :xm-product="xmProductCpd" :sel-project="selProject" @row-click="onEpicFeaturesRowClick" @product-selected="onProductSelected" @product-clear="onProductClearSelect"></xm-epic-features>
<xm-epic-features :xm-product="xmProductCpd" :sel-project="selProject" @row-click="onEpicFeaturesRowClick" @product-selected="onProductSelected" @product-clear="onProductClearSelect"></xm-epic-features>
</el-col> </el-col>
<el-col :span="17" v-if="xmProductCpd && xmProductCpd.id" class="row-right">
<xm-menu-mng class="padding-left padding-right" :xm-product="xmProductCpd" :sel-project="selProject" :parent-menu="parentMenu" :xm-iteration="xmIteration" ></xm-menu-mng>
<el-col :span="17" v-if="xmProductCpd && xmProductCpd.id" >
<xm-menu-mng :xm-product="xmProductCpd" :sel-project="selProject" :parent-menu="parentMenu" :xm-iteration="xmIteration" ></xm-menu-mng>
</el-col> </el-col>
<el-col :span="17" v-else-if="filters.xmProduct && filters.xmProduct.id" class="row-right">
<xm-menu-mng class="padding-left padding-right" :xm-product="filters.xmProduct" :sel-project="selProject" :parent-menu="parentMenu" :xm-iteration="xmIteration" ></xm-menu-mng>
<el-col :span="17" v-else-if="filters.xmProduct && filters.xmProduct.id" >
<xm-menu-mng :xm-product="filters.xmProduct" :sel-project="selProject" :parent-menu="parentMenu" :xm-iteration="xmIteration" ></xm-menu-mng>
</el-col> </el-col>
</el-row> </el-row>
</section>
</template> </template>
<script> <script>
@ -89,7 +91,4 @@
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.row-left{
background-color: aliceblue;
}
</style> </style>

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

@ -1,5 +1,5 @@
<template> <template>
<section class="padding">
<section>
<el-row> <el-row>
<xm-product-select ref="xmProductSelect1" style="display:inline;" v-if="(!xmProduct||!xmProduct.id)&&(!xmIteration||!xmIteration.id)" :auto-select="false" :link-project-id="selProject?selProject.id:null" @row-click="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClearSelect"></xm-product-select> <xm-product-select ref="xmProductSelect1" style="display:inline;" v-if="(!xmProduct||!xmProduct.id)&&(!xmIteration||!xmIteration.id)" :auto-select="false" :link-project-id="selProject?selProject.id:null" @row-click="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClearSelect"></xm-product-select>

2
src/views/xm/core/xmQuestion/XmQuestionForIteration.vue

@ -1,5 +1,5 @@
<template> <template>
<xm-question-mng v-if="xmIteration && xmIteration.id" class="padding-top" :xm-product="xmProduct" :xm-iteration="xmIteration"></xm-question-mng>
<xm-question-mng class="padding-left padding-right" v-if="xmIteration && xmIteration.id" :xm-product="xmProduct" :xm-iteration="xmIteration"></xm-question-mng>
</template> </template>
<script> <script>

2
src/views/xm/core/xmQuestion/XmQuestionForProduct.vue

@ -1,5 +1,5 @@
<template> <template>
<xm-question-mng class="padding-top" :xm-product="xmProduct"></xm-question-mng>
<xm-question-mng class="padding-left padding-right" :xm-product="xmProduct"></xm-question-mng>
</template> </template>
<script> <script>

2
src/views/xm/core/xmQuestion/XmQuestionForProject.vue

@ -1,5 +1,5 @@
<template> <template>
<xm-question-mng class="padding-top" :sel-project="projectInfo"></xm-question-mng>
<xm-question-mng class="padding-left padding-right" :sel-project="projectInfo"></xm-question-mng>
</template> </template>
<script> <script>

2
src/views/xm/core/xmQuestion/XmQuestionMng.vue

@ -1,5 +1,5 @@
<template> <template>
<section class="padding">
<section>
<el-row> <el-row>
<xm-product-select v-if="!xmProduct&&!xmIteration" style="display:inline;" :auto-select="false" :link-project-id="selProject?selProject.id:null" @row-click="onProductSelected" @clear="clearProduct"></xm-product-select> <xm-product-select v-if="!xmProduct&&!xmIteration" style="display:inline;" :auto-select="false" :link-project-id="selProject?selProject.id:null" @row-click="onProductSelected" @clear="clearProduct"></xm-product-select>
<xm-project-select v-if="!selProject" style="display:inline;" ref="xmProjectSelect" :auto-select="false" :link-product-id="xmProduct?xmProduct.id:null" @row-click="onProjectConfirm" @clear="clearProject"></xm-project-select> <xm-project-select v-if="!selProject" style="display:inline;" ref="xmProjectSelect" :auto-select="false" :link-product-id="xmProduct?xmProduct.id:null" @row-click="onProjectConfirm" @clear="clearProject"></xm-project-select>

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

@ -1,5 +1,5 @@
<template> <template>
<section class="padding">
<section>
<el-row v-show="!batchVisible"> <el-row v-show="!batchVisible">
<div style="display:flex;justify-content: space-between;"> <div style="display:flex;justify-content: space-between;">
<xm-project-select style="display:inline;" v-if="!selProject||!selProject.id" :auto-select="isTaskCenter?false:true" :link-iteration-id="xmIteration?xmIteration.id:null" :link-product-id="xmProduct?xmProduct.id:null" @row-click="onProjectRowClick" @clear="onProjectClear" ></xm-project-select> <xm-project-select style="display:inline;" v-if="!selProject||!selProject.id" :auto-select="isTaskCenter?false:true" :link-iteration-id="xmIteration?xmIteration.id:null" :link-product-id="xmProduct?xmProduct.id:null" @row-click="onProjectRowClick" @clear="onProjectClear" ></xm-project-select>

4
src/views/xm/core/xmTask/XmPlan.vue

@ -1,7 +1,7 @@
<template> <template>
<section> <section>
<el-row class="box">
<el-col :span="7" class="left">
<el-row :gutter="10">
<el-col :span="7">
<xm-phase :xm-product="xmProduct" :sel-project="selProject" queryScope="plan" @row-click="onPhaseRowClick"></xm-phase> <xm-phase :xm-product="xmProduct" :sel-project="selProject" queryScope="plan" @row-click="onPhaseRowClick"></xm-phase>
</el-col> </el-col>
<el-col :span="17"> <el-col :span="17">

6
src/views/xm/core/xmTask/XmPlanForProduct.vue

@ -1,7 +1,7 @@
<template> <template>
<section>
<el-row class="box">
<el-col :span="7" class="left">
<section class="padding-left padding-right">
<el-row :gutter="10">
<el-col :span="7">
<xm-phase :xm-product="xmProduct" queryScope="plan" @row-click="onPhaseRowClick" @project-row-click="onProjectRowClick"></xm-phase> <xm-phase :xm-product="xmProduct" queryScope="plan" @row-click="onPhaseRowClick" @project-row-click="onProjectRowClick"></xm-phase>
</el-col> </el-col>
<el-col :span="17"> <el-col :span="17">

6
src/views/xm/core/xmTask/XmPlanForProject.vue

@ -1,7 +1,7 @@
<template> <template>
<section>
<el-row class="box">
<el-col :span="7" class="left">
<section class="padding-left padding-right">
<el-row :gutter="10">
<el-col :span="7">
<xm-phase :sel-project="projectInfo" queryScope="plan" @row-click="onPhaseRowClick"></xm-phase> <xm-phase :sel-project="projectInfo" queryScope="plan" @row-click="onPhaseRowClick"></xm-phase>
</el-col> </el-col>
<el-col :span="17"> <el-col :span="17">

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

@ -1,5 +1,5 @@
<template> <template>
<section class="padding">
<section>
<el-row> <el-row>
<el-col <el-col
:span="24" :span="24"

src/views/xm/rpt/index/CfigRpt.vue → src/views/xm/rpt/index/CompsCard copy.vue

Loading…
Cancel
Save