Browse Source

优化

master
陈裕财 4 years ago
parent
commit
cbc48ca49d
  1. 7
      src/views/xm/core/xmIteration/XmIterationForProjectComplex.vue
  2. 2
      src/views/xm/core/xmMenu/XmMenuMng.vue
  3. 9
      src/views/xm/core/xmProduct/XmProductForProjectComplex.vue
  4. 5
      src/views/xm/core/xmProject/XmProjectComplex.vue

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

@ -179,12 +179,7 @@
XmQuestionMng, XmQuestionMng,
XmProjectForLink, XmProjectForLink,
}, },
mounted() {
if(this.xmIteration==null || !this.xmIteration.id){
this.iterationVisible=true;
this.$notify({showClose: true, message:"请先选中左边迭代", type: 'warning' });
}
mounted() {
this.$nextTick(() => { this.$nextTick(() => {
}); });

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

@ -495,7 +495,7 @@
if( this.filters.product && this.filters.product.id){ if( this.filters.product && this.filters.product.id){
params.productId=this.filters.product.id params.productId=this.filters.product.id
}else { }else {
this.$notify({showClose: true, message: "请先选择产品", type: 'warning'});
//this.$notify({showClose: true, message: "", type: 'warning'});
return; return;
} }

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

@ -1,7 +1,7 @@
<template> <template>
<section class="page-container border"> <section class="page-container border">
<el-row> <el-row>
<el-col :span="24" v-show="xmProduct && xmProduct.id">
<el-col :span="24">
<el-tabs type="border-card" :value="showPanel" @tab-click="tabClick"> <el-tabs type="border-card" :value="showPanel" @tab-click="tabClick">
<el-tab-pane disabled> <el-tab-pane disabled>
<div slot="label"> <div slot="label">
@ -168,12 +168,7 @@ import XmProductOverview from "./XmProductOverview";
XmProductProjectForLink, XmProductProjectForLink,
XmProductOverview, XmProductOverview,
}, },
mounted() {
if(this.xmProduct==null || !this.xmProduct.id){
this.productVisible=true;
this.$notify({showClose: true, message:"请先选中左边产品", type: 'warning'});
}
mounted() {
this.$nextTick(() => { this.$nextTick(() => {
}); });

5
src/views/xm/core/xmProject/XmProjectComplex.vue

@ -172,11 +172,6 @@ import XmProjectOverview from "./XmProjectOverview";
XmProjectOverview, XmProjectOverview,
}, },
mounted() { mounted() {
if(this.selProject==null || !this.selProject.id){
this.projectVisible=true;
this.$notify({showClose: true, message:"请先选中左边项目", type: 'warning'});
}
this.$nextTick(() => { this.$nextTick(() => {
}); });

Loading…
Cancel
Save