|
@@ -24,6 +24,7 @@
|
|
|
</el-form>
|
|
|
<div slot="footer" class="dialog-footer" style="width:1px;margin:0 auto;padding:40px 0 80px 0;">
|
|
|
<el-button v-loading.fullscreen.lock="fullscreenLoading" type="primary" style="width: 100px;" @click="onSubmite()">保存</el-button>
|
|
|
+ <el-button plain @click="backToList">返回</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -129,6 +130,15 @@ export default {
|
|
|
console.log(error)
|
|
|
this.fullscreenLoading = false
|
|
|
}
|
|
|
+ },
|
|
|
+ backToList() {
|
|
|
+ this.$store.dispatch('tagsView/delView', this.$route).then(() => {
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.$router.replace({
|
|
|
+ path: '/sys/user'
|
|
|
+ })
|
|
|
+ })
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
}
|