|
@@ -2,9 +2,15 @@
|
|
|
<div class="height_100">
|
|
|
<el-container>
|
|
|
<el-header>
|
|
|
+
|
|
|
<div class="head">
|
|
|
- <el-button type="primary" size="small" class="margin-right_10" @click="add">添加</el-button>
|
|
|
- <el-button type="primary" size="small" class="margin-right_10" :loading="btnLoading" @click="save">保存</el-button>
|
|
|
+ <div>
|
|
|
+ <el-button type="primary" size="small" class="margin-left_10" @click="back">返回</el-button>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <el-button type="primary" size="small" class="margin-right_10" @click="add">添加</el-button>
|
|
|
+ <el-button type="primary" size="small" class="margin-right_10" :loading="btnLoading" @click="save">保存</el-button>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</el-header>
|
|
|
<el-main>
|
|
@@ -232,6 +238,9 @@ export default {
|
|
|
}).catch(err => {
|
|
|
|
|
|
})
|
|
|
+ },
|
|
|
+ back(){
|
|
|
+ this.$router.back()
|
|
|
}
|
|
|
},
|
|
|
};
|
|
@@ -240,7 +249,8 @@ export default {
|
|
|
.head{
|
|
|
width: 100%;
|
|
|
display: flex;
|
|
|
- flex-direction: row-reverse;
|
|
|
+ // flex-direction: row-reverse;
|
|
|
+ justify-content: space-between;
|
|
|
}
|
|
|
.caozuo{
|
|
|
display: flex;
|