Browse Source

优化

master
陈裕财 4 years ago
parent
commit
6adcf55419
  1. 8
      src/views/xm/core/xmIteration/XmIterationInfo.vue
  2. 17
      src/views/xm/core/xmProduct/XmProductInfo.vue
  3. 22
      src/views/xm/core/xmProject/XmProjectInfo.vue

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

@ -28,6 +28,9 @@
<el-menu-item index="缺陷"> <el-menu-item index="缺陷">
<span slot="title"><i class="el-icon-question"></i>缺陷</span> <span slot="title"><i class="el-icon-question"></i>缺陷</span>
</el-menu-item> </el-menu-item>
<el-menu-item index="效能">
<span slot="title"><i class="el-icon-s-data"></i>效能</span>
</el-menu-item>
</el-menu> </el-menu>
<xm-iteration-overview-complex v-if="infotype=='迭代概览'" :xm-iteration="xmIteration"></xm-iteration-overview-complex> <xm-iteration-overview-complex v-if="infotype=='迭代概览'" :xm-iteration="xmIteration"></xm-iteration-overview-complex>
@ -36,6 +39,7 @@
<xm-task-mng v-if="infotype=='任务'" ref="xmTaskMng" ptype="" queryScope="task" :xm-iteration="xmIteration" ></xm-task-mng> <xm-task-mng v-if="infotype=='任务'" ref="xmTaskMng" ptype="" queryScope="task" :xm-iteration="xmIteration" ></xm-task-mng>
<xm-question v-if="infotype=='缺陷'" :xm-iteration='xmIteration' ref="xmQuestion"></xm-question> <xm-question v-if="infotype=='缺陷'" :xm-iteration='xmIteration' ref="xmQuestion"></xm-question>
<xm-group-mng v-if="infotype=='团队'" :xm-iteration="xmIteration"></xm-group-mng> <xm-group-mng v-if="infotype=='团队'" :xm-iteration="xmIteration"></xm-group-mng>
<xm-report v-if="infotype=='效能'" :xm-iteration="xmIteration"></xm-report>
<el-drawer title="选中团队成员" :visible.sync="groupUserVisible" size="50%" append-to-body :close-on-click-modal="false"> <el-drawer title="选中团队成员" :visible.sync="groupUserVisible" size="50%" append-to-body :close-on-click-modal="false">
<xm-group-select :xm-iteration="xmIteration" :visible="groupUserVisible" is-select-multi-user="1" @user-confirm="onUserSelected"></xm-group-select> <xm-group-select :xm-iteration="xmIteration" :visible="groupUserVisible" is-select-multi-user="1" @user-confirm="onUserSelected"></xm-group-select>
</el-drawer> </el-drawer>
@ -70,8 +74,9 @@
import XmIterationForProjectComplex from './XmIterationForLinkComplex.vue'; import XmIterationForProjectComplex from './XmIterationForLinkComplex.vue';
import XmIterationOverviewComplex from '../xmIteration/XmIterationOverviewComplex.vue'; import XmIterationOverviewComplex from '../xmIteration/XmIterationOverviewComplex.vue';
import XmProductForProjectComplex from '../xmProduct/XmProductForLinkComplex.vue'; import XmProductForProjectComplex from '../xmProduct/XmProductForLinkComplex.vue';
import XmProjectComplex from '../xmProject/XmProjectForLinkComplex.vue';
import XmProjectComplex from '../xmProject/XmProjectForLinkComplex.vue';
import XmReport from '@/views/xm/rpt/reportIndex';
export default { export default {
props: ["xmIteration","visible"], props: ["xmIteration","visible"],
@ -298,6 +303,7 @@
XmIterationOverviewComplex, XmIterationOverviewComplex,
XmProductForProjectComplex, XmProductForProjectComplex,
XmProjectComplex, XmProjectComplex,
XmReport,
// //
}, },
mounted() { mounted() {

17
src/views/xm/core/xmProduct/XmProductInfo.vue

@ -73,15 +73,10 @@
<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-submenu index="效能" class="hidden-sm-and-down">
<template slot="title">效能</template>
<el-menu-item index="报表">
<span slot="title"><i class="el-icon-view"></i>考核</span>
</el-menu-item>
<el-menu-item index="风险">
<span slot="title"><i class="el-icon-question"></i>风险</span>
</el-menu-item>
</el-submenu >
<el-menu-item index="效能">
<span slot="title"><i class="el-icon-s-data"></i>效能</span>
</el-menu-item>
<el-submenu index="知识" class="hidden-md-and-down"> <el-submenu index="知识" class="hidden-md-and-down">
<template slot="title">知识</template> <template slot="title">知识</template>
<el-menu-item index="文档" > <el-menu-item index="文档" >
@ -171,6 +166,8 @@
<xm-contract v-if="infotype=='合同管理'" :xm-product="xmProduct"></xm-contract> <xm-contract v-if="infotype=='合同管理'" :xm-product="xmProduct"></xm-contract>
<xm-env-list v-if="infotype=='环境清单'" :xm-product="xmProduct"></xm-env-list> <xm-env-list v-if="infotype=='环境清单'" :xm-product="xmProduct"></xm-env-list>
<xm-question v-if="infotype=='风险'" :qtype="'risk'" :xm-product='xmProduct' ref="xmRisk"></xm-question> <xm-question v-if="infotype=='风险'" :qtype="'risk'" :xm-product='xmProduct' ref="xmRisk"></xm-question>
<xm-report v-if="infotype=='效能'" :xm-product="xmProduct"></xm-report>
<el-drawer title="选中团队成员" :visible.sync="groupUserVisible" size="50%" append-to-body :close-on-click-modal="false"> <el-drawer title="选中团队成员" :visible.sync="groupUserVisible" size="50%" append-to-body :close-on-click-modal="false">
<xm-group-select :xm-product="xmProduct" :visible="groupUserVisible" is-select-multi-user="1" @user-confirm="onUserSelected"></xm-group-select> <xm-group-select :xm-product="xmProduct" :visible="groupUserVisible" is-select-multi-user="1" @user-confirm="onUserSelected"></xm-group-select>
</el-drawer> </el-drawer>
@ -209,6 +206,7 @@
import XmProductForLinkComplex from './XmProductForLinkComplex.vue'; import XmProductForLinkComplex from './XmProductForLinkComplex.vue';
import XmProjectForLink from '../xmProject/XmProjectForLink.vue'; import XmProjectForLink from '../xmProject/XmProjectForLink.vue';
import XmReport from '@/views/xm/rpt/reportIndex';
export default { export default {
@ -436,6 +434,7 @@
XmProductForLinkComplex, XmProductForLinkComplex,
XmProjectForLinkComplex, XmProjectForLinkComplex,
XmProjectForLink, XmProjectForLink,
XmReport,
// //
}, },
mounted() { mounted() {

22
src/views/xm/core/xmProject/XmProjectInfo.vue

@ -51,21 +51,9 @@
<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-submenu index="监控" class="hidden-sm-and-down">
<template slot="title">监控</template>
<el-menu-item index="考核">
<span slot="title"><i class="el-icon-view"></i>考核</span>
</el-menu-item>
<el-menu-item index="项目监控">
<span slot="title"><i class="el-icon-video-camera"></i>项目监控</span>
</el-menu-item>
<el-menu-item index="需求监控">
<span slot="title"><i class="el-icon-video-camera"></i>需求监控</span>
</el-menu-item>
<el-menu-item index="风险">
<span slot="title"><i class="el-icon-question"></i>风险</span>
</el-menu-item>
</el-submenu >
<el-menu-item index="效能">
<span slot="title"><i class="el-icon-s-data"></i>效能</span>
</el-menu-item>
<el-submenu index="知识" class="hidden-md-and-down"> <el-submenu index="知识" class="hidden-md-and-down">
<template slot="title">知识</template> <template slot="title">知识</template>
<el-menu-item index="文档" > <el-menu-item index="文档" >
@ -154,6 +142,8 @@
<el-drawer title="选中团队成员" :visible.sync="groupUserVisible" size="50%" append-to-body :close-on-click-modal="false"> <el-drawer title="选中团队成员" :visible.sync="groupUserVisible" size="50%" append-to-body :close-on-click-modal="false">
<xm-group-select :sel-project="selProject" :visible="groupUserVisible" is-select-multi-user="1" @user-confirm="onUserSelected"></xm-group-select> <xm-group-select :sel-project="selProject" :visible="groupUserVisible" is-select-multi-user="1" @user-confirm="onUserSelected"></xm-group-select>
</el-drawer> </el-drawer>
<xm-report v-if="infotype=='效能'" :xm-project="selProject"></xm-report>
</el-row> </el-row>
</section> </section>
</template> </template>
@ -186,6 +176,7 @@
import XmProjectOverviewComplex from './XmProjectOverviewComplex.vue'; import XmProjectOverviewComplex from './XmProjectOverviewComplex.vue';
import XmProductForLinkComplex from '../xmProduct/XmProductForLinkComplex.vue'; import XmProductForLinkComplex from '../xmProduct/XmProductForLinkComplex.vue';
import XmReport from '@/views/xm/rpt/reportIndex';
export default { export default {
props: ["selProject","visible"], props: ["selProject","visible"],
@ -412,6 +403,7 @@
XmIterationForLinkComplex, XmIterationForLinkComplex,
XmProjectOverviewComplex, XmProjectOverviewComplex,
XmProductForLinkComplex, XmProductForLinkComplex,
XmReport,
// //
}, },
mounted() { mounted() {

Loading…
Cancel
Save