diff --git a/src/styles/mdp.scss b/src/styles/mdp.scss
index 580623f5..5f7707e0 100644
--- a/src/styles/mdp.scss
+++ b/src/styles/mdp.scss
@@ -194,16 +194,11 @@
max-width: 100%;
object-fit: scale-down;
}
-
-.el-table .warning-row {
- background: oldlace;
-}
-
-.el-table .success-row {
- background: #f0f9eb;
+
+.el-table .current-row > td {
+ background: #a9d6f0 !important;
}
-
/*此处根据不同屏幕分配率显示不同的样式*/
/*手机端*/
@media only screen and (min-width: 0px) and (max-width: 768px) {
diff --git a/src/views/xm/core/xmIteration/XmIterationForProjectComplex.vue b/src/views/xm/core/xmIteration/XmIterationForProjectComplex.vue
index 9a946c97..b74e1992 100644
--- a/src/views/xm/core/xmIteration/XmIterationForProjectComplex.vue
+++ b/src/views/xm/core/xmIteration/XmIterationForProjectComplex.vue
@@ -4,12 +4,12 @@
-
+
- 隐藏左边
- 展开左边
+ 隐藏左边迭代列表
+ 展开左边迭代列表
@@ -138,9 +138,14 @@
},
onIterationClearSelect(){
- this.iteration=null;
+ this.xmIteration=null;
},
tabClick(tab){
+ if(this.xmIteration==null || !this.xmIteration.id){
+ this.iterationVisible=true;
+ this.$notify({showClose: true, message:"请先选中左边迭代", type: 'warning', position: 'top-left' });
+ }
+ return false;
this.showPanel=tab.name
},
doDelXmIterationProductLink(){
@@ -167,6 +172,11 @@
XmProjectForLink,
},
mounted() {
+
+ if(this.xmIteration==null || !this.xmIteration.id){
+ this.iterationVisible=true;
+ this.$notify({showClose: true, message:"请先选中左边迭代", type: 'warning', position: 'top-left' });
+ }
this.$nextTick(() => {
});
diff --git a/src/views/xm/core/xmProduct/XmProductForProjectComplex.vue b/src/views/xm/core/xmProduct/XmProductForProjectComplex.vue
index 11508005..f46c08c4 100644
--- a/src/views/xm/core/xmProduct/XmProductForProjectComplex.vue
+++ b/src/views/xm/core/xmProduct/XmProductForProjectComplex.vue
@@ -4,11 +4,11 @@
-
+
- 隐藏左边
- 展开左边
+ 隐藏左边产品列表
+ 展开左边产品列表
@@ -140,9 +140,13 @@ import XmProductOverview from "./XmProductOverview";
},
onProductClearSelect(){
- this.iteration=null;
+ this.xmProduct=null;
},
tabClick(tab){
+ if(this.xmProduct==null || !this.xmProduct.id){
+ this.productVisible=true;
+ this.$notify({showClose: true, message:"请先选中左边产品", type: 'warning', position: 'top-left'});
+ }
this.showPanel=tab.name
}
},//end methods
@@ -161,6 +165,11 @@ XmProductProjectForLink,
XmProductOverview,
},
mounted() {
+
+ if(this.xmProduct==null || !this.xmProduct.id){
+ this.productVisible=true;
+ this.$notify({showClose: true, message:"请先选中左边产品", type: 'warning', position: 'top-left'});
+ }
this.$nextTick(() => {
});
diff --git a/src/views/xm/core/xmProduct/XmProductSelect.vue b/src/views/xm/core/xmProduct/XmProductSelect.vue
index b3ecc94c..dc1a60d5 100644
--- a/src/views/xm/core/xmProduct/XmProductSelect.vue
+++ b/src/views/xm/core/xmProduct/XmProductSelect.vue
@@ -319,10 +319,10 @@
}
}
-
-
+