diff --git a/src/views/xm/core/xmIteration/XmIterationInfo.vue b/src/views/xm/core/xmIteration/XmIterationInfo.vue index 877fedec..67a8fdc5 100644 --- a/src/views/xm/core/xmIteration/XmIterationInfo.vue +++ b/src/views/xm/core/xmIteration/XmIterationInfo.vue @@ -9,10 +9,7 @@ background-color="rgb(48, 65, 86)" text-color="rgb(191, 203, 217)" active-text-color="#409eff" - > - - - + > 迭代:  {{ + >  迭代:  {{ xmIteration.iterationName.substring(0, 15) }} 迭代:  {{ xmIteration.iterationName }}  迭代:  {{ xmIteration.iterationName }} @@ -40,10 +37,10 @@ :title="xmIteration.iterationName" > 迭代: {{ xmIteration.iterationName.substring(0, 15) }}  迭代: {{ xmIteration.iterationName.substring(0, 15) }} 迭代: {{ xmIteration.iterationName }}  迭代: {{ xmIteration.iterationName }} @@ -62,6 +59,16 @@ 效能 + + + + + + @@ -739,12 +746,15 @@ export default { } else { return dateStr.substr(0, 10); } - }, + }, goBack() { localStorage.setItem("iteration-infotype", "迭代概览"); - this.$router.back(); + this.$router.back(-1); + }, + goHome(){ + localStorage.setItem("iteration-infotype", "迭代概览"); + this.$router.push({path:'/'}) }, - editSomeFields(row,fieldName,$event){ let params={}; diff --git a/src/views/xm/core/xmProduct/XmProductInfo.vue b/src/views/xm/core/xmProduct/XmProductInfo.vue index 49fdf2e3..7ee47e10 100644 --- a/src/views/xm/core/xmProduct/XmProductInfo.vue +++ b/src/views/xm/core/xmProduct/XmProductInfo.vue @@ -4,16 +4,13 @@ - - - + - 产品: {{ xmProduct.productName.substring(0, 15) }} - 产品: {{ xmProduct.productName }}  产品: {{ xmProduct.productName }} - 产品: {{ xmProduct.productName.substring(0, 15) }} - 产品: {{ xmProduct.productName }} @@ -175,6 +172,16 @@ 客服 + + + + + + @@ -919,17 +926,7 @@ export default { }else{ func(params) } - }, - - goBack() { - localStorage.setItem("product-infotype", "产品概览"); - - if (window.history.length > 0) { - this.$router.back(-1); - } else { - this.$router.push({ path: "/xm/core/xmProduct/XmProductMng" }); - } - }, + }, onEditFields(row) { Object.assign(this.xmProduct, row); @@ -975,6 +972,14 @@ export default { this.$refs["xmProductComplex"].addProductVisible = true; }); }, + goBack() { + localStorage.setItem("product-infotype", "产品概览"); + this.$router.back(-1); + }, + goHome(){ + localStorage.setItem("product-infotype", "产品概览"); + this.$router.push({path:'/'}) + }, }, //end methods components: { xmTaskMng, diff --git a/src/views/xm/core/xmProject/XmProjectInfo.vue b/src/views/xm/core/xmProject/XmProjectInfo.vue index 43a05178..c9e7eb3f 100644 --- a/src/views/xm/core/xmProject/XmProjectInfo.vue +++ b/src/views/xm/core/xmProject/XmProjectInfo.vue @@ -135,14 +135,14 @@ 客服 - - 首页 + - - 上一页 +