diff --git a/src/components/kpi-layout/SmallNav.vue b/src/components/kpi-layout/SmallNav.vue index 9b44896..ea2dbd7 100644 --- a/src/components/kpi-layout/SmallNav.vue +++ b/src/components/kpi-layout/SmallNav.vue @@ -29,6 +29,10 @@ export default { mounted () {}, methods: { handleBack () { + const name = this.$route.query.name + if (name) { + return this.$router.replace({name}) + } this.$router.go(-1) } }, diff --git a/src/views/kpi/assessment/homeList/index.vue b/src/views/kpi/assessment/homeList/index.vue index 4962b3b..d80455f 100644 --- a/src/views/kpi/assessment/homeList/index.vue +++ b/src/views/kpi/assessment/homeList/index.vue @@ -164,7 +164,7 @@ export default { this.handleGetData(Object.assign({}, this.form, this.params)) }, handlePush (id) { - this.$router.push({name: 'assessment-stepList', query: {id}}) + this.$router.push({name: 'assessment-stepList', query: {id: 10, name: 'workbench-home'}}) }, async handleGetData (parmas = this.params) { try { diff --git a/src/views/kpi/assessment/stepList/index.vue b/src/views/kpi/assessment/stepList/index.vue index ffa7072..ab986b6 100644 --- a/src/views/kpi/assessment/stepList/index.vue +++ b/src/views/kpi/assessment/stepList/index.vue @@ -22,8 +22,8 @@
{{i.name}}({{i.number}})
- - +
+
@@ -163,8 +163,13 @@ export default { align-items: center; } } + .shuxian{ + width: 1px; + height: 16px; + background: #52575b; + } &-center{ - margin: 30px 0; + margin: 30px 0 10px 0; padding: 0 40px; min-height: 40px; background: #f6f6f6; @@ -180,6 +185,7 @@ export default { } .center(); &-img{ + .center(); height: 20px; margin: 0 56px; img{